03-22-2025, 01:24 AM
Its undocumented but try these REST API commands for controlling the receiver
A cURL version is below - not tested but should work.
The file that receives them is /var/www/command/index.php
The file that executes them is /var/www/util/trx-control.php
Code:
http://HOSTNAME_OR_IPADDRESS/command/?cmd=trx_control -rx Off
http://HOSTNAME_OR_IPADDRESS/command/?cmd=trx_control -rx On
# Maybe a delay between them is needed if running consecutively ?
A cURL version is below - not tested but should work.
Code:
curl -G -S -s --data-urlencode "cmd=trx_control -rx Off" http://HOSTNAME_OR_IPADDRESS/command/
The file that receives them is /var/www/command/index.php
The file that executes them is /var/www/util/trx-control.php