Drayton Wiser Home Assistant Integration

Thank you,

I enabled debug logs and will share both of these in the new github issue tomorrow.

Sorry I have given you duff info. You need to enable debug for the api not the integration to see the passive mode info.

As such, disable debug logging on the integration and make sure you have a logger entry with the api listed as debug in your configuration.yaml like below. You need to restart HA to take effect.

logger:
  default: warning
  logs:
    aioWiserHeatAPI: debug

In your logs you will then start to see these messages.

2023-11-06 08:26:14.804 DEBUG (MainThread) [aioWiserHeatAPI.helpers.automations] Heating Channel 1, Passive Rooms ['B Room', 'Landing', 'Office'], Active Rooms []

And similar when passive rooms are being controlled

The price shown to the UK does not appear to include VAT (in addition to the minimum purchase + shipping costs), so customs will need to be paid on the import (and on the postage/packing), however, if you needed a large number of these, then it could be an option.

Unfortunately, the minimum purchase, high postage and customs duties etc are related to the UK leaving the EU. If you can get it delivered to somewhere in the EU, it would cost £65.70 all in.

Thanks very much for the insights @liveware-problem !
Some new things to think about then. I think I’ll make use of passive mode and keep temperature changes in the schedule smaller so the heat pump isn’t doing so much work to keep reheating the house.
I suspect a fair amount of trial and error though.

This might be a generic slider issue - I’m seeing the same thing with media player volume controls when using mini-media-player…

It looks like there were some changes to the slider in 2023.11 and it seems like it is also causing a problem theming it with card-mod.

Yes it needs fixing in most cards as parameters have changed to show the value pin. Pretty minor change and will be in next update for schedule card.

Thanks @robertwigley for link to the PR.

@msp1974 I’m software developer and would like to contribute to project. I’ve looked on GitHub but I’m lost with frontend section. It looks like compiled and minified files. I’ve looked through Python files, but unless I’m missing something it seems frontend is not compiled from where.
Looking at other HACS projects like https://github.com/nielsfaber/scheduler-card/blob/b96a5a344e07cd8475c7e5b8f0813a4c8d80bcbd/src/components/button-group.ts it seems like they write UI in Typescript in src and compile to JS into dist - dist content seems to match frontend.

Is it intentional not to share source code for UI or just a side effect of how code is created?
Please don’t get offended, I just wanted to see if I could fix slider and potentially look at other UI component to use there instead so it works better on HA app with limited screen estate :slight_smile:

Not offended at all. The Wiser integration is on asantanga repo but i created repos for the cards on mine when i did them. No particular reason. I then compile them and place in the Wiser repo so we can distribute as part of the integration rather than people having to download them seperately.

The repo for the schedule card is.

And the repo for the zigbee card is.

AFAIK ( as yet to make changes and test), to fix the slider card, you need to amend the /src/components/variable-slider.ts file and on lines 52 and 63, change the following…

     <ha-slider
          pin
          min=${this.min}
          max=${this.max}
          step=${this.step}
          value=${this._displayedValue}
          @change=${this._updateValue}
        ></ha-slider>

to

      <ha-slider
          labeled
          min=${this.min}
          max=${this.max}
          step=${this.step}
          value=${this._displayedValue}
          @change=${this._updateValue}
        ></ha-slider>

More than happy for you to do this, test and submit a PR and look at better solutions for mobile devices. Thanks

EDIT: im not a software developer by trade, so please forgive any poorness! :grin:

2 Likes

Hi
Complete newbie here. I’ve installed HA on Raspberry Pi 3 with 64gb SanDisk Endurance card. I’ve instaled HACS and the Wiser integration, connected to the system using the secret key and I can see the default dashboard.

How can I see all the devices connected to each other, with the flow chart view and signal strength?

How are you making charts that show temperature and calls for heat? I can see in the Wiser app when a radiator is scheduled to be on, but the orange flame doesn’t show you when it’s calling for heat only when its scheduled to? Anyway, I want to be able to see when a valve is open/closed, if there is a demand for heat and the temp. Trying to debug various issue.

Also anything I should do to limit the data rate to the sd card for now, or don’t worry about it at the moment. I only want to monitor the Wiser system, I don’t want to control anything via HA at the moment, its complicated enough already.

