19.04.2022, 07:05
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.
Then replace mysensors = json.pdecode(reply[1]) with mysensors = json.pdecode(reply)
Otherwise your script will start failing if the response becomes larger.