Logic Machine Forum
Gateway to Lufaflex shades - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: Gateway to Lufaflex shades (/showthread.php?tid=1448)



Gateway to Lufaflex shades - Evens - 13.06.2018

Hi,
On a project we are working on, the customer wants to control hisĀ luxaflex shades from the knx system. I have received the Api codes from the supplier. Is this possible to integrate with the LM? And what types of functions can I expect?

Link:
http://tools.hde.nl/menc/luxaflex/concepts/PowerView/API/

BR Even Sundgot.


RE: Gateway to Lufaflex shades - admin - 13.06.2018

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)



RE: Gateway to Lufaflex shades - Evens - 13.06.2018

(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