WThermostatBeca icon indicating copy to clipboard operation
WThermostatBeca copied to clipboard

targetTemperature set by the software is not saved after shutdown power 220V

Open YuriT1 opened this issue 4 years ago • 8 comments

Hello! In firmware (1.18): after disconnecting the device from the power supply 220V (OFF) , and ==> turning on the power 220V (ON), targetTemperature = the last target temperature set on the device, but not programmatically set (for example, on the device we set the temperature 20 degrees with our hands. Then we send it to the mqtt topic == >> targetTemperature = 25. The topic publishes targetTemperature = 25. Disconnect the thermostat from 220V power == >> Next, connect the thermostat to 220V power. The topic publishes targetTemperature = 20 !!!) Will this issue be resolved in the next firmware?

YuriT1 avatar Oct 28 '20 19:10 YuriT1

+1

pashok2398 avatar Jan 06 '21 21:01 pashok2398

Yes, would be nice to have.

For me it seems to be an extra feature just for the BHT-002 series. My BHT-002GALW also looses its settings in the thermostate itself. Even a brand new one. From the original manual I would read that the settings are stored - in the cloud. They say that settings get restored - if you connect the device to the cloud.

This is what I do currently. If the settings don't match whith my FHEM I do an update via mqtt. I haven't tried publishing as retained data yet - maybe this could also be a solution ?

My Tuya X7H thermostate stores its settings also on a power cycle.

Best regards

bmw-biker avatar Jan 21 '21 18:01 bmw-biker

Checked with my devices. It seems a special disadvantage of BHT-002 device. My other device (ME102H) stores the changed values via MQTT:

Description of bug: All changes at parameters that were modified over Wifi and not on the device itself are lost after power interruption, e.g. deviceOn, targetTemperature or schedules. If you change it on the device, all changes are stored at power loss.

This is really annoying because the Wifi has not enough memory to store all parameters twice. At the moment there is no good solution for this problem.

klausahrenberg avatar Jan 23 '21 17:01 klausahrenberg

@klausahrenberg is it possible to disable the schedule to free up the memory for the state?

pashok2398 avatar Jan 23 '21 20:01 pashok2398

Ok, here we go. I still have an inner resistance to solve a device bug... I also own a BHT-002, I have not so much power interruptions, but anyhow - this behavior of device is not acceptable for me also. In version 1.20j I did a ugly implementation to solve this issue. I ask everyone to test, if this works. At the moment only property 'deviceOn' is modified for testing. Please test the solution:

  • switch the device on or off via MQTT
  • Interrupt the power supply
  • Switch power supply on: The thermostat should go in the On/Off State that you selected before via MQTT

Any confirmation that this solution in v1.20j works is welcome. Then I will proceed for other properties (targetTemperature, schedules, ...) and will do this in a more clean coding style.

klausahrenberg avatar Jan 24 '21 20:01 klausahrenberg

Hi, it seems that deviceOn state is not saved. I have turned off BHT-002 via MQTT, cut off power and when the power was restored the thermostat switched on.

wongcz avatar Feb 01 '21 16:02 wongcz

Hi, I'm testing BHT-002 with v1.20 and its works fine.

hartmut58 avatar Apr 05 '21 15:04 hartmut58

Hello! Good job! But targetTemperature still not saved after shutdown.

Vadim1623 avatar Sep 05 '23 19:09 Vadim1623