I am using the Tibber integration, I assume not many here are using it, as it is a Norwegien company. Nevertheless, I think the problem is related to websocket. When I restart HA, the graphql_subscription_manager tries to contact the server in the cloud. For five minutes it is nagging about “No websocket data in 30 seconds, checking the connection.”, then it restarts. After it has restarted, the communication seems to work fine, but then HA has “given up” and does not present the data in the sensor. I have pasted the log below. I am using latest version 0.108.9 on a Nuc. I am also using Unifi Dream Machine as wifi/router, and I am wondering if this might have something to do with it?
Anyone understands what the problem is?
2020-04-20 12:13:12 DEBUG (MainThread) [graphql_subscription_manager] Start state None.
2020-04-20 12:13:12 DEBUG (MainThread) [graphql_subscription_manager] Starting
2020-04-20 12:13:16 DEBUG (MainThread) [graphql_subscription_manager] Running
2020-04-20 12:13:16 DEBUG (MainThread) [graphql_subscription_manager] Recv, {'type': 'init_success'}
2020-04-20 12:13:46 DEBUG (MainThread) [graphql_subscription_manager] No websocket data in 30 seconds, checking the connection.
2020-04-20 12:14:16 DEBUG (MainThread) [graphql_subscription_manager] No websocket data in 30 seconds, checking the connection.
2020-04-20 12:14:46 DEBUG (MainThread) [graphql_subscription_manager] No websocket data in 30 seconds, checking the connection.
2020-04-20 12:15:16 DEBUG (MainThread) [graphql_subscription_manager] No websocket data in 30 seconds, checking the connection.
2020-04-20 12:15:46 DEBUG (MainThread) [graphql_subscription_manager] No websocket data in 30 seconds, checking the connection.
2020-04-20 12:16:17 DEBUG (MainThread) [graphql_subscription_manager] No websocket data in 30 seconds, checking the connection.
2020-04-20 12:16:47 DEBUG (MainThread) [graphql_subscription_manager] No websocket data in 30 seconds, checking the connection.
2020-04-20 12:17:17 DEBUG (MainThread) [graphql_subscription_manager] No websocket data in 30 seconds, checking the connection.
2020-04-20 12:17:47 DEBUG (MainThread) [graphql_subscription_manager] No websocket data in 30 seconds, checking the connection.
2020-04-20 12:18:17 DEBUG (MainThread) [graphql_subscription_manager] No websocket data in 30 seconds, checking the connection.
2020-04-20 12:18:47 ERROR (MainThread) [graphql_subscription_manager] No data, reconnecting.
2020-04-20 12:18:47 DEBUG (MainThread) [graphql_subscription_manager] Reconnecting
2020-04-20 12:18:47 DEBUG (MainThread) [graphql_subscription_manager] Retry, state: stopped
2020-04-20 12:18:47 DEBUG (MainThread) [graphql_subscription_manager] Cancel retry timer
2020-04-20 12:18:47 DEBUG (MainThread) [graphql_subscription_manager] Restart
2020-04-20 12:18:47 DEBUG (MainThread) [graphql_subscription_manager] Reconnecting to server in 15 seconds.
2020-04-20 12:18:47 DEBUG (MainThread) [graphql_subscription_manager] No websocket data in 30 seconds, checking the connection.
2020-04-20 12:18:47 DEBUG (MainThread) [graphql_subscription_manager] Reconnecting
2020-04-20 12:18:47 DEBUG (MainThread) [graphql_subscription_manager] Retry, state: stopped
2020-04-20 12:18:47 DEBUG (MainThread) [graphql_subscription_manager] Cancel retry timer
2020-04-20 12:18:47 DEBUG (MainThread) [graphql_subscription_manager] Restart
2020-04-20 12:18:47 DEBUG (MainThread) [graphql_subscription_manager] Reconnecting to server in 15 seconds.
2020-04-20 12:18:47 DEBUG (MainThread) [graphql_subscription_manager] Closing running task.
2020-04-20 12:19:02 DEBUG (MainThread) [graphql_subscription_manager] Start state starting.
2020-04-20 12:19:02 DEBUG (MainThread) [graphql_subscription_manager] Removed, 0
2020-04-20 12:19:02 DEBUG (MainThread) [graphql_subscription_manager] Add subscription <bound method TibberSensorRT._async_callback of <Entity Real time consumption Vesthavnveien 9 A: None>>
2020-04-20 12:19:02 DEBUG (MainThread) [graphql_subscription_manager] Starting
2020-04-20 12:19:02 DEBUG (MainThread) [graphql_subscription_manager] Running
2020-04-20 12:19:02 DEBUG (MainThread) [graphql_subscription_manager] Recv, {'type': 'init_success'}
2020-04-20 12:19:03 DEBUG (MainThread) [graphql_subscription_manager] New subscription 1
2020-04-20 12:19:03 DEBUG (MainThread) [graphql_subscription_manager] Recv, {'type': 'subscription_success', 'id': 1}
2020-04-20 12:19:03 DEBUG (MainThread) [graphql_subscription_manager] Recv, {'type': 'subscription_data', 'id': 1, 'payload': {'data': {'liveMeasurement': {'timestamp': '2020-04-20T12:19:05+02:00', 'power': 2255, 'powerProduction': 0, 'accumulatedProduction': 0, 'accumulatedConsumption': 27.933803, 'accumulatedCost': 2.530121, 'currency': 'NOK', 'minPower': 384, 'averagePower': 2267.6, 'maxPower': 7318, 'voltagePhase1': None, 'voltagePhase2': None, 'voltagePhase3': None, 'currentL1': None, 'currentL2': None, 'currentL3': None, 'lastMeterConsumption': 57172.92, 'lastMeterProduction': 0, 'signalStrength': -68}}}}