02.06.2020, 08:05
(29.05.2020, 09:55)Erwin van der Zwart Wrote: Hi,
Apperently admin added the sonos.lua and changed the sonos.lp and i was unaware of this change (:
I removed all storage entry's before testing (so that couldn't influence the test) and uploaded the 2 new files to my ftp and runned this script:
I was playing a radio track from intune, it paused, went to a higer volume , played the doorbell.mp3 and reduced volume and continuud playing on intune.Code:require('socket.http')
socket.http.timeout = 5
audiofile = socket.url.escape('http://192.168.10.200/user/deurbel.mp3')
ip = '192.168.10.206' -- change this to your Sonos IP
reply = socket.http.request('http://127.0.0.1/user/sonos.lp?action=say&ip=' .. ip .. '&audiofile=' .. audiofile .. '&volume=80&duration=20')
There are no errors in my log so it seems to work perfect..
BR,
Erwin
Hi
I still get the same error message.
I checked with another project where I have tried this function, and it works there. Maybe There is something wrong with the LM I have here?
Could it be that there is a problem with the memory card?
There are 10 kinds of people in the world; those who can read binary and those who don't