Comfoair binding (1.9) for Zehnder in openHAB2

Nice work but some things are not working filter time and fire program i am not getting any readings from ?Also messages =NULL any idea what the problem could be?

I understand that you don’t have readings in site map, not in items.
“Fire program” in site map simply shows the comfoairChimneyMode item state - this should work. Try to check the item state (eg. in Rest API) and check what state do you have in menu 90 in your CC Ease. Their values should be the same.
“Message” and “Filter time” strings are build in rules - maybe I made some mistakes in this rules. Try to change the site map: in line 3 (comfoairError_Message -> comfoairError), and in line 27 (comfoairFilterRuntime_Message -> comfoairFilterRuntime). These should show the values as from the original comfoair binding (by Holger Hees).
Do you have any error messages in Karaf console ? or in log file ?

The fire program is working now i changed the sitemap to

Text item=comfoairChimney	 valuecolor=[0="black", 1="black"]

and the .item to

Number	comfoairChimney		        "Fire programme [MAP(comfoair_on-off.map):%s]"	<climate>	(ComfoAir)			{comfoair="chimney_mode"}

The filter runtime is showing now and i changed

.sitemap

Text item=comfoairFilterRuntime valuecolor=["black"]

.tems

Number	comfoairFilterRuntime		"Filter time [%s]"	<clock>			(ComfoAir)

The messages is also ok now i changed

.items

String	comfoairError			"Messages [%s]"					<attention>	(ComfoAir)

.sitemap

Text item=comfoairError labelcolor=[!="OK"="red"] valuecolor=[!="OK"="red"]

But this error shows in the logs

2019-01-16 11:07:57.301 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread ComfoAir Refresh Service

java.lang.ArrayIndexOutOfBoundsException: 10

	at org.openhab.binding.comfoair.datatypes.DataTypeNumber.convertToState(DataTypeNumber.java:37) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.sendCommand(ComfoAirBinding.java:218) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.execute(ComfoAirBinding.java:145) ~[?:?]

	at org.openhab.core.binding.AbstractActiveBinding$BindingActiveService.execute(AbstractActiveBinding.java:144) ~[198:org.openhab.core.compat1x:2.4.0]

	at org.openhab.core.service.AbstractActiveService$RefreshThread.run(AbstractActiveService.java:166) [198:org.openhab.core.compat1x:2.4.0]


At first sight everything seems to be working?

Can you run debug log to find what determinates this error, please.
If everything working after your changes it means that comfoair binding is working good, and your earlier problems were related with rules, so I must check them ones again. It’s a pity, because the messages on the site display not only errors, but also information related to the work of comfoair.
One more question: have you copied the script file to openhab script folder too ? These files are necessary for rules working.

I did install the script’s

i set the log to trace and this came out for the moment nothing is working any more.

2019-01-16 16:40:30.440 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread ComfoAir Refresh Service

	at org.openhab.binding.comfoair.datatypes.DataTypeNumber.convertToState(DataTypeNumber.java:37) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.sendCommand(ComfoAirBinding.java:218) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.execute(ComfoAirBinding.java:145) ~[?:?]

2019-01-16 16:40:30.453 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-16 16:40:30.454 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-16 16:40:30.657 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d2 09 54 3e 51 50 46 0f 28 28 28 88 07 0f

2019-01-16 16:40:30.658 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d2 DATA:  54 3e 51 50 46 0f 28 28 28

2019-01-16 16:40:30.660 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-16 16:40:30.666 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-16 16:40:30.667 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-16 16:40:30.869 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d6 0a 00 01 01 01 00 00 00 00 10 00 a0 07 0f

2019-01-16 16:40:30.870 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d6 DATA:  00 01 01 01 00 00 00 00 10 00

2019-01-16 16:40:30.870 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-16 16:40:30.871 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread ComfoAir Refresh Service

	at org.openhab.binding.comfoair.datatypes.DataTypeNumber.convertToState(DataTypeNumber.java:37) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.sendCommand(ComfoAirBinding.java:218) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.execute(ComfoAirBinding.java:145) ~[?:?]

2019-01-16 16:40:30.881 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-16 16:40:30.882 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-16 16:40:31.083 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d2 09 54 3e 51 50 46 0f 28 28 28 88 07 0f

2019-01-16 16:40:31.084 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d2 DATA:  54 3e 51 50 46 0f 28 28 28

2019-01-16 16:40:31.084 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-16 16:40:31.085 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-16 16:40:31.086 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-16 16:40:31.287 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d6 0a 00 01 01 01 00 00 00 00 10 00 a0 07 0f

2019-01-16 16:40:31.288 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d6 DATA:  00 01 01 01 00 00 00 00 10 00

2019-01-16 16:40:31.288 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-16 16:40:31.289 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread ComfoAir Refresh Service

	at org.openhab.binding.comfoair.datatypes.DataTypeNumber.convertToState(DataTypeNumber.java:37) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.sendCommand(ComfoAirBinding.java:218) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.execute(ComfoAirBinding.java:145) ~[?:?]

2019-01-16 16:40:31.300 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-16 16:40:31.301 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-16 16:40:31.510 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d2 09 54 3e 51 50 46 0f 28 28 28 88 07 0f

2019-01-16 16:40:31.511 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d2 DATA:  54 3e 51 50 46 0f 28 28 28

2019-01-16 16:40:31.512 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-16 16:40:31.514 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-16 16:40:31.517 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-16 16:40:31.719 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d6 0a 00 01 01 01 00 00 00 00 10 00 a0 07 0f

2019-01-16 16:40:31.720 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d6 DATA:  00 01 01 01 00 00 00 00 10 00

2019-01-16 16:40:31.721 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-16 16:40:31.722 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread ComfoAir Refresh Service

	at org.openhab.binding.comfoair.datatypes.DataTypeNumber.convertToState(DataTypeNumber.java:37) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.sendCommand(ComfoAirBinding.java:218) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.execute(ComfoAirBinding.java:145) ~[?:?]

2019-01-16 16:40:31.734 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-16 16:40:31.735 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-16 16:40:31.938 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d2 09 54 3e 51 50 46 0f 28 28 28 88 07 0f

2019-01-16 16:40:31.939 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d2 DATA:  54 3e 51 50 46 0f 28 28 28

2019-01-16 16:40:31.941 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-16 16:40:31.948 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-16 16:40:31.949 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-16 16:40:32.152 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d6 0a 00 01 01 01 00 00 00 00 10 00 a0 07 0f

2019-01-16 16:40:32.154 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d6 DATA:  00 01 01 01 00 00 00 00 10 00

2019-01-16 16:40:32.156 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-16 16:40:32.159 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread ComfoAir Refresh Service

	at org.openhab.binding.comfoair.datatypes.DataTypeNumber.convertToState(DataTypeNumber.java:37) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.sendCommand(ComfoAirBinding.java:218) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.execute(ComfoAirBinding.java:145) ~[?:?]

2019-01-16 16:40:32.172 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-16 16:40:32.173 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-16 16:40:32.376 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d2 09 54 3e 51 50 46 0f 28 28 28 88 07 0f

2019-01-16 16:40:32.378 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d2 DATA:  54 3e 51 50 46 0f 28 28 28

2019-01-16 16:40:32.380 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-16 16:40:32.384 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-16 16:40:32.388 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-16 16:40:32.590 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d6 0a 00 01 01 01 00 00 00 00 10 00 a0 07 0f

2019-01-16 16:40:32.591 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d6 DATA:  00 01 01 01 00 00 00 00 10 00

2019-01-16 16:40:32.591 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

OK, thanks for your log.
The problem is with reading bytes with command 0xd5. The answer from Comfoair on this command is:

2019-01-16 16:40:30.870 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d6 DATA: 00 01 01 01 00 00 00 00 10 00

Data block should have 11 bytes (acc. to the protocol), but as you can see it has only 10 bytes. I’m afraid your comfoair uses a little different protocol.
11th bytes is reading by is_ewt command. So comment (or delete) the item comfoairEWT in comfoair.items file which uses command is_ewt - you would not be able to read state of EWT, but you would not have errors.
I will try do add some blokade to the code.

What type of comfoair do you have ? (mine is: Zehnder Comfoair 350 installed in 2009)

Ok i will comment the item’s and test it.
I have a Zender 550 Deluxe also installed in 2009

Give me information is comment the comfoairEWT item helps.
Protocol for Comfoair 550 is not available so I can not give you precise advice.
Did you try to change supply and exhaust mode ? I am very interesting is it work for you. This mode is control by rules.

I comment the EWT items but is still have this error log

2019-01-17 19:58:35.050 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread ComfoAir Refresh Service

	at org.openhab.binding.comfoair.datatypes.DataTypeNumber.convertToState(DataTypeNumber.java:37) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.sendCommand(ComfoAirBinding.java:218) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.execute(ComfoAirBinding.java:145) ~[?:?]

2019-01-17 19:58:35.063 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-17 19:58:35.064 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-17 19:58:35.266 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d2 09 54 30 4f 51 3b 0f 28 28 28 6e 07 0f

2019-01-17 19:58:35.269 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d2 DATA:  54 30 4f 51 3b 0f 28 28 28

2019-01-17 19:58:35.270 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-17 19:58:35.274 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-17 19:58:35.277 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-17 19:58:35.478 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d6 0a 00 01 01 01 00 00 00 00 10 00 a0 07 0f

2019-01-17 19:58:35.479 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d6 DATA:  00 01 01 01 00 00 00 00 10 00

2019-01-17 19:58:35.480 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-17 19:58:35.483 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread ComfoAir Refresh Service

	at org.openhab.binding.comfoair.datatypes.DataTypeNumber.convertToState(DataTypeNumber.java:37) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.sendCommand(ComfoAirBinding.java:218) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.execute(ComfoAirBinding.java:145) ~[?:?]

2019-01-17 19:58:35.496 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-17 19:58:35.497 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-17 19:58:35.622 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2019-01-17 19:58:35.702 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d2 09 54 30 4f 51 3b 0f 28 28 28 6e 07 0f

2019-01-17 19:58:35.704 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d2 DATA:  54 30 4f 51 3b 0f 28 28 28

2019-01-17 19:58:35.705 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-17 19:58:35.708 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-17 19:58:35.714 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-17 19:58:35.769 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2019-01-17 19:58:35.780 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2019-01-17 19:58:35.783 [WARN ] [rest.core.item.EnrichedItemDTOMapper] - Failed transforming the state '0' on item 'comfoairEnthalpy' with pattern 'MAP(comfoair_enthalpy.map):%s': An error occurred while opening file.

2019-01-17 19:58:35.787 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '0.0' with the file 'comfoair_freeze.map' : Target value not found in map for '0.0'

2019-01-17 19:58:35.807 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'comfoair_on-off.map' : Target value not found in map for 'NULL'

2019-01-17 19:58:35.816 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '0.0' with the file 'comfoair_bypass.map' : Target value not found in map for '0.0'

2019-01-17 19:58:35.916 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d6 0a 00 01 01 01 00 00 00 00 10 00 a0 07 0f

2019-01-17 19:58:35.917 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d6 DATA:  00 01 01 01 00 00 00 00 10 00

2019-01-17 19:58:35.918 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-17 19:58:35.923 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread ComfoAir Refresh Service

	at org.openhab.binding.comfoair.datatypes.DataTypeNumber.convertToState(DataTypeNumber.java:37) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.sendCommand(ComfoAirBinding.java:218) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.execute(ComfoAirBinding.java:145) ~[?:?]

2019-01-17 19:58:35.940 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-17 19:58:35.941 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-17 19:58:36.143 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d2 09 54 30 4f 51 3b 0f 28 28 28 6e 07 0f

2019-01-17 19:58:36.145 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d2 DATA:  54 30 4f 51 3b 0f 28 28 28

2019-01-17 19:58:36.146 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-17 19:58:36.154 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-17 19:58:36.156 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-17 19:58:36.357 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d6 0a 00 01 01 01 00 00 00 00 10 00 a0 07 0f

2019-01-17 19:58:36.359 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d6 DATA:  00 01 01 01 00 00 00 00 10 00

2019-01-17 19:58:36.360 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-17 19:58:36.369 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread ComfoAir Refresh Service

	at org.openhab.binding.comfoair.datatypes.DataTypeNumber.convertToState(DataTypeNumber.java:37) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.sendCommand(ComfoAirBinding.java:218) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.execute(ComfoAirBinding.java:145) ~[?:?]

2019-01-17 19:58:36.380 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-17 19:58:36.381 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-17 19:58:36.583 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d2 09 54 30 4f 51 3b 0f 28 28 28 6e 07 0f

2019-01-17 19:58:36.584 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d2 DATA:  54 30 4f 51 3b 0f 28 28 28

2019-01-17 19:58:36.584 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-17 19:58:36.585 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-17 19:58:36.590 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-17 19:58:36.793 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d6 0a 00 01 01 01 00 00 00 00 10 00 a0 07 0f

2019-01-17 19:58:36.793 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d6 DATA:  00 01 01 01 00 00 00 00 10 00

2019-01-17 19:58:36.794 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-17 19:58:36.795 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread ComfoAir Refresh Service

	at org.openhab.binding.comfoair.datatypes.DataTypeNumber.convertToState(DataTypeNumber.java:37) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.sendCommand(ComfoAirBinding.java:218) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.execute(ComfoAirBinding.java:145) ~[?:?]

2019-01-17 19:58:36.812 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-17 19:58:36.813 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-17 19:58:37.014 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d2 09 54 30 4f 51 3b 0f 28 28 28 6e 07 0f

2019-01-17 19:58:37.015 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d2 DATA:  54 30 4f 51 3b 0f 28 28 28

2019-01-17 19:58:37.016 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-17 19:58:37.018 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-17 19:58:37.022 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-17 19:58:37.224 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d6 0a 00 01 01 01 00 00 00 00 10 00 a0 07 0f

2019-01-17 19:58:37.225 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d6 DATA:  00 01 01 01 00 00 00 00 10 00

2019-01-17 19:58:37.231 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-17 19:58:37.237 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread ComfoAir Refresh Service

	at org.openhab.binding.comfoair.datatypes.DataTypeNumber.convertToState(DataTypeNumber.java:37) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.sendCommand(ComfoAirBinding.java:218) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.execute(ComfoAirBinding.java:145) ~[?:?]

2019-01-17 19:58:37.249 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-17 19:58:37.250 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-17 19:58:37.452 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d2 09 54 30 4f 51 3b 0f 28 28 28 6e 07 0f

2019-01-17 19:58:37.454 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d2 DATA:  54 30 4f 51 3b 0f 28 28 28

2019-01-17 19:58:37.456 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-17 19:58:37.462 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-17 19:58:37.464 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-17 19:58:37.667 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d6 0a 00 01 01 01 00 00 00 00 10 00 a0 07 0f

2019-01-17 19:58:37.668 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d6 DATA:  00 01 01 01 00 00 00 00 10 00

2019-01-17 19:58:37.671 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-17 19:58:37.674 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread ComfoAir Refresh Service

	at org.openhab.binding.comfoair.datatypes.DataTypeNumber.convertToState(DataTypeNumber.java:37) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.sendCommand(ComfoAirBinding.java:218) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.execute(ComfoAirBinding.java:145) ~[?:?]

