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.

Set KNX object's value via HTTP?
#6
(08.05.2017, 10:03)gjniewenhuijse Wrote: how to get this working over https? port 443

Hi Gert-Jan,

Like this:

Code:
require('ssl.https')
ssl.https.TIMEOUT = 5

-- Read from object
local reply = ssl.https.request('https://remote:remote@www.yourdomain.com/scada-remote?m=json&r=grp&fn=getvalue&alias=1/1/1')
log(reply)

BR,

Erwin
Reply


Messages In This Thread
Set KNX object's value via HTTP? - by Thomas - 10.01.2017, 18:25
RE: Set KNX object's value via HTTP? - by Erwin van der Zwart - 08.05.2017, 10:18

Forum Jump: