FilipDem / Domoticz-NEST-plugin

NEST Plugin for Domoticz using the Google credentials.
13 stars 4 forks source link

Is it possible to update the thermostat information in seconds instead of minutes? #17

Closed kitopopo closed 3 years ago

kitopopo commented 3 years ago

Hello dear friend,

thanks for your plugin, it works really well.

In the plugin configuration we can update nest using minutes (Minutes between update). Would it be possible to modify the plugin so that the update frequency was fixed per seconds? I would like to be able to set the update refresh to a shorter time, I do not know if it is possible. I have tried 0.5 minutes but it doesn't work. Thanks in advance.

FilipDem commented 3 years ago

This should be possible. To remain compatible I will need to use indeed fractions... Will look to make this working... I would not recommend to go lower than 30 sec seen the communication with the nest servers take from time to time a bit of time... I keep you posted about the progress. Filip

Op vr 25 dec. 2020 19:41 schreef kitopopo notifications@github.com:

Hello dear friend,

thanks for your plugin, it works really well.

In the plugin configuration we can update nest using minutes (Minutes between update). Would it be possible to modify the plugin so that the update frequency was fixed per seconds? I would like to be able to set the update refresh to a shorter time, I do not know if it is possible. I have tried 0.5 minutes but it doesn't work. Thanks in advance.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/FilipDem/Domoticz-NEST-plugin/issues/17, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3SGC5RIZ24I3C67YXVBQDSWTMHFANCNFSM4VJJPNOA .

kitopopo commented 3 years ago

Thanks @FilipDem . Mery christmas. Best regards

FilipDem commented 3 years ago

Update done. Now it is possible to use fractions in "Minutes between update". So for an update every 30 seconds, enter 0.5; for every 20 seconds, enter 0.33. Personally I am not convinced that the update interval should be lower than 1 minute... However the plugin now supports it. @kitopopo, small donations are always welcome if you judge the plugin valuable and the service good. Just click the donation button and follow the instructions. Thanks in advance.

kitopopo commented 3 years ago

Thanks very much

FilipDem commented 3 years ago

New feature