DennisOSRM / hms-mqtt-publisher

HMS-XXXXW-2T MQTT publisher and Home Assistant addon
BSD 2-Clause "Simplified" License
117 stars 16 forks source link

update_interval is ignored #123

Open Matthies opened 5 months ago

Matthies commented 5 months ago
 Add-on version: v0.5
 You are running the latest version of this add-on.
 System: Home Assistant OS 12.3  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2024.5.4
 Home Assistant Supervisor: 2024.05.1

Although update_interval is set to 60500 (I even tried bigger values like 90000) I can see the data values of the hoymiles device in HA refreshing every 30 seconds. That alone is not a big problem but I also can see the DTA going offline most of the time in Hoymiles cloud since the add-on is running in HA. Maybe related to the (too) frequent updates in HA.

Matthies commented 5 months ago

Switching to the nightly build seems to fix this. Not sure if the Cloud offline problem is also solved. Edit: It is not. But one could argue that using HA is a welcome replacement for sending data to cloud.

Matthies commented 5 months ago

Okay, I found issue #52 and commit #78 but I'm not sure if this is implemented in the HA add-on and if it needs something to activate this cooperative mode. Edit: Testing smiles_cooperation: true now... Doesn't work. This smiles_cooperation option seems not supported in current HA docker container even in the nightly build add-on.

AFPass commented 4 months ago

I have the same problem. Update interval every 30 seconds, even though a higher value is set.