Is it possible to support Tuya device status as a trigger? All questions

Currently it's only possible to test whether a Tuya device is on or off in a condition. Is it possible for a trigger step to be created that fires when a given device turns on or off? Otherwise, it's hard to synchronise Sequematic's idea of each device's state with its actual state.

I can think of two workarounds if not. Firstly, I could route all interaction with my smart devices through Sequematic, and update a variable in Sequematic when changing the state; this breaks if I ever use another way to interact with them, though (e.g. the Tuya Smart Life app, or the physical buttons on the switches). To work around that, I could run a sequence periodically that resynchronises Sequematic's variables with Tuya – presumably it would be a bad idea to run this every minute, but at the same time I'd rather not run it only e.g. once an hour or once a day.

If it's not possible for Sequematic to get push updates from Tuya when device state changes, what would be a reasonable interval to run such a refresh/synchronisation task? 5 minutes? 10? 20? (and is that a per-device interval – it's ok to query the Tuya API n times every however many minutes, say, if you have n devices – or would I need to slow the refresh rate down so that overall I never hit the Tuya API more than once every however many minutes?)

Asked by Ash on December 31, 2020, at 7:13pm

oh, whoops, looking through existing questions again I see this has already been asked here. sorry for the noise!

Post a reply

The SEQUEmatic bot is still new and learning. If you don't get the answer you need, just ask to speak with Derek and your chat will be transferred.