Python and X10

Posted on
Sun Dec 19, 2021 12:19 pm
jltnol offline
Posts: 994
Joined: Oct 15, 2013

Python and X10

So I've got a lone X10 device. Everything seems to be working right, but this script which should turn on the X-10 device doesn't work

Code: Select all
indigo.devices.turnOn(1306143291)

I'm getting this error code:
Code: Select all
 Script Error                    embedded script: 'DeviceList' object has no attribute 'turnOn'

Guessing there might be a different way for Python to handle X-10 devices?? or are X10 devices not scriptable? or perhaps need to include the X10 zone in the command? I've looked at my fav webpages for solutions, but can't find anything.. :(
Last edited by jltnol on Sun Dec 19, 2021 12:48 pm, edited 1 time in total.

Posted on
Sun Dec 19, 2021 12:46 pm
forestfield offline
Posts: 83
Joined: Dec 29, 2014
Location: West Sussex

Re: Python and X10

indigo.device.turnOn()

Note: device , not devices

Posted on
Sun Dec 19, 2021 12:49 pm
jltnol offline
Posts: 994
Joined: Oct 15, 2013

Re: Python and X10

Ugh!

The littlest of things.

THANKS

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 6 guests