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.

getting started with hue
#1
Hi,

never ever seen lua scripts before I got this wiser. Huh
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
Reply


Messages In This Thread
getting started with hue - by GIA - 26.02.2020, 20:16
getting started with hue - by GIA - 02.03.2020, 20:31
RE: getting started with hue - by MLa - 13.05.2020, 17:08
RE: getting started with hue - by MLa - 12.06.2020, 20:38
RE: getting started with hue - by Daniel - 15.06.2020, 07:54

Forum Jump: