13.06.2018, 09:55
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)