You may wish to run a macro in Push by using an Environexus trigger. To do this please follow the below steps:
- Select SCENES, ADD SCENE
- Create the Scene is the usual manner
- Select the trigger
- Select the devices
- Select the action
- Once you get to Step 3 of the Scene Creator, select NO LUUP CODE DEFINED
- Enter one of the below URLs into the text box, replacing IPAddress with the IP Address of the Push Controller on the local network.
PC1/PC2 Controller:
luup.inet.wget('http://IPAddress:8080/cgi-bin/dobwc?bwc:macro:9:')
e.g luup.inet.wget('http://192.168.1.101:8080/cgi-bin/dobwc?bwc:macro:9:')
PC4 Controller:
luup.inet.wget('http://IPAddress/bwc.xml?bwc=bwc:macro:3:')
e.g., luup.inet.wget('http://192.168.0.101/bwc.xml?bwc=bwc:macro:3:')
- Click SAVE LUA
- Finish creating the scene as normal