Hi Colleagues,
i updated finally to OH3 and played with the Semantic model a bit the last days.
Since i everything configured via files so far i try to do this for semantic as well.
I used this guide for it [OH3] Semantic Model setup via tags in configuration Items files
I ran into an issue, when test to display a dynamic battery icon per Items | openHAB
See my files:
groups.items
//INDOOR
Group gIndoor "Wohnung" ["Indoor"]
Group gFlur "Flur" (gIndoor) ["Corridor"]
Group gFlurHeizung "Heizung im Flur" (gFlur) ["HVAC"]
Group gFlurHeizungBatterie (gFlur) ["Battery"]
flur.items
//### Wandthermostat-Heizung #################
Number Flur_Heizungsthermostat_Signalstaerke "Flur Heizungsthermostat Signalstaerke" <qualityofservice> (gFlurHeizung) ["Status"] {channel="homematic:HM-TC-IT-WM-W-EU:ccu:MEQ1572637:0#SIGNAL_STRENGTH"}
Switch Flur_Heizungsthermostat_Batterie "Flur Batterie des Heizungsthermostat leer?" <batterie> (gFlurHeizungBatterie) ["LowBattery","Status"] {channel="homematic:HM-TC-IT-WM-W-EU:ccu:MEQ1572637:0#LOWBAT"}
Number Flur_Heizungsthermostat_Batterie_Status "Flur Batterie des Heizungsthermostat Ladung in Volt [%.1f V]" <battery> (gFlurHeizungBatterie) ["Status","Voltage"] {channel="homematic:HM-TC-IT-WM-W-EU:ccu:MEQ1572637:2#BATTERY_STATE"}
Number Flur_Heizungsthermostat_Temperature "Flur Heizungsthermostat Temperatur [%.1f °C]" <temperature> (gFlurHeizung) ["Temperature","Measurement"] {channel="homematic:HM-TC-IT-WM-W-EU:ccu:MEQ1572637:1#TEMPERATURE" }
Number Flur_Heizungsthermostat_Humidity "Flur Heizungsthermostat Luftfeuchtigkeit [%.0f %%]" <humidity> (gFlurHeizung) ["Humidity","Measurement"] {channel="homematic:HM-TC-IT-WM-W-EU:ccu:MEQ1572637:1#HUMIDITY" }
Number Flur_Heizungsthermostat_IST_Temperatur "Flur Heizungsthermostat Temperatur IST [%.1f °C]" <temperature> (gFlurHeizung) ["Temperature","Measurement"] {channel="homematic:HM-TC-IT-WM-W-EU:ccu:MEQ1572637:2#ACTUAL_TEMPERATURE"}
Number Flur_Heizungsthermostat_SOLL_Temperatur "Flur Heizungsthermostat Temperatur SOLL [%.1f °C]" <temperature> (gFlurHeizung) ["Temperature","Setpoint"] {channel="homematic:HM-TC-IT-WM-W-EU:ccu:MEQ1572637:2#SET_TEMPERATURE"}
Number Flur_Heizungsthermostat_Luftfeuchtigkeit "Flur Heizungsthermostat Luftfeuchtigkeit Aktuell" <humidity> (gFlurHeizung) ["Humidity","Measurement"] {channel="homematic:HM-TC-IT-WM-W-EU:ccu:MEQ1572637:2#ACTUAL_HUMIDITY"}
String Flur_Heizungsthermostat_Modus "Flur Heizungsthermostat Modus[MAP(heizung1_de.map):%s]" <settings> (gFlurHeizung) ["Status"] {channel="homematic:HM-TC-IT-WM-W-EU:ccu:MEQ1572637:2#CONTROL_MODE"}
Switch Flur_Heizungsthermostat_Comfort_Mode "Flur Heizungsthermostat Comfort mode" <settings> (gFlurHeizung) {channel="homematic:HM-TC-IT-WM-W-EU:ccu:MEQ1572637:2#COMFORT_MODE" }
Switch Flur_Heizungsthermostat_Lowering_Mode "Flur Heizungsthermostat Lowering mode" <settings> (gFlurHeizung) {channel="homematic:HM-TC-IT-WM-W-EU:ccu:MEQ1572637:2#LOWERING_MODE" }
Switch Flur_Heizungsthermostat_Boost_Mode "Flur Heizungsthermostat Boost mode" <settings> (gFlurHeizung) {channel="homematic:HM-TC-IT-WM-W-EU:ccu:MEQ1572637:2#BOOST_MODE" }
Switch Flur_Heizungsthermostat_Auto_Mode "Flur Heizungsthermostat Auto mode" <settings> (gFlurHeizung) {channel="homematic:HM-TC-IT-WM-W-EU:ccu:MEQ1572637:2#AUTO_MODE" }
//############################################
In the Screenshots attached you see it doesn’t matter if the value is ON or OFF, always the default icon is displayed. What i am missing here?
Thanks
Andi