Python code to "press" the Update button on power devices

Posted on
Wed Dec 08, 2021 12:03 pm
CliveS offline
Posts: 771
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Python code to "press" the Update button on power devices

I have looked in the Indigo docs for this but not really sure what I am looking for but basically I would like to activate the Update button to refresh the Device Details.

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Wed Dec 08, 2021 1:24 pm
jay (support) offline
Site Admin
User avatar
Posts: 18224
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Python code to "press" the Update button on power device


Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Dec 08, 2021 1:36 pm
CliveS offline
Posts: 771
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Python code to "press" the Update button on power device

Thanks Jay, that works fine.

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Wed Dec 08, 2021 1:48 pm
jay (support) offline
Site Admin
User avatar
Posts: 18224
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Python code to "press" the Update button on power device

It can also be scripted:

Code: Select all
indigo.device.statusRequest(ID_OF_DEVICE)


If that's more of what you're looking for.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Dec 08, 2021 1:50 pm
CliveS offline
Posts: 771
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Python code to "press" the Update button on power device

That was what I was hoping for but either is going to do what I require, thank you.

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 17 guests

cron