02.02.2023, 08:38
(02.02.2023, 08:29)admin Wrote: Have you replaced "--devices ID--" with actual device id in the request URL?Hi admin,
Remove log calls from inside the request table.
Your JSON is incorrect, use json.encode to have a valid output:
Code:test = json.encode({
commands = {
{
component = 'main',
capability = 'switch',
command = 'on',
}
}
})
Thanks, I got.
I will try and I let you know.
Best regards Cristian