Wunda Smart Heating?

@tonyroberts This integration is amazing work, thank you. It’s working perfectly with my system.

I have a feature request; can we have a configuration interface to allow the values of the presets to be changed?

I prefer to have different presets for summer and winter. Changing them one by one for each room in the app is a laborious task. It would be so much easier to use an automation.

The URL for updating them is [hubIP]/setregister.cgi?[id]@[preset]=[temp]

Where [preset] is: t_lo, t_norm or t_hi

What are you using as the controller in home assistant? I would have thought it would be easier to set the presets there and forget about the wundasmart presets.

For example, in my set up I’m using a smart thermostat per room which looks something like this

climate:
  - platform: smart_thermostat
    name: Living Room Smart Thermostat
    unique_id: living_room_smart_thermostat
    heater: switch.living_room_heating
    target_sensor: sensor.living_room_temperature
    ac_mode: False
    kp: 75
    ki: 0.0
    kd: 250000
    keep_alive: 00:01:00
    pwm: 00:30:00
    min_cycle_duration: 00:10:00
    min_off_cycle_duration: 0:10:00
    min_temp: 7
    max_temp: 25
    away_temp: 7
    eco_temp: 17
    sleep_temp: 17
    comfort_temp: 19
    boost_temp: 21
    target_temp: 7

Once set up, the presets can be changed if needed as they’re state variables on the climate entity. The wundasmart presets are not used anywhere.

FWIW, rather than configure each room individually (there is a fair bit of boilerplate stuff) I use this GitHub - tonyroberts/ha-jinja2config: Compile Home Assistant yaml config files from jinja templates

Thanks for replying.

I don’t know what you mean by controller.

The integration gives me 1 device, which has a climate entity for each room plus sensors for each thermostat.

I can’t see any way to change the values of the presets there.

In automations, I can change which preset is currently active but I can’t change the value of it.

I already have schedules set up in the wundasmart app which use these presets.

Ah ok, I see. I’m not sure there’s a standard way to expose changing presets via the climate entity, but adding them as _temp state attributes sensors seems reasonable to me.

I will take a look when I get some time, but if you have an idea of how to do this and want to raise a PR then I will happily review that.

Thanks!
Tony

@martin16 this is done in the dev branch.

If you go into HACS and then find the Wundasmart integration, then click the three dots on the top right and do “Redownload” you’ll see a toggle to include beta releases. Select that, and then pick dev to download and install the dev version.

After you restart HA you’ll then be able to find the set preset temp service under services in the developer tools.

You’ll also find new sensors for the presets in each room. The preset names are the home assistant names mapped to wundasmarts lo/norm/hi names (reduced = lo, eco = norm, comfort = hi)

Let me know if you try this, and assuming it all works I’ll create a new release.

Thanks for that. 1 slight problem; I’m using HACS 2.0 and it doesn’t have the option for beta releases.

I’ve enabled the pre-release switch entity for the wundasmart integration and turned it on, but it doesn’t offer anything except the current release.

I’ve created a pre-release for this (v1.3.0) so you should see it now