Here is a simple python script to use the REST code in the ISY (http://universal-devices.com) to control devices that are…