bedingte Funktion in ComfoAir 2.5.10

Einrichtung der openHAB Umgebung und allgemeine Konfigurationsthemen.

Moderatoren: seppy, udo1toni

Galadriel13
Beiträge: 216
Registriert: 30. Dez 2019 20:29

bedingte Funktion in ComfoAir 2.5.10

Beitrag von Galadriel13 »

Hallo zusamen,

ich arbeite mich langsam vorwärts und bin nun dabei, das ComfoAir-Binding zu konfigurieren, um meine Zehnder ComfoAir 350 Luxe zu steuern.
Die Verbindung zum Raspberry Pi habe ich mittels RS232-USB Adapter hergestellt.
Das Thing ist Online.

Analog dieser Seite https://www.openhab.org/addons/bindings/comfoair/habe ich die Konfiguration vorgenommen, jedoch funktioniert nur sporadisch das Umschalten der Lüftungsstufen.

Es werden keine Temperaturen angezeigt, keine Infos zum Filter, Bypass, etc.

Nun gibt es dazu gerade auch im engl. Forum eine Menge Beiträge, wo es primär um die Verbindung RS232-Raspberry Pi geht.
Zu meinem Thema habe ich nichts finden können.

Hat jemand von euch gleiches Phänomen, oder einen Tipp?

Anbei meie Konfiguration:

comfoair.items

Code: Alles auswählen

