Cooler Heater type in Homekit generates errors and doesn't show up in home app

I’m trying to make a homekit interface for an old window AC unit. I would like to use the new Heater/Cooler type defined in homekit which is supported by the addon as of version 2.5.6. I tried using the example definition from the homekit integration page:

Group  			gCooller    				"Cooler Group"       				 	                {homekit="HeaterCooler"}
Switch          cooler_active 				"Cooler Active" 				    (gCooler) 		    {homekit="ActiveStatus"}
Number 			cooler_current_temp     	"Cooler Current Temp [%.1f C]"  	(gCooler)  	        {homekit="CurrentTemperature"}
String 			cooler_current_mode  	    "Cooler Current Mode" 		        (gCooler) 			 {homekit="CurrentHeaterCoolerState" [HEATING="HEAT", COOLING="COOL"]}          
String 			cooler_target_mode  	    "Cooler Target Mode" 				(gCooler)           {homekit="TargetHeaterCoolerState"}  
Number 			cooler_cool_thrs 	        "Cooler Cool Threshold Temp [%.1f C]"  	(gCooler)  	    {homekit="CoolingThresholdTemperature" [minValue=10.5, maxValue=50]}
Number 			cooler_heat_thrs 	        "Cooler Heat Threshold Temp [%.1f C]"  	 (gCooler)  	    {homekit="HeatingThresholdTemperature" [minValue=0.5, maxValue=20]}

I get the following errors:

  2020-07-16 16:07:47.064 [WARN ] [.accessories.HomekitAccessoryFactory] - Unsupported HomeKit type: Dummy
2020-07-16 16:07:47.066 [WARN ] [mekit.internal.HomekitChangeListener] - Could not add device cooler_active: Unsupported HomeKit type: DUMMY
2020-07-16 16:07:47.068 [WARN ] [.accessories.HomekitAccessoryFactory] - Unsupported HomeKit type: Dummy
2020-07-16 16:07:47.070 [WARN ] [mekit.internal.HomekitChangeListener] - Could not add device cooler_target_mode: Unsupported HomeKit type: DUMMY
2020-07-16 16:07:47.115 [WARN ] [.accessories.HomekitAccessoryFactory] - Unsupported HomeKit type: Dummy
2020-07-16 16:07:47.117 [WARN ] [mekit.internal.HomekitChangeListener] - Could not add device cooler_current_temp: Unsupported HomeKit type: DUMMY
2020-07-16 16:07:47.118 [WARN ] [.accessories.HomekitAccessoryFactory] - Unsupported HomeKit type: Dummy
2020-07-16 16:07:47.120 [WARN ] [mekit.internal.HomekitChangeListener] - Could not add device cooler_current_mode: Unsupported HomeKit type: DUMMY
2020-07-16 16:07:47.123 [WARN ] [.accessories.HomekitAccessoryFactory] - Accessory of type HeaterCooler must have following characteristics [ACTIVE_STATUS, CURRENT_HEATER_COOLER_STATE, TARGET_HEATER_COOLER_STATE, CURRENT_TEMPERATURE]. Found only []
2020-07-16 16:07:47.124 [WARN ] [mekit.internal.HomekitChangeListener] - Could not add device gCooller: Missing mandatory characteristics

Is this a bug in the definition of Heater/Cooler or am I using it wrong?

I think you have a typo, this Group has no members?

Aren’t all the lines below that denoting group members because of the
(gCooler) as part of their definitions?

Edit I see what you mean.

Just checked and there is a typo in the official documentation for homekit.

2 Likes