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.

How to execute json link inside spacelynk
#2
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.
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.
Reply


Messages In This Thread
RE: How to execute json link inside spacelynk - by admin - 10.06.2024, 06:57

Forum Jump: