Skip to content
Directions for getting SMHI data into home-assistant as sensors using Node-Red to parse and output the Json
Branch: master
Clone or download
Latest commit c273a84 Feb 18, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README.md Feb 18, 2018
customize.yaml Icons Feb 18, 2018
node-red-flow Create node-red-flow Feb 17, 2018
smhi_group.yaml Create smhi_group.yaml Feb 17, 2018
smhi_mqtt.yaml Rename smhi.mqtt.yaml to smhi_mqtt.yaml Feb 17, 2018
smhi_template.yaml

README.md

SMHI-NodeRed-HomeAssistant

Directions for getting SMHI data into home-assistant as sensors using Node-Red to parse and output the Json

Node-Red Flow

Import this into your node-red installation and in the second node named SMHI JSON replace the coordinates with your own in the url. Then in the last node MQTT Output make sure that your own mqtt server is selected.

Node-red Flow

Home-Assistant Sensors and templates

Add these to your sensors in Home-Assistant and reboot, they will then show up as "sensor.smhi_name" in your Home-Assistant install I also recommend you add the templates to your sensors, that way you will get the wind direction as a text message and not by degrees.

HASS Sensors

Extras

The reason that the sensors and template is split up in this git is that I recommend that you split up your config into directories, that makes maintaining your Home-Assistant configuration much easier and you can just download the .yaml files from this Git and add to your directory

Folder Structure

Links

Contributors

Thanks goes to these wonderful people:


Erik Näsström

Torbjörn Söderberg

Johan von Lindström

This project follows the all-contributors specification. Contributions of any kind are welcome!

You can’t perform that action at this time.