Aeotec Siren ZW164 script

Posted on
Thu Sep 24, 2020 1:43 pm
zoff offline
Posts: 47
Joined: Jan 21, 2013

Aeotec Siren ZW164 script

How do I use python to "push a button" on the Aeotec Indoor Siren ZW164. The following script line gives me an error:
Code: Select all
 indigo.device.turnOn[985370218] # "Siren 1- button 1 chimes"

embedded script: 'instancemethod' object has no attribute '__getitem__'

Posted on
Thu Sep 24, 2020 1:57 pm
zoff offline
Posts: 47
Joined: Jan 21, 2013

[Solved] Aeotec Siren ZW164 script

zoff wrote:
How do I use python to "push a button" on the Aeotec Indoor Siren ZW164. The following script line gives me an error:
Code: Select all
 indigo.device.turnOn[985370218] # "Siren 1- button 1 chimes"

embedded script: 'instancemethod' object has no attribute '__getitem__'


After some fiddling I realized that simply changing the [ ] to ( ) did it.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests