Manfred Stock, Entwickler bei der Winterthurer Softwareschmiede futureLAB, besprach die Verbindung von etablierter Heimelektronik mit digitalSTROM am Beispiel des Squeezebox Servers von Logitech, der Musik in mehreren Räumen abspielt. Vorausgesetzt die Hard- oder Software bietet eine offene Schnittstelle kann diese via JSON-Schnittstelle mit dem dSS kommunizieren und eine digitalSTROM-Wohnung steuern. Stock programmierte dazu ein Plugin in Perl, das sich in den Squeezebox Server integriert. So wird die Fernbedienung des Soundsystems zum Eingabegerät für digitalSTROM.
Mehr unter: www.digitalstrom.org
digitalSTROM Developer Day 2011: Wie Heimelektronik und digitalSTROM zusammen finden
1. Introduction Squeezebox dSS Plug-in Conclusion
Integration of Non-digitalSTROM Devices
digitalSTROM Developer Day 2011
Manfred Stock
futureLAB AG
27.01.2011
2. Introduction Squeezebox dSS Plug-in Conclusion
Introduction
dSS provides SOAP- and JSON-based APIs
These can be accessed from other devices or systems
Devices with an extensible software stack are particularly
suited to be used for this
3. Introduction Squeezebox dSS Plug-in Conclusion
Introduction
dSS provides SOAP- and JSON-based APIs
These can be accessed from other devices or systems
Devices with an extensible software stack are particularly
suited to be used for this
4. Introduction Squeezebox dSS Plug-in Conclusion
Introduction
dSS provides SOAP- and JSON-based APIs
These can be accessed from other devices or systems
Devices with an extensible software stack are particularly
suited to be used for this
5. Introduction Squeezebox dSS Plug-in Conclusion
Squeezebox
Squeezebox Hardware
Network music player from Logitech
Works stand-alone or with Squeezebox Server [DL]
Squeezebox Server
Open source, written in Perl
Web-interface for configuration, management of music
and playlists, player control
Can be extended with plug-ins
6. Introduction Squeezebox dSS Plug-in Conclusion
Squeezebox
Squeezebox Hardware
Network music player from Logitech
Works stand-alone or with Squeezebox Server [DL]
Squeezebox Server
Open source, written in Perl
Web-interface for configuration, management of music
and playlists, player control
Can be extended with plug-ins
7. Introduction Squeezebox dSS Plug-in Conclusion
Squeezebox
Squeezebox Hardware
Network music player from Logitech
Works stand-alone or with Squeezebox Server [DL]
Squeezebox Server
Open source, written in Perl
Web-interface for configuration, management of music
and playlists, player control
Can be extended with plug-ins
8. Introduction Squeezebox dSS Plug-in Conclusion
Squeezebox
Squeezebox Hardware
Network music player from Logitech
Works stand-alone or with Squeezebox Server [DL]
Squeezebox Server
Open source, written in Perl
Web-interface for configuration, management of music
and playlists, player control
Can be extended with plug-ins
9. Introduction Squeezebox dSS Plug-in Conclusion
Squeezebox
Squeezebox Hardware
Network music player from Logitech
Works stand-alone or with Squeezebox Server [DL]
Squeezebox Server
Open source, written in Perl
Web-interface for configuration, management of music
and playlists, player control
Can be extended with plug-ins
12. Introduction Squeezebox dSS Plug-in Conclusion Perl Wrapper Plug-in
Plug-in
Runs inside the Squeezebox Server
Displays zones and their groups on a Squeezebox
Allows to turn groups “on” and “off”
13. Introduction Squeezebox dSS Plug-in Conclusion Perl Wrapper Plug-in
Plug-in
Runs inside the Squeezebox Server
Displays zones and their groups on a Squeezebox
Allows to turn groups “on” and “off”
14. Introduction Squeezebox dSS Plug-in Conclusion Perl Wrapper Plug-in
Plug-in
Runs inside the Squeezebox Server
Displays zones and their groups on a Squeezebox
Allows to turn groups “on” and “off”
15. Introduction Squeezebox dSS Plug-in Conclusion
Conclusion
Using the JSON-API from other applications works well
A wrapper is not required, but simplifies the application
code
Controlling the apartment using familiar consumer
electronics (which usually have a remote control) is
convenient
16. Introduction Squeezebox dSS Plug-in Conclusion
Conclusion
Using the JSON-API from other applications works well
A wrapper is not required, but simplifies the application
code
Controlling the apartment using familiar consumer
electronics (which usually have a remote control) is
convenient
17. Introduction Squeezebox dSS Plug-in Conclusion
Conclusion
Using the JSON-API from other applications works well
A wrapper is not required, but simplifies the application
code
Controlling the apartment using familiar consumer
electronics (which usually have a remote control) is
convenient
18. References
References
Slim Devices and Logitech.
Squeezebox Server.
http://wiki.slimdevices.com/index.php/Squeezebox_
Server.
Patrick Staehlin et al.
dSS 0.8.0 JSON API.
http://developer.digitalstrom.org/releases/dss-0.
8.0-doc/dss-0.8.0-json_api.html.