jishi / node-sonos-http-api

An HTTP API bridge for Sonos easing automation. Hostable on any node.js capable device, like a raspberry pi or similar.
http://jishi.github.io/node-sonos-http-api/
MIT License
1.84k stars 462 forks source link

Add nightmode action for Sonos Beam #844

Open njudson11 opened 2 years ago

njudson11 commented 2 years ago

Based on the documentation and the tests I've run the nightmode action is only available to PLAYBAR. Would it be possible to extend this feature so it also works on Sonos Beam devices as they support the night mode feature through the sonos app?

jishi commented 2 years ago

I have the beam and setting night mode works fine for me. Could you please provide some logging from when you try to invoke the command?

On Fri, 8 Jul 2022, 17:21 njudson11, @.***> wrote:

Based on the documentation and the tests I've run the nightmode action is only available to PLAYBAR. Would it be possible to extend this feature so it also works on Sonos Beam devices as they support the night mode feature through the sonos app?

— Reply to this email directly, view it on GitHub https://github.com/jishi/node-sonos-http-api/issues/844, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYE2I4BBHKI6H7YGH2G3HDVTBBOVANCNFSM53BKR6FQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

njudson11 commented 2 years ago

Yeah no problem. Although from what I can tell triggering the action doesn't seem to generate any extra logging.

Instruction: http://*******:5005/Sonos%20Beam/nightmode/off

Response:

{
  "error": "action 'nightmode' not found"
}

Log export attached: sonos-node-api.csv