"My Home Automation Projects"

Devices - Rio

Please also read the Disclaimer

MediaNet - Device Modules - Rio/DDAR

Purpose: To support the Rio/DDAR Device

This module makes use of the Riot Rio client, (c) Paul Noffke, that is part of his Trio software, and is re-used here with his kind permission

Once this module is activated, and Medianet started, the Rio's should be auto detected as they attempt to boot. They are recognised by their MAC address so should work OK even if their IP address changes but it is highly recommended, if possible, to assign an IP via DHCP. When first booting a Rio for detection by MediaNet the Rio should be fully powered off to ensure the client software included with MediaNet is loaded

In future when MediaNet is started it will auto load all known clients and the communication between client and MediaNet will allow MediaNet to detect if the device is present (missing devices will show in the web interface as powered off and are not controllable)

LOADER.xml

Most entries in loader.xml are default values assigned to newly discovered Rio's. Those items that can be changed on a per-device basis are editable in clients.xml

<loader>
    <instance>
        <device module="RIO" enabled="n" type="rio" />
          set enabled="y" to enable Rio/DDAR support
        <settings keymap="keymap.xml" />
          specify the default keymap xml file
        <settings volume="25" volstep="5" balance="0" contrast="5" brightness="48" lineout="n" />
          sets the default volume, volume step (1 to 10 allowed) and balance
          also sets the contrast/brightness of the LCD display
          set lineout="y" for lineout volume control
        <settings volmin="0" volmax="100" />
          set volmin= and volmax= in the range 0 to 100 to restrict the devices volume levels
       
<settings synchtolerance="20" />
          this is the tolerance in milliseconds for a rio when in "tight" synch mode (20 = +/- 10ms)
        <settings clock="y" clocklight="20" clock24hr="n" />
          define whether the Rio should display a clock when in off mode
        <settings zone="master" />
          this defines the 'zone' that a device is in, used by protocols like xPL
        <settings prontoenabled="n" prontoclear="y" prontoplay="y" />
          specify whether support for pronto and prontopro remotes should be enabled,
          and whether they should auto clear/play

        <settings playstyle="clear" />
          set the default playstyle for adding tracks (allowed values are clear, insert and append) 
        <settings usebold="y" />
          temporary fix for a display problem, if the display on the rio is unreadable set usebold="n"
          this problem relates to the graphics settings on the PC running MediaNet

        <settings ogg="y" flac="y" />
          specify if the Rio should play ogg/flac natively (no TTS supported when playing flac/ogg track) or to transcode
        <settings osd_enabled="n" osd_device="tonyt-tivoosd.lounge" osd_menu="y" osd_status="y" osd_helper="XPLOSD" />
          specify an OSD device to use for On-Screen-Display
        <settings tts_enabled="n" tts_helper="TTS" tts_threshold="60000" />
          specify whether to support Text-to-Speech
        <settings stats_enabled="y" stats_helper="STATS" />
          specify whether played tracks should be added to the play statistics in the database
        <settings scripting="n" />
          specify whether scripting menus are enabled (requires scripting module loaded)
        <module>
            <load module="TRIO" enabled="y" />
            <settings port="19680" />
        </module>
        <module>
            <load module="MOUNT" enabled="y" path="Support\MOUNT" />
            <settings port="21077" />
        </module>
        <module>
            <load module="NFS" enabled="y" path="Support\NFS" />
            <settings port="21078" filename="receiver.arf" />
        </module>
        <module>
            <load module="PORTMAP" enabled="y" path="Support\PORTMAP" />
            <settings port="111" mount="21077" nfs="21078" />
        </module>
        <module>
            <load module="SSDP" enabled="y" path="Support\SSDP" />
            <settings port="21075" portmap="111" />
        </module>
          the module sections above load all the support files for a Rio device,
          only change port numbers etc if you understand the implications

    </instance>
</loader>

All front panel and remote control buttons are mapped via keymap.xml

How the Remote Control is Mapped (by default)

Items in BLUE are not specifically listed in the appropriate section, but are the result of a cascade search thru the sections

Button Menu Playlist Device
Power Power Power Power
Mute Mute   Mute
Menu Menu Off Menu Off Menu On
Up Up Up  
Down Down Down  
Enter Select / Queue    
Cancel Back Back Clear Playlist
Volume + Volume Up Move Top Volume Up
Volume - Volume Down Move Bottom Volume Down
Random Random Toggle   Random Toggle
Repeat Queue Style   Repeat Toggle
Play Queue & Play Play Now Play
Replay Previous Track Move Up Previous Track
Skip Next Track Move Down Next Track
Stop Stop Delete Stop
0 Space    
1 **@   Music Shortcut
2 ABC   Playlist Shortcut
3 DEF   Clear Shortcut
4 GHI   About Shortcut
5 JKL   Control Shortcut
6 MNO   Utility Shortcut
7 PQRS    
8 TUV    
9 WXYZ    
Search Search    
List *Lock *Lock *Lock

* Lock means that key presses are ignored other than for protocol functions until either lock is pressed again or unit is powered off. This allows the use of remote control for home automation duties (like controlling lights, tivo etc) while the unit is in use

** @ signifies items beginning with non-alpha tracks

How the Front Panel is Mapped (by default)

Button Menu Playlist Device
Power Power   Power
Select Select    
Play Queue Play Now Play
Stop Stop Delete Stop
Replay Previous Track Move Down Previous Track
Skip Next Track Move Up Next Track
Menu Menu Off Menu Off Menu On
Volume + Volume Up Move Top Volume Up
Volume - Volume Down Move Bottom Volume Down
Random Random Toggle   Random Toggle
Repeat Queue Style   Repeat Toggle