How To trigger Relays using metadata

Revision as of 14:27, 24 October 2014 by Domenico (talk | contribs) (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 ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.