Velbus glass panel button

Hi stuart, I have a working solution now, thank you very much for your help.

This is my design in nodered.

and this is the code for one button.

// v1rtueel controls button VMB8PB (adress 22 button 1)
if  (String(msg.payload) == "ON" )  {
    return {payload:Buffer.from( [0x0F, 0xF8, 0x21, 0x04, 0x00, 0x01, 0x00, 0x00, 0xD3, 0x04] )};
	}
if  (String(msg.payload) == "OFF" )  {
return {payload:Buffer.from( [0x0F, 0xF8, 0x21, 0x04, 0x00, 0x00, 0x01, 0x00, 0xD3, 0x04] )}
	}

return [msg];

in openhab I made virtual items and I use in habpanel this widget

When you push the button, the ON command is send and after a few ms OFF is send to velbus.
It is very nice that every scene can be programmed within velbus, and recalled directly from the habpanel. (with fade times, etc)
I still do not find a reason why stef coene didn’t programmed the item “simulate this button” (you can find this in velbuslink to test your actions)

i just have to find a way that all my monstable buttons are in selection button(i have put my buttons in a group), like I have with my sonos fav.

1 Like