26.02.2020, 20:16
Hi,
never ever seen lua scripts before I got this wiser.
So:
I have to ask if some one can guide me in the right direction.
My mission is to get hue lamps work with the knx/ wiser.
SO I am following the application note from Schneider El; Philips Hue lamps controlled from Wiser for KNX.
It stops for me at step 9, I cant get any thing from the hue bridge!
Should I fill in something in the code? I just created a start-up(init) script and paste the code in step 9.
Step 1 Open Wiser for KNX Configurator in your browser.
Step 2 Go to Configurator >> Scripting >> User libraries.
Step 3 Click button Add new library in left bottom corner on the screen.
Step 4 Into field Script name, write upnp. Uncheck Auto load library and click Save.
Step 5 In column Editor, click the icon on the row with created upnp library.
Step 6 Open upnp.lua library attached to this application note and copy the content
to this script opened
in Step 5.
Step 7 Click Save and close.
Step 8 Repeat steps 3 - 7 for the second library named hue.
Step 9 Create e. g. Event script and paste there following code:
local Bridge = require('user.hue').Bridge
log(Bridge.discover())
Step 10 Save and Run script.
Step 11 In the left bottom corner on the screen click Logs. Write down the IP address
of discovered bridg
e(s), it will be needed later. Pay attention information
abou
t https. This parameter indicates the bridge’s capability to communicate
via https protocol. When you see this parameter is set to false, you must
expli
citly set it to false when instantiating class Bridge.
Tanks
never ever seen lua scripts before I got this wiser.
So:
I have to ask if some one can guide me in the right direction.
My mission is to get hue lamps work with the knx/ wiser.
SO I am following the application note from Schneider El; Philips Hue lamps controlled from Wiser for KNX.
It stops for me at step 9, I cant get any thing from the hue bridge!
Should I fill in something in the code? I just created a start-up(init) script and paste the code in step 9.
Step 1 Open Wiser for KNX Configurator in your browser.
Step 2 Go to Configurator >> Scripting >> User libraries.
Step 3 Click button Add new library in left bottom corner on the screen.
Step 4 Into field Script name, write upnp. Uncheck Auto load library and click Save.
Step 5 In column Editor, click the icon on the row with created upnp library.
Step 6 Open upnp.lua library attached to this application note and copy the content
to this script opened
in Step 5.
Step 7 Click Save and close.
Step 8 Repeat steps 3 - 7 for the second library named hue.
Step 9 Create e. g. Event script and paste there following code:
local Bridge = require('user.hue').Bridge
log(Bridge.discover())
Step 10 Save and Run script.
Step 11 In the left bottom corner on the screen click Logs. Write down the IP address
of discovered bridg
e(s), it will be needed later. Pay attention information
abou
t https. This parameter indicates the bridge’s capability to communicate
via https protocol. When you see this parameter is set to false, you must
expli
citly set it to false when instantiating class Bridge.
Tanks
Best Regards
NewBee to wiser
NewBee to wiser