27.03.2018, 12:27
(27.03.2018, 12:21)διαχειριστής Wrote: This means that the request is working correctly. Does the volume change on your Sonos device?
unfortunately no i use the follow
-- Load modules
require('socket.http')
-- Set timout
socket.http.TIMEOUT = 5
-- Set SONOS IP
Sonos_Player_IP = '192.168.1.7'
reply = socket.http.request('http://admin:sonos123@192.168.1.50/apps/data/sonos/sonos.lp?action=setvolume&ip=192.168.1.7&volume=' ..value)
log(reply)