{"id":2712,"date":"2013-12-09T22:39:20","date_gmt":"2013-12-09T22:39:20","guid":{"rendered":"http:\/\/liljenfeldt.ch\/?p=2712"},"modified":"2013-12-09T22:39:20","modified_gmt":"2013-12-09T22:39:20","slug":"experimenting-with-sonos-and-home-automation","status":"publish","type":"post","link":"https:\/\/webbservern.se\/~jonas\/wordpress\/?p=2712","title":{"rendered":"Experimenting with Sonos and home automation"},"content":{"rendered":"<p>After being hooked on Sonos and installing loudspeakers everywhere, (yes, also in the washing room and the garage) I have started to think about how one can control and use the system also for other purposes than playing music and film in different zones.<\/p>\n<p>Example: Let&#8217;s say you have a thermometer in your garden connected to your network and you would like your home to tell you the temperature at 8 o&#8217;clock every morning before you go to work. The sonos system would be an excellent choice to convey that message.<\/p>\n<p>Tonight I took a look at what open source home automation software there are on the market. I found <a href=\"http:\/\/openhab.org\">Openhab<\/a> which &#8220;aims at providing a universal integration platform for all things around home automation&#8221;. It was fairly easy to set it up as a service on my ubuntu server and they have bindings for a lot of hardware, among them Sonos speakers. They have a decent Android application and after some configuration it is now possible to execute some simple commands like play\/pause via my android phone over the internet (yes, the traffic is SSL encrypted and password protected). That is promising for the further development.<\/p>\n<p>Tonight I also installed an open source Sonos client written in Java that runs fine in Ubuntu. Sonos only provides client to Windows and Mac OS but with <a href=\"http:\/\/sourceforge.net\/projects\/janos\/\">Janos<\/a> we get &#8220;full coverage&#8221; since Java runs virtually everywhere.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After being hooked on Sonos and installing loudspeakers everywhere, (yes, also in the washing room and the garage) I have started to think about how one can control and use the system also for other purposes than playing music and &hellip; <a href=\"https:\/\/webbservern.se\/~jonas\/wordpress\/?p=2712\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,8,11,35],"tags":[753,752],"class_list":["post-2712","post","type-post","status-publish","format-standard","hentry","category-datorer","category-elektronik","category-hardvara","category-webben","tag-home-automation","tag-sonos"],"_links":{"self":[{"href":"https:\/\/webbservern.se\/~jonas\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2712","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webbservern.se\/~jonas\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webbservern.se\/~jonas\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webbservern.se\/~jonas\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webbservern.se\/~jonas\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2712"}],"version-history":[{"count":1,"href":"https:\/\/webbservern.se\/~jonas\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2712\/revisions"}],"predecessor-version":[{"id":2713,"href":"https:\/\/webbservern.se\/~jonas\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2712\/revisions\/2713"}],"wp:attachment":[{"href":"https:\/\/webbservern.se\/~jonas\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webbservern.se\/~jonas\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webbservern.se\/~jonas\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}