Running a vera 3 with version 5.622 and sonos version 1.3
Overall the sonos plugin is working fine , but i can’t stop the sonos anymore via vera.
Attached a screenshot of the scene ( The screenshot is with “pause” , but I slao tried the “stop”)
When I make a scene with an “immediate stop” the sonos stops playing the radio station.
When I make a scene with a play a radiostation and after some minutes stop playing ( as in the screenshot) , sonos starts immediately , but never stops.
I have tried it will all of my sonos , some hardwired and also the wifi ones , but all the same.
Anyone know’s what’s going on?
( oh , I updated the sonos speakers yesterday to the latest version , but before that is was the same)
I just tested with a “Stop” 2 minutes later and unfortunately I can confirm that the Stop action is never called !
That is another bug in the management of scenes by Vera !
Of course I also tested the Stop action in another scene with an immediate run and of course it works.
It would be interesting to check if it is the same with a Stop delayed only by for example 15 seconds.
Another thing to test is if the delayed Stop is called when the immediate action is not a Sonos action.
I will not loose my time with these tests as I don’t use Vera scenes anymore.
But let me know of your own results. If you conclude that is a bug in the plugin and not a general bug, I will search.
Yes, an alternative with 2 scenes would be a workaround.
Create a scene; play a radio station and 15 seconds later “stop” >> sonos did not stop.
Create a scene; Switch on a light in the house , 15 seconds later "stop “sonos” >> this does work! (sonos was started via the sonos app).
Wierd, what does this actually mean? something which can be fixed or do I need to improvise with 2 scenes or my logitech harmony
That could mean that the first Sonos action in the scene could lock the full scene for a reason I ignore.
Can you try with PlayUri as first action and a delayed switch off light.
And try with a more basic Sonos action (short execution time) at first action like a Stop.
Let me know.
-created a scene: Play uri, 15 seconds later light on >>> works fine
-created a scene: stop sonos, 15 seconds later light on >> works fine ( sonos was started manually).
Your last message about and < run> i don’t understand.
[quote=“Cor, post:9, topic:188247”]here my findings:
-created a scene: Play uri, 15 seconds later light on >>> works fine
-created a scene: stop sonos, 15 seconds later light on >> works fine ( sonos was started manually).[/quote]
So the first Sonos action does not lock a scene.
Maybe the problem is only with 2 Sonos actions in the same scene…
A question than , Does anyone know how I should implement that?
1 scene to start playing , a second scene to stop after x minutes.
I do have somewhere some luup code to start another scene ina scene, but on the LUUP tab there is no time delay.