2019-01-17 19:58:37.688 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-17 19:58:37.689 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-17 19:58:37.892 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d2 09 54 30 4f 51 3b 0f 28 28 28 6e 07 0f

2019-01-17 19:58:37.893 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d2 DATA:  54 30 4f 51 3b 0f 28 28 28

2019-01-17 19:58:37.896 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-17 19:58:37.902 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-17 19:58:37.906 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-17 19:58:38.109 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d6 0a 00 01 01 01 00 00 00 00 10 00 a0 07 0f

2019-01-17 19:58:38.111 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d6 DATA:  00 01 01 01 00 00 00 00 10 00

2019-01-17 19:58:38.112 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-17 19:58:38.116 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread ComfoAir Refresh Service

	at org.openhab.binding.comfoair.datatypes.DataTypeNumber.convertToState(DataTypeNumber.java:37) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.sendCommand(ComfoAirBinding.java:218) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.execute(ComfoAirBinding.java:145) ~[?:?]

2019-01-17 19:58:38.128 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-17 19:58:38.129 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-17 19:58:38.331 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d2 09 54 30 4f 51 3b 0f 28 28 28 6e 07 0f

2019-01-17 19:58:38.333 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d2 DATA:  54 30 4f 51 3b 0f 28 28 28

2019-01-17 19:58:38.336 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-17 19:58:38.338 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-17 19:58:38.339 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-17 19:58:38.542 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d6 0a 00 01 01 01 00 00 00 00 10 00 a0 07 0f

2019-01-17 19:58:38.543 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d6 DATA:  00 01 01 01 00 00 00 00 10 00

2019-01-17 19:58:38.544 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-17 19:58:38.552 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread ComfoAir Refresh Service

	at org.openhab.binding.comfoair.datatypes.DataTypeNumber.convertToState(DataTypeNumber.java:37) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.sendCommand(ComfoAirBinding.java:218) ~[?:?]

	at org.openhab.binding.comfoair.internal.ComfoAirBinding.execute(ComfoAirBinding.java:145) ~[?:?]

2019-01-17 19:58:38.563 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-17 19:58:38.565 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-17 19:58:38.767 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d2 09 54 30 4f 51 3b 0f 28 28 28 6e 07 0f

2019-01-17 19:58:38.768 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d2 DATA:  54 30 4f 51 3b 0f 28 28 28

2019-01-17 19:58:38.769 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-17 19:58:38.772 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-17 19:58:38.773 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d5 00 82 07 0f

2019-01-17 19:58:38.976 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d6 0a 00 01 01 01 00 00 00 00 10 00 a0 07 0f

2019-01-17 19:58:38.977 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d6 DATA:  00 01 01 01 00 00 00 00 10 00

2019-01-17 19:58:38.978 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

I also tested the supply and exhaust mode

When i set it to supply or exhaust the fan level is going to 15% but they both supply and exhaust keep going.

I hope you can find something because the binding would be great with your addons.

Hello,

  1. binding errors: for changing the binding code I need some time - I will try to do it in weekend.
  2. supply / exhaust mode: you need to know:
  • my supply/exhaust mode doesn’t work in absent state (level A). Comfoair should be on level 1, 2 or 3. This mode uses level A to modify fan speed. That’s why there is no switch for level A in my site map.
  • Change the supply/exhaust mode not faster then 2 s - comfoair need some time for reaction.

If supply/exhaust mode still doesn’t work on level 1 - 3 for you, try to change rules listed below in comfoair.rules file (I have simplify them):

rule "changeSupply-Exhaust"
when
	Item comfoairFanMode_Message changed
then
	var Number newFanMode = comfoairFanMode_Message.state as DecimalType
	if( comfoairControl.state == 1 ) {
		if( comfoairFanMode_Message.state != comfoairFanMode.state ) {
			comfoairFanMode.sendCommand( newFanMode )
			logInfo( "ComfoAir", "Try to change supply/exhaust mode" )
		}
	}
end
rule "changeSupply-ExhaustMode"
when
    Item comfoairFanMode changed
