10.06.2024, 06:57
Why don't use use KNX/IP Routing for local data exchange? It does not require any scripts.
The correct usage via script is this. Change RemotePassword to the actual password.
For 1 bit objects valid values are true/false or 1/0.
The correct usage via script is this. Change RemotePassword to the actual password.
Code:
http = require('socket.http')
res, err = http.request('https://remote:RemotePassword@192.168.0.90/scada-remote?m=json&r=grp&fn=write&alias=0/0/1&value=true')
log(res, err)
For 1 bit objects valid values are true/false or 1/0.