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

Line 1: Line 1:
==TRIGGER A RELAY ON STREAMING CLIENT USING METADATA==
===TRIGGER A RELAY ON STREAMING CLIENT USING METADATA===
==Exstreamer Configuration==
 
- STREAMING CLIENT firmware.
 
- STREAMING SETTINGS → 1. URL: http://<ip-instreamer>:<port>/xstream (You can change “xstream”).
 
- I/O SETTINGS → Control Output 1: Remote.
 
==From Instreamer==


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.  
Line 24: Line 33:
- STREAMING SETTINGS → STREAMING DESTINATIONS use “Internet Radio”.
- STREAMING SETTINGS → STREAMING DESTINATIONS use “Internet Radio”.


===Exstreamer 110 Configuration===
==From Icecast/Shoutcast server==
 
- STREAMING CLIENT firmware.
 
- STREAMING SETTINGS → 1. URL: http://<ip-instreamer>:<port>/xstream (You can change “xstream”).
 
- I/O SETTINGS → Control Output 1: Remote.

Revision as of 07:10, 26 May 2015

TRIGGER A RELAY ON STREAMING CLIENT USING METADATA

Exstreamer Configuration

- STREAMING CLIENT firmware.

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

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

From Instreamer

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”.

From Icecast/Shoutcast server