Drayton Wiser Home Assistant Integration

Awesome. Thank you very much for your help!

I usually fix IP addresses (albeit I have an extra router attached to my Virgin Hub to do that) but I’d obviously forgotten to create one for the HeatHub and it HAD changed. Looked up the file you’ve pointed me at, forced the router to change the IP back, and it’s all up and running again.

Thanks again!!

1 Like

Awesome… I need to get a new router to front end my crappy VM3 hub… its crappy… :slight_smile:

Hi

What sensor do you monitor to get “ the heating on today” time value.

I’m not using Node-Red just a direct integration in HA

Use history_stats and reference the area state value. I have written all my interface in node red, so your text via the wiser add-on may differ from mine.

  - platform: history_stats
    name: Guest Bedroom Heating On Today
    entity_id: sensor.guest_bedroom_state
    state: 'On'
    type: time
    start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
    end: '{{ now() }}'
2 Likes

Hi all,

Does anyone know if the boost remaining time can be shown in the intergration?

Also is there anyway to view the time the heating has been on for each room like what Lev has achieved using node red? When I look at the entities none of them seem to include this data unless it is the “control_output_state”

Thanks

For #1 : Boost Time remaining : No, I don’t think I saw that in the data from the hub, but I’ll check later. If boosted from HA you could set a variable to when the boost was initiated and then do a count down…

For #2 : Alas I dont use nodered :frowning:

  1. The boost remaining time is definitely there as it was available in the OpenHab binding for Wiser.

  2. nodered isn’t required to obtain the individual room “control_output_state” This value is available to view if you query the “climate.wiser_xxxxx” state from the developers menu in HA. I just want to be able to use this state change from Off to On so I can try and log heating on duration for each room visually and/or export the data in to Grafana so any help doing this would be appreciated

I didnt get a chance to look at this last night, but if the value is there then we can add it to the climate device (easily).

Please open an issue and I’ll try and implement it this weekend.

Done.

With regards to point 2 can you please also add the facility that you know when each room is requesting heat.
This is also available in OpenHAB, I think it’s linked to the control_output_state

This is half implemented, the in the climate devices the icons change if the TRV is demanding heat . This is done with line 323 in climate.py. All I need to do is add the control output state to the attributes in state attributes on line 461…

I’ve noticed that now I cannot control the Hot Water from HA. It will tell me if the hot water is on or not, but wont allow to me change it.

Hi,

I setup my recipes and have an entity card so I can read heating times per day/week/30 days but can’t get the results to display in grafana.

I have other values working in grafana for temperature etc but can someone point me in the right direction to map the heating on values in grafana.

What values should I be using as the sensor.heating_landing_heating_today isn’t appearing in the select measurement field

please log an issue on the github project, I plan to work on these sunday

1 Like

‘What values should I be using as the sensor.heating_landing_heating_today isn’t appearing in the select measurement field’
I think you need to create a template sensor based on the wiser sensors…

Is there any update on implementing the boost time remaining?

“If boosted from HA you could set a variable to when the boost was initiated and then do a count down”

How would I do that?

How can I create a card in Lovelace that allows me to boost the heating for each room and cancel it? I added this button which works, but not sure how to get cancel to work.

type: button
tap_action:
  action: call-service
  service: wiser.boost_heating
  service_data:
    time_period: 60
    temperature_delta: 2
    entity_id: climate.wiser_downstairs
hold_action:
  action: more-info
show_icon: true
show_name: true
show_state: false
entity: climate.wiser_downstairs
name: Boost Downstairs Heating

Hi there.

I’ve raised an issue on the repository but thought I would post here as well, in case someone has experienced a similar / same problem.

My WIser integration has been working fine for months but now all the sensors (cloud status, TRV battery levels etc…) are showing as unavailable. Connection to the Hub seems fine - can set temps / see temps / trigger boost / away mode etc…(i.e. all climate domain entities are fine) but getting nothing from the sensors, just unavailable.

Logs on HA startup show…

Logger: homeassistant.components.sensor
Source: custom_components/wiser/sensor.py:338
Integration: Sensor (documentation, issues)
First occurred: 23:49:08 (1 occurrences)
Last logged: 23:49:08

Error while setting up wiser platform for sensor

Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 193, in _async_setup_platform await asyncio.shield(task) File “/config/custom_components/wiser/sensor.py”, line 44, in async_setup_entry WiserDeviceSensor( File “/config/custom_components/wiser/sensor.py”, line 274, in init self._device_name = self.get_device_name() File “/config/custom_components/wiser/sensor.py”, line 338, in get_device_name + self.data.wiserhub.getDeviceRoom(self._deviceId)[“roomName”] File “/usr/local/lib/python3.8/site-packages/wiserHeatingAPI/wiserHub.py”, line 352, in getDeviceRoom return self.device2roomMap[deviceId] KeyError: 1

I’m on Home Assistant 0.116.4, Wiser integration 2.3 installed through HACS. Like I say, all working fine till a few days ago. I;ve tried rolling back version of Wiser but still there. It may be related to upgrading HA to .116 but can’t be sure. Also, added some new TRVs / rooms to the Wiser system today, all good and appeared in HA but it was about that time sensors all became unavailable.

Any help or pointers would be appreciated.

Thank you!

Hey ,

Sorry for the radio silence, we just (15days ago) had our second child and things are a little busy :slight_smile:

That said I was looking at the project and trying to work out what to do with it…

Ive just upgraded my HA from (very old) to latest HA ( 0.116.4) and restarted and all is still working well…

I wonder if it is a different, more networking error?
The app on my phone is saying 3.11.0, I will check the hub later

Seems like this is the best thread - I have just installed it via hacs - the current offered beta - my entities didnt refresh at alll after adding new devices - it also seems like I dont have any sensors that eg actually show me the set/measured temperature

Did I miss anything?

@Angelo_Santagata Congrats!!! hope you will get some sleep :slight_smile:

edit: they have just come all alive - I guess it takes some time for all entities to be created

Im surprised… they should have come “alive” immediately but ho hum…

Sleep is “ok”, alas its been a rocky 2 months and given it was summer Ive not been looking at “heating” software :slight_smile:

1 Like