-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Meter00 not updating unless I open the Hilo app #515
Comments
These two warnings can be ignored. The first happens during a normal HA boot or reconnection after the websocket has been closed. If there are no errors associated with it, it doesn't matter, it's just letting you know the websocket is being opened. The second is informative only. Your hub should be retrieving info from your meter once per minute in the Hilo App, the HA custom_component is mimicking that by going through the very same websocket/signalr connection, we're basically masquerading as the mobile app open 100% of the time. I suspect your hub has connection issues with your meter and you're simply forcing it to update once by opening the App. |
I'll try to factory reset the hub then. |
A bit more info (un peu plus d'info)... I've removed access tokens for security reasons, but they appear to be different at the end. Logger: pyhilo Received close event from SignalR: Error: CLOSE Target: Args: Error: Application server closed the connection. Logger: pyhilo Connection was closed. Logger: pyhilo Unable to connect to WS server 404, message='Invalid response status', url='https://device.hiloenergie.com/client/?hub=devicehub&asrs.op=%2FDeviceHub&asrs_request_id=TjocFeQbAAA%3D&id=PCr0pv_-PsVrqumKWtBoCgvPyF5Qo02&access_token=....' |
A 404 means resource not found, and a 401 is unauthorized. I'd delete the hilo_state.yaml file in your /config folder and reboot HA. You may have to authenticate again with Hilo. |
Removed the hilo_state file (no 404 errors but update still does not work). Did not have to re-authenticate, strangely. Also noticed that meter00 updates when I reload the integration but then doesn't do so again. Does the "scan interval" value (i've entered 60) change anything? I've also tried 120 to no avail. |
It’s likely you have some networking issue on your end. We’re using the same websocket the app uses, if it works in one it’ll work in the other. |
Peux-tu t'assurer que le entityid est sensor.meter00_power? |
C'est exactement mon problème! J'ai utilisé la solution de contournement de julienld dans le #150 et ça semble marcher pour l'instant. |
Fait attention, je l'avais qui roulais depuis l'an passé. Depuis que le compteur est instable, mon intégration hilo rechargeait trop souvent et un moment donné, l'authentification ne fonctionnait plus et fallait que je refasse l'authentification. Ça m'a fait manqué des débuts de défis avant que je réalise que cette automatisation était la cause de mon problèeme : |
As-tu eu des nouvelles sur ton case chez Hilo? Mon compteur ne fonctionnait plus depuis hier dans HA. J'ai tout redémarré, incluant la passerelle et là mon compteur marche dans HA mais sur mon application Hilo (Android et iOS), je n'ai plus le compteur maintenant. |
Yep! J'ai vu une fermeture de cas sans être contacté mais mon compteur est revenu dans hilo et par conséquent dans ha. |
OK, ce n'est pas la même chose que moi alors. À partir du 15 à minuit je le voyais juste dans l'app Hilo (Android et iOS) mais pu de mise à jour dans HA. Hier j'ai redémarré ma passerelle une couple de fois, je le voyais dans les 2 (Hilo et HA) mais ensuite (comme maintenant), je le vois juste dans HA, je ne le vois pu dans l'app Hilo Android ou iOS. |
Version of the custom_component
2024.10.2
Describe the bug
I get the following 2 warnings.
In addition, the Meter00 sensor is not updated unless I open the Hilo app.
Debug log
The text was updated successfully, but these errors were encountered: