Direkt zum Hauptbereich

Posts

Posts mit dem Label "Sonos" werden angezeigt.

Project Sinos - Back To Open Source

After my previous smart home project with Snips.ai failed due to Sonos buying Snips, I was forced to find an alternative to offline speech recognition with Snips.ai. Project Sinos Unfortunately, there were no real open source alternatives. At least I couldn't find one. So I took matters into my own hands. Project Sinos was born. ("Sinos" is a pure artificial word, derived from the Latin Sinus.) CMU Sphinx - How To Listen Offline The first and apparently biggest problem was finding an open source software for offline speech recognition. To my astonishment, this was solved very quickly after I discovered CMU Sphinx . Developed by Carnegie Mellon University, it is the offline speech recognition tool. In addition, quite a few languages are supported (including German). It has little, very little competition. After the first quick successes, however, there were considerable problems in recognizing specific words in order to identify intents. I was able to f

Hacking Sonos Play 1 and Play 3

For several months I have been an enthusiastic owner of a Sonos home sound system. In addition to a brilliant sound and the operation via smartphone and WLAN, this also offers the possibility to implement a control via the SOAP protocol to implement user-defined functions. This means, that it's possible to "hack" the Sonos devices. Free APIs Available Fortunately, some non-proprietary APIs are available on the net or on GitHub: For Java on any machine and OS (by VMichalak) For python on Raspberry Pi SoCo API for Python on Raspberry Pi It has to be said, that the Python APIs not neccessarily run on Windows (at least they didn't run on my machine), but this is not to expect when they are proclaimed as a Raspberry Pi project. Dependency Nightmare Though the API of VMichalak was the one that worked for me, it has a lot of dependecies which need to be downloaded or to be downloaded an build what requires Maven. OKHTTP (okhttp-3.11.0.jar) OKIO (okio-1