smartweather | WeatherFlow Smart Weather Component for Home
kandi X-RAY | smartweather Summary
kandi X-RAY | smartweather Summary
This is a Custom Integration for Home Assistant. It combines real-time weather readings from a Personal Weather station produced by WeatherFlow and Forecast data also from Weatherflow. It uses the public REST API to pull data from Weatherflow.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Setup an entry entry .
- Get weather entry .
- Return a list of forecast data .
- Create an async step .
- Return sensor value .
- Unload an existing configuration entry .
- Get a smartweather device in registry .
- This method is called when the task is added .
- Get sensor icon .
- Performs async setup .
smartweather Key Features
smartweather Examples and Code Snippets
Community Discussions
Trending Discussions on smartweather
QUESTION
I would like to consume the following websocket weather api.
I tried adapting the following examples however I am not getting anywhere.
...ANSWER
Answered 2017-Aug-07 at 14:36It seems that the api_key parameter is missing:
From the SmartWeather documentation:
Websocket
- Open a websocket connection
wss://ws.weatherflow.com/swd/data?api_key=20c70eae-e62f-4d3b-b3a4-8586e90f3ac8
Send a JSON message over the websocket connection to start listening for observations from the demo Device. After sending this message your connected websocket client sould receive a new observation JSON message every minute.
{ "type":"listen_start", "device_id":1110, "id":"random-id-12345" }
I got it working with the following code:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install smartweather
To add SmartWeather to your installation, create this folder structure in your /config directory:.
Please be aware that the old sensor names and the new sensor names might not match. So if you use this in any Automations, Value Templates, Scripts etc. you will have to change those after adding the new component. The integration has been rewritten, to use Config Flow as configuration option, so if you have a previous version installed, you must first remove that.
Edit the yaml files that contain references to smartweather and remove them from the file. (configuration.yaml and were ever you store sensor, binary_sensor and weather configuration)
Remove the Integration from HACS
Restart Home Assistant
When HA is back online go to HACS and install the new Version of SmartWeather
Restart Home Assistant
When HA is back online, go to Configuration and then Integrations, click the + sign in the bottom right, and search for SmartWeather.
Fill out the Configuration Options, and click Submit. You should now have all the Devices and Entities configured.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page