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.

Gateway to Lufaflex shades
#3
(13.06.2018, 09:55)admin Wrote: You can use HTTP API to activate a pre-define scene. Replace IP and sceneId in url as needed:
Code:
require('socket.http')

url = 'http://192.168.1.101/api/scenes?sceneId=12345'
res, err = socket.http.request(url)

log(res, err)

Thanks Admin! Smile
Reply


Messages In This Thread
Gateway to Lufaflex shades - by Evens - 13.06.2018, 09:47
RE: Gateway to Lufaflex shades - by admin - 13.06.2018, 09:55
RE: Gateway to Lufaflex shades - by Evens - 13.06.2018, 12:47

Forum Jump: