15.05.2025, 18:31
Just got it to work with
The log answer is:
How to convert it to a 1bit object on/off?
Code:
http = require('socket.http')
http.TIMEOUT = 15
res = http.request('http://admin:password@192.168.0.5/admin/channel1/get_params.cgi?publish_enabled=on')
log(res)
The log answer is:
Code:
Feedback inspelning 15.05.2025 20:27:39
* string: publish_enabled = on
Feedback inspelning 15.05.2025 20:27:44
* string: publish_enabled = off
How to convert it to a 1bit object on/off?