Closed mirkin-pixel closed 11 months ago
Can you check the firmware version of your One Connect Server and whether you have the latest version of the integration installed?
Also, check if there are any log entries related to this integration. If none are visible for the onesmartcontrol integration, enable debug logging:
Firmware version is: 2.5.20
I enabled logging, how long does it take before log entires shows up?
You might have to reload the integration or restart Home Assistant to trigger a connection attempt from the integration
Hmm, tried both but still nothing.
Are the devices still visible in the One Smart Control app?
Yes they are all visible
I found this in the log:
2023-05-04 20:38:01.203 INFO (MainThread) [custom_components.onesmartcontrol.onesmartwrapper] Socket push: Established network connection 2023-05-04 20:38:01.344 INFO (MainThread) [custom_components.onesmartcontrol.onesmartwrapper] Socket push: Authentication successful 2023-05-04 20:38:01.498 INFO (MainThread) [custom_components.onesmartcontrol.onesmartwrapper] Socket poll: Established network connection 2023-05-04 20:38:01.533 INFO (MainThread) [custom_components.onesmartcontrol.onesmartwrapper] Socket poll: Authentication successful 2023-05-04 20:38:01.533 INFO (MainThread) [custom_components.onesmartcontrol.onesmartwrapper] Handling 6 update flags: [(<OneSmartCommand.SITE: 'site'>, <OneSmartAction.GET: 'get'>), (<OneSmartCommand.METER: 'meter'>, <OneSmartAction.LIST: 'list'>), (<OneSmartCommand.DEVICE: 'device'>, <OneSmartAction.LIST: 'list'>), (<OneSmartCommand.PRESET: 'preset'>, <OneSmartAction.LIST: 'list'>), (<OneSmartCommand.ROOM: 'room'>, <OneSmartAction.LIST: 'list'>), (<OneSmartCommand.ENERGY: 'energy'>, <OneSmartAction.TOTAL: 'total'>)]
Looks like startup is succesful, but it does not receive data about available attritubes from the One Connect. After startup, does the log periodically output these 'Handling x update flags' log messages? (Every 5 minutes or so)
I don’t see any of those log messages, I looked at the whole logbook
Log:
2023-05-06 19:53:49.655 INFO (MainThread) [custom_components.onesmartcontrol.onesmartwrapper] Socket push: Established network connection 2023-05-06 19:53:49.961 INFO (MainThread) [custom_components.onesmartcontrol.onesmartwrapper] Socket push: Authentication successful 2023-05-06 19:53:50.062 INFO (MainThread) [custom_components.onesmartcontrol.onesmartwrapper] Socket poll: Established network connection 2023-05-06 19:53:50.216 INFO (MainThread) [custom_components.onesmartcontrol.onesmartwrapper] Socket poll: Authentication successful 2023-05-06 19:53:50.216 INFO (MainThread) [custom_components.onesmartcontrol.onesmartwrapper] Handling 6 update flags: [(<OneSmartCommand.SITE: 'site'>, <OneSmartAction.GET: 'get'>), (<OneSmartCommand.METER: 'meter'>, <OneSmartAction.LIST: 'list'>), (<OneSmartCommand.DEVICE: 'device'>, <OneSmartAction.LIST: 'list'>), (<OneSmartCommand.PRESET: 'preset'>, <OneSmartAction.LIST: 'list'>), (<OneSmartCommand.ROOM: 'room'>, <OneSmartAction.LIST: 'list'>), (<OneSmartCommand.ENERGY: 'energy'>, <OneSmartAction.TOTAL: 'total'>)] 2023-05-06 19:53:51.397 INFO (MainThread) [custom_components.onesmartcontrol.onesmartwrapper] Discovering entities for 6 devices 2023-05-06 19:53:51.856 INFO (MainThread) [custom_components.onesmartcontrol.onesmartwrapper] Discovered 2 entities for platform climate 2023-05-06 19:53:51.856 INFO (MainThread) [custom_components.onesmartcontrol.onesmartwrapper] Discovered 1 entities for platform select 2023-05-06 19:53:51.856 INFO (MainThread) [custom_components.onesmartcontrol.onesmartwrapper] Discovered 62 entities for platform sensor 2023-05-06 19:53:51.856 INFO (MainThread) [custom_components.onesmartcontrol.onesmartwrapper] Discovered 1 entities for platform switch 2023-05-06 19:53:51.856 INFO (MainThread) [custom_components.onesmartcontrol.onesmartwrapper] Discovered 1 entities for platform water_heater
Okay so it is discovering the entities... Normally the entities should finish loading their states in about 5 minutes after startup. Are there any entities that do load? I'm expecting to see at least the System Mode entity under the One Connect Server load correctly.
A few entities are showing up, but only these All the other entities releated to the heatpump or comfoair are unavailable
I think this is related to the OneEnergy module upstairs. Can you try restarting the OneEnergy and OneConnect modules (probably requires shutting off the power) and try if this resolves the issue?
I restarted both, switched of the main power downstairs en upstairs. Both units restarted but the same result.
I just encountered this same issue on one of my HA deployments. I think it might be related to the push socket not fully starting until HA reports it is done starting up.
Since the last weeks all of the entities are unavailable. A reinstalled the integration but it doesn’t solved the problem.