Thanks

Hi @cosh and welcome to our integration. I don’t know if you have read through our wiki but this should give you pointers to some of your questions.

  1. Adding the zigbee network card is covered in the wiki here…
    Custom Cards · asantaga/wiserHomeAssistantPlatform Wiki · GitHub

  2. Many of the images on here showing temp, demand etc are either the history more info dialog from the climate device or custom graph cards (downloadable from HACs).

  3. There are sensors for each room that show current temp and demand (see demand as same as valve open %). Screenshot here.

Thanks for your reply, very helpful. I’ve been poking around in the charts and data since yesterday and have a better understanding now.

Is this a bug? Last night at 6pm the heating was on, we went out and via my phone in Wiser app switched to away mode to turn the heating off. I turned it on again when I returned in the evening.

In Home Assistant this morning, the hot water is shown as permanently on all night and none of the trvs are showing their target temp or call for heat. It shows Wiser Cloud disconnected at 5pm and doesn’t show it reconnected. The heat hub schedule showing as good and the radiator/water schedules worked fine this morning, they just aren’t showing in HA. Any ideas? Thanks

[edit] follow up. i’ve power cycled the hub this afternoon, nothing is showing, no schedules or temp changes. I can access wiser app fine from wifi and mobile data. nothing in home assistant is updating. any ideas what i can do?

Hi, strange you’re experiencing this as the integration is rock solid in my experience.

Have you looked at the HA logs from when it stopped working? They usually give you a clue.
Can you ping the hub from within HA Terminal?
Have you reloaded the integration?
Have you restarted HA?
Have you rebooted the HA host?
Have you reinstalled the integration?

Just a few that spring to mind. If it were me I’d do them in that order.

EDIT: is your hub on a fixed IP address? could it have changed through DHCP?

Hi, thanks for the great integration, super useful.

Trying to make use of the Passive Mode. Maybe I’m thinking of this the wrong way but I want to turn passive mode on an off in an automation, is this possible? I only want my office to be heated when I am there, and under the conditions of the passive mode - e.g. if we’re in the lounge there’s no need for the office to be heating.

Is there a way to set it in an automation? I’m not seeing it as a wiser service but didn’t know if there was a way to change a switch on a device natively?

Thanks!

Yes. Use the switch.turn_on / switch.turn_off service on the switch.wiser_[room_name]_passive_mode entity.

Ie

service: switch.turn_on
data: {}
target:
  entity_id: switch.wiser_lounge_passive_mode

What are this groups thoughts on Open Window detection in Wiser? Does anyone know what it does? If it detects a window open or draught does it close all the iTRV valves in that room? Does it indicate it has done this anywhere? How does it determine a window is open (or there is a draught)?

AFAIK, it detects a sudden drop in temp and stops the room heating. However, no idea how well it works or how it knows the window/door is closed again.

There is a parameter in the room on the hub (which is not currently available as a sensor) which shows whether window is open or not. You can see it in diagnostics, called WindowState.

Has anyone used Insights on the app recently.

I’ve tried it on two devices today.
On each, it worked ‘normally’ on the first access. After moving to another screen, then back again, I just see a blank screen.
No ‘loading insights’ message flashes up either.

I was also looking at their ‘Wiser Compatible’ IHD for Insights+.
Anyone know if that gets electricity and gas kWh data into HA?
Its a bit vague looking at other posts as to its capabilities.

I have the Wiser Insights+ IHD. It is actually a Geo Together Trio Touchbutton which sends Electricity and Gas usage to Geo, and Schneider then get the data from them. There is an additional integration that can be installed through HACS that makes your energy usage data from Geo’s API available to HA. For that alone £14.99 it is a pretty good deal. Schneider haven’t added much in the way of useful Insights, and when I asked them they said they didn’t have plans to do so. They also asked in a survey whether I’d be willing to pay a monthly subscription fee for Insights+ - not without the regular addition of useful features!

I haven’t had any issues with Insights today but I do recall something similar in the past. I may have resolved it by logging out from Wiser app, and clearing the app cache, but I don’t recall exactly.

I also have the Geo IHD. Much better than the stock one that came with the meter and AFAIK you can use mqtt with it to get the data locally. Not done this yet but have used the HACs integration and works really well.