Page 1 of 1

change device state in database

PostPosted: Wed Mar 10, 2021 5:04 pm
by Dual
I have 4 motion detectors that show as on. They are not. Their batteries may be dead (I am not at the house until next week). How do I update the server database directly to change their status from on to off?

Cheers

John

Re: change device state in database

PostPosted: Wed Mar 10, 2021 5:45 pm
by Colly
You should be able to do it on a control page if you’ve a motion sensor icon.

viewtopic.php?f=77&t=20015


Sent from my iPhone using Tapatalk

Re: change device state in database

PostPosted: Wed Mar 10, 2021 9:38 pm
by Dual
I will try. I currently have my motions set up on control pages so that touching one has. I action associated. No way to do it from the Indigo Client app?


Sent from my iPhone using Tapatalk

Re: change device state in database

PostPosted: Wed Mar 10, 2021 11:11 pm
by Dual
I used the Python code in the forum post you referred me too. All good now. Thanks.


Sent from my iPhone using Tapatalk

Re: change device state in database

PostPosted: Thu Mar 11, 2021 12:58 am
by Colly
Glad you got sorted.


Sent from my iPhone using Tapatalk