help, How I can created a new Virtual switch

Hello Everybody, I am new user. I have a doubt, I don t know how i can created a virtual switch. Anybody can help me?

Thank you for all :slight_smile: :slight_smile:

Go to the apps tab, click on the virtual switch and in the window, there should be a button to create another instance.

  • Garrett

Thank you garett!

I have my new virtual switch creaded! ;D

Other question, How can I turn my vswitch ON with lua ?

What is the sentence who turn ON my vswich?

Thank you !!

luup.variable_set(“urn:upnp-org:serviceId:VSwitch1”,“Status”,“1”,99)

Where 99 is the device number, so replace 99 with your device number from your new virtual switch.

Replace the 1 with a 0 to turn it off

Perfect… Thank you!