Set Wake Interval from Python?

Posted on
Mon Sep 25, 2017 5:06 am
sgbirch offline
Posts: 99
Joined: Sep 11, 2013

Set Wake Interval from Python?

Can the device Wake Interval be changed from a python script?

Posted on
Mon Sep 25, 2017 5:53 am
DaveL17 offline
User avatar
Posts: 6743
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Set Wake Interval from Python?

sgbirch wrote:
Can the device Wake Interval be changed from a python script?

Hi - You'll need to provide a bit more detail for your use case. What kind of device? What protocol?

For Z-Wave, search the forums for sendRawZwaveCommand which might yield you some examples that will work for your situation. However, I'd recommend a slightly different approach. Create an Action --> Z-Wave Action --> Modify Configuration Parameter and fill in the dialog as needed. Then execute the Action from Python...

Code: Select all
indigo.actionGroup.execute(12345678)


If you need to change it to different values based on some other criteria, then I think sendRawZwaveCommand() is going to be your best approach.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Mon Sep 25, 2017 9:28 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Set Wake Interval from Python?

Depending on your needs, go to my plugins and you’ll find one (whose name I’ve forgotten) that simply sets the wake interval.

Can be used in action groups etc.

I knocked it up for another user who has his devices waking more frequently daytime than nighttime; can’t recall the scenario.


Sent from my iPhone using Tapatalk Pro

Page 1 of 1

Who is online

Users browsing this forum: FlyingDiver and 2 guests