Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local selfId = fibaro:getSelfId();
- local selfIp = fibaro:get(selfId, 'IPAddress')
- local selfPort = fibaro:get(selfId, 'TCPPort')
- local httpPath = '/full_status.json'
- httpData = Net.FHttp(selfIp, selfPort)
- response, status, errorCode = httpData:GET(httpPath)
- fibaro:debug("Response: "..tostring(response))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement