Drayton Wiser Home Assistant Integration

noticed this in my log today.

Logger: homeassistant.helpers.entity
Source: helpers/entity.py:590 
First occurred: 21 June 2023 at 21:37:52 (1 occurrences) 
Last logged: 21 June 2023 at 21:37:52

Updating state for sensor.wiser_itrv_lounge_1_signal (<class 'custom_components.wiser.sensor.WiserDeviceSignalSensor'>) took 0.585 seconds. Please report it to the custom integration author.

Has anyone else noticed iTRVs actuating when thereā€™s no demand for heating?
My heating is currently in away mode and thereā€™s no demand for heat registering. I occassionally hear what sounds like the TRV going through its range of motion, similar to when it is calibrated. However I have only heard this from one of the 4 TRVs that I have.

yes, IIRC itā€™s to do with stopping the valve from sticking, so they open close it to keep it free.

1 Like

Trying to narrow this down. I think that it does the valve protection exercise at 11:00 on a Saturday morning. Perhaps only once a fortnight and perhaps only for TRVs that havenā€™t moved in the last two weeks.

1 Like

Yes Iā€™ve noticed this recently also (11:00am). I raised it with their support as I wanted to know why some of my iTRVs were actuating (a full cycle) with such warm temperatures. Support confirmed after checking my hub logs that it was the valve protection feature kicking in - and it will happen every 2 weeks.

I thought this feature was optional and seem to recall seeing it as a a toggle option in the wiser app way back, but I canā€™t find it now.
Also this integration shows the valve protection feature, but shows that it is toggled ā€˜offā€™, so perhaps the hub is reporting an incorrect state for this setting to the Integration?

1 Like

That is off here also. Whilst I canā€™t be absolutely certain, not all the TRVs seem to be performing the routine. In fact it seems like only one has done so far.
In the HA integrationā€™s diagnostics, ValveProtectionEnabled is false. AIUI, this part of the diagnostic json data is as received from the hub. I also recall the valve protection option being exposed in the app. But it seems absent in recent versions.

Two of my TRVā€™s did it last weekend. One Saturday and one on Sunday, both at 1100hrs.
Valve Protection indication is also showing off on the hub HA info.

Still working on it. Iā€™ve disabled DHCP on the devolo devices and the hubR still manages to become disconnected.

Iā€™m chatting with devolo about it.

I think powerline ethernet devices are a bit crap but should work, and Iā€™l just generally all in favour of putting ethernet cables into things you care about. It just takes away a whole bunch of questions.

I might spend money on more APs/mesh kit, but I would really rather buy an ethernet hubR

I donā€™t have experience of the Devolo kit, but have used powerline to get a WiFi access point where I need it and it isnā€™t a bad method IMHO as long as you design and configure it properly.

If the PowerLine connection between PowerLine devices works at all it is very reliable in my experience. I would trust it over a wireless backhaul (so called mesh) which is subject to environmental interference (microwaves, cordless phones, baby monitors) as well as other access points (yours and your neighboursā€™). PowerLine isnā€™t subject to that sort of competition.

To get the WiFi part as reliable as possible you need to make sure the v2.4 GHz WiFi channel is 1, 6 or 11, and not overlapping with a neighbouring WiFi device. Since the hub is also a ZigBee transmitter which also uses the 2.4GHz spectrum, ensure the ZigBee channel doesnā€™t interfere with the wifi channel and vice versa. Here is a useful resource for understanding that.

You would also need to tune your channel use if using a purely WiFi system, so I would recommend to give it a try with what you have before buying new equipment.

I havenā€™t made a decision on what to do about my immersion heater yet. Iā€™m procrastinating in the hope that Schneider will release the aforementioned Immersion Switch soon. However, if it doesnā€™t make an appearance in the next few months, after speaking to my electrician (and also because I have an unused one already), I am favouring installing the Frient Smart Cable, connected inline after the dumb 13A double-pole fused switched spur my immersion heater is connected to already.

Thanks everyone for their replies regarding what they do in the Summer. Iā€™ve ended up opting for a Summer schedule and moving everything that isnā€™t in Passive Mode already into that. I will probably automate this with a Summer Mode helper and an automation to move things in and out when itā€™s toggled.

@msp1974 Passive Mode is probably a good option too. However, I am trying to keep the main rooms that are actively heated separate from the ones that are normally in Passive Mode. I might do something a bit more fancy with that for the Summer in the future. The Summer schedule seems to be working well for me though, so it might not be necessary to overcomplicate it. :slight_smile:

Turning off heating in the Summer does seem like the simplest option, but I have automations that turn the heating off and on in each room when the windows/external doors are opened and closed (using contact sensors to as the trigger), so every time a window or door was closed it was switching the heating back to itā€™s normal Winter schedule and activating the heating when not wanted.

