0
Answered

Airscape Device Not Updating

Jeff Terrace 8 months ago in Things & Capabilities / Non-"Works With SmartThings" devices • updated by Terry (ActionTiles) (Co-Founder) 8 months ago 3

I have an Airscape whole house fan and I use this device handler to control it:

https://github.com/tgsoverly/smart-things/blob/master/devicetypes/tgsoverly/air-scape-whf.src/air-scape-whf.groovy


I've added it as both a temperature sensor (attic temp) and fan controller. For some reason, the fan status and temperature never update in ActionTiles. In fact, they don't seem to update in SmartThings either, unless I manually go into the device and click the Refresh button.


I noticed the device has the Refresh capability. Is it supposed to have the Polling capability as well? Or any idea what might be causing it not to update?

Answered: Discussion Open

Howdy Jeff,


If the Device isn't working in SmartThings; then you're more likely to find assistance in the SmartThings Community: https://community.SmartThings.com


Capabilities / methods "refresh() / poll()" are somewhat mysterious to me, as SmartThings's policies officially say things shouldn't be "polled" ... but I think these methods are still called infrequently, but automatically, by SmartThings; or used to be. Check https://docs.smartthings.com

+1

Adding the polling capability seems to have worked, I'm seeing the device get updated periodically now. Sent a pull request:

https://github.com/tgsoverly/smart-things/pull/7

Commenting disabled