Difference between revisions of "How To trigger Relays using metadata"

(New page: ==TRIGGER A RELAY ON STREAMING CLIENT USING METADATA== To send metadata to the Instreamer for inclusion with the stream, please use the E= command. In order to trigger the Relays on the ...)
 
Line 2: Line 2:


To send metadata to the Instreamer for inclusion with the stream, please use the E= command.  
To send metadata to the Instreamer for inclusion with the stream, please use the E= command.  
In order to trigger the Relays on the device running the Streaming Client FW you have to issue the following command on the source
In order to trigger the Relays on the device running the Streaming Client FW you have to issue the following command on the source


Line 8: Line 9:
where 'X' is the bit mask for the Relay with offset 'A'  
where 'X' is the bit mask for the Relay with offset 'A'  
i.e. 'A' to turn off all Relays,  ‘B‘ to activate Relay 1 ...
i.e. 'A' to turn off all Relays,  ‘B‘ to activate Relay 1 ...


   http://<ip-instreamer>/rc.cgi?E=StreamUrl='A';
   http://<ip-instreamer>/rc.cgi?E=StreamUrl='A';

Revision as of 14:28, 24 October 2014

TRIGGER A RELAY ON STREAMING CLIENT USING METADATA

To send metadata to the Instreamer for inclusion with the stream, please use the E= command.

In order to trigger the Relays on the device running the Streaming Client FW you have to issue the following command on the source

"E=StreamUrl='X'”

where 'X' is the bit mask for the Relay with offset 'A' i.e. 'A' to turn off all Relays, ‘B‘ to activate Relay 1 ...


  http://<ip-instreamer>/rc.cgi?E=StreamUrl='A';
 
  http://<ip-instreamer>/rc.cgi?E=StreamUrl='B';


Instreamer Configuration

- INSTREAMER firmware.

- STREAMING SETTINGS → SHOUTCAST/ICECAST SETTINGS → Radio Path → “/xstream”. (You can change “xstream”).

- STREAMING SETTINGS → STREAMING DESTINATIONS use “Internet Radio”.

Exstreamer 110 Configuration

- STREAMING CLIENT firmware.

- STREAMING SETTINGS → 1. URL: http://<ip-instreamer>:<port>/xstream (You can change “xstream”).

- I/O SETTINGS → Control Output 1: Remote.