...hier mal ein paar Beispiele(Textfiles), die jedoch noch keinen Anspruch auf Richtigkeit erheben.
Ich bin gerade dabei auszutüfteln, was für mich passend erscheint. Die grundsätzliche Logik erscheint zunächst relativ klar, aber der "Teufel" steckt im Detail

.
Das "einfachste" ist noch der Aufbau der Locations. Aber beim Equipment kann man schon mal ins Trudeln kommen.
Die Tags die ich benutze lassen (hoffentlich) schon eine gewisse Struktur erkennen

und können auch über die MainUI eingegeben werden.
Viel Spass damit. Falls ihr alternative Wege gefunden habt, ....
Code: Alles auswählen
//192.168.178.xx LampeClaudia - touch_01
Group gTouch_01 "Lichtschalter Sonoff Touch" <lamp_globe_light> (gEG_Kind1,gT_OnOff) ["WallSwitch"]
Switch Sonoff_touch_01 "Deckenlampe Claudia [MAP(de.map):%s]" <lamp_globe_light> (gTouch_01,gT_OnOff,gLight) ["Point_Control_Switch","Property_Light"] { channel="mqtt:topic:vera:touch01:power"}
Number Sonoff_touch_01_RSSI "Deckenlampe Claudia RSSI [%s]" <qualityofservice> (gTouch_01,gRSSI) ["Point"] { channel="mqtt:topic:vera:touch01:rssi" }
String Sonoff_touch_01_Version "Deckenlampe Claudia Version [%s]" <sonoff_switch> (gTouch_01,gVer) ["Point"] { channel="mqtt:topic:vera:touch01:version" }
Switch Sonoff_touch_01_Unreach "Deckenlampe Claudia Ereichbarkeit [%s]" <siren1> (gTouch_01,gLWT) ["Point"] { channel="mqtt:topic:vera:touch01:reachable" }
String Sonoff_touch_01_Hardware "Deckenlampe Claudia Hardware [%s]" <sonoff_switch> (gTouch_01,gHard) ["Point"] { channel="mqtt:topic:vera:touch01:hardware" }
String Sonoff_touch_01_IPAddress "Deckenlampe Claudia IP-Address [%s]" <sonoff_switch> (gTouch_01,gIpAd) ["Point"] { channel="mqtt:topic:vera:touch01:ipaddress" }
//**********************************************************************************************************************************************************************************************************************
//POW Sensoren
//**********************************************************************************************************************************************************************************************************************
//192.168.178.xx Stehlampe pow_02
Group gPow_02 "Stehlampe Sonoff Pow 02" <standard_lamp> (gEG_Wohnen) ["Lightbulb"]
Switch Sonoff_Pow_02 "Stehlampe [MAP(de.map):%s]" <standard_lamp> (gPow_02,gT_OnOff,gLight) ["Point_Control_Switch","Property_Light"] { channel="mqtt:topic:vera:pow02:power"}
Number Sonoff_Pow_02_RSSI "Stehlampe RSSI [%s]" <qualityofservice> (gPow_02,gRSSI) ["Point"] { channel="mqtt:topic:vera:pow02:rssi" }
String Sonoff_Pow_02_Version "Stehlampe Version [%s]" <sonoff_pow> (gPow_02,gVer) ["Point"] { channel="mqtt:topic:vera:pow02:version" }
Switch Sonoff_Pow_02_Unreach "Stehlampe Ereichbarkeit [%s]" <siren1> (gPow_02,gLWT) ["Point"] { channel="mqtt:topic:vera:pow02:reachable" }
String Sonoff_Pow_02_Hardware "Stehlampe Hardware [%s]" <sonoff_pow> (gPow_02,gHard) ["Point"] { channel="mqtt:topic:vera:pow02:hardware" }
String Sonoff_Pow_02_IPAddress "Stehlampe IP-Address [%s]" <sonoff_pow> (gPow_02,gIpAd) ["Point"] { channel="mqtt:topic:vera:pow02:ipaddress" }
Number Sonoff_Pow_02_Verbrauch "Stehlampe Verbrauch Total[%.2f kWh]" <standard_lamp> (gPow_02) ["Power"] { channel="mqtt:topic:vera:pow02:total" }
Number Sonoff_Pow_02_VerbrauchHeute "Stehlampe Verbrauch Heute[%.2f kWh]" <standard_lamp> (gPow_02) ["Power"] { channel="mqtt:topic:vera:pow02:totalday" }
Number Sonoff_Pow_02_VerbrauchGestern "Stehlampe Verbrauch Gestern[%.2f kWh]" <standard_lamp> (gPow_02) ["Power"] { channel="mqtt:topic:vera:pow02:totalyest" }
Number Sonoff_Pow_02_Strom "Stehlampe Stromaufnahme [%.2f A]" <standard_lamp> (gPow_02) ["Current"] { channel="mqtt:topic:vera:pow02:current" }
Number Sonoff_Pow_02_Spannung "Stehlampe Spannung[%.2f Volt]" <standard_lamp> (gPow_02) ["Voltage"] { channel="mqtt:topic:vera:pow02:voltage" }
Number Sonoff_Pow_02_Leisung "Stehlampe Leistung[%.2f W]" <standard_lamp> (gPow_02) ["Power"] { channel="mqtt:topic:vera:pow02:powerload" }
String Sonoff_Pow_02_SSID "Stehlampe Wlan [%s]" <standard_lamp> (gPow_02,gSSId) ["Status"] { channel="mqtt:topic:vera:pow02:ssid" }
DateTime Sonoff_Pow_02_Date "Stehlampe Refresh [%1$tH:%1$tM]" <standard_lamp> (gPow_02) ["Status"] { channel="mqtt:topic:vera:pow02:time" }
Number Sonoff_Pow_02_PowerDelta "Stehlampe Power-Delta [%.2f W]" <standard_lamp> (gPow_02) ["Power"] { channel="mqtt:topic:vera:pow02:powerdelta" }
//**********************************************************************************************************************************************************************************************************************
//Basic Switches
//**********************************************************************************************************************************************************************************************************************
//192.168.178.xx basic-03
Group gbas_03 "Schreibtischlampe" <tablelamp> (gEG_Buero) ["PowerOutlet"]
Switch Sonoff_Basic_03 "Schreibtischlampe Büro [MAP(de.map):%s]" <tablelamp> (gbas_03,gT_OnOff,gLight) ["Point_Control_Switch","Property_Light"] { channel="mqtt:topic:vera:basic03:power" }
Number Sonoff_Basic_03_RSSI "Schreibtischlampe Büro RSSI [%s]" <qualityofservice> (gbas_03,gRSSI) ["Point"] { channel="mqtt:topic:vera:basic03:rssi" }
String Sonoff_Basic_03_Version "Schreibtischlampe Version [%s]" <sonoff_basic> (gbas_03,gVer) ["Point"] { channel="mqtt:topic:vera:basic03:version" }
Switch Sonoff_Basic_03_Unreach "Schreibtischlampe Ereichbarkeit [%s]" <siren1> (gbas_03,gLWT) ["Point"] { channel="mqtt:topic:vera:basic03:reachable" }
String Sonoff_Basic_03_Hardware "Schreibtischlampe ChipSet [%s]" <sonoff_basic> (gbas_03,gHard) ["Point"] { channel="mqtt:topic:vera:basic03:hardware" }
String Sonoff_Basic_03_IPAddress "Schreibtischlampe IP-Address [%s]" <sonoff_basic> (gbas_03,gIpAd) ["Point"] { channel="mqtt:topic:vera:basic03:ipaddress" }
//**********************************************************************************************************************************************************************************************************************
//Gruppe ESP8266 + ESP32 Mikroprozessoren - Sensoren
//**********************************************************************************************************************************************************************************************************************
//192.168.178.xx ESP32 01
Group gESP32_01 "ESP32 Microprozessor" <sonoff_pow> (gEG_Kind2) ["NetworkAppliance"]
Switch esp_32_01_Unreach "ESP32-01 LWT-Erreichbarkeit [%s]" <siren1> (gESP32_01,gLWT) ["Equipment","OpenState", "Alarm"] { channel="mqtt:topic:vera:esp3201:reachable"}
Number esp_32_01_temp "ESP32-01 DHT11 Temperatur[%.1f °C]" <temperature> (gESP32_01,gRtIstI) ["Temperature","Measurement"] { channel="mqtt:topic:vera:esp3201:temp"}
Number esp_32_01_hum "ESP32-01 DHT11 Luftfeuchtigkeit[%.1f %%]" <humidity> (gESP32_01) ["Humidity", "Measurement"] { channel="mqtt:topic:vera:esp3201:hum"}
Number esp_32_01_dew "ESP32-01 DHT11 Taupunkt[%.1f °C]" <temperature> (gESP32_01 ) ["Control","Temperature"] { channel="mqtt:topic:vera:esp3201:dew"}
String esp_32_01_Version "ESP32-01 Version [%s]" <sonoff_pow> (gESP32_01,gVer) ["Status"] { channel="mqtt:topic:vera:esp3201:version" }
String esp_32_01_Hardware "ESP32-01 Hardware [%s]" <sonoff_pow> (gESP32_01,gHard) ["NetworkAppliance"] { channel="mqtt:topic:vera:esp3201:hardware" }
String esp_32_01_IPAddress "ESP32-01 IP-Address [%s]" <sonoff_pow> (gESP32_01,gIpAd) ["Control","NetworkAppliance"] { channel="mqtt:topic:vera:esp3201:ipaddress" }
String esp_32_01_SSID "ESP32-01 Wlan-Netz[%s]" <sonoff_pow> (gESP32_01,gSSId) ["Control","NetworkAppliance"] { channel="mqtt:topic:vera:esp3201:ssid" }
Number esp_32_01_smoke1 "ESP32-01 Luftqualität [%.1f ppm]" <temperature> (gESP32_01 ) ["SmokeDetector","CO2","Measurement"] { channel="mqtt:topic:vera:esp3201:smoke1"}
Switch esp_32_01_relay1 "ESP32-01 Relais 1 Power [MAP(de.map):%s]" <siren> (gESP32_01,gT_OnOff) ["Lightbulb","Switch","Light"] { channel="mqtt:topic:vera:esp3201:relay1"}
Switch esp_32_01_relay2 "ESP32-01 Relais 2 Power [MAP(de.map):%s]" <siren> (gESP32_01,gT_OnOff) ["Lightbulb","Switch","Light"] { channel="mqtt:topic:vera:esp3201:relay2"}
Switch esp_32_01_relay3 "ESP32-01 Relais 3 Power [MAP(de.map):%s]" <siren> (gESP32_01,gT_OnOff) ["Lightbulb","Switch","Light"] { channel="mqtt:topic:vera:esp3201:relay3"}
Switch esp_32_01_relay4 "ESP32-01 Relais 4 Power [MAP(de.map):%s]" <siren> (gESP32_01,gT_OnOff) ["Lightbulb","Switch","Light"] { channel="mqtt:topic:vera:esp3201:relay4"}
Switch esp_32_01_relay5 "ESP32-01 Relais 5 Power [MAP(de.map):%s]" <siren> (gESP32_01,gT_OnOff) ["Lightbulb","Switch","Light"] { channel="mqtt:topic:vera:esp3201:relay5"}
Number esp_32_01_RSSI "ESP32-01 RSSI [%s]" <qualityofservice> (gESP32_01,gRSSI) ["Status"] { channel="mqtt:topic:vera:esp3201:rssi" }
Bei dem "ESP32" bin ich noch am "basteln"