Oh, sorry about that - yeah that’s my event-log with Z-Wave set to debug-level.
If that channel is read-only for the device then that would solve a lot of issues - there’s no way of querying the current external temperature the device stores. This would be a good fix.
I think that this channel is just being updated by the main (internal) temperature, and it shouldn’t be. I will update this so that it’s a write only channel and I think that will resolve the issue.
If anyone disagrees, please yell, otherwise I will make this update tomorrow.
I would be fine with the write-only, as said, this is how I treat this channel anyways.
One thing I can add: without the recent patch, my heater was always heating (with 8 set to 128). The internal temperature sensor would report something like 27 degrees, the temp would be set to 20, and the valve would still be open. Once the patch was in, the valve started closing. So I can’t vouch for the absolute correct behavior, bit it does roughly the right thing.
I don’t have the logs available at the moment, but if it helps I can try to dig them out later.
I played around with it a little bit yesterday. My set temperature was 22 and I changed the external temperature to 26 - the valve closed and stayed closed. I set it to 10 and it opened wide and stayed like this as well. So it seems to work - I’m just lacking any kind of long-term experience with it.
Just to add to this thread, I just implemented today similar logic (setting external temperature for a eurotronic TRV). It was all working as expected until I sent an update to the setpoint through, at which point I got:
2018-11-11 18:42:23.835 [ome.event.ItemCommandEvent] - Item ‘TV_Room_TRV_Setpoint’ received command 22
2018-11-11 18:42:23.836 [nt.ItemStatePredictedEvent] - TV_Room_TRV_Setpoint predicted to become 22
2018-11-11 18:42:23.839 [vent.ItemStateChangedEvent] - TV_Room_TRV_Setpoint changed from NULL to 22.0 °C
2018-11-11 18:42:25.467 [vent.ItemStateChangedEvent] - TV_Room_TRV_Temperature changed from NULL to 23.19 °C
2018-11-11 18:42:25.467 [vent.ItemStateChangedEvent] - TV_Room_TRV_External_Temperature changed from 22.22 °C to 23.19
Interpreting the above, when I set the setpoint, the TRV transmitted the current TRV temperature, but also changed the external temperature value to be the same as the TRV’s temperature.
This seems consistent with the reports above but in a slightly different scenario: the TRV is transmitting values for the sensor_report field which are actually for the TRV’s temperature sensor.
I think the same thing is going here @dinuk - the external temperature is being overwritten by the actual temperature reading. This seems to happen every time the temperature is being refreshed or is getting a new value, no matter what triggered that. It should be fixed when the external temperature-channel becomes read only.
I carefully studied this threat - unfortunately it is not working yet. What I did:
I am running the latest snapshot release
configuration settings of “Measured temperature offset” was changed to 128 / “External temperature sensor will be used for regulation”
I created a rule that updates the external temperature of the valve on every change of the external sensor. I can see that both values are synced correctly. Nevertheless the value has two decimal places and I am not sure if this causes the troubles.
I run a test this night - both rooms had target temperature of 18°C - in the morning I had one room with 21°C and one with 16°C
I also use the Eurotronic Spirit with external temperatures. In principle everything works, however, when I monitor the valve positions I get the impression that the Eurotronic Spirit only uses the integer values of the external temperature.
For example, when I set the target temperature to 21 °C it only starts to react once the temperature goes above 22°C.
Here is example data (target temperature 21°C):
@TobiasLemke I am not so far with my SPIRIT to judge its efficiency yet.
It is very interesting observation. This could also explain lower price of the Thermostat on the market in reference to others.
However in this thread I got an answer on how to use external temp. sensor.
I understood. if the External Temp is being provided. SPIRIT does not require any rule to steer the vale and keep the temp in the room.
Correct me if I am wrong, please.
@TobiasLemke to be frank I don’t have any monitoring set up to graph the valve positions; if true, however, that’d be a bit of an issue. Do you think it could have something to do with “Measured Temperature report”?
@wiewior the thermostat doesn’t need any rule to steer the valve in the first place if you give it target temperatures. Am I misunderstanding you?
@wiewior@Flynxify I just checked, somehow I don’t have the problem I described above anymore. I didn’t change anything in my setup so maybe it was fixed in some update of openHAB.