zencontrol controllers are able to send UDP (no TCP currently) Pharos triggers by way of sequence actions. Any sequence other than tuneable white sequences can use the Pharos trigger action.
Ensure you have purchased an EDI license (External Device Interface) for your controller and that is enabled in the Add-ons section.
Sample sequence
You will need to know the IP address and port number of the Pharos controller (the Pharos controller will need to be on a static IP address).
You will need to know the know the trigger number that you wish to send and have the response to this trigger number appropriately set up on the Pharos Controller.
Select Run Pharos Trigger from the action command type and put your trigger number in the trigger field.
The string that is sent is "start_timeline_" followed by a 5 digit representation of the trigger number and a carriage return.
IE, for Pharos trigger 1, "start_timeline_00001\r" should go to the Pharos controller .
The Target must the the IP and Port of your Pharos device.
Testing:
To confirm that your triggers are working, you can point your controller sequence at your computer and use the simple UDP listener python script enclosed.
Obtain the IP of the computer you are using, set up your sequence and then run the python script as follows, use -p port and -b IP of your computer:
python pharos_event_listener.py -p 4848 -b 192.168.14.104
If successful, you should see results in the output, as follows
Comments
0 comments
Article is closed for comments.