Action when control page opened without user interaction

Posted on
Fri Mar 22, 2019 11:02 pm
ZachBenz offline
Posts: 163
Joined: Feb 08, 2014

Action when control page opened without user interaction

I'm betting this is probably on the to do/wish list, but is there a way to trigger actions to fire when a control page is loaded in a browser without any user interaction?

There are a few things that I don't really need to poll the state of unless someone looks at them. That is, instead of polling device state on a timer, I want to only request the device's state at the moment it is needed - when the control page is viewed. One reason for doing this is for devices where requesting state has a cost, and thus you want to minimize state checks - one example would be when a state request impacts battery life (specific example; requesting state from an electric vehicle)

Both server and client actions on a control page require user interaction (you must click something manually). And there isn't a trigger that I'm aware of for when a control page is opened.

ZachBenz's Plugins: RingForIndigo

Posted on
Sun Mar 24, 2019 10:30 am
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Action when control page opened without user interaction

You are correct: it's on the feature request list. :)

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sun Mar 24, 2019 3:28 pm
ZachBenz offline
Posts: 163
Joined: Feb 08, 2014

Re: Action when control page opened without user interaction

jay (support) wrote:
You are correct: it's on the feature request list. :)


Figured. :-) Thanks!

ZachBenz's Plugins: RingForIndigo

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests