Drayton Wiser Home Assistant Integration

Ok all, v3.2 has now been officially released. All issues reported from the beta have been fixed and I think it is now a stable version.

Also new to this version (on top of all the async rewrite and perf improvements) is the following:

4 Likes

Good job Mark :wink:

Hi, thanks for this incredible work!

I just installed the new version 3.2.0 but the integration won’t charge.
I have this in the logs, Can you help me thanks ? :

Logger: homeassistant.util.package
Source: util/package.py:98
First occurred: 19:30:10 (3 occurrences)
Last logged: 19:30:12

Unable to install package aioWiserHeatAPI==0.1.6: WARNING: Ignoring invalid distribution -wesomeversion (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -ttpx (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -omeassistant (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -ip (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -equests (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -arl (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -wesomeversion (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -ttpx (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -omeassistant (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -ip (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -equests (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -arl (/opt/homeassistant/lib/python3.9/site-packages) ERROR: Ignored the following versions that require a different python version: 0.1.1 Requires-Python >=3.10; 0.1.2 Requires-Python >=3.10; 0.1.3 Requires-Python >=3.10; 0.1.4 Requires-Python >=3.10; 0.1.5 Requires-Python >=3.10; 0.1.6 Requires-Python >=3.10 ERROR: Could not find a version that satisfies the requirement aioWiserHeatAPI==0.1.6 (from versions: none) ERROR: No matching distribution found for aioWiserHeatAPI==0.1.6 WARNING: Ignoring invalid distribution -wesomeversion (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -ttpx (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -omeassistant (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -ip (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -equests (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -arl (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -wesomeversion (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -ttpx (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -omeassistant (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -ip (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -equests (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -arl (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -wesomeversion (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -ttpx (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -omeassistant (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -ip (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -equests (/opt/homeassistant/lib/python3.9/site-packages) WARNING: Ignoring invalid distribution -arl (/opt/homeassistant/lib/python3.9/site-packages)

It looks like you are running python 3.9 and this requires python 3.10 and min HA 2022.9 (which I also thought needed python 3.10).

How are you running HA and what version are you on?

You’re right, i was on python3.9 and HASS worked.
So I upgrade to 3.10 and everything is just better, so thank you so much!

And thank you again so musch for your wiser integretion <3

i get the following errors after the update to 3.2 (i was on 3.x before that so it isn’t an update from 2 to 3)

any idea where i can start investigating?
The first errors has the following details:

Error setting up entry WiserHeat03BC99 for wiser

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 365, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/wiser/__init__.py", line 60, in async_setup_entry
    await async_update_device_registry(hass, config_entry)
  File "/config/custom_components/wiser/__init__.py", line 80, in async_update_device_registry
    (CONNECTION_NETWORK_MAC, data.wiserhub.system.network.mac_address)
AttributeError: 'NoneType' object has no attribute 'network'

I got the same error when I updated to 3.2.0 from 3.1.7beta4. At the same time, accessing the hub in my browser did not give the usual ‘unauthorised’ message. I power cycled the hub, restarted HA, downgraded and upgraded the integration and the problem went away. I think the power cycle was what fixed it.

thanks for your reply. power cycle did not fix it but i removed and reinstalled the wiser integration and that seems to have solved it. still would be interesting what caused the issue

1 Like

How can I find my Python version?
There use to be an info screen somewhere in HA but can no longer find it!
Have tried python —version but get the following response bash: python: command not found

Had my first drop in 6 days since upgrading from 3.1.7.
Will keep my eye on it.

Quick Q to all. Are quite a few people still running python3.9? I have checked and HA does actually still support this but I think HAOS and docker images are 3.10.

If so, we can adjust to make python3.9 compatible if needed.

Go into Repairs and click 3 dots - system information. I know right!!

Thank you. Nice and easy to find!

Running 3.10.5 python here.

Had a couple of drop outs in last days, since upgrading to 3.2.0 but also had WiFi issues so waiting to see if things calm down.

We are pushing out a build to a small amount of people now to hopefully help resolve the wifi dropouts. We are definitely progressing and I’ll keep you all up to date.

8 Likes

This isn’t really a question about this integration, but I noticed in my Living Room that sometimes only one radiator comes on. Is this to be expected with the Wiser system, or should all radiators in a single Wiser room come on at the same time?

Do you also have a room thermostat in the same room as the two iTRVs?

Yes. That room has my Wiser Room Thermostat, as well as the iTRVs.

I’d like to take a stab at an automation. I am an HA noob in this respect and just started reading the docs. ‘Someone’ has a habit of multi boosting certain TRVs. I’d like to cap the temp without resorting to locking out the TRV completely.
Is it feasible, with this integration, to create an automation that’s triggered/detects boosted TRVs and, if the target temp exceeds a value, reduce the boost temperature for that TRV?
Alternatively, is it possible to specify a system wide maximum target temperature?

@jamiebennett I’ve been ping monitoring my hub for the past couple of weeks. I only have the Wiser 2 channel hub plus a room thermostat configured so far, and haven’t setup any TRV’s or this HA integration yet.
My BT Smart hub 2 router was set to Auto channel for 2.4GHz, and I would get an unresponsive hub (unresponsive to ping at least) at least once a day, normally lasting anything up to around 3 minutes.

This was with no TRV’s polling, or HA integration polling involved.

Since switching to channel 6 on my router instead of Auto, I haven’t had a single ping failure for the past 5 days now. This can’t be coincidence, so does this align with other findings? This is a basic flat network with no mesh involved, combination of 2.4GHz and 5GHz devices all connected to the router.

1 Like