Switch	comfoairControl				"Activate"					<computer>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:bindingControl#activate"}
Number	comfoairFanLevel			"Ventilation level [%d]"			<chart>		(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:ventilation#fanLevel"}
Number	comfoairErrorReset			"Error reset"					<service>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:resets#errorReset"}
Number	comfoairFilterReset			"Filter reset"					<service>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:resets#filterReset"}
Number	comfoairFilterPeriod			"Filter period [%d weeks]"			<clock>		(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:menuP2#filterWeeks"}

// Messages
String		comfoairError			"Error: [%s]"			(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:errors#errorsCurrent"}
Number:Time	comfoairFilterRuntime		"Filter runtime [%.0f h]"	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:times#filterHours"}

// State
Number:Temperature	comfoairTargetTemperature		"Comfort temperature [%.1f °C]"			<temperature>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:temperatures#targetTemperature"}
Number:Temperature	comfoairOutdoorIncomingTemperature	"Inlet air temperature [%.1f °C]"		<temperature>	(ComfoAir, comfoairTemps_Chart)	{channel="comfoair:comfoair:myComfoAir:temperatures#outdoorTemperatureIn"}
Number:Temperature	comfoairIndoorIncomingTemperature	"Supply air temperature [%.1f °C]"		<temperature>	(ComfoAir, comfoairTemps_Chart)	{channel="comfoair:comfoair:myComfoAir:temperatures#indoorTemperatureIn"}
Number:Temperature	comfoairIndoorOutgoingTemperature	"Return air temperature [%.1f °C]"		<temperature>	(ComfoAir, comfoairTemps_Chart)	{channel="comfoair:comfoair:myComfoAir:temperatures#indoorTemperatureOut"}
Number:Temperature	comfoairOutdoorOutgoingTemperature	"Exhaust air temperature [%.1f °C]"		<temperature>	(ComfoAir, comfoairTemps_Chart)	{channel="comfoair:comfoair:myComfoAir:temperatures#outdoorTemperatureOut"}
Number	comfoairIncomingFan			"Supply capacity [%d %%]"			<fan_in>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:ventilation#fanInPercent"}
Number	comfoairOutgoingFan			"Exhaust capacity [%d %%]"			<fan_out>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:ventilation#fanOutPercent"}
Number	comfoairFanIn0				"Supply capacity - level 0 [%d %%]"		<fan_in>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:ventilation#fanIn0"}
Number	comfoairFanOut0				"Exhaust capacity - level 0 [%d %%]"		<fan_out>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:ventilation#fanOut0"}
Switch	comfoairBypassMode			"Bypass [MAP(comfoair_bypass.map):%s]"		<climate>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:menuP9#bypassState"}
Switch	comfoairEWTMode 			"EWT [MAP(comfoair_on-off.map):%s]"		<climate>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:menuP9#ewtState"}
Switch	comfoairChimneyMode			"Fire programme [MAP(comfoair_on-off.map):%s]"	<climate>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:menuP9#chimneyState"}
Switch	comfoairHeaterMode			"Heater [MAP(comfoair_on-off.map):%s]"		<climate>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:menuP9#heaterState"}
Switch	comfoairCookerHoodMode			"Extractor hood [MAP(comfoair_on-off.map):%s]"	<climate>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:menuP9#cookerhoodState"}
Switch	comfoairEnthalpyMode			"Enthalpy [MAP(comfoair_on-off.map):%s]"	<climate>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:menuP9#enthalpyState"}
Switch	comfoairFreezeMode			"Freeze [MAP(comfoair_freeze.map):%s]"		<climate>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:menuP9#frostState"}

comfoair.things

Code: Alles auswählen

Thing comfoair:comfoair:myComfoAir "ComfoAir" [serialPort="/dev/ttyUSB0", refreshInterval="60"]

sitemap

Code: Alles auswählen

// ComfoAir
	Frame label="Zehnder Lüftungsanlage" {
        
		Text item=comfoairError labelcolor=[!="No Errors"="red"] valuecolor=[!="No Errors"="red"]
		Switch item=comfoairControl mappings=[0="CCEase", 1="Computer"]
		Switch item=comfoairErrorReset mappings=[1="Reset"]
		Switch item=comfoairFilterReset mappings=[1="Reset"]
	
	    Text label="Control" 
		Selection item=comfoairFanLevel
		Setpoint item=comfoairTargetTemperature step=0.5 minValue=15 maxValue=28 valuecolor=["black"]
	
	    Text label="State" 
		Text item=comfoairOutdoorIncomingTemperature valuecolor=["black"]
		Text item=comfoairOutdoorOutgoingTemperature valuecolor=["black"]
		Text item=comfoairIndoorIncomingTemperature valuecolor=["black"]
		Text item=comfoairIndoorOutgoingTemperature valuecolor=["black"]
	
		Text item=comfoairIncomingFan valuecolor=["black"]
		Text item=comfoairBypassMode valuecolor=["black"]
		Text item=comfoairOutgoingFan valuecolor=["black"]
		Text item=comfoairEWTMode valuecolor=[OFF="silver", ON="black"]
		Text item=comfoairEfficiency valuecolor=["black"]
		Text item=comfoairFreezeMode valuecolor=[OFF="black", ON="red"]
		Text item=comfoairFilterRuntime_Message valuecolor=["black"]
		Text item=comfoairChimneyMode valuecolor=[OFF="silver", ON="black"]
	}

comfoair_bypass.map

Code: Alles auswählen

ON=Opened
OFF=Closed
undefined=unknown
-=unknown

comfoair_on-off.map

Code: Alles auswählen

ON=active
OFF=inactive
undefined=unknown
-=unknown
comfoair_freeze.map

Code: Alles auswählen

ON=frozen
OFF=OK
undefined=unknown
-=unknown
Habe ich etwas hinsichtlich der Baudrate, Stopbits, etc. übersehen?
Hier habe ich nichts vorgenommen.

Danke für eure Unterstützung.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Hausautomation zu 95% mit Siemens Logo! (5x 0BA8).
Gartenbewässerung, Rollosteuerung, Lichtsteuerung, etc.
Abfrage von Temperaturen, Helligkeit, Füllstand Zisterne Leistung Photovoltaik.

openHAB 4.0.4 mit folgenden Bindings:

- Bosch Indego Binding
- Tankerkönig Binding
- iCalendar Binding
- iCloud Binding
- Anwesenheit via iCloud
- ComfoAir Binding (Zehnder AirComfort A350)
- SolarEdge Binding (PV)
- OpenWeatherMap Binding
- DWD Pollenflug Binding
- DWD Unwetter Binding
- FritzBox TR064 Binding
- PLCLogo Binding
- WIFI LED Binding
- Luxtronikheatpump (Novelan-WP)
- BEOK Raumthermostate
- myenergi

Benutzeravatar
udo1toni
Beiträge: 13860
Registriert: 11. Apr 2018 18:05
Answers: 222
Wohnort: Darmstadt

Re: bedingte Funktion in ComfoAir 2.5.10

Beitrag von udo1toni »

Gibt es denn in openhab.log irgendwelche Meldungen? Falls dort keine Auffälligkeiten zu finden sind, müsstest Du vermutlich mal das Logging für comfoair auf DEBUG setzen, um mehr von der Kommunikation zu Gesicht zu bekommen.
openHAB4.1.2 stable in einem Debian-Container (bookworm) (Proxmox 8.1.5, LXC), mit openHABian eingerichtet

Galadriel13
Beiträge: 216
Registriert: 30. Dez 2019 20:29

Re: bedingte Funktion in ComfoAir 2.5.10

Beitrag von Galadriel13 »

Hallo Udo,

danke.

Der Log gibt folgendes aus:

2020-11-19 20:15:46.619 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_on-off.map' : Target value not found in map for 'UNDEF'

2020-11-19 20:15:46.645 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_on-off.map' : Target value not found in map for 'UNDEF'

2020-11-19 20:15:47.758 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_on-off.map' : Target value not found in map for 'UNDEF'

2020-11-19 20:15:47.758 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_on-off.map' : Target value not found in map for 'UNDEF'

2020-11-19 20:15:47.850 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_on-off.map' : Target value not found in map for 'UNDEF'

2020-11-19 20:15:47.859 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_on-off.map' : Target value not found in map for 'UNDEF'

2020-11-19 20:15:47.923 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_freeze.map' : Target value not found in map for 'UNDEF'

2020-11-19 20:15:47.937 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_freeze.map' : Target value not found in map for 'UNDEF'

2020-11-19 20:15:48.307 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_on-off.map' : Target value not found in map for 'UNDEF'

2020-11-19 20:15:48.307 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_on-off.map' : Target value not found in map for 'UNDEF'

2020-11-19 20:15:48.450 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_on-off.map' : Target value not found in map for 'UNDEF'

2020-11-19 20:15:48.451 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_on-off.map' : Target value not found in map for 'UNDEF'

2020-11-19 20:15:48.465 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_bypass.map' : Target value not found in map for 'UNDEF'

2020-11-19 20:15:48.466 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_bypass.map' : Target value not found in map for 'UNDEF'


Die Frage ist auch, warum das so oft/kurz hintereinander kommt.
Eingestellt sind ja 60sec.

Wo/wie kann man denn das Logging für comfoair auf DEBUG setzen?

Die serielle Schnittstelle ist herstellerseitig so eingestellt:

Die RS232 Schnittstelle ist herstellerseitig auf
9600 Baud
8 Datenbits
Keine Parity
1 Stop-Bit

eingestellt.
Muss das in openHAB berücksichtigt oder hinterlegt werden?
Danke.
Hausautomation zu 95% mit Siemens Logo! (5x 0BA8).
Gartenbewässerung, Rollosteuerung, Lichtsteuerung, etc.
Abfrage von Temperaturen, Helligkeit, Füllstand Zisterne Leistung Photovoltaik.

openHAB 4.0.4 mit folgenden Bindings:

- Bosch Indego Binding
- Tankerkönig Binding
- iCalendar Binding
- iCloud Binding
- Anwesenheit via iCloud
- ComfoAir Binding (Zehnder AirComfort A350)
- SolarEdge Binding (PV)
- OpenWeatherMap Binding
- DWD Pollenflug Binding
- DWD Unwetter Binding
- FritzBox TR064 Binding
- PLCLogo Binding
- WIFI LED Binding
- Luxtronikheatpump (Novelan-WP)
- BEOK Raumthermostate
- myenergi

Benutzeravatar
peter-pan
Beiträge: 2564
Registriert: 28. Nov 2018 12:03
Answers: 25
Wohnort: Schwäbisch Gmünd

Re: bedingte Funktion in ComfoAir 2.5.10

Beitrag von peter-pan »

Erweitere mal deine 3 MAP-Dateien um eine Zeile:

Code: Alles auswählen

UNDEF=unbekannt ⁉
Pi5/8GB(PiOS Lite 64-bit(bookworm)/SSD 120GB - OH4.1.1 openhabian

Galadriel13
Beiträge: 216
Registriert: 30. Dez 2019 20:29

Re: bedingte Funktion in ComfoAir 2.5.10

Beitrag von Galadriel13 »

Danke peter-pan.

Das führt zu einer Flut an Warnungen:

2020-11-19 20:40:24.709 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:25.380 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:25.503 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:25.558 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_freeze.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:25.825 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:25.933 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:25.943 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_bypass.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:29.545 [WARN ] [rest.core.internal.item.ItemResource] - Received HTTP POST request at 'items/comfoairControl' with an invalid status value '1'.

2020-11-19 20:40:30.242 [vent.ItemStateChangedEvent] - comfoairFanIn0 changed from NULL to UNDEF

2020-11-19 20:40:37.508 [vent.ItemStateChangedEvent] - comfoairIncomingFan changed from NULL to UNDEF

2020-11-19 20:40:38.024 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_bypass.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:38.032 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:38.037 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairEfficiency' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:40:38.040 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairEfficiency' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:40:38.046 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_freeze.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:38.051 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairFilterRuntime_Message' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:40:38.053 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairFilterRuntime_Message' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:40:38.059 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:45.394 [vent.ItemStateChangedEvent] - comfoairOutdoorOutgoingTemperature changed from NULL to UNDEF

2020-11-19 20:40:45.865 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_bypass.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:45.876 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:45.881 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairEfficiency' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:40:45.883 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairEfficiency' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:40:45.889 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_freeze.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:45.895 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairFilterRuntime_Message' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:40:45.897 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairFilterRuntime_Message' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:40:45.903 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:53.053 [vent.ItemStateChangedEvent] - comfoairTargetTemperature changed from NULL to UNDEF

2020-11-19 20:40:53.684 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_bypass.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:53.692 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:53.698 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairEfficiency' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:40:53.701 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairEfficiency' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:40:53.708 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_freeze.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:53.713 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairFilterRuntime_Message' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:40:53.716 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairFilterRuntime_Message' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:40:53.723 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:55.475 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_bypass.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:55.482 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:55.487 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairEfficiency' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:40:55.489 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairEfficiency' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:40:55.495 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_freeze.map' : Target value not found in map for 'NULL'

2020-11-19 20:40:55.500 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairFilterRuntime_Message' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:40:55.501 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairFilterRuntime_Message' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:40:55.507 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2020-11-19 20:41:00.493 [vent.ItemStateChangedEvent] - comfoairOutdoorIncomingTemperature changed from NULL to UNDEF

2020-11-19 20:41:01.331 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_bypass.map' : Target value not found in map for 'NULL'

2020-11-19 20:41:01.349 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2020-11-19 20:41:01.357 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairEfficiency' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:41:01.361 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairEfficiency' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:41:01.368 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_freeze.map' : Target value not found in map for 'NULL'

2020-11-19 20:41:01.375 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairFilterRuntime_Message' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:41:01.378 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairFilterRuntime_Message' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:41:01.385 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2020-11-19 20:41:15.222 [vent.ItemStateChangedEvent] - comfoairFilterRuntime changed from NULL to UNDEF

2020-11-19 20:41:16.158 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_bypass.map' : Target value not found in map for 'NULL'

2020-11-19 20:41:16.166 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2020-11-19 20:41:16.171 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairEfficiency' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:41:16.174 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairEfficiency' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:41:16.180 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_freeze.map' : Target value not found in map for 'NULL'

2020-11-19 20:41:16.185 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairFilterRuntime_Message' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:41:16.188 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'comfoairFilterRuntime_Message' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-11-19 20:41:16.194 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2020-11-19 20:41:22.731 [vent.ItemStateChangedEvent] - comfoairFilterPeriod changed from NULL to UNDEF
Hausautomation zu 95% mit Siemens Logo! (5x 0BA8).
Gartenbewässerung, Rollosteuerung, Lichtsteuerung, etc.
Abfrage von Temperaturen, Helligkeit, Füllstand Zisterne Leistung Photovoltaik.

openHAB 4.0.4 mit folgenden Bindings:

- Bosch Indego Binding
- Tankerkönig Binding
- iCalendar Binding
- iCloud Binding
- Anwesenheit via iCloud
- ComfoAir Binding (Zehnder AirComfort A350)
- SolarEdge Binding (PV)
- OpenWeatherMap Binding
- DWD Pollenflug Binding
- DWD Unwetter Binding
- FritzBox TR064 Binding
- PLCLogo Binding
- WIFI LED Binding
- Luxtronikheatpump (Novelan-WP)
- BEOK Raumthermostate
- myenergi

Benutzeravatar
peter-pan
Beiträge: 2564
Registriert: 28. Nov 2018 12:03
Answers: 25
Wohnort: Schwäbisch Gmünd

Re: bedingte Funktion in ComfoAir 2.5.10

Beitrag von peter-pan »

Dann solltest du evtl. noch eine Zeile mit aufnehmen NULL=auch unbekannt (o.ä).

Bei der Fehlermeldung für z.B. das Item 'comfoairEfficiency'. Da scheint in der Sitemap etwas nicht zu passen.

Edit: kann es sein, dass es dieses Item gar nicht gibt (oder nicht mehr gibt)?
Pi5/8GB(PiOS Lite 64-bit(bookworm)/SSD 120GB - OH4.1.1 openhabian

Galadriel13
Beiträge: 216
Registriert: 30. Dez 2019 20:29

Re: bedingte Funktion in ComfoAir 2.5.10

Beitrag von Galadriel13 »

Danke.

Du hattest Recht, das Item gab es nicht mehr-warum auch immer.
Das habe ich in der Sitemap neben zwei weiteren Items gelöscht.

Nun bleiben noch ein paar Warnungen.
Die von dir genannte Zeile habe ich bei jeder der 3 *.map-Dateien eingefügt.



2020-11-19 21:13:00.485 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_bypass.map' : Target value not found in map for 'UNDEF'

2020-11-19 21:13:00.497 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_on-off.map' : Target value not found in map for 'UNDEF'

2020-11-19 21:13:00.508 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_freeze.map' : Target value not found in map for 'UNDEF'

2020-11-19 21:13:00.516 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_on-off.map' : Target value not found in map for 'UNDEF'

2020-11-19 21:13:31.535 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_bypass.map' : Target value not found in map for 'UNDEF'

2020-11-19 21:13:31.547 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_on-off.map' : Target value not found in map for 'UNDEF'

2020-11-19 21:13:31.554 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_freeze.map' : Target value not found in map for 'UNDEF'

2020-11-19 21:13:31.562 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'UNDEF' with the file 'comfoair_on-off.map' : Target value not found in map for 'UNDEF'



Die Frage ist, warum nach wie vor keinerlei Werte angeziegt werden (Temperatur, et.)
Dieser Anleitung/Konfiguration bin ich gefolgt https://www.openhab.org/addons/bindings/comfoair/ .

Ich weiß auch nicht, ob ich zusätzlich das Serial-Binding brauche. Es stand meines Wissens nach nirgendwo etwas davon, dass man es braucht. Fraglich ist aber, wie openHAB dann aber die Baudrate, Stopp-Bit etc. erkennt.
https://www.openhab.org/addons/bindings/serial1/
Hausautomation zu 95% mit Siemens Logo! (5x 0BA8).
Gartenbewässerung, Rollosteuerung, Lichtsteuerung, etc.
Abfrage von Temperaturen, Helligkeit, Füllstand Zisterne Leistung Photovoltaik.

openHAB 4.0.4 mit folgenden Bindings:

- Bosch Indego Binding
- Tankerkönig Binding
- iCalendar Binding
- iCloud Binding
- Anwesenheit via iCloud
- ComfoAir Binding (Zehnder AirComfort A350)
- SolarEdge Binding (PV)
- OpenWeatherMap Binding
- DWD Pollenflug Binding
- DWD Unwetter Binding
- FritzBox TR064 Binding
- PLCLogo Binding
- WIFI LED Binding
- Luxtronikheatpump (Novelan-WP)
- BEOK Raumthermostate
- myenergi

Benutzeravatar
peter-pan
Beiträge: 2564
Registriert: 28. Nov 2018 12:03
Answers: 25
Wohnort: Schwäbisch Gmünd

Re: bedingte Funktion in ComfoAir 2.5.10

Beitrag von peter-pan »

Hast du die UNDEF-Zeile in den .map Dateien wieder heraus genommen ?
Vielleicht kannst du noch eine Zeile aufnehmen:

Code: Alles auswählen

-=undefiniert
Hier noch eine Beispiel-Map aus meinem SetUp mit diversen Umwandlungen:

Code: Alles auswählen

CLOSED=geschlossen
OPEN=offen
TILTED=gekippt
NULL=NULL
ON=an
OFF=aus
-=undefiniert
UNDEF=UNDEFINIERT
Online=ON
Offline=OFF
restart=Restart
queryFW=Query FW
upgrade=Upgrade FW
0=OFF
1=ON
Was wird denn in der Sitemap angezeigt ? Kannst du mal in der Konsole (openhab-cli console) schauen, was für ein Status das (die) Item(s) haben?

Beispiel:

Code: Alles auswählen

openhab> items list | grep -i mini_01_temp
esp_mini_01_temp (Type=NumberItem, State=25.3, Label=D1-Mini-1 DHT11 Temperatur, Category=temperature, Groups=[gAmica, EG_Buro, gRtIstI])
openhab>
oder

Code: Alles auswählen

openhab> items list | grep -i undef
Vielleicht bringt dich das weiter.
Pi5/8GB(PiOS Lite 64-bit(bookworm)/SSD 120GB - OH4.1.1 openhabian

Galadriel13
Beiträge: 216
Registriert: 30. Dez 2019 20:29

Re: bedingte Funktion in ComfoAir 2.5.10

Beitrag von Galadriel13 »

Sorry für die Frage, aber was ist die openhab-cli console?

--> Ich bin via Putty eingestiegen
--> openhab-cli console

--> ich bekomme das:

openhab> openhab> items list | grep -i undef
gogo: CommandException: Error executing command openhab: too many arguments specified
openhab>


Mit dem Einfügen des zus. Befehls kommen keine Warnungen mehr.

comfoair_bypass.map

Code: Alles auswählen

ON=Opened
OFF=Closed
undefined=unknown
-=unknown
UNDEF=unbekannt ⁉
-=undefiniert

comfoair_freeze.map

Code: Alles auswählen

ON=frozen
OFF=OK
undefined=unknown
-=unknown
UNDEF=unbekannt ⁉
-=undefiniert

comfoair_on-off.map

Code: Alles auswählen

ON=active
OFF=inactive
undefined=unknown
-=unknown
UNDEF=unbekannt ⁉
-=undefiniert

comfoair.items

Code: Alles auswählen

Switch	comfoairControl				"Activate"					<computer>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:bindingControl#activate"}
Number	comfoairFanLevel			"Ventilation level [%d]"			<chart>		(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:ventilation#fanLevel"}
Number	comfoairErrorReset			"Error reset"					<service>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:resets#errorReset"}
Number	comfoairFilterReset			"Filter reset"					<service>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:resets#filterReset"}
Number	comfoairFilterPeriod			"Filter period [%d weeks]"			<clock>		(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:menuP2#filterWeeks"}

// Messages
String		comfoairError			"Error: [%s]"			(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:errors#errorsCurrent"}
Number:Time	comfoairFilterRuntime		"Filter runtime [%.0f h]"	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:times#filterHours"}

// State
Number:Temperature	comfoairTargetTemperature		"Comfort temperature [%.1f °C]"			<temperature>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:temperatures#targetTemperature"}
Number:Temperature	comfoairOutdoorIncomingTemperature	"Inlet air temperature [%.1f °C]"		<temperature>	(ComfoAir, comfoairTemps_Chart)	{channel="comfoair:comfoair:myComfoAir:temperatures#outdoorTemperatureIn"}
Number:Temperature	comfoairIndoorIncomingTemperature	"Supply air temperature [%.1f °C]"		<temperature>	(ComfoAir, comfoairTemps_Chart)	{channel="comfoair:comfoair:myComfoAir:temperatures#indoorTemperatureIn"}
Number:Temperature	comfoairIndoorOutgoingTemperature	"Return air temperature [%.1f °C]"		<temperature>	(ComfoAir, comfoairTemps_Chart)	{channel="comfoair:comfoair:myComfoAir:temperatures#indoorTemperatureOut"}
Number:Temperature	comfoairOutdoorOutgoingTemperature	"Exhaust air temperature [%.1f °C]"		<temperature>	(ComfoAir, comfoairTemps_Chart)	{channel="comfoair:comfoair:myComfoAir:temperatures#outdoorTemperatureOut"}
Number	comfoairIncomingFan			"Supply capacity [%d %%]"			<fan_in>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:ventilation#fanInPercent"}
Number	comfoairOutgoingFan			"Exhaust capacity [%d %%]"			<fan_out>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:ventilation#fanOutPercent"}
Number	comfoairFanIn0				"Supply capacity - level 0 [%d %%]"		<fan_in>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:ventilation#fanIn0"}
Number	comfoairFanOut0				"Exhaust capacity - level 0 [%d %%]"		<fan_out>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:ventilation#fanOut0"}
Switch	comfoairBypassMode			"Bypass [MAP(comfoair_bypass.map):%s]"		<climate>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:menuP9#bypassState"}
Switch	comfoairEWTMode 			"EWT [MAP(comfoair_on-off.map):%s]"		<climate>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:menuP9#ewtState"}
Switch	comfoairChimneyMode			"Fire programme [MAP(comfoair_on-off.map):%s]"	<climate>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:menuP9#chimneyState"}
Switch	comfoairHeaterMode			"Heater [MAP(comfoair_on-off.map):%s]"		<climate>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:menuP9#heaterState"}
Switch	comfoairCookerHoodMode			"Extractor hood [MAP(comfoair_on-off.map):%s]"	<climate>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:menuP9#cookerhoodState"}
Switch	comfoairEnthalpyMode			"Enthalpy [MAP(comfoair_on-off.map):%s]"	<climate>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:menuP9#enthalpyState"}
Switch	comfoairFreezeMode			"Freeze [MAP(comfoair_freeze.map):%s]"		<climate>	(ComfoAir)			{channel="comfoair:comfoair:myComfoAir:menuP9#frostState"}

comfoair.things

Code: Alles auswählen

Thing comfoair:comfoair:myComfoAir "ComfoAir" [serialPort="/dev/ttyUSB0", refreshInterval="60"]

sitemap

Code: Alles auswählen

// ComfoAir
	Frame label="Zehnder Lüftungsanlage" {
        
		Text item=comfoairError labelcolor=[!="No Errors"="red"] valuecolor=[!="No Errors"="red"]
		Switch item=comfoairControl mappings=[0="CCEase", 1="Computer"]
		Switch item=comfoairErrorReset mappings=[1="Reset"]
		Switch item=comfoairFilterReset mappings=[1="Reset"]
	
	    Text label="Control" 
		Selection item=comfoairFanLevel
		Setpoint item=comfoairTargetTemperature step=0.5 minValue=15 maxValue=28 valuecolor=["black"]
	
	    Text label="State" 
		Text item=comfoairOutdoorIncomingTemperature valuecolor=["black"]
		Text item=comfoairOutdoorOutgoingTemperature valuecolor=["black"]
		Text item=comfoairIndoorIncomingTemperature valuecolor=["black"]
		Text item=comfoairIndoorOutgoingTemperature valuecolor=["black"]
	
		Text item=comfoairIncomingFan valuecolor=["black"]
		Text item=comfoairBypassMode valuecolor=["black"]
		Text item=comfoairOutgoingFan valuecolor=["black"]
		Text item=comfoairEWTMode valuecolor=[OFF="silver", ON="black"]
		Text item=comfoairFreezeMode valuecolor=[OFF="black", ON="red"]
		Text item=comfoairChimneyMode valuecolor=[OFF="silver", ON="black"]
	}
Hausautomation zu 95% mit Siemens Logo! (5x 0BA8).
Gartenbewässerung, Rollosteuerung, Lichtsteuerung, etc.
Abfrage von Temperaturen, Helligkeit, Füllstand Zisterne Leistung Photovoltaik.

openHAB 4.0.4 mit folgenden Bindings:

- Bosch Indego Binding
- Tankerkönig Binding
- iCalendar Binding
- iCloud Binding
- Anwesenheit via iCloud
- ComfoAir Binding (Zehnder AirComfort A350)
- SolarEdge Binding (PV)
- OpenWeatherMap Binding
- DWD Pollenflug Binding
- DWD Unwetter Binding
- FritzBox TR064 Binding
- PLCLogo Binding
- WIFI LED Binding
- Luxtronikheatpump (Novelan-WP)
- BEOK Raumthermostate
- myenergi

Benutzeravatar
peter-pan
Beiträge: 2564
Registriert: 28. Nov 2018 12:03
Answers: 25
Wohnort: Schwäbisch Gmünd

Re: bedingte Funktion in ComfoAir 2.5.10

Beitrag von peter-pan »

Wenn du in der Konsole bist, darfst du nur

Code: Alles auswählen

 items list | grep -i undef
eingeben. Das" openhab>" ist ja dein username(besser gesagt der von openHAB-Console).
Pi5/8GB(PiOS Lite 64-bit(bookworm)/SSD 120GB - OH4.1.1 openhabian

Antworten