Please help with Lightning config

523 views
Skip to first unread message

juros1

unread,
Jun 25, 2018, 4:16:06 PM6/25/18
to Loxone English
Hi,

I am happy new user of Loxone powered home and as far as I am slightly technical, I have immediately started learning how config works and how can I tweak it to fully fit my needs without having to contact my Loxone supplier all the time. I have succeeded in many changes, but I cannot figure out how to set up the lighting the way I would like to.

I have one retractive switch on my living room wall to control the lights, connected through KNX. There are two circuits of dimmable spot lights and one large light ceiling consisting of one cold and one hot LED circuit dimmable independently.
You can find attached the simple setup I currently have. I would like to set it up in a following way:
  • in app, there are now sliders for intensity of each circuit. this works fine for spot lights, but as far as the light ceiling acts as one integral light, I would like to rather have one slider for adjusting the total brightness of the ceiling and one slider for it's temperature. Now in order to put it on 10% of neutral light, I have to move cold slider to 10% and warm slider to 10%. This is what I would like to make more efficient as most of the times we use neutral light, but I don't want to give up the option of temperature control, so I don't want to connect both of the dimmers to single function module output.
  • second thing I would like to optimize is how the retractive button behaves. I would like it to change scenes on short click and slowly light up the ceiling on long click, as long as the click lasts. and then turn off the lights with double or triple click. I know that all of these options are available and I can achieve the first and second separately, but never both at the same time. I think my problem is that I would need a function block connected to wall switch which would output either short or long press depending on time of the press. This, I would connect to lightning. But I haven't found such function which would be able ot distinguish between short and long presses.
Any help would very much appreciated!

Thanks,

Juro
Capture.JPG

Tico

unread,
Jun 25, 2018, 6:42:22 PM6/25/18
to Loxone English
Regarding your search for "a function block connected to wall switch which would output either short or long press depending on time of the press." -

I assume you've already found the Long Click and Multi-Click (found within Add Function Block / Time)?

I think you might need to have your physical switch connected to both these function blocks in parallel. The logic might get a bit complicated, but as a broad idea, I would use the Multi-Click to turn the light on/off using web-services of the applicable lighting block. The Long Click would be connected directly to the lighting block achieve the scene changes. 

juros1

unread,
Jun 27, 2018, 5:08:32 AM6/27/18
to Loxone English
Hi Tico,

thanks for prompt answer!

I am aware of multiclick and it can be utilized just fine to distinguish between e.g. double click for scene change and triple click to turn off all lights. I don't find long click usable, as it outputs the same length of pulse regardless of the length of click, and it does it only after the click ends, so you can't see the light dimming in "real time". 

I have slightly adjusted the config to test it with combination of multiclick (attached), but the issue is, that the single click always hits I3 and I4, even though it was meant to be part of double or triple click. For this I would blame Lightning controller, that it uses same input for short pulse = turn on and long pulse = dim. So the issue still remains - how to prevent short pulse from reaching the I3 and I4 inputs.

You have mentioned web-services - this is probably where I am behind and this may be the magic I need. I wasn't aware of web-services functionality in loxone ,so I briefly checked it, it looks kind of complicated, could you be please a bit more specific on how can I achieve what I need using the webservices?

Thanks!
Capture.JPG

Tico

unread,
Jun 27, 2018, 11:39:41 PM6/27/18
to Loxone English
Thinking about this some more, there's a partial answer that I'll describe as Option 1. There's a more involved option using web-services that I'll describe as Option 2.

Option 1

Referring to the attached picture, the Long Click is used to exclude small duration multi-clicks and only pass through a click longer than 3 x TI (output on Q4).
The Push Switch uses Qoff to identify the trailing edge of the click. This resets the Switch(On-Off). The duration of your click is retained onto I3 and I4.
The Push Switch also identifies all the trailing edges of the multi-clicks, but activating the Switch(On-Off) when it's off....is still off.  :)

The Long Click TI duration can modified to suit your taste. It just needs to be long enough to avoid being confused with a short click. In the Properties of the Switch(On_Off), you can deselect the 'Use' box. You don't need to see this in the Loxone App.
Option 2

Web-services are used primarily for control of functions within the Config by 3rd party devices external to the Miniserver. A secondary option is to control functions within the Config, but originating internally from within the Config.
Where you would normally have 'lines' connecting functions in the Config, web-services is the equivalent of 'invisible lines'. Referring to the picture below, Command VCQ1, is switching Input VI1 to ON. Command VCQ2, is switching Input VI1 to OFF.
The end result is exactly the same as Option 1.

Where web-services has benefits is controlling items through the GUI of the Loxone App, rather than internally within the Config. An example could be controlling analogue sliders both as individual adjustments, but also having a Master Slider that controls both of them at once. In the picture below, Input VI3 and VI4 are individual analogue sliders in the app (ie. Cold slider and Warm slider). Input VI5 is a third slider that will operate them both at once to the set the overall intensity.

There's obviously a lot more detail required on how to achieve the above with web-services, but see if Option 1 suits your needs for switching to start with.

Cheers.

juros1

unread,
Sep 22, 2018, 4:35:12 PM9/22/18
to Loxone English
Hi Tico,

sorry for late reply, but I would like to let you know that Option 1 you have described has nicely solved my problem! This ingenious combination of function blocks would never cross my mind.

Thanks for great help!

Juraj 

Radek Dohnal

unread,
Sep 23, 2018, 12:26:42 AM9/23/18
to Loxone English
Hi, do you solved your problem with setting up cold and worn led strip?
I have also Led strip with warm and cold less and i would like to have 1 slider to set temperature and second slider to set intensity of leds.

Scotsman1000

unread,
Dec 12, 2024, 12:12:41 PM12/12/24
to Loxone English
I am really interested in this solution posted under option 1, but the picture's link is broken. Can anyone reshare?? Thank you!

Tico

unread,
Dec 12, 2024, 5:15:02 PM12/12/24
to Loxone English
I couldn't find Option 1, but an old version of my Config has Option 2.  This logic does the same as Option 1. There's probably a bit more detail needed if you want to set up the Command VCQ1 and Command VCQ2 control of VI21 pictured. 

Option 2.png

Tico

unread,
Dec 12, 2024, 6:02:31 PM12/12/24
to Loxone English
And here is Option 1 -

Option 1.png

Scotsman1000

unread,
Dec 21, 2024, 8:46:28 PM12/21/24
to Loxone English
Thank you!
Reply all
Reply to author
Forward
0 new messages