tonesto7 / homebridge-smartthings

SmartThings Homebridge Plugin
385 stars 770 forks source link

SmartThings Multi Purpose Sensor not updating status (open/closed) #402

Open Lumia1r opened 3 years ago

Lumia1r commented 3 years ago

I have Homebridge running on my Synology NAS otherwise working perfectly. Latest homebridge-smartthings plugin installed.

I have a SmartThings Multipurpose Sensor in place on a door and when the door is opened/closed the status updates properly within the SmartThings app/environment.

Issue: The status is stuck in Home/Homebridge - and will not change to open when the sensor opens.

Steps taken: Removed & Re-Added the plugin from homebridge. Removed & Re-added the sensor from SmartThings. Battery changed in the sensor.

Uncertain the issue could be with the sensor itself as the status on SmartThings updates instantly and properly.

cameronmitchellapps commented 3 years ago

Having the same issue; I think it might be related to the fact that open and close events appear in the "Device Data Viewer" but not the "Command and Event History"

@tonesto7 is this a known problem?

cameronmitchellapps commented 3 years ago

@Lumia1r I managed to find a work around for the moment, if you add "polling_seconds": 10, to your homebridge config for SmartThings-v2 (I put on line under 'temperature_unit') then the sensors work albeit 10 seconds delayed. From my understanding this refreshes all smarthings device states for in homebridge

Lumia1r commented 3 years ago

@Lumia1r I managed to find a work around for the moment, if you add "polling_seconds": 10, to your homebridge config for SmartThings-v2 (I put on line under 'temperature_unit') then the sensors work albeit 10 seconds delayed. From my understanding this refreshes all smarthings device states for in homebridge

Thanks for sharing the workaround. The 10 second delay is an issue for my setup currently. It's strange as this was working fine up until a couple of weeks ago.

cameronmitchellapps commented 3 years ago

@Lumia1r I managed to find a work around for the moment, if you add "polling_seconds": 10, to your homebridge config for SmartThings-v2 (I put on line under 'temperature_unit') then the sensors work albeit 10 seconds delayed. From my understanding this refreshes all smarthings device states for in homebridge

Thanks for sharing the workaround. The 10 second delay is an issue for my setup currently. It's strange as this was working fine up until a couple of weeks ago.

No problem. Most of the time the sensors work almost instantly for me now (with the 10sec setting); I haven't played around with changing the polling number higher to see if they would still work.

evlnte commented 3 years ago

Is polling the only way to simulate bi-directional status of devices between HomeKit and SmartThings? Or is there another means to trigger an update in either direction?