HomeMatic sometimes sent wrong values

Tags: #<Tag:0x00007f6173b0f618>

Hi There,

I’ve got a strange problem with our homematic installation. Sometimes it happend, that it should set the temperature to 21 but it will send 17. Most times it works properly but sometimes we came to the room and it’s cold.

See the following logs:

2020-01-25 07:30:42.629 [ome.event.ItemCommandEvent] - Item 'Versammlungsraum_Heizen' received command ON
2020-01-25 07:30:42.642 [vent.ItemStateChangedEvent] - Versammlungsraum_Heizen changed from OFF to ON
2020-01-25 07:30:42.670 [ome.event.ItemCommandEvent] - Item 'Versammlungsraum_Ventil_1_Zieltemperatur' received command 21
2020-01-25 07:30:42.675 [ome.event.ItemCommandEvent] - Item 'Versammlungsraum_Ventil_2_Zieltemperatur' received command 21
2020-01-25 07:30:42.682 [nt.ItemStatePredictedEvent] - Versammlungsraum_Ventil_1_Zieltemperatur predicted to become 17.0 °C
2020-01-25 07:30:42.686 [ome.event.ItemCommandEvent] - Item 'Versammlungsraum_Ventil_3_Zieltemperatur' received command 21
2020-01-25 07:30:42.689 [nt.ItemStatePredictedEvent] - Versammlungsraum_Ventil_2_Zieltemperatur predicted to become 17.0 °C
2020-01-25 07:30:42.692 [nt.ItemStatePredictedEvent] - Versammlungsraum_Ventil_3_Zieltemperatur predicted to become 17.0 °C

My Items:

Number:Temperature  Versammlungsraum_Zieltemperatur           "Zieltemperatur [%.1f   C]"  <temperature>  (Versammlungsraum)  { channel="homematic:HM-CC-VG-1:ccu:INT0000001:1#SET_TEMPERATURE" }
Number:Temperature  Versammlungsraum_Ventil_1_Zieltemperatur  "Zieltemperatur [%.1f °C]"  <temperature>  (Versammlungsraum,gVersammlungsraumZieltemperatur)  { channel="homematic:HM-CC-RT-DN:ccu:LEQ0861647:4#SET_TEMPERATURE", expire="5h,17" }
Number:Temperature  Versammlungsraum_Ventil_2_Zieltemperatur  "Zieltemperatur [%.1f °C]"  <temperature>  (Versammlungsraum,gVersammlungsraumZieltemperatur)  { channel="homematic:HM-CC-RT-DN:ccu:LEQ0861615:4#SET_TEMPERATURE", expire="5h,17" }
Number:Temperature  Versammlungsraum_Ventil_3_Zieltemperatur  "Zieltemperatur [%.1f °C]"  <temperature>  (Versammlungsraum,gVersammlungsraumZieltemperatur)  { channel="homematic:HM-CC-RT-DN:ccu:MEQ1556837:4#SET_TEMPERATURE", expire="5h,17" }

And the rules for setting the heater “ON”

rule "Versammlungsraum manuell heizen an"
when
  Item Versammlungsraum_Heizen received command ON
then
  logInfo("Manuell Heizen", "Versammlungsraum_Heizen received command ON")

  val set_temperature = 21

  gVersammlungsraumZieltemperatur.members.forEach [ item |
    sendCommand(item, set_temperature)
  ]
end

rule "Versammlungsraum manuell heizen aus"
when
  Item Versammlungsraum_Heizen received command OFF
then
  logInfo("Manuell Heizen", "Versammlungsraum_Heizen received command OFF")

  val set_temperature = 17

  gVersammlungsraumZieltemperatur.members.forEach [ item |
    sendCommand(item, set_temperature)
  ]
end

Any idea what went wrong?

I would remove the expire part from each item and put a timer in the rule to see if that is causing the issue.