Re: Python plugin: Slide by Innovation in Motion
Posted: Tuesday 21 May 2024 21:14
Can you try latest version? (0.3.1)Vollervo wrote: ↑Monday 20 May 2024 13:04 FYI: today I played around a bit more with the plugin for the local API and it seems that the actual status of the curtains is only updated every 30*180 seconds and that's a bit too slow for me. If you use touch and go or dzVents to do something with the curtains, the curtains' status is not reflected correctly in the UI for a long period. So, I changed that 180 to 20. Now the status is updated every 10 minutes.
Code: Select all
def onHeartbeat(self): if self.hb == 20: Domoticz.Debug("onHeartbeat called") self.getAllSlidesInfo() self.hb = 1 else: self.hb = self.hb + 1