[_CODE_] LIRC2LuupDevice4SBS (for Squeezebox/Transporter/Touch owners)

EOL, unsupported.

If you own a Squeezebox V2, a Squeezebox V3 or a Transporter or a Touch and you would like to control your IR capable devices via IR, then LIRC2LuupDevice4SBS is the solution for you.

[ul][li]Install the IR Blaster plugin (Logitech Media Server Development),[/li]
[li]plug an IR transmitter into the phones/IR jack of your Squeezebox/Transporter/Touch,[/li]

[li]download the LIRC configuration file for the device you would like to control via IR (Index of /remotes) or use the IR Learning wizard (part of IR Blaster) to create a new LIRC configuration file for your remote,[/li]
[li]upload the LIRC configuration file to your Squeezebox Server and reload the LIRC configuration files (check the configuration page for IR Blaster for instructions),[/li]
[li]upload the LIRC configuration file to your Vera (‘MiOS developers’ → ‘Luup files’ → ‘Upload file’); no need to restart Luup after upload,[/li]
[li]copy the LIRC2LuupDevice4SBS Lua code (see attachment) into the ‘MiOS developers’ → ‘Test Luup code (Lua)’ window,[/li]
[li]set the variable [tt]remote_file[/tt] to the name of the LIRC configuration file,[/li]
[li]run the code: click ‘Go’; LIRC2LuupDevice4SBS will create four files which define the new Luup device,[/li]
[li]find out the name of the new Luup device: ‘MiOS developers’ → ‘Luup files’, [tt]D_SIR_…xml[/tt],[/li]
[li]create an instance of the new Luup device: ‘MiOS developers’ → ‘Create device’ → ‘UpnpDevFilename’: [tt]D_SIR_…xml[/tt] → ‘Create device’,[/li]
[li]restart the Lua engine, wait for plugin startup (startup fails because variables aren’t set), restart the Lua engine once more,[/li]
[li]set SBS_IP_address, SBS_CLI_port, SBS_IR_transmitter_MAC (‘Advanced’ tab of the new Luup device),[/li]
[li]SAVE your changes, click ‘Continue’ (Lua engine restarts),[/li]
[li]test the installation: click on ‘Test’ (‘UPnP actions’ tab of the new Luup device).[/li][/ul]

Short summary for LIRC2LuupDevice4SBS:

Input:

[ul][li]LIRC configuration file[/li][/ul]

Output:

[ul][li]Luup device, consisting of:[/li][/ul]

[ul][li][tt]D_SIR_…xml.lzo[/tt] (device description)[/li]
[li][tt]D_SIR_…json.lzo[/tt] (GUI representation)[/li]
[li][tt]I_SIR_…xml.lzo[/tt] (implementation)[/li]
[li][tt]S_SIR_…xml.lzo[/tt] (service description)[/li][/ul]

Your new Luup device is a fully compliant UPnP device, whose UPnP actions (IR commands) can be added to the ‘Advanced’ tab of your scenes (‘Pick a device’).

System setup:

                            ---------------          ----------             --------
                            | Squeezebox/ | WiFi/LAN |  SBS   |   SBS CLI   | Vera |
   IR Transmitter <-------> | Transporter | <------> |        | <---------> |      |
                            ---------------          ----------             --------
                         SBS_IR_transmitter_MAC    SBS_IP_address
                                                    SBS_CLI_port

Download:

Hey Ap, you are really pushing me to buy a Squeezebox :wink:

Another great plugin. Good work!

[tt]LIRC2LuupDevice4SBS[/tt] confirmed to be compatible with UI5.

Hi Ap15e,

My apologies if the following question seems really basic, but I’m trying to figure out the best way to control my audio/video/fans,etc using the IR blaster capability(via the cheap IRBlaster)of the Squeezebox since I have a few of those scattered throughout the house.

I can’t seem to be able to install the IRBlaster plugin on my SBS (using v7.8) or can’t seem to be able to access the settings of the plugin.

I was wondering how you and other gurus in this forum used to control their A/V with the Squeezebox? Is the LIRC2LuupDevice4SBS still the way to go even though it is EOLed ?
I’m aware of the SQ Blaster, but would really like to stick to Squeezebox solution.

Thanks in advance for your help

Just a FYI, ap15e no longer participates in this forum.

  • Garrett