I have converted my MQTT sensor network (customized) to MySensors and have it working. I see the data coming into HASS quite nicely. The problem I have is I can’t find any examples on how to configure these devices in configuration.yaml to display the value or trigger a relay? I’ve search for samples but can’t find any. Anyone, please provide some samples?
Not sure if this is the same problem, but I had trouble trying to get my first MySensors sensor up and running where I could see the data in the log but the device didn’t appear in the GUI.
It turned out the sketch for the BinarySwitchSensor didn’t include a call to sendSketchInfo() to give it a name that HA could recognise (I assume).
I added:
gw.sendSketchInfo("BinarySwitchSensor", "1.0");
in the setup() function, uploaded the sketch and the device popped up in the GUI.
No not the same. Even more basic then that - figured it out partially. In my groups configuration I added:
Basement:
- sensor.Humidity_1_1
- sensor.Humidity_1_0
So now I think I understand the format and can figure out how to address the items
I wanted to add some friendly names but this doesn’t seem to be working? Anyone have a suggestion?
customize:
sensor.Humidity_1_1:
friendly_name: ‘Basement Humidity’
sensor.Humidity_1_0:
friendly_name: ‘Basement Temperature’