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/Protocolshttp://untestedhacks.com/2012/command-line-light-control/
If you have questions or find any bugs, feel free to ask.
No comments:
Post a Comment