I have my sonos connected to my unraid sonos docker. I can control it by sending http GET statements. I would like to know how I would send a GET request using node red? For example, when I want my sonos group volume to go down I need to send http://my-ip:5005/groupvolume/-5.
Announcement
Collapse
No announcement yet.
send a GET http request to my sonos docker
Collapse
X
-
Not exactly answering your question but why not use the Sonos node for node-red?
https://flows.nodered.org/node/node-red-contrib-sonos
See HTTP Recipes for answers to your question:
https://cookbook.nodered.org/http/
Hope this helps,
Ken
"if I have seen further [than others], it is by standing on the shoulders of giants." --Sir Isaac Newton (1675)
-
In the Network section of nodes there is on for HTTP Request which can issue a Get, but I agree with kenm in that you should consider using one of the Sonos contribs instead.Karl S
HS4Pro on Windows 10
1070 Devices
56 Z-Wave Nodes
104 Events
HSTouch Clients: 3 Android, 1 iOS
Google Home: 3 Mini units, 1 Pair Audios, 2 Displays
Comment
Comment