[SOLVED] Trying to control z-wave thermostat

  • Hardware: RPI3
  • OS:opoenhabian
  • openHAB version: m8

I’m having trouble controlling a z-wave thermostat through a sitemap, I can control it through paper ui control just fine.
what ive done is made items for cool Setpoint, heat Setpoint and also mode tooo change it between heating and cooling.

below is my below is the section of the item file.

String		Lounge_Setpoint_Temp_Cool	"Lounge Target Temp"			{channel="zwave:device:512:node41:thermostat_setpoint_cooling"}
String		Lounge_Setpoint_Temp_Heat	"Lounge Target Temp"			{channel="zwave:device:512:node41:thermostat_setpoint_heating"}
String		Lounge_Heating_Cooling_Mode	"Heatpump Mode"				{channel="zwave:device:512:node41:thermostat_mode"}

below is the section of the sitemap.

		  Switch item= Lounge_Heating_Cooling_Mode      	mappings=[0="Off",1="Heating",2="Cooling"] label="Heatpump Mode[%s]" icon="Temperature"
		  Selection item= Lounge_Setpoint_Temp_Cool      	mappings=[18="18",19="19",20="20",21="21",22="22",23="23",24="24",25="25",26="26"] label="Cooling [%s]" icon="Temperature" visibility=[Lounge_Heating_Cooling_Mode==2]
		  Selection  item= Lounge_Setpoint_Temp_Heat      	mappings=[18="18",19="19",20="20",21="21",22="22",23="23",24="24",25="25",26="26"] label="Heating [%s]" icon="Temperature" visibility=[Lounge_Heating_Cooling_Mode==1]

when I change anything in the sitemap its only changing the value of the item ive created and not passing it through to the appropriate z-wave channel that ive assorted in my items file.

an example of me using the sitemap too change the temp.

2018-12-12 12:06:48.668 [ome.event.ItemCommandEvent] - Item 'Lounge_Setpoint_Temp_Cool' received command 18
2018-12-12 12:06:48.676 [nt.ItemStatePredictedEvent] - Lounge_Setpoint_Temp_Cool predicted to become 18
2018-12-12 12:06:48.684 [vent.ItemStateChangedEvent] - Lounge_Setpoint_Temp_Cool changed from NULL to 18

here’s an example of changing temp and modes thought paper ui.

2018-12-11 19:54:36.691 [ome.event.ItemCommandEvent] - Item 'zwave_device_512_node41_thermostat_setpoint_heating' received command 22 °C
2018-12-11 19:54:36.697 [nt.ItemStatePredictedEvent] - zwave_device_512_node41_thermostat_setpoint_heating predicted to become 22 °C
2018-12-11 19:54:36.710 [vent.ItemStateChangedEvent] - zwave_device_512_node41_thermostat_setpoint_heating changed from 24 °C to 22 °C
2018-12-11 21:22:52.137 [ome.event.ItemCommandEvent] - Item 'zwave_device_512_node41_thermostat_setpoint_heating' received command 24 °C
2018-12-11 21:22:52.152 [nt.ItemStatePredictedEvent] - zwave_device_512_node41_thermostat_setpoint_heating predicted to become 24 °C
2018-12-11 21:22:52.173 [vent.ItemStateChangedEvent] - zwave_device_512_node41_thermostat_setpoint_heating changed from 22 °C to 24 °C
2018-12-12 10:03:46.108 [ome.event.ItemCommandEvent] - Item 'zwave_device_512_node41_thermostat_mode' received command 1
2018-12-12 10:03:46.167 [nt.ItemStatePredictedEvent] - zwave_device_512_node41_thermostat_mode predicted to become 1
2018-12-12 10:03:46.189 [vent.ItemStateChangedEvent] - zwave_device_512_node41_thermostat_mode changed from 0 to 1

Im a little confused as to why changing an item in the sitemap isn’t translating to node 41 being changed at all.
Im sure ive just missed something simple.

Your items are set to string, fairly certain those should be number. What item type is displayed in PaperUI for the various channels?

awesome, thanks that was it!