MDAR
(Stuart Hanlon, UK importer of Velbus hardware)
December 26, 2019, 5:39pm
4
Hi
Do you want to monitor these button events in DSL rules or NodeRed?
Either is possible.
A DSL rule might look like this
rule "button event"
when
Channel 'velbus:vmbgp2xxxx:xxxxxxxx:xx:ch3' triggered PRESSED // from the channel information of the Velbus Thing (rather than an Item, because Channel Triggers can not be linked to Items
then
// Your commands, which can include feedback led signalling to the Velbus glass panel
end
Useful threads
@BrutalBirdie
Hi
Did you ever find a solution to this issue?
I would like to be able to use Channel trigger data in NodeRed flows too.
Something like this
Channel 'velbus:vmbgpod:d212bf44:2C:input#CH1' triggered
or Channel 'velbus:vmbgpod:d212bf44:2C:input#CH2' triggered
or Channel 'velbus:vmbgpod:d212bf44:2C:input#CH3' triggered
or Channel 'velbus:vmbgpod:d212bf44:2C:input#CH4' triggered
Where the possible states are
RELEASED
PRESSED
LONG_PRESSED
The only thing I can think of so fa…
That’s truly fabulous
Thank you so much
I’ll post my working statement for others to work from.
Cheers
Stuart
UPDATE
So the && (AND Condition) in the IF statements didn’t work for me, but with a switch node after the IF Function, I can see the three different states from the Velbus buttons.
The premis is that there are Virtual switches in openHAB2 that can be set in the UI or Voice Commands etc
Each Scene switches OFF the other scene switches and set out ITE…
On my garagedoor i have a reed switch that’s connected to a VMB7IN. When the garagedoor opens i activate a virtual relais.
In the Velbus app on the computer this is working. In Openhab i don’t see the action when the door op open.
This is my config:
in default.sitemap:
Switch item=OpenToe icon=“opentoe” label=“Poort Open/Toe”
in default.items:
Switch OpenToe “Poort Open/Toe” (garage) {channel=“velbus:vmb4ryno:089ad7e2:F1:CH5”}
The virtual relais is on F1 channel 5 in Velbus config applica…
If button events are the only thing that is required, then that’s a great suggestion.
There is a universal Velbus module that provides that functionality.
[image]
If your selected switches have LEDs in them, this unit will supply the 1v to drive them
With ambient intensity and feedback states.
These units also include the standard Velbus time events programming too, for simulating button presses.
2 pairs of changeable alarm ti…
It’s very possible to use two Velbus buttons to control volume, making use of the LONG_PRESS & RELEASE triggers