Skip to content

Companion

Johan Nilsson edited this page Jul 20, 2023 · 2 revisions

How-to control Rigport SmartVT with 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.

Clone this wiki locally