then
	if( comfoairControl.state instanceof Number ) {
		if( comfoairFanMode.state instanceof Number ) {
			if( comfoairFanLevel.state > 1 ) {
				logInfo( "ComfoAir", "Fan level is OK" )
				comfoairFanLevelLastValue = comfoairFanLevel.state
				Thread::sleep( 100 )
				comfoairFanIn0LastValue = comfoairIncomingFan.state
				comfoairFanOut0LastValue = comfoairOutgoingFan.state
			}
			// Supply + Exhaust
			if( comfoairFanMode.state == 0 ) {
				logInfo( "ComfoAir", "Supply/Exhaust mode was changed to both" )
				if( comfoairIncomingFan.state == 0 || comfoairOutgoingFan.state == 0 ) {
					comfoairFanIn0.sendCommand( comfoairFanIn0BaseValue )
					createTimer(now.plusSeconds( 1 ),  [ |
						comfoairFanOut0.sendCommand( comfoairFanOut0BaseValue )
					])
					if (comfoairFanLevel.state < 2) {
						logInfo( "ComfoAir", "Comfoair level was returned to last state" )
						comfoairFanLevel.sendCommand( comfoairFanLevelLastValue.toString )
					}
				}
			} else {
				comfoairFanLevel.sendCommand( "1" )
				logInfo( "ComfoAir", "Comfoair level was changed to level A" )
				// Supply
				if( comfoairFanMode.state == 1 ) {
					logInfo( "ComfoAir", "Supply/Exhaust mode was changed to supply" )
					if( comfoairIncomingFan.state == 0 ) {
						comfoairFanIn0.sendCommand( comfoairFanIn0LastValue )
						logInfo( "ComfoAir", "Incomming fan has returned to last value" )
					} else {
						comfoairFanIn0.sendCommand( comfoairIncomingFan.state )
						logInfo( "ComfoAir", "Incomming fan has changed to new value" )
					}
					createTimer( now.plusSeconds( 1 ),  [ | comfoairFanOut0.sendCommand( 0 ) ])
					logInfo( "ComfoAir", "Incomming fan has changed to 0" )
				}
				// Exhaust
				if( comfoairFanMode.state == 2 ) {
					logInfo( "ComfoAir", "Supply/Exhaust mode was changed to exhaust" )
					comfoairFanIn0.sendCommand( 0 )
					logInfo( "ComfoAir", "Incomming fan has changed to 0" )
					createTimer(now.plusSeconds( 1 ),  [ |
						if( comfoairOutgoingFan.state == 0 ) {
							comfoairFanOut0.sendCommand( comfoairFanOut0LastValue )
							logInfo( "ComfoAir", "Outgoing fan has returned to last value" )
						} else {
							comfoairFanOut0.sendCommand( comfoairOutgoingFan.state )
							logInfo( "ComfoAir", "Outgoing fan has changed to new value" )
						}
					])
				}
			}
		}
	}
end

If you use "Fire program", you need to switch it off. And don’t use chimney (if you have) when you use supply/exhaust mode - it is dangerous. In this new rules I have removed the blockade for “Fire program”.
I hope you will be successfull. If not, please send me your log.

@gieemek This sounds great! Especially the supply / exhaust capabilities you added. I will give it a try!

I tried the new rules and comment out chimney items.
It is still not working i have this log there seems to be something wrong with the rule’s i hope you can see something

2019-01-18 18:03:00.024 [INFO ] [ipse.smarthome.model.script.comfoair] - ComfoAir - MANUAL Mode

2019-01-18 18:03:05.811 [ome.event.ItemCommandEvent] - Item 'comfoairFanMode_Message' received command 2

2019-01-18 18:03:05.819 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Try to change supply/exhaust mode

2019-01-18 18:03:05.823 [vent.ItemStateChangedEvent] - comfoairFanMode_Message changed from 0 to 2

2019-01-18 18:03:05.824 [ome.event.ItemCommandEvent] - Item 'comfoairFanMode' received command 2

2019-01-18 18:03:05.829 [vent.ItemStateChangedEvent] - comfoairFanMode changed from 0 to 2

2019-01-18 18:03:05.831 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Fan level is OK

2019-01-18 18:03:05.938 [ome.event.ItemCommandEvent] - Item 'comfoairFanLevel' received command 1

2019-01-18 18:03:05.937 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Comfoair level was changed to level A

2019-01-18 18:03:05.945 [vent.ItemStateChangedEvent] - comfoairFanLevel changed from 2 to 1

2019-01-18 18:03:05.946 [vent.ItemStateChangedEvent] - comfoairFanLevel_Message changed from 2 to 1

2019-01-18 18:03:05.944 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Supply/Exhaust mode was changed to exhaust

2019-01-18 18:03:05.951 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'changeSupply-ExhaustMode': The name 'comfoairFanIn0' cannot be resolved to an item or type; line 324, column 6, length 14

2019-01-18 18:03:09.357 [vent.ItemStateChangedEvent] - comfoairIncomingFan changed from 20 to 15

2019-01-18 18:03:09.359 [vent.ItemStateChangedEvent] - comfoairOutgoingFan changed from 20 to 15

2019-01-18 18:03:11.391 [ome.event.ItemCommandEvent] - Item 'comfoairFanLevel_Message' received command 3

2019-01-18 18:03:11.396 [vent.ItemStateChangedEvent] - comfoairFanLevel_Message changed from 1 to 3

2019-01-18 18:03:11.399 [ome.event.ItemCommandEvent] - Item 'comfoairFanLevel' received command 3

2019-01-18 18:03:11.401 [vent.ItemStateChangedEvent] - comfoairFanLevel changed from 1 to 3

2019-01-18 18:03:11.406 [vent.ItemStateChangedEvent] - comfoairFanMode changed from 2 to 0

2019-01-18 18:03:11.411 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Fan level is OK

2019-01-18 18:03:11.515 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Supply/Exhaust mode was changed to both

2019-01-18 18:03:14.814 [vent.ItemStateChangedEvent] - comfoairIncomingFan changed from 15 to 40

2019-01-18 18:03:14.815 [vent.ItemStateChangedEvent] - comfoairOutgoingFan changed from 15 to 40

2019-01-18 18:03:51.736 [vent.ItemStateChangedEvent] - comfoairOutdoorOutgoingTemperature changed from 9.0 to 9.5

2019-01-18 18:04:00.027 [INFO ] [ipse.smarthome.model.script.comfoair] - ComfoAir - MANUAL Mode

2019-01-18 18:04:34.044 [ome.event.ItemCommandEvent] - Item 'comfoairFanMode_Message' received command 1

2019-01-18 18:04:34.046 [vent.ItemStateChangedEvent] - comfoairFanMode_Message changed from 2 to 1

2019-01-18 18:04:34.051 [ome.event.ItemCommandEvent] - Item 'comfoairFanMode' received command 1

2019-01-18 18:04:34.058 [vent.ItemStateChangedEvent] - comfoairFanMode changed from 0 to 1

2019-01-18 18:04:34.059 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Try to change supply/exhaust mode

2019-01-18 18:04:34.063 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Fan level is OK

2019-01-18 18:04:34.168 [ome.event.ItemCommandEvent] - Item 'comfoairFanLevel' received command 1

2019-01-18 18:04:34.168 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Comfoair level was changed to level A

2019-01-18 18:04:34.173 [vent.ItemStateChangedEvent] - comfoairFanLevel changed from 3 to 1

2019-01-18 18:04:34.175 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Supply/Exhaust mode was changed to supply

2019-01-18 18:04:34.176 [vent.ItemStateChangedEvent] - comfoairFanLevel_Message changed from 3 to 1

2019-01-18 18:04:34.179 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'changeSupply-ExhaustMode': The name 'comfoairFanIn0' cannot be resolved to an item or type; line 315, column 7, length 14

2019-01-18 18:04:37.579 [vent.ItemStateChangedEvent] - comfoairIncomingFan changed from 40 to 15

2019-01-18 18:04:37.580 [vent.ItemStateChangedEvent] - comfoairOutgoingFan changed from 40 to 15

2019-01-18 18:04:52.968 [vent.ItemStateChangedEvent] - comfoairOutdoorIncomingTemperature changed from 4.0 to 3.5

2019-01-18 18:04:53.952 [ome.event.ItemCommandEvent] - Item 'comfoairFanLevel_Message' received command 3

2019-01-18 18:04:53.962 [vent.ItemStateChangedEvent] - comfoairFanLevel_Message changed from 1 to 3

2019-01-18 18:04:53.963 [ome.event.ItemCommandEvent] - Item 'comfoairFanLevel' received command 3

2019-01-18 18:04:53.969 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Supply/Exhaust mode was changed to both

2019-01-18 18:04:54.171 [vent.ItemStateChangedEvent] - comfoairFanMode changed from 1 to 0

2019-01-18 18:04:54.174 [vent.ItemStateChangedEvent] - comfoairFanLevel changed from 1 to 3

2019-01-18 18:04:57.377 [vent.ItemStateChangedEvent] - comfoairIncomingFan changed from 15 to 40

2019-01-18 18:04:57.380 [vent.ItemStateChangedEvent] - comfoairOutgoingFan changed from 15 to 40

2019-01-18 18:05:00.013 [INFO ] [ipse.smarthome.model.script.comfoair] - ComfoAir - MANUAL Mode

2019-01-18 18:05:09.163 [ome.event.ItemCommandEvent] - Item 'comfoairFanMode_Message' received command 2

2019-01-18 18:05:09.171 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Try to change supply/exhaust mode

2019-01-18 18:05:09.173 [vent.ItemStateChangedEvent] - comfoairFanMode_Message changed from 1 to 2

2019-01-18 18:05:09.175 [ome.event.ItemCommandEvent] - Item 'comfoairFanMode' received command 2

2019-01-18 18:05:09.180 [vent.ItemStateChangedEvent] - comfoairFanMode changed from 0 to 2

2019-01-18 18:05:09.182 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Fan level is OK

2019-01-18 18:05:09.287 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Comfoair level was changed to level A

2019-01-18 18:05:09.288 [ome.event.ItemCommandEvent] - Item 'comfoairFanLevel' received command 1

2019-01-18 18:05:09.290 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Supply/Exhaust mode was changed to exhaust

2019-01-18 18:05:09.291 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'changeSupply-ExhaustMode': The name 'comfoairFanIn0' cannot be resolved to an item or type; line 324, column 6, length 14

2019-01-18 18:05:09.492 [vent.ItemStateChangedEvent] - comfoairFanLevel changed from 3 to 1

2019-01-18 18:05:09.501 [vent.ItemStateChangedEvent] - comfoairFanLevel_Message changed from 3 to 1

2019-01-18 18:05:12.705 [vent.ItemStateChangedEvent] - comfoairIncomingFan changed from 40 to 15

2019-01-18 18:05:12.707 [vent.ItemStateChangedEvent] - comfoairOutgoingFan changed from 40 to 15

2019-01-18 18:05:54.179 [vent.ItemStateChangedEvent] - comfoairOutdoorIncomingTemperature changed from 3.5 to 4.0

2019-01-18 18:06:00.025 [INFO ] [ipse.smarthome.model.script.comfoair] - ComfoAir - MANUAL Mode

When i set it to TRACE i have this log

2019-01-18 19:18:00.011 [INFO ] [ipse.smarthome.model.script.comfoair] - ComfoAir - MANUAL Mode

2019-01-18 19:18:01.356 [ome.event.ItemCommandEvent] - Item 'comfoairFanMode_Message' received command 1

2019-01-18 19:18:01.363 [vent.ItemStateChangedEvent] - comfoairFanMode_Message changed from 0 to 1

2019-01-18 19:18:01.363 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Try to change supply/exhaust mode

2019-01-18 19:18:01.366 [ome.event.ItemCommandEvent] - Item 'comfoairFanMode' received command 1

2019-01-18 19:18:01.370 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Fan level is OK

2019-01-18 19:18:01.373 [vent.ItemStateChangedEvent] - comfoairFanMode changed from 0 to 1

2019-01-18 19:18:01.476 [ome.event.ItemCommandEvent] - Item 'comfoairFanLevel' received command 1

2019-01-18 19:18:01.475 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Comfoair level was changed to level A

2019-01-18 19:18:01.478 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 99 01 01 48 07 0f

2019-01-18 19:18:01.482 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Supply/Exhaust mode was changed to supply

2019-01-18 19:18:01.486 [vent.ItemStateChangedEvent] - comfoairFanLevel_Message changed from 2 to 1

2019-01-18 19:18:01.488 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'changeSupply-ExhaustMode': The name 'comfoairFanIn0' cannot be resolved to an item or type; line 315, column 7, length 14

2019-01-18 19:18:01.685 [vent.ItemStateChangedEvent] - comfoairFanLevel changed from 2 to 1

2019-01-18 19:18:04.684 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 0b 00 b8 07 0f

2019-01-18 19:18:04.888 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 0c 06 0f 0f 0d 24 0d f0 0b 07 0f

2019-01-18 19:18:04.890 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: 0c DATA:  0f 0f 0d 24 0d f0

2019-01-18 19:18:04.892 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-18 19:18:04.895 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 cd 00 7a 07 0f

2019-01-18 19:18:04.897 [vent.ItemStateChangedEvent] - comfoairIncomingFan changed from 20 to 15

2019-01-18 19:18:04.901 [vent.ItemStateChangedEvent] - comfoairOutgoingFan changed from 20 to 15

2019-01-18 19:18:05.097 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 ce 0e 0f 14 28 0f 14 28 0f 0f 01 01 5a 5a 00 00 f3 07 0f

2019-01-18 19:18:05.098 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: ce DATA:  0f 14 28 0f 14 28 0f 0f 01 01 5a 5a 00 00

2019-01-18 19:18:05.100 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-18 19:18:08.581 [ome.event.ItemCommandEvent] - Item 'comfoairFanLevel_Message' received command 3

2019-01-18 19:18:08.590 [vent.ItemStateChangedEvent] - comfoairFanLevel_Message changed from 1 to 3

2019-01-18 19:18:08.591 [ome.event.ItemCommandEvent] - Item 'comfoairFanLevel' received command 3

2019-01-18 19:18:08.592 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 99 01 03 4a 07 0f

2019-01-18 19:18:08.596 [INFO ] [ipse.smarthome.model.script.ComfoAir] - Supply/Exhaust mode was changed to both

2019-01-18 19:18:08.797 [vent.ItemStateChangedEvent] - comfoairFanMode changed from 1 to 0

2019-01-18 19:18:08.799 [vent.ItemStateChangedEvent] - comfoairFanLevel changed from 1 to 3

2019-01-18 19:18:11.796 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 0b 00 b8 07 0f

2019-01-18 19:18:11.999 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 0c 06 28 28 07 07 3e 08 14 70 07 0f

2019-01-18 19:18:12.000 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: 0c DATA:  28 28 07 3e 08 14

2019-01-18 19:18:12.001 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-18 19:18:12.004 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 cd 00 7a 07 0f

2019-01-18 19:18:12.011 [vent.ItemStateChangedEvent] - comfoairIncomingFan changed from 15 to 40

2019-01-18 19:18:12.012 [vent.ItemStateChangedEvent] - comfoairOutgoingFan changed from 15 to 40

2019-01-18 19:18:12.207 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 ce 0e 0f 14 28 0f 14 28 28 28 03 01 5a 5a 00 00 27 07 0f

2019-01-18 19:18:12.210 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: ce DATA:  0f 14 28 0f 14 28 28 28 03 01 5a 5a 00 00

2019-01-18 19:18:12.212 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-18 19:18:19.033 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d1 00 7e 07 0f

2019-01-18 19:18:19.236 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 d2 09 54 31 50 50 3c 0f 28 28 28 70 07 0f

2019-01-18 19:18:19.238 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: d2 DATA:  54 31 50 50 3c 0f 28 28 28

2019-01-18 19:18:19.239 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-18 19:18:19.247 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 d9 00 86 07 0f

2019-01-18 19:18:19.247 [vent.ItemStateChangedEvent] - comfoairOutdoorIncomingTemperature changed from 4.0 to 4.5

