I have implemented a Home Automation project using HomeAssistant and MySensors. The detailed project description is here:
https://www.openhardware.io/view/55
If you are interested only in the YAML configuration file (may be to get some example ideas, there are a lot of sensors, group, customize, email notification, automation and scripts inside), it is presented also in the project and its own link is:
https://github.com/Mihai258/MySensors-HomeAssistant-Live/blob/master/HA-configuration.yaml
Great and thanks for sharing!
Your write-up and your project look amazing! Well done
I donât see âmysensorsâ in your YAML file. Looks like youâre using MQTT directly rather than the âmysensorsâ platform. Why is that?
Iâm looking through your write-up and it seems like what I want to doâŚ
- have sensor âblocksâ with multiple sensors per Arduino (is this only possible with MySensors 2 beta at the moment?)
- connect the HA computer to the gateway without having to plug it in directly
I was hoping to plug my gateway into a Raspberry Pi 2, so would I need to run mosquitto on the Pi to send messages from the gateway to the MQTT broker running on the HA computer?
Iâll keep reading your project. Thanks!
Sorry for late reply.
The project I have built use MySensors and it communicate with HomeAssistant via MQTT using mosquitto. I assure you that MySensors is there and it works.
I am using multiple sensord per node (per Arduino) and they works together.
The HA computer and the Gateway are connected to the network using Ethernet connection. I was experimenting also with WiFi on RPi3 and it works too, but the actual release of Raspbian Jessie is not satisfactory yet (several bugs still there: cannot save the location and WiFi area from interface etc).
You can use RPi2, you have to install mosquitto, it is very easy. However the latest versions of HA includes also MQTT broker, but I didnât test it, so I canât advice here.
Have a great time with your project!