13.01.2020, 11:32
(01.08.2019, 06:18)admin Wrote: You are probably missing user/sonos.lua file. Have you uploaded both files (sonos.lp and sonos.lua) to FTP?
I am trying this as well, and get the same error. I have uploaded both the files to /user.
I got the files from post #83, but maybe there is something wrong in one of them? Is there another place I can dowload the two files?
Or maybe I have another problem?
The code I have is;
Code:
require('json')
require('socket.http')
reply = socket.http.request('http://admin:password@192.168.1.9/user/sonos.lp?action=getsonosdata')
There are 10 kinds of people in the world; those who can read binary and those who don't