This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Getting data from Philips Hue Outdoor Motion Sensor
#3
In getHueSensors you need to replace return response with return table.concat(response)
Then replace mysensors = json.pdecode(reply[1]) with mysensors = json.pdecode(reply)

Otherwise your script will start failing if the response becomes larger.
Reply


Messages In This Thread
RE: Getting data from Philips Hue Outdoor Motion Sensor - by admin - 19.04.2022, 07:05

Forum Jump: