I use Plugin " Homebridge Openhab2 Complete"
mine setting as
{
"platform": "openHAB2-Complete",
"host": "http://192.168.000.000",
"port": "8080",
"accessories": [
{
"type": "group",
"name": "OrnamentCabine",
"model": "Sonoff S2",
"items": [
{
"type": "light",
"items": [
{
"name": "OC Main Light",
"item": "Light_LivingRoom_OrnamentCabinetMainL_SW"
},
{
"name": "OC Led Strip",
"item": "Light_LivingRoom_OrnamentCabinetSubL_SW"
}
]
}
]
}
]
}