Sunday, March 2, 2014

Control4 - List of Director Items by ID

I will be following up with a tutorial to set light intensity. I'll be doing something similar to RyanE, but in Python.


The posted script will list all Control4 devices with names and IDs. The IDs will be important for a future post to manually set/get light intensity.

Requirements:

- IP of Control4 Director (can be found using Control4 app or Composer)
BeautifulSoup module
- Sockets (built-in python module)

Script:

The script can be found on git. The file is called getControl4Items.py:
https://github.com/sapatel91/pyControl4/tree/master/Scripts

Sources:

https://code.google.com/p/control4toolkit/wiki/Protocols
http://untestedhacks.com/2012/command-line-light-control/

If you have questions or find any bugs, feel free to ask.

No comments:

Post a Comment