How to make Plugin Poll Fire only when App.idle state is False?

Hi Bill/Community,

Im trying to limit the “spamming” of my HDMI switch when my room controllers are idle. I can do this by intititating a onChangerequest that fires when the app enters idle, then this onchangerequest changes the state of a plugin variable inside the script which can be checked during the onPoll that starts a seccondary poll.

This works but feels a bit clunky… is there a better way of doing this?

John

You can use App.RefreshDevice. That should also work.