-
Notifications
You must be signed in to change notification settings - Fork 0
Companion
How-to by Johan Nilsson
Create a new custom variable and name it 'rigportsmartvt_hostname'.
Add the Rigport SmartVT device's hostname or IP address to both the 'Current value' and 'Startup value' fields.
Output on:
Add a new button with the press action: http POST
URL:
http://$(internal:custom_rigportsmartvt_hostname)/rpc/Switch.Set
Body:
{"id":0, "on":true}
Content Type:
application/json
Output off:
Add a new button with the press action: http POST
URL:
http://$(internal:custom_rigportsmartvt_hostname)/rpc/Switch.Set
Body:
{"id":0, "on":false}
Content Type:
application/json
If you are using a device with multiple outputs, id 0 represents the first output.
For the second output, assign id 1, and continue incrementing the ID for each subsequent output.