HA version 2022.11.1
Since now my two existing MySensors gateways (serial and IP) works fine.
Recently I have configured new MySensors IP gateway from UI.
Everything seems to work fine to the level my nodes are properly added to persistence json file, but nothing is visible in HA.
json persistence file looks OK:
{
"0": {
"sensor_id": 0,
"children": {},
"type": 18,
"sketch_name": "ESP Gateway 03",
"sketch_version": "1.1",
"battery_level": 0,
"protocol_version": "2.3.2",
"heartbeat": 0
},
"11": {
"sensor_id": 11,
"children": {
"1": {
"id": 1,
"type": 0,
"description": "Wind_1",
"values": {
"2": "0"
}
}
},
"type": 17,
"sketch_name": "WIN_1",
"sketch_version": "2.3",
"battery_level": 0,
"protocol_version": "3.2.3",
"heartbeat": 0
}
}
debug log when presenting (restarting) node:
2022-11-08 18:50:24.374 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 11 child 255
2022-11-08 18:50:26.436 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 11 child 255
2022-11-08 18:50:28.533 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 11 child 255
2022-11-08 18:50:30.640 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 11 child 1
2022-11-08 18:50:32.714 WARNING (MainThread) [mysensors.sensor] child_id 1 already exists in children of node 11, cannot add child
2022-11-08 18:50:34.812 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 11 child 1
debug log when restarting integration:
2022-11-08 18:50:57.636 INFO (MainThread) [mysensors.task] Stopping gateway
2022-11-08 18:50:57.637 INFO (MainThread) [mysensors.transport] Disconnecting from gateway
2022-11-08 18:50:57.721 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] discovering persistent devices: defaultdict(<class 'list'>, {})
2022-11-08 18:50:57.722 INFO (MainThread) [mysensors.gateway_tcp] Trying to connect to ('192.168.0.50', 5003)
2022-11-08 18:50:57.793 INFO (MainThread) [mysensors.transport] Connected to <_SelectorSocketTransport fd=47 read=idle write=<idle, bufsize=0>>
2022-11-08 18:50:57.830 INFO (MainThread) [mysensors.handler] n:0 c:255 t:3 s:14 p:Gateway startup complete.
2022-11-08 18:50:57.830 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 0 child 255
2022-11-08 18:50:57.862 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 0 child 255
2022-11-08 18:50:57.886 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 0 child 255
2022-11-08 18:50:57.906 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 0 child 255
Any idea why integration is not creating entities in HA?