I cant be bothered with setting up a summer schedule and moving devices into it when i can just use away mode and make sure i have hot water enabled. its just a few clicks and its done.

The trouble with that is, for me at least, as with switching the heating off as per my last post, my window and door open/closed automations automatically switch it back to Auto when the window/door is closed, which switches Away Mode off in that room and subsequently the heating can come on unintentionally.

Maybe I need to look at turning the setpoint down in each room rather than switching it off when doors/windows are opened and then back up when closed, instead of restoring itā€™s normal schedule.

Anyway, having a separate very simple Summer schedule (set to 17.5 degrees 24/7), is working well for me for now. Iā€™ve even created a Summer Mode helper and automation to automatically move the rooms between schedules when itā€™s toggled. It didnā€™t take long and is now just a flick of a switch/toggle to move between Winter and Summer (and vice-versa), just the same as toggling Away Mode on/off, forever more.

image

The automation code is below in case itā€™s helpful to anyone.

# Wiser Summer mode control
- id: 549415A9-9DCA-4AB1-A983-B7EC59900071
  alias: "Wiser: Summer mode control"
  mode: queued
  trigger:
    # Summer Mode On
    - platform: state
      entity_id: input_boolean.wiser_summer_mode
      from: 'off'
      to: 'on'
      id: summer_mode_on
    # Summer Mode Off
    - platform: state
      entity_id: input_boolean.wiser_summer_mode
      from: 'on'
      to: 'off'
      id: summer_mode_off
  action:
    - if:
        # Check Wiser Hub is not offline
        - condition: state
          entity_id: binary_sensor.wiser_hub_status
          state: 'on'
      then:
        # Wait for Wiser Hub to come back online
        - wait_for_trigger:
            - platform: state
              entity_id: binary_sensor.wiser_hub_status
              to: 'off'
    - choose:
        # Summer Mode On
        - conditions:
            - condition: trigger
              id: summer_mode_on
          sequence:
            - service: wiser.assign_schedule
              data:
                schedule_name: Summer
                to_entity_id:
                  - climate.hallway_climate
                  - climate.living_room_climate
                  - climate.kitchen_climate
                  - climate.utility_room_climate
                  - climate.bedroom_climate
                  - climate.office_climate
        # Summer Mode Off
        - conditions:
            - condition: trigger
              id: summer_mode_off
          sequence:
            - service: wiser.assign_schedule
              data:
                schedule_name: Main Rooms
                to_entity_id:
                  - climate.hallway_climate
                  - climate.kitchen_climate
            - service: wiser.assign_schedule
              data:
                schedule_name: Living Room
                to_entity_id: climate.living_room_climate
            - service: wiser.assign_schedule
              data:
                schedule_name: Utility Room
                to_entity_id: climate.utility_room_climate
            - service: wiser.assign_schedule
              data:
                schedule_name: Bedrooms
                to_entity_id: climate.bedroom_climate
            - service: wiser.assign_schedule
              data:
                schedule_name: Office
                to_entity_id: climate.office_climate
2 Likes

too bad, because managing energy is possible with the gen 2 hub, which has also introduced a concept of summer monitoring acting on the shutters when the outside and inside temperatures exceed a thresholdā€¦ But in UK you donā€™t have hub v2 or shutter controls.
Sorry :disappointed_relieved:

Maybe they will release both the Gen2 Hub and the Immersion Switch in the UK soon. Hereā€™s hoping, but I wonā€™t hold my breath. Out of interest, does the Gen2 Hub have an ethernet port?

Hub Gen2 has no ethernet port, but it has also less wifi issue than gen1. I have them on the same table and the gen2 is more reliable.

Do other wifi clients have the same problem when connected over the devolo wifi bridge?

I was able to join Wiser smart plugs to my non-Wiser ZigBee network, and access all the sensors and controls. It may be that other products from the Wiser range can also be managed by Home Assistant.

And since we have this integration, we have a lot more options for what we can automate (anything ZHA or Zigbee2MQTT is compatible with) than with Wiser alone. I donā€™t need to replace my Gen1 hub till it dies.

Thatā€™s two days in a row now that my office iTRV has done this at 11 AM. According to Wiser support, the valve protection function should only run once a fortnight, so Iā€™ll have to raise another ticket with them to get them to investigate. Itā€™s going to go through batteries if it keeps doing this.
@msp1974 - Any idea whatā€™s going on with the integration and the toggle which shows that this feature is turned off? Is it getting an incorrect status from the Hub? With the official Wiser app no longer having this toggle, I assume it is a permanently ā€˜ONā€™ feature that can no longer be toggled.