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: