How to set general command with Bticino

  • Platform information:
    • Hardware: Raspberry PI 3, Bticino F454
    • OS: Rasbian GNU/Linux 9
    • openHAB version:2.4.0
    • bindings: OpenWebNet Binding (beta9-1)
  • Issue of the topic:
    How do I configure general commands for MyHome Biticino system from OpenHab?
    • off all the lights
    • up and down all the shutters?

what should i put in

.items
example:

Switch iLR_switch01 “all ligh off” (gEsterno) [ “Lighting” ] { channel=“openwebnet:bus_on_off_switch:mybridge:LR_switch01:switch” }

.things
example:

Bridge openwebnet:bus_gateway:mybridge “MyHOMEServer1” [ host=“192.168.1.2” ]
{
bus_on_off_switch LR_switch01 “all light off” [ where=“XXXX” ]

Thank you

generic (GEN), area (A) and group commands (GR) are not supported yet by the binding.
I suggest that for the moment you use openHAB groups to send command to all/group of lights and shutters.
Bye
M

thanks for your advice
how should I use openhab groups to send commands?
how should I write the commands?