Python plugin: Sonos [new version]

Python and python framework
leecollings
Posts: 174
Joined: Tuesday 30 June 2015 18:09
Target OS: Raspberry Pi
Domoticz version:
Location: United Kingdom
Contact:

Re: Python plugin: Sonos [new version]

Post by leecollings » Wednesday 17 October 2018 15:55

Okay, so where's the current (new) plugin, as the url at the start of this thread (https://github.com/gerard33/sonos), states that this repo has been archived and is no longer maintained?

mvzut
Posts: 453
Joined: Thursday 12 November 2015 11:55
Target OS: Raspberry Pi
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Python plugin: Sonos [new version]

Post by mvzut » Wednesday 17 October 2018 18:09

leecollings wrote:Okay, so where's the current (new) plugin, as the url at the start of this thread (https://github.com/gerard33/sonos), states that this repo has been archived and is no longer maintained?
I'm not sure if there is a newer version than that one. Even though it's no longer maintained, it still works perfectly, at least for me. Of course, when Sonos decides to change its API or add functionality, we're out of luck...
Raspberry Pi 3 - RFXtrx433 - Aeon Z-Stick gen5 - Opentherm Gateway - P1 smart meter - Netatmo - Philips Hue - ELV Max! - ESP8266 DIY water meter - Xiaomi Gateway - Sonos - IP cameras - Wall mounted tablet + Imperihome - Alexa - MANY switches/sensors

leecollings
Posts: 174
Joined: Tuesday 30 June 2015 18:09
Target OS: Raspberry Pi
Domoticz version:
Location: United Kingdom
Contact:

Re: Python plugin: Sonos [new version]

Post by leecollings » Thursday 18 October 2018 16:29

It seems there is an issue with it, as I've just added one of my sonos players, and it told me it would appear in my devices list, but this then instantly crashes domoticz, which now appears offline, even after trying to restart it.

I'm restarting the Pi completely to see if it boots okay, but I would suspect it won't. If it does this everytime a player is added, there's something wrong with it obviously. With the GitHub project archived, there's no where to post new issues either, which is annoying.

mvzut
Posts: 453
Joined: Thursday 12 November 2015 11:55
Target OS: Raspberry Pi
Domoticz version: Beta
Location: The Netherlands
Contact:

Python plugin: Sonos [new version]

Post by mvzut » Thursday 18 October 2018 17:41

leecollings wrote:It seems there is an issue with it, as I've just added one of my sonos players, and it told me it would appear in my devices list, but this then instantly crashes domoticz, which now appears offline, even after trying to restart it.

I'm restarting the Pi completely to see if it boots okay, but I would suspect it won't. If it does this everytime a player is added, there's something wrong with it obviously. With the GitHub project archived, there's no where to post new issues either, which is annoying.
Hmmm, ok. I think it has something to do with the latest stable release of Domoticz. With the beta it works fine. So it's probably not the fault of the plugin. By the way, if you cannot start Domoticz anymore, just remove the plugin from a command line.

Yes it's annoying that the plugin is not further developed anymore. But that is how open source projects work. Nobody gets paid for their work, anybody can decide to stop working on something any moment. Maybe somebody else will pick up development of this plugin one time.
Raspberry Pi 3 - RFXtrx433 - Aeon Z-Stick gen5 - Opentherm Gateway - P1 smart meter - Netatmo - Philips Hue - ELV Max! - ESP8266 DIY water meter - Xiaomi Gateway - Sonos - IP cameras - Wall mounted tablet + Imperihome - Alexa - MANY switches/sensors

mvzut
Posts: 453
Joined: Thursday 12 November 2015 11:55
Target OS: Raspberry Pi
Domoticz version: Beta
Location: The Netherlands
Contact:

Python plugin: Sonos [new version]

Post by mvzut » Monday 03 December 2018 21:35

Has anyone here used the Sonos plugin in combination with a Sonos One with Alexa enabled? I had this for a couple of days, but I am now beginning to suspect that this combination caused my Domoticz system to crash every day or so. It seems the Domoticz database gets corrupted (!) after a while. Removing the plugin for only this Sonos seems to have solved my problem. Although further testing is needed, it would help if I would know others are using this combination successfully (or not).
Raspberry Pi 3 - RFXtrx433 - Aeon Z-Stick gen5 - Opentherm Gateway - P1 smart meter - Netatmo - Philips Hue - ELV Max! - ESP8266 DIY water meter - Xiaomi Gateway - Sonos - IP cameras - Wall mounted tablet + Imperihome - Alexa - MANY switches/sensors

Labtec
Posts: 3
Joined: Friday 10 August 2018 19:29
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Python plugin: Sonos [new version]

Post by Labtec » Monday 17 December 2018 20:31

Hi, plugin still working fine with latest stable version of Domoticz. I use it for sending notifications to my
Sonos speaker, made some mp3 files with a TTS prog.

The only thing not working is the radio station list, I select some Radio stations in my Sonos App but the don't show up
in the Domotics Sonos Radio selector.

What could be the problem?

Thanks

Rodio
Posts: 41
Joined: Thursday 16 April 2015 10:18
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Python plugin: Sonos [new version]

Post by Rodio » Monday 17 December 2018 22:12

Have you got 'refresh radio list' on True in the hardware Tab?

And its the list in Sonos app in Radio by TuneIn, not the Sonos Favo list

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest