StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
615 stars 110 forks source link

Add MQTT info to main doc #649

Closed fishbone-git closed 2 years ago

fishbone-git commented 2 years ago

Cut and paste from the earlier release notes with a couple of typo fixes and an added note to draw attention to the need to not use custom prefix.

kpfleming commented 2 years ago

Is there a mechanism to stop the periodic polling for MQTT-connected Shellies? I see an error in my HASS log every time it tries to poll because it isn't able to reach the Shelly directly, but communication through MQTT is permitted.

hakana commented 2 years ago

Is there a mechanism to stop the periodic polling for MQTT-connected Shellies? I see an error in my HASS log every time it tries to poll because it isn't able to reach the Shelly directly, but communication through MQTT is permitted.

You can set the scan_interval to 0 to disable the polling, but that will affect all devices. If you create a feature request on GitHub I will look at that when I have time.

kpfleming commented 2 years ago

I tried that, but then the integration started polling as quickly as it could (every time a poll failed it tried again). It's not a big deal, right now I have it set to 86400 :)