shsonos's People
shsonos's Issues
alarms Objekt
Hi. Ich bekomme alle 2min pro Speaker diesen Fehler:
2014-08-15 21:14:28 ERROR Main Error parsing sonos broker response!
Error: 'SonosSpeaker' object has no attribute 'alarms'
Heute auf die aktuelle Version geupdated...
Gruss buffi
rincon-fehler
Hi,
bei mir kommt ein Fehler von einem Speaker, welcher aber gar nicht vorhanden ist bzw. definiert ist... (Error: 'rincon_000e588643b401400')
2014-05-01 14:48:09 ERROR Main Error parsing sonos broker response!
Error: 'rincon_000e588643b401400'
admin@smarthome:/usr/smarthome$ find -name "*.conf" | xargs grep -i "rincon"
./items/sonos.conf: sonos_uid = RINCON_000e58a488ce01400
./items/sonos.conf: sonos_uid = RINCON_000e5886437201400
./items/sonos.conf: sonos_uid = RINCON_000e588645e201400
./items/sonos.conf: sonos_uid = RINCON_123e5886437201400
admin@smarthome:/usr/smarthome$
sonos.play gives no attribute error
I was trying to use the plugin for smarthome.py.
Newest broker and plugin.
when I create a logic according the docs I get following error.
2016-12-09 14:56:56 ERROR sonos Logic: sonos, File: /usr/smarthome/logics/sonos_muziek.py, Line: 6, Method: <module>, Exception: 'Sonos' object has no attribute 'sonos_keuken'
Traceback (most recent call last):
File "/usr/smarthome/lib/scheduler.py", line 355, in _task
exec(obj.bytecode)
File "/usr/smarthome/logics/sonos_muziek.py", line 6, in <module>
sh.sonos.sonos_keuken.play = True
AttributeError: 'Sonos' object has no attribute 'sonos_keuken'
My logic is very simple
#!/usr/bin/env python
#
logger.info("Sonos")
if sh.gelijkvloers.voute.licht_bureau_a_u:
sh.sonos.sonos_keuken.play(1)
Could you help me to understand how to send a command to a speaker using a logic?
It works when I do sh.sonos.get_version() but no speaker commands are recognized.
Looking into the code I could not figure out how you send the command to the speaker?
Thanks a lot!
get_playlist returns "No Playlist returned"
get_playlist returns "No Playlist returned" even if there are song items in the queue
sonos Warnung füllt Log
Hi
Bir mir füllt es das Log duch diese Fehlermldung.
Alle 2 Minuten wird das Log geschrieben. Nach einem Restart des Sonos Brokers ists dann wieder weg.
Ein Neustart des SH's ist nicht nötig.
Version: v0.6b1
Gruss Buffi
2015-05-22 11:02:22 WARNING sonos-update Could not send sonos notification: {'parameter': {'ip': '192.168.0.11', 'port': 9999}, 'command': 'client_subscribe'}. Error: HTTPConnectionPool(host='192.168.0.11', port=12900): Max retries exceeded with url: / (Caused by <class 'http.client.BadStatusLine'>: '')
2015-05-22 11:02:22 WARNING sonos-update Could not send sonos notification: {'parameter': {'group_command': 0, 'uid': 'rincon_000e588643b401400'}, 'command': 'current_state'}. Error: HTTPConnectionPool(host='192.168.0.11', port=12900): Max retries exceeded with url: / (Caused by <class 'http.client.BadStatusLine'>: '')
2015-05-22 11:02:22 WARNING sonos-update Could not send sonos notification: {'parameter': {'group_command': 0, 'uid': 'rincon_000e5886437201400'}, 'command': 'current_state'}. Error: HTTPConnectionPool(host='192.168.0.11', port=12900): Max retries exceeded with url: / (Caused by <class 'http.client.BadStatusLine'>: '')
2015-05-22 11:02:22 WARNING sonos-update Could not send sonos notification: {'parameter': {'group_command': 0, 'uid': 'rincon_000e58a488ce01400'}, 'command': 'current_state'}. Error: HTTPConnectionPool(host='192.168.0.11', port=12900): Max retries exceeded with url: / (Caused by <class 'http.client.BadStatusLine'>: '')
2015-05-22 11:02:22 WARNING sonos-update Could not send sonos notification: {'parameter': {'group_command': 0, 'uid': 'rincon_b8e93753801201400'}, 'command': 'current_state'}. Error: HTTPConnectionPool(host='192.168.0.11', port=12900): Max retries exceeded with url: / (Caused by <class 'http.client.BadStatusLine'>: '')
2015-05-22 11:02:22 WARNING sonos-update Could not send sonos notification: {'parameter': {'group_command': 0, 'uid': 'rincon_000e588645e201400'}, 'command': 'current_state'}. Error: HTTPConnectionPool(host='192.168.0.11', port=12900): Max retries exceeded with url: / (Caused by <class 'http.client.BadStatusLine'>: '')
http json request
Hi,
is there a simple way to contact to the Broker with http& json?
sonthing like http://sonosbroker:port/action={ 'command': 'client_list' }
thanks,
Jochen
track_titel fehler
2014-03-27 20:05:18 WARNING Main Item sonos.wohnen.track_title: value ['Radio SRF 3 ', ' srf3.ch ', ' facebook/srf3 ', ' twitter @Srf3'] does not match type str. Via Sonos
loglevel = error or critical logt auch info
Hi,
die angaben für den loglevel bewirken nichts.
"error" und "critical" loggen auch debug-ausgaben.
Mir fällt grad noch was ein: ist die loglevelanagbe evtl. case sensitive?
server.sonos tts not working - declined by google with captcha
tts did not work because google realized that this is not a valid browser.
I added this workaround in save_google_tts in server.sonos/lib_sonos/utils.py
url = "http://translate.google.com/translate_tts?ie=UTF-8&tl={tts_language}&q={tts_string}&client=t"
and added agent+referrer
paramlist = {'User-agent':'stagefright/1.2 (Linux;Android 5.0)', 'Referer':'http://translate.google.com/'}
response = requests.get(url, params = paramlist)
Error on client
2014-09-01 20:51:49 ERROR Main Error parsing sonos broker response!
Error: 'utf-8' codec can't decode byte 0xc0 in position 29: invalid start byte
Could you please add clear playlist functionality ?
If you want to play a alarm (ex. fire alarm) over all sonos speakers in loop mode, there is no method to clear the playlist first. If there are other music in it it will be played also ...
Thank you very much!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.