{"id":12410,"date":"2020-02-21T21:52:22","date_gmt":"2020-02-21T20:52:22","guid":{"rendered":"http:\/\/www.toomik.net\/helen\/blog\/?p=12410"},"modified":"2021-02-21T13:01:50","modified_gmt":"2021-02-21T12:01:50","slug":"daily_1868_-_raspberry_pi","status":"publish","type":"post","link":"https:\/\/www.toomik.net\/helen\/blog\/2020\/02\/21\/daily_1868_-_raspberry_pi\/","title":{"rendered":"Daily: 1868 &#8211; Raspberry Pi"},"content":{"rendered":"<p><img decoding=\"async\" src=\"\/helen\/blog\/images\/daily_2\/1868_Raspberry_Pi.jpg\" class=\"x6y45\" \/><br \/>\nI&#8217;ve been mulling over an app idea for some months now, but not found the time or energy for it.<\/p>\n<p>I&#8217;ve also had this Raspberry Pi lying around for some months now, but not found a use for it.<\/p>\n<p>Now I made a start on the app, and realized that the app idea and the Raspberry Pi are a match made in heaven.<\/p>\n<p>The app will be a custom Sonos controller. We use Sonos a lot to play music at home, and while the Sonos ecosystem is great at playing music, its apps for controlling the music are so-so. One feature we really miss is some kind of music recommendation service.<\/p>\n<p>We have hundreds and hundreds of albums ripped from CD to a file server. Back when we listened to the CDs directly, we could walk up to the CD shelf and stumble upon music we hadn&#8217;t heard in a while. Browsing the album list in Sonos is slow and clunky, and it only shows a very small number of albums at the same time, so those serendipitous finds never happen. We simply can&#8217;t remember all the great music we have. I&#8217;m hoping to write an app that brings back those lucky stumbles, so we can listen to more of what we have.<\/p>\n<p>How do I write that app, though? The Sonos system is on our local network, so I want the app to also run locally, or otherwise figure out how to reach the Sonos from some server somewhere. Local app seems hard because (a) I&#8217;ve never written any native mobile apps, and (b) I use Android while the rest of the family use iOS devices, so I&#8217;d need to do something cross-platform, and (c) distributing iOS apps, even privately, looks like an expensive and frustrating bureaucratic process.<\/p>\n<p>And then suddenly I realized that if I write a web app (which I know how to do) and run it on a web server on our local network (hello Pi!), all those problems go away! Tada!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been mulling over an app idea for some months now, but not found the time or energy for it. I&#8217;ve also had this Raspberry Pi lying around for some months now, but not found a use for it. Now I made a start on the app, and realized that the app idea and the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,9,768],"tags":[],"class_list":["post-12410","post","type-post","status-publish","format-standard","hentry","category-dailies","category-geeky_things","category-photography-2"],"_links":{"self":[{"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/posts\/12410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/comments?post=12410"}],"version-history":[{"count":3,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/posts\/12410\/revisions"}],"predecessor-version":[{"id":14292,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/posts\/12410\/revisions\/14292"}],"wp:attachment":[{"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/media?parent=12410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/categories?post=12410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/tags?post=12410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}