@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]
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
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.
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.
Just installed a Hub Switch and went through the PCAP Android capture [as mentioned earlier in the thread in Dec 22) of the app connecting to the hub and did a bit of temp changing, etc, but looking at the PCAP, I see no local addresses (192.168 sort of things),. On the connections tab, I see nothing but TCP, DNS and HTTPS traffic- no HTTP and no appearance the auth text.
Have things just moved on with the HubSwitch code, such that the PCAP scheme doesnt work any more?
After a hint from @tonyroberts on the github page, I realised that I was terminating the pcap capture too soon. After making some mods on the app, it takes about 30 seconds for the change to be actioned. I’ve just repeated it and left the capture running for another minute, and I can see the HTTP accesses to the local IP address off the Hubswitch.