-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing the Volume don't work when the Wifi Device goes into sleep mode #55
Comments
A Little Reminder :) |
@epicbenz the retry I put in place previously is also in place for changing volume. As I think about what you are asking, I don't think it is possible using Spotify. Here's why: If the device you want to change the volume of is sleeping, that means there is nothing playing on the device. If nothing is playing, then Spotify doesn't have an active connection to the device. Based on what I have experienced, an active connection to the device is required to change the volume. You may need to start a playlist, change the volume, then stop the playlist if you want to change the volume while nothing is playing. |
Hmm, okay i have thought that it won't be possible. Thanks anyway for your work. |
Hi, I think I have an idea to solve this problem. Would it be possible to do this?:
Or is it not possible to deposit two different playlists/songs? I have tried to do my Automation in Home Assistant but there is the same problem with the idle of the echo dot. |
I have tried this: I have set a second device with another name and another playlist. So I have the device "Bad 1" with playlist 1 and device "Bad 2" with a completely silent playlist. Now I have created an automation, In that the time triggers "Bad 2" and the Echo Dot plays a silent Playlist. After 1 min the volume is changed to xx%. After another Minute I stop "Bad 2", so the Echo Dot changes silent the volume. But sometimes it works perfectly, and sometimes I get this error:
Do you know what is wrong or why it sometimes works and sometimes not? I really don't get it why it sometimes works exactly like it should and sometimes just not. |
@epicbenz Apologies for the delayed response! I did a little research and it sounds like that error happens when a play request is sent to a device already playing or a pause request is sent to a device that is already paused. |
Describe Your Problem:
Hi Joey, its me again xD
I noticed the following problem, maybe you can help me with it.
As you have already recognized in problem #47, the Amazon Echo Dot goes into sleep mode after some time. Here you had the idea to insert a retry delay for the device.
Is that also possible for the volume control?
Background is that I would like to build an automation, where at different times a different volume is set.
However, if I activate a trigger (e.g.) a time and the Amazon Echo is then in sleep mode, then I get the error below and the volume is not changed.
When the Amazon Echo is not in sleep mode, changing the volume works without problems.
Is there also a possibility here with a retry delay or does this only work when "switching on" the playlist?
Logs:
Plugin Config:
Screenshots:
Environment:
The text was updated successfully, but these errors were encountered: