johnlemonse / homebridge-telldus

36 stars 22 forks source link

Sync of status between Telldus and Homekit #84

Open ekhalil-SE opened 4 years ago

ekhalil-SE commented 4 years ago

I have Homebridge and the Telldus plugin installed, I have an issue that when a status of a device is updated in Telldus this new status is not pushed to Homekit. To see the new status I need either to refresh the room in the Homekit app where the device is or restart the app. Looks to me that the status is pulled by Homekit only at start, and is not being pushed by Telldus to Homekit. Is this the way the plugin supposed to work? This way I can't create automations based on triggers that occur on Telldus! Changing from Telldus Live to local integration did not make any difference for me. Appreciate any help with this. Thank you,

mifi commented 4 years ago

I believe this is the same issue as with sensors (homebridge-telldus is one-way and doesn't fetch device state) See #22

ekhalil-SE commented 4 years ago

Thanks Mikael, This should be possible to implement in homebridge. In used previously Home Assistant (HA) and there there is a default timer of 60 seconds (can be changed to a lower value) to pull the status from Telldus Live!. This fix is good enough for me if it's possible to implement in Homebridge. I also remember I saw a solution in HA for the local interface with the Telldus TellStick where Telldus pushes the status to HA.

mlervaag commented 4 years ago

Hi,

Is there any hope of getting a scan function to get frequent status updates in intervals(or pushed updates) from Telldus into Homebridge? It's really frustrating not being able to start automations from sensors/switches from Telldus.

ekhalil-SE commented 4 years ago

Hi,

Is there any hope of getting a scan function to get frequent status updates in intervals(or pushed updates) from Telldus into Homebridge? It's really frustrating not being able to start automations from sensors/switches from Telldus.

Completely agree. I'm also looking forward for such improvement.

mifi commented 4 years ago

Unfortunately I only have the tellstick znet lite v1 which has only sending possibility (no receiving from sensors), so I am unable to test/implement this atm.

matscb commented 2 years ago

Any new on this topic? Would be really nice to be able to get status from sensors at regular intervals e.g. to be able to use them in automations (e.g. trigger something when a certain temperature is reached).

mifi commented 2 years ago

Unfortunately I don't have this equipment anymore, but if anyone wants to do some development and testing I'm hpapy to accept PRs