Now we create a virtual switch in Domoticz, we use this switch later for our Sonoff and Homebridge accessory.
Open Domoticz in our case http://192.168.2.100:8080 and click Hardware.
http://192.168.2.100:8080
Now we create a Dummy
Name: Virtual switch
Type: Dummy
And click Add.
Now click create virtual sensors.
Name: Virtual Switch
Sensor type: Switch
Hit OK.
Now click Switches on the top of the page.
Our Virtual switch is created.