2019-01-18 19:18:19.250 [vent.ItemStateChangedEvent] - comfoairOutdoorOutgoingTemperature changed from 9.5 to 10.0

2019-01-18 19:18:19.451 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 da 11 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 9c 07 0f

2019-01-18 19:18:19.453 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: da DATA:  00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00

2019-01-18 19:18:19.454 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-18 19:18:19.456 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 0b 00 b8 07 0f

2019-01-18 19:18:19.659 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 0c 06 28 28 05 64 05 f6 73 07 0f

2019-01-18 19:18:19.661 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: 0c DATA:  28 28 05 64 05 f6

2019-01-18 19:18:19.662 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-18 19:18:19.664 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 37 07 07 00 00 00 00 00 00 00 eb 07 0f

2019-01-18 19:18:19.866 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 3c 0a c0 16 ef 66 7f 5b 00 00 00 e0 d8 07 0f

2019-01-18 19:18:19.868 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: 3c DATA:  c0 16 ef 66 7f 5b 00 00 00 e0

2019-01-18 19:18:19.875 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-18 19:18:19.877 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 cd 00 7a 07 0f

2019-01-18 19:18:20.082 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 ce 0e 0f 14 28 0f 14 28 28 28 03 01 5a 5a 00 00 27 07 0f

2019-01-18 19:18:20.083 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: ce DATA:  0f 14 28 0f 14 28 28 28 03 01 5a 5a 00 00

2019-01-18 19:18:20.086 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

2019-01-18 19:18:20.088 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f0 00 dd 00 8a 07 0f

2019-01-18 19:18:20.291 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive RAW DATA:  07 f3 07 f0 00 de 14 00 09 35 01 2a de 00 00 36 02 69 00 00 42 3e 01 2e 00 00 0d 43 07 0f

2019-01-18 19:18:20.292 [DEBUG] [.comfoair.handling.ComfoAirConnector] - receive CMD: de DATA:  00 09 35 01 2a de 00 00 36 02 69 00 00 42 3e 01 2e 00 00 0d

2019-01-18 19:18:20.295 [DEBUG] [.comfoair.handling.ComfoAirConnector] - send DATA:  07 f3

Hi,
sorry, it was my fault in comfoair.items file. Please add two items in it:

Number	comfoairFanIn0		"Supply capacity - level 0 [%d %%]"		<fan_in>	(ComfoAir)	{comfoair="fan_in_0"}
Number	comfoairFanOut0		"Exhaust capasity - level 0 [%d %%]"	<fan_out>	(ComfoAir)	{comfoair="fan_out_0"}

I changed comfoair.items file in my github repository: https://github.com/gieemek/ComfoAir_Binding_modified/tree/master/examples, so you can download this file too.

I blocked an error in binding.comfoair code and chaged the .jar file in my repository: https://github.com/gieemek/ComfoAir_Binding_modified - you can download it and reinstall comfoair binding in openHAB.
You will still get the warning “Unexpected value for DATA:” according to the different data block from comfoair 550. And you will not get value for is_ewt command, so comfoairEWT item will have value null.
But binding should work without errors.
Regards,

1 Like

Everything is working now also the supply and exhaust mode.
Is there a way that you can merge the jar file with the binding from Holger Hees?
Nice work.

Tried to install the binding using a Raspberry Pi 3+ and OH 2.4 stable.

  1. downloaded the JAR from GitHub (https://github.com/gieemek/ComfoAir_Binding_modified/blob/master/org.openhab.binding.comfoair-1.13.0.jar)
  2. stopped OH2 Service
  3. dropped it in /usr/share/openhab2/addons/
  4. started OH2 Service
  5. got this error
2019-01-20 19:42:32.177 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.comfoair-1.13.0.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.comfoair [241]
  Unresolved requirement: Import-Package: gnu.io
	at org.eclipse.osgi.container.Module.start(Module.java:444) ~[?:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[?:?]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [10:org.apache.felix.fileinstall:3.6.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [10:org.apache.felix.fileinstall:3.6.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [10:org.apache.felix.fileinstall:3.6.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [10:org.apache.felix.fileinstall:3.6.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [10:org.apache.felix.fileinstall:3.6.4]

Did I miss something?

I think you’re missing the serial driver.
Try to install it through karaf:

feature:install openhab-transport-serial

The better way to install new .jar file is:

  1. Uninstall comfoair binding in Paper UI (or stop openHAB if you wish).
  2. Copy new .jar file to /var/lib/openhab2/tmp/mvn/org/openhab/binding/org.openhab.binding.comfoair/1.13.0 and overwrite the original .jar file.
  3. Install comfoair binding in Paper UI again.
    (See my readme.md in github repository.)
1 Like

oh. I forgot:

  1. removed comfoair1 from the addons.cfg :wink:

But either the Serial Driver or dropping it in the tmp-directory did the trick. now it’s online! and I’m testing.

Hello,

There seems to be a bug of somekind in de rules or binding i think.

My supply capacity is going to 100% and de exhaust capacity stay’s at de normal rate.

And there is now way of stopping the supply it stay’s at 100% only removing the power of the comfoair stops it.

It happend 2 time’s now but i have no error log because i dont know when it happend.

Do you know what can cause it?