FS20 IRB Internetradio: Unterschied zwischen den Versionen
Topos (Diskussion | Beiträge) (→Links: Kategorie:Internetradio) |
Topos (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 103: | Zeile 103: | ||
* IRB project blog entry by Maximilian Roth [http://maximilian-roth.de/?p=413] | * IRB project blog entry by Maximilian Roth [http://maximilian-roth.de/?p=413] | ||
[[Kategorie: | [[Kategorie:Unterhaltungselektronik]] | ||
[[Kategorie:FS20 Components]] | [[Kategorie:FS20 Components]] |
Version vom 15. März 2014, 21:58 Uhr
Features
The ELV Internetradio FS20 IRB is an Internetradio that can be controlled wirelessly with any FS20 transmitter. It has Ethernet connectivity and includes a stereo 1.5W at 8 Ohm amplifier. Power consumption is 100 mA up to 1,5 A depending on volume when switched on. An external power supply with 4,5–5,5 V DC is required. It can be switched on via FS20. LAN wakeup is not supported. Line-out with a standard 3.5 mm TRS connector (audio jack)is included. It includes a webserver that allows to control all functions including switching to next sender or favorite sender, volume, mute, bass, and treble. There is no display on the device. The IRB has two buttons, for FS20 learn mode and to reset to manufacturing settings. A maximum of up to 4096 livestream adresses can be stored in one sender list. The sender list can also include direct links to a MP3 file on any webserver. Playing modes: Internetradio and MP3-Player favorit and random. Sender lists can be imported and exported using any webserver. Configuration data is persistently stored in a flash. Network TCP/IP address is static or dynamic via DHCP.
Known limitations
- A maximum of up to 4096 livestream adresses can be stored in one sender list.
- MP3 bit rate is limited to approx. 192kbit/s.
- Playing directories of MP3 files is not supported.
- There is no documented API but it supports passing variables with forms using PHP.
- Home page is German only.
Webserver API
There is no documented API but it supports passing variables with forms using PHP. A blog entry by Maximilian Roth (see below) describes the variables and how to control the IRB using curl. After switch on the IRB via FS20 its webserver can be used e.g to switch on or off the amplifier:
curl --data-urlencode btnAmplifierSwitch=Einschalten -s -k 'http://192.168.2.9/index.htm' curl --data-urlencode btnAmplifierSwitch=Ausschalten -s -k 'http://192.168.2.9/index.htm'
Explanation: Variable btnAmplifierSwitch is set to e.g. Einschalten. The page URL is specified in quotes. Hint: Display IRB pages in source mode to find out variables and values.
IRB home page
<IP_address>/index.htm is the URL of the IRB home page.
- Select playing mode: Internetradio, MP3-Player, MP3-Player (Favorit), MP3-Player (Random), MP3-Player (Favorit, Random)
- Switching to next sender or favorite sender, volume, mute, bass, and treble.
IRB configuration page
<IP_address>/config.htm is the URL of the IRB configuration page.
- Admin password
- Network configuration including static IP address, subnet ID, DHCP, gateway, DNS-Server, and NetBIOS-Name.
IRB sender page
<IP_address>/stations.htm is the URL of the IRB sender page.
- Displays the sender list
- Exports or imports sender lists from any webserver.
- Senders can be selected, deleted, and edited.
- After selecting a sender for editing the sender address and display name can be changed and a sender can be defines as favorite.
Usage Scenarios
- Playing internet radio or MP3 files controlled wirelessly with any FS20 remote or internet browser.
- The internet radio can be switched on automatically when a person is detected by a FS20 sensor like the PIRA or PIRI infrared sensors.
- Using fhem the internet radio can be switched on via timers e.g. to simulate presence.
- Using fhem the internet radio can be switched to play MP3s (barking dogs, voices) to simulate presence.
FS20 setup
press FS20 learn mode button for ca. 5s until the control LED starts blinking. The first received FS20 signal determines house code and button for switching the device on. The subsequent orders are implicitely defined by increasing the channel number
FS20 buttons
16 FS20 buttons are supported: On, off, Volume +/-, list +/-, favorite +/-, and 8 station presets.
Definition in FHEM
In fhem.conf the Internetradio FS20 IRB is defined as follows:
define <name> FS20 <house code> <button>
Optional kann als Attribut noch das Model angegeben werden:
attr <name> model fs20st
Example:
# FS20 Internet Radio IRB define Radio_ON FS20 ec70 00 define Radio_Volume FS20 ec70 01 define Radio_List FS20 ec70 02 define Radio_Favoriten FS20 ec70 03 define Radio_Channel_1_2 FS20 ec70 04 define Radio_Channel_3_4 FS20 ec70 05 attr Radio_ON room Radio attr Radio_Volume room Radio attr Radio_List room Radio attr Radio_Favoriten room Radio attr Radio_Channel_1_2 room Radio attr Radio_Channel_3_4 room Radio
To setup the IRB FS20 address put the unit in programming mode (see above)and use fhem to send the on order:
set Radio_ON on
The LED on the URB now stops blinking and the IRB is set to the chosen house code and button. The IRB can now be switched on and off using
set Radio_ON on set Radio_ON off
or via the webinterface of fhem.
Known problems
none