Thanks,
Chris
Code: Select all
indigo.devices["office light"].states["keypadButtonLed1"]Would I be able to create a scene for Keypad button 3-6 and then send on/off to the scene from embedded python?support wrote: But there is not currently a mechanism by which to send a command to change the LED state. We'll have that added before Indigo v5 is out of beta, howerver.
Code: Select all
indigo.insteon.sendSceneOn(11)
indigo.insteon.sendSceneOn("working in office scene")Not sure yet.ChrisB wrote:The sounds good. When did you say the next beta will come out?
That's what I am doing now. I was attempting to get a little more creative with it so I was exploring my options. The next beta should do the trick though.support wrote: Note that you can send PowerLinc Scenes directly from Indigo actions (via the UI in the actions panel), so you might be able to do it with no scripting?
Code: Select all
>>> dev = indigo.devices["bedroom keypadlinc"]
>>> dev.ledStates
[False, False, True, True, False, False, True, True]Code: Select all
dev = indigo.devices["bedroom keypadlinc"]
indigo.relay.setLedState(dev, 2, not dev.ledStates[2])