Struggling with configure.yaml
-
Well, the sun shines on a dogs arse some days.
We've only gone and done it, HA dash with relay sw. can controll led from dash. I honestly have sticky stuff running down my leg. You have no idea how happy I am.
For future reference.
I was flicking the power to reset pi in between config changes. My mosquitto was not starting from boot, so nothing to connect to, hence the errors when the code was right.
Also reset your nodes after a change.This my yaml for the following setup
nodes are arduino nanos with nrf2401+ radio. (mysensors 2.0)
gateway is esp8266 NodeMCU 1.09. Wifi with NRF2401+
Pi 3 hosts Home Assistant and Mosquitto broker. Installed with All in one image.
mysensors: gateways: - device: mqtt persistence_file: '/home/homeassistant/mysensors4.json' topic_in_prefix: 'mygateway1-out' topic_out_prefix: 'mygateway1-in' debug: true optimistic: false persistence: true retain: true version: 2.0 mqtt: broker: localhost port: 1883 client_id: home-assistant-1 keepalive: 60Righty. I'm off to play. Be back very soon when i get stuck.
Cheers for now fella, thank you for all your help.