Search found 49 matches

by tester22
Tuesday 27 June 2017 13:08
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

@rathmannm, I'm not sure this is a Python plugin issue because the log shows that the plugin is not loaded. 2017-06-24 08:44:26.347 Error: (Sonos) failed to load 'plugin.py', Python Path used was ':/usr/lib/python3.4/:/usr/lib/python3.4/plat-arm-linux-gnueabihf:/usr/lib/python3.4/lib-dynload'. 2017 ...
by tester22
Friday 23 June 2017 15:24
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

Hi, I am still having an issue with the plugin which prevents Domoticz from startin. I am running the latest beta 3.8005 and updated the Sonos plugin from Github but this is what I get in the log: 2017-06-23 13:23:10.912 Error: Domoticz received fatal signal 11 !... 2017-06-23 13:23:10.913 Error ...
by tester22
Friday 16 June 2017 6:59
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

Managed to get the built in xml parser to work. Currently only player state and title. Volume and mute is not loaded nor radio stations. Works, thanks! You say that (only) radio stations are not shown, but when I play something from a streaming service like Spotify it also doesn't show the title ...
by tester22
Thursday 15 June 2017 21:46
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

Would be great if you can have a look! I'm sure you'll make quite a few people happy if you can get it back to work. Thanks for your help! By the way, I don't experience the instability issues you are mentioning?! Maybe you can try disabling some hardware to see if one of those is causing the ...
by tester22
Thursday 15 June 2017 20:22
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

I had an look at this today and it requires quite some work to get this back working. This was one of the first plugins written and there have been some added functionality to the framework since this was built that would be good to implement. I am note sure when this can be done but will have an ...
by tester22
Thursday 15 June 2017 18:45
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

There were some huge changes in the Python framework in the last beta releases. I believe the plugins are currently not working in the latest version, but I guess it will be fixed soon. Any chance on an update so it works again with the newest beta of Domoticz ? Yes that would be great! I am using ...
by tester22
Wednesday 17 May 2017 7:56
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

Got them added now, and seems to be successfully pausing the speakers when turning the switches On and Off. My ultimate goal is to have an Event where it will collect the state of all players, pause them, play an MP3 file, and then return them to their original state. I don't suppose this feature ...
by tester22
Tuesday 16 May 2017 19:19
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

Okay, so I managed to install Python 3.6.1 and that loads fine. I can now see Sonos Players in the Hardware List, but when I click 'Add', literally nothing happens. Nothing in the log, Domoticz doesn't crash. It just does nothing. Any where I can go from here? What browser are you using. If you are ...
by tester22
Tuesday 16 May 2017 12:35
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

Even after running `sudo apt-get install python3-dev`, I'm still seeing the error in the log after restarting DM: `PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.` How can I fix this? Is this what's stopping Sonos from ...
by tester22
Tuesday 16 May 2017 12:27
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

Can someone please help me? I'm not getting much help from the plugin author, and despite trying everything that's been listed, I am not seeing 'Sonos' appear in my Hardware devices list. Just to go through the basics... I'm running Beta 3.7450 I have uploaded the plugin.py file in /plugins/sonos ...
by tester22
Monday 27 March 2017 22:06
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

If I am reading your code right you are saving the file locally here before sending it to the sonos players: https://github.com/gerard33/sonos/blob/master/sonos.php#L420 This is where I get stuck since the python framework does not support exposing the url's where the Sonos players can read data ...
by tester22
Sunday 26 March 2017 9:54
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

This would require the calls to be made syncronos and the idea behind the python framework was that communication should be asyncronos. But maybe it would be possible to implement anyway. The audio to be played would need to be saved in an local music library and it would need special naming but ...
by tester22
Friday 24 March 2017 20:57
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

I have the plugin working, great!!! This is what I would love to achieve #1 - Someone pushes my doorbell #2 - I capture the current state of my sonos player (medium, song, volume etc) and save this for later #3 - I play my own sound through the sonos player (ding-dong) #4 - I go back to to captured ...
by tester22
Friday 24 March 2017 20:54
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

I've got the same question. Another question: Does it restore to the same state as before playing the tts? Right now it does not resume state. But I think I will reverse this since I have found an problem without any possible solution. If the players load data straight from Voicerss it interprets ...
by tester22
Friday 24 March 2017 20:50
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

It would be nice to be able to set the media source (Sonos favourite for instance), if possible. I currently use a nodejs middle tier for doing that, and it would be nice to get rid of external dependencies. I use it to automatically play some lounge music in the bathroom when there is motion :) Is ...
by tester22
Friday 24 March 2017 20:44
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

It would be nice to be able to set the media source (Sonos favourite for instance), if possible. I currently use a nodejs middle tier for doing that, and it would be nice to get rid of external dependencies. I use it to automatically play some lounge music in the bathroom when there is motion ...
by tester22
Friday 10 March 2017 17:45
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

Now I have the voice fields, so I have added my key and language for each of my devices, but what do I need to do now to test it ? (how can I send a line of text to a certain device ?) I've got the same question. Another question: Does it restore to the same state as before playing the tts? Right ...
by tester22
Wednesday 08 March 2017 21:48
Forum: Python
Topic: Using CustomImages with the Python framework
Replies: 4
Views: 1202

Re: Using CustomImages with the Python framework

I tried to use the function in the Sonos Plugin. Works on my Pi but another user got the following error: 2017-03-08 14:22:54.664 (Sonos Eetkamer) Initialized version 1.0, author 'tester22' 2017-03-08 14:22:54.719 Error: Domoticz received fatal signal 11 !... 2017-03-08 14:22:54.732 Error: /home/pi ...
by tester22
Wednesday 08 March 2017 14:28
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

The version I'm on is 6683, tried it with the file without icons, now it's working fine again :-) I'm wondering now how I can test TTS, as I don't see any difference Your need the latest version of the plugin, I think it is fexed now. Was an broken zip file. So update to latest version here: https ...
by tester22
Wednesday 08 March 2017 14:15
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 40829

Re: Python plugin: Sonos

Tried the new file, still crashing Domoticz I'm afraid Are you on the latest Domoticz Beta? Icons were introduced a couple of weeks ago. Or switch to this version, without icons: https://github.com/tester22/Domoticz-Sonos/blob/525d48926adc4673f1e85da36f775217cdc74acc/Sonos/plugin.py The version I'm ...