asantaga / wiserHomeAssistantPlatform

Platform and related climate/sensors to support the Drayton Wiser Home Heating System
MIT License
238 stars 44 forks source link

3.4.10 broken Room Thermostat #517

Open kzipkzip opened 1 week ago

kzipkzip commented 1 week ago

Hi, the latest update (3.4.10) seems to have broken the room thermostat entity. Everything else appears to work but I get no temperature or humidity readings (it does still show the signal and battery status of the thermostat though).

I've rolled back to 3.4.8 for now.

msp1974 commented 1 week ago

Please provide a diagnostic file. Thx

kzipkzip commented 1 week ago

Hi, please find attached the diagnostics.

I upgraded back to 3.4.10 before saving the diagnostics, I got the same result - the temperature and humidity from the room thermostat stopped working (showing the error "Entity is non numeric").

config_entry-wiser-01J2GKABMARMXDMY03QTMPAFAX(2).json

kzipkzip commented 1 week ago

In case it helps, I rolled back to 3.4.8 again and it's back working - attached is the diagnostics with it working on 3.4.8.

config_entry-wiser-01J2GKABMARMXDMY03QTMPAFAX(3).json

msp1974 commented 1 week ago

OK, so I have a mock wiser hub server that I can run your diagnostic file through which basically makes it look like your hub and setup, allowing me to test in HA. When I did this, everything worked fine.

image

Can you maybe uninstall it and reinstall it as maybe something is corrupt.

If that doesn't work, do you see anything in the logs on 3.4.10? And give me a screenshot too

kzipkzip commented 1 week ago

This is with 3.4.8 installed, sensors are working OK.

Pasted image (2)

This is with 3.4.10 (and 3.4.11 now) installed;

Pasted image (3)

If I roll back to 3.4.8 it starts working correctly. I'll look at uninstalling and reinstalling the whole thing tomorrow and see how it goes.

kzipkzip commented 1 week ago

So, I think I've found the problem (though not the why!).

I reinstalled the Wiser HACS plugin today and it all worked perfectly... Until I enabled the Hot Water tank sensor integration. Then it broke the room thermostat.

Screenshot_20241105-092608

msp1974 commented 1 week ago

Ok, im guessing there is some error in the logs but let me test with that enabled and see what i can find. I presume your water_tank temperature sensor is working and giving valid readings? Can you look if any error in your logs? Thx

kzipkzip commented 1 week ago

Hi, yes the water_tank sensor is working ok (it's a sonoff sensor) - everything still works fine on 3.4.8

I'm still fairly new to HA, I haven't checked any logs before so I'll see what I can do! I'll upgrade to 3.4.11 and see if I can find any errors.

kzipkzip commented 1 week ago

So just now the hot water switched on (running 3.4.8 still) and this was recorded in the log:

2024-11-05 03:28:41.423 DEBUG (MainThread) [custom_components.wiser.climate] Hub update initiated by Wiser Hot Water 2024-11-05 03:28:41.425 DEBUG (MainThread) [custom_components.wiser.climate] Setting temperature for Wiser Hot Water to 58 2024-11-05 03:28:41.425 DEBUG (MainThread) [custom_components.wiser.climate] Set temperature for HVAC mode auto 2024-11-05 03:28:41.425 DEBUG (MainThread) [custom_components.wiser.climate] Setting state for Wiser Hot Water to On as current 39.7C < target 58C

So looks like it's seeing the sensor OK - I'll upgrade to 3.4.11 now and see what it says.

kzipkzip commented 1 week ago

See attached, there seems to be some errors once 3.4.11 is installed.

home-assistant_wiser_2024-11-05T11-36-01.594Z.log

msp1974 commented 1 week ago

Ah, ok I understand the issue. Ignore v3.4.10/11 for now and I'll fix in the next update.

kzipkzip commented 1 week ago

That's great, thanks for all your work on this plugin, much appreciated!