Hi I’m just trying to get some mysensor nodes up and running and I feel like I’m so close, but must just be missing something. I’ve got a serial gateway attached to my pi and an led dimmer node. Both nodes are compiled with v2.0 of mysensors library. I know it’s partly working as I get this in the mysensors.json, but I can’t see any sensors anywhere and am not sure how you connect to it or get it to display. I’ve read around all over the mysensors pages, forums and ha pages, forums, youtube, etc, but don’t see anything that explains how you render out a sensor in ha to control it. Here is the mysensors.json that was generated:
`
{“0”: {“sensor_id”: 0, “children”: {}, “type”: 18, “sketch_name”: null, “sketch_version”: null, “battery_level”: 0, “protocol_version”: “2.0.0”}, “2”: {“sensor_id”: 2, “children”: {“1”: {“id”: 1, “type”: 4, “description”: “”, “values”: {}}}, “type”: 17, “sketch_name”: “Dimable Light”, “sketch_version”: “1.0”, “battery_level”: 0, “protocol_version”: “2.0.0”}}
This is my config:
#MySensors Gateways
mysensors:
gateways:
- device: '/dev/ttyUSB0'
persistence_file: '/config/mysensors.json'
baud_rate: 115200
debug: true
optimistic: true
persistence: true
retain: true
version: 2.0
sensor: !include sensors.yaml
And this is in my sensors.yaml
# MySensors
- platform: mysensors