Bigjet
(Simon Wilkinson)
November 14, 2023, 12:07pm
63
Thanks @tonyroberts .
One other question, I use a Wundasmart screen less thermostat next to my cylinder with a temperature probe, similar to wet underfloor heating. The idea being I get a rough idea of what my stored water temperature is. Now this does not expose through the Wundasmart app unless I go to radio devices for a zone, I have set up as hot water temperature that actually controls nothing.
While the air temperature is exposed in the integration, the external
Sensor temperature does not seem to be ? Is there a way of capturing this data ?
tonyroberts
(Tony Roberts)
November 14, 2023, 12:38pm
64
Bigjet:
uestion, I use a Wundasmart screen less thermostat next to my cylinder with a temperature probe, similar to wet underfloor heating. The idea being I get a rough idea of what my stored water temperature is. Now this does not expose through the Wundasmart app unless I go to radio devices for a zone, I have set up as hot water temperature that actually controls nothing.
While the air temperature is exposed in the integration, the external
Sensor temperature does not seem to be ? Is there a way of capturing this da
Is the problem that the thermostat is not associated with a room?
I don’t have anything like that set up so I’m not able to test, but probably that data is returned by the syncvalues.cgi endpoint.
You could probably expose these room-less sensors as sensors in home assistant. The code for the room and trv sensors is here hawundasmart/custom_components/wundasmart/sensor.py at 2545a0187bbf5eaf84315023ab26b6dd64903eec · tonyroberts/hawundasmart · GitHub
If you have any success adding these new sensors, please feel free to raise a PR and please add test cases to the tests folder.
[edit] I also don’t have any external underfloor sensors to test. I expect the external temp is also somewhere in the state returned by syncvalues.cgi, and so to get that it should just be a case of adding a new sensor definition to the file linked above if you can determine which key in the state dict to use.
[edit2] temp_ext seems like it would be good bet
tonyroberts
(Tony Roberts)
November 14, 2023, 1:26pm
65
pink88:
I have forked your repo and added in preset_modes, so you can set temp to the Reduced, Eco, Comfort settings provided within the wunda app. Okay if I PR?
@pink88 I’ve added support for this into my fork. Turned out a little different from your implementation, but seems to be working ok
tonyroberts
(Tony Roberts)
November 14, 2023, 3:21pm
66
@bigjet this was a fairly simple change to add temp_ext as a new sensor so I’ve gone ahead and done it. I’ve not been able to test it properly though since I don’t have an external sensor. If you fetch the latest you can try it out and see if it works for you, you should see a new external probe sensor entity if it’s worked.
Bigjet
(Simon Wilkinson)
November 14, 2023, 8:06pm
67
I’ll have a go and see if it works as soon as I’m home and report back. Thanks so much.
1 Like
lukaszf
(LukaszF)
January 15, 2024, 11:32am
68
I was able to get initial integration working, but integration only provides one device - Water Heater (which I dont even use) - and I have few Room Thermostats and 4 heating connection boxes. Can you please help me troubleshoot?
@tonyroberts have you ever seen this type of issue?
tonyroberts
(Tony Roberts)
January 17, 2024, 12:53pm
69
There should only be one device, the hub switch. Everything else should appear as entities under that device. What version of the integration are you using?
lukaszf
(LukaszF)
January 18, 2024, 8:52am
70
I only have water heater entity in Smart HubSwitch → Hubsmart → Entity of Water Heater.
Integration is 1.1 version.
Any ideas ?
tonyroberts
(Tony Roberts)
January 18, 2024, 11:40am
71
Have you set the rooms up in the WundaSmart app? You need to have everything set up in wundasmart first (thermostats and valves paired to rooms etc), and the the integration should find those rooms and let you control them.
If you have already done that and everything is working well in the wundasmart app, the next thing I would try is calling the API directly and checking the output. If you post it here I can see if there’s anything I can spot.
You can send a GET request using curl to http://{wunda_ip}/syncvalues.cgi (with the ip address of your hub and your username and password). Each line starts with an id, and ids between 121 and 150 should be your rooms.
lukaszf
(LukaszF)
January 18, 2024, 1:03pm
72
Rooms have to be exact match between HA and WSmart ? If so, I would have to double check, once they are, should I reinstall whole integration or just refresh?
lukaszf
(LukaszF)
January 18, 2024, 1:06pm
73
[quote=“tonyroberts, post:71, topic:356842”]
http://{wunda_ip}/syncvalues.cgi
[/quote0;1705583175;rtc_calib_en:0;rtc_correction:-18.86;device_sn:20016419343136303136510900300021;device_id:2266;device_name:DOM;device_location:;device_type:wunda;device_soft_version:1.0.5.40;device_hard_version:2.0;auth_root:cm9vdDo5MXVrd3ZnZW5x;auth_admin:YWRtaW46bXIxZW50bmdvMA%3D%3D;auth_user:dXNlcjp5cDY2dTFhcGl6;accesslevel:0;datetime:1705583175;localtimezone:CET-1CEST%2CM3.5.0%2F2%2CM10.5.0%2F3;eth_mac:9C431E8005AB;eth_ip:192.168.0.129;eth_mask:255.255.252.0;eth_gate:192.168.0.254;eth_dns:8.8.8.8;eth_dns_timeout:1500;eth_dhcp:1;eth_ip_ro:192.168.1.14;eth_mask_ro:255.255.255.0;eth_gate_ro:192.168.1.1;eth_dns_ro:192.168.1.1;eth_iface:1;remote_server_status:3;rf_channel:0;rf_band:1;rf_power:3;rf_update:0;rf_offset:0;rf_status:0;log:0;opt:0;power_state:1;trv_calib_day:7;trv_calib_hour:12;trv_mode:0;wnd_time:20;wnd_hist:1.00;wnd_cfg:0;loc_time_exp:1209600;relays:0;irel:0;pic:1;mode:1;mode_state:1;holiday_en:0;holiday_start:0;holiday_stop:0;zaw4d_tzad:42;pump_ton:2;pump_toff:0;hw_mode:2;hw_mode_state:0;hw_boost_state:0;hw_prog:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000;hw_sp:45;hw_hist:5;hw_ext_temp:0;alarm_ipconflict:0;alarm_sdcard:0;room_hist:0.40;es_rooms:2815;es_max_time:180;temp_no_frost:7.00;setup:1;hw_app_cfg:0;hw_ntime:0;sq_total:621025;sq_cd:325;sq_pd:594;
1;1705583161;s:1;t:BT5;v:1.5;temp:20.95;rh:41.82;temp_ext:;ext:0;bat:80;sig:85;alarm:0;
2;1705583163;s:1;t:BT5;v:1.5;temp:22.27;rh:38.68;temp_ext:;ext:0;bat:75;sig:37;alarm:0;
3;1705583163;s:1;t:BT5;v:1.5;temp:22.34;rh:38.48;temp_ext:;ext:0;bat:60;sig:62;alarm:0;
4;1705583164;s:1;t:BT5;v:1.5;temp:22.42;rh:37.20;temp_ext:;ext:0;bat:100;sig:92;alarm:0;
5;1705583166;s:1;t:BT5;v:1.5;temp:20.93;rh:41.06;temp_ext:;ext:0;bat:71;sig:62;alarm:0;
6;1705583166;s:1;t:BT5;v:1.5;temp:21.06;rh:47.19;temp_ext:;ext:0;bat:73;sig:22;alarm:0;
7;1705583167;s:1;t:BT5;v:1.5;temp:20.53;rh:41.71;temp_ext:;ext:0;bat:79;sig:48;alarm:0;
8;1705583168;s:1;t:BT5;v:1.5;temp:21.60;rh:41.58;temp_ext:;ext:0;bat:77;sig:74;alarm:0;
9;0;s:0;
10;1705583170;s:1;t:BT5;v:1.5;temp:22.19;rh:39.36;temp_ext:;ext:0;bat:33;sig:81;alarm:1;
11;0;s:0;
12;1705583172;s:1;t:BT5;v:1.5;temp:20.82;rh:43.18;temp_ext:;ext:0;bat:52;sig:70;alarm:0;
13;0;s:0;
14;0;s:0;
15;0;s:0;
16;0;s:0;
17;0;s:0;
18;0;s:0;
19;0;s:0;
20;0;s:0;
21;0;s:0;
22;0;s:0;
23;0;s:0;
24;0;s:0;
25;0;s:0;
26;0;s:0;
27;0;s:0;
28;0;s:0;
29;0;s:0;
30;0;s:0;
31;0;s:0;
32;0;s:0;
33;0;s:0;
34;0;s:0;
35;0;s:0;
36;0;s:0;
37;0;s:0;
38;0;s:0;
39;0;s:0;
40;0;s:0;
41;0;s:0;
42;0;s:0;
43;0;s:0;
44;0;s:0;
45;0;s:0;
46;0;s:0;
47;0;s:0;
48;0;s:0;
49;0;s:0;
50;0;s:0;
51;0;s:0;
52;0;s:0;
53;0;s:0;
54;0;s:0;
55;0;s:0;
56;0;s:0;
57;0;s:0;
58;0;s:0;
59;0;s:0;
60;0;s:0;
61;0;s:0;
62;0;s:0;
63;0;s:0;
64;0;s:0;
65;0;s:0;
66;0;s:0;
67;0;s:0;
68;0;s:0;
69;0;s:0;
70;0;s:0;
71;0;s:0;
72;0;s:0;
73;0;s:0;
74;0;s:0;
75;0;s:0;
76;0;s:0;
77;0;s:0;
78;0;s:0;
79;0;s:0;
80;1705583120;s:1;t:HB3;v:1.1;name:Listwa%20D%C3%B3%C5%82%203%20dro%C5%BCny;outs:2048;in:0;4d_en:1;4d_temp:28.40;4d_pos:100;4d_time:100;4d_hist:1;4d_mpos:50;4d_p:0.50;4d_i:30;bat:100;sig:48;alarm:0;
81;1705583121;s:1;t:HB3;v:1.1;name:Listwa%20D%C3%B3%C5%82;outs:4095;in:0;4d_en:0;4d_temp:;4d_pos:0;4d_time:100;4d_hist:1;4d_mpos:50;4d_p:0.50;4d_i:30;bat:100;sig:70;alarm:0;
82;1705583122;s:1;t:HB3;v:1.1;name:Listwa%20G%C3%B3ra%20Schowek;outs:0;in:0;4d_en:0;4d_temp:;4d_pos:0;4d_time:100;4d_hist:1;4d_mpos:50;4d_p:0.50;4d_i:30;bat:100;sig:59;alarm:0;
83;1705583123;s:1;t:HB3;v:1.2;name:3D%20schowek%20G%C3%B3ra;outs:0;in:0;4d_en:1;4d_temp:21.60;4d_pos:0;4d_time:100;4d_hist:1;4d_mpos:50;4d_p:0.50;4d_i:30;bat:100;sig:88;alarm:0;
84;0;s:0;
100;1705583175;t_lo:19.00;t_norm:20.00;t_hi:21.50;heat:7;temp_pre:32;prg:3;lock:0;temp:21.50;ntemp:20.00;ntime:1705608000;es_avgtime:255;relays:0;irel:0;hb0:268371968;hb1:0;enable:0;tmax:27;tmaxh:5;settime:7200;pic:10;loc_in:1;loc_out:3;ac_enable:0;ac_type:1;ac_mode:0;ac_fan:0;ac_swing_lr:0;ac_swing_ud:0;alarm:0;name:Salon;tbl:aaaaaaffffffffffffffafaaaaaaaaffffffffffffffafaaaaaaaaffffffffffffffafaaaaaaaaffffffffffffffafaaaaaaaaffffffffffffffafaaaaaaaaffffffffffffffafaaaaaaaaffffffffffffffafaa;
101;1705583175;t_lo:19.00;t_norm:20.00;t_hi:21.40;heat:4;temp_pre:0;prg:3;lock:0;temp:21.40;ntemp:20.00;ntime:1705615200;es_avgtime:107;relays:0;irel:0;hb0:3;hb1:0;enable:1;tmax:27;tmaxh:5;settime:7200;pic:12;loc_in:1;loc_out:3;ac_enable:0;ac_type:1;ac_mode:0;ac_fan:0;ac_swing_lr:0;ac_swing_ud:0;alarm:0;name:Biuro;tbl:aaaaaaffffffffffffffffafaaaaaaffffffffffffffffafaaaaaaffffffffffffffffafaaaaaaffffffffffffffffafaaaaaaffffffffffffffffafaaaaaaffffffffffffffffafaaaaaaffffffffffffffffaf;
102;1705583175;t_lo:19.00;t_norm:20.00;t_hi:22.00;heat:4;temp_pre:0;prg:3;lock:0;temp:22.00;ntemp:20.00;ntime:1705615200;es_avgtime:245;relays:0;irel:0;hb0:60;hb1:0;enable:2;tmax:27;tmaxh:5;settime:7200;pic:20;loc_in:1;loc_out:3;ac_enable:0;ac_type:1;ac_mode:0;ac_fan:0;ac_swing_lr:0;ac_swing_ud:0;alarm:0;name:Kino;tbl:aaaaaaffffffffffffffffafaaaaaaffffffffffffffffafaaaaaaffffffffffffffffafaaaaaaffffffffffffffffafaaaaaaffffffffffffffffafaaaaaaffffffffffffffffafaaaaaaffffffffffffffffaf;
103;1705583175;t_lo:19.00;t_norm:20.00;t_hi:20.50;heat:4;temp_pre:0;prg:3;lock:0;temp:20.50;ntemp:20.00;ntime:1705615200;es_avgtime:129;relays:0;irel:0;hb0:64;hb1:0;enable:3;tmax:27;tmaxh:5;settime:7200;pic:1;loc_in:1;loc_out:3;ac_enable:0;ac_type:1;ac_mode:0;ac_fan:0;ac_swing_lr:0;ac_swing_ud:0;alarm:0;name:Go%C5%9Bcinny;tbl:aaaaaaffffffffffffffffafaaaaaaffffffffffffffffafaaaaaaffffffffffffffffafaaaaaaffffffffffffffffafaaaaaaffffffffffffffffafaaaaaaffffffffffffffffafaaaaaaffffffffffffffffaf;
104;1705583175;t_lo:19.00;t_norm:20.00;t_hi:21.00;heat:4;temp_pre:0;prg:2;lock:0;temp:20.00;ntemp:21.00;ntime:1705600800;es_avgtime:237;relays:0;irel:0;hb0:0;hb1:134217759;enable:6;tmax:27;tmaxh:5;settime:7200;pic:9;loc_in:1;loc_out:3;ac_enable:0;ac_type:1;ac_mode:0;ac_fan:0;ac_swing_lr:0;ac_swing_ud:0;alarm:0;name:Stefana;tbl:ffffffffaaaaaaaaaafaffffffffffffaaaaaaaaaafaffffffffffffaaaaaaaaaafaffffffffffffaaaaaaaaaafaffffffffffffaaaaaaaaaafaffffffffffffaaaaaaaaaafaffffffffffffaaaaaaaaaafaffff;
105;1705583175;t_lo:20.00;t_norm:20.20;t_hi:21.00;heat:4;temp_pre:0;prg:2;lock:0;temp:20.20;ntemp:21.00;ntime:1705600800;es_avgtime:126;relays:0;irel:0;hb0:0;hb1:134217760;enable:7;tmax:27;tmaxh:5;settime:7200;pic:6;loc_in:1;loc_out:3;ac_enable:0;ac_type:1;ac_mode:0;ac_fan:0;ac_swing_lr:0;ac_swing_ud:0;alarm:0;name:Stefana%20%C5%81azienka;tbl:555555ffffafaaaaaafaaf55555555ffffafaaaaaafaaf55555555ffffafaaaaaafaaf55555555ffffafaaaaaafaaf55555555ffffafaaaaaafaaf55555555ffffafaaaaaafaaf55555555ffffafaaaaaafaaf55;
106;1705583175;t_lo:17.00;t_norm:20.00;t_hi:20.50;heat:4;temp_pre:0;prg:2;lock:0;temp:20.00;ntemp:20.50;ntime:1705636800;es_avgtime:64;relays:0;irel:0;hb0:0;hb1:25165824;enable:9;tmax:27;tmaxh:5;settime:7200;pic:1;loc_in:1;loc_out:3;ac_enable:0;ac_type:1;ac_mode:0;ac_fan:0;ac_swing_lr:0;ac_swing_ud:0;alarm:0;name:Sypialnia%20i%20Garderoba;tbl:aaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaa;
107;1705583175;t_lo:19.00;t_norm:20.20;t_hi:21.00;heat:4;temp_pre:0;prg:2;lock:0;temp:20.20;ntemp:21.00;ntime:1705636800;es_avgtime:165;relays:0;irel:0;hb0:0;hb1:6291456;enable:8;tmax:27;tmaxh:5;settime:7200;pic:6;loc_in:1;loc_out:3;ac_enable:0;ac_type:1;ac_mode:0;ac_fan:0;ac_swing_lr:0;ac_swing_ud:0;alarm:0;name:Sypialnia%20%C5%81azienka;tbl:aaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaa;
108;1705583175;enable:255;
109;1705583175;t_lo:17.00;t_norm:19.00;t_hi:20.50;heat:4;temp_pre:0;prg:2;lock:0;temp:19.00;ntemp:-1.00;ntime:0;es_avgtime:160;relays:0;irel:0;hb0:0;hb1:2031616;enable:10;tmax:27;tmaxh:5;settime:7200;pic:1;loc_in:1;loc_out:3;ac_enable:0;ac_type:1;ac_mode:0;ac_fan:0;ac_swing_lr:0;ac_swing_ud:0;alarm:0;name:Antresola;tbl:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;
110;1705583175;t_lo:17.00;t_norm:19.00;t_hi:21.00;heat:0;temp_pre:0;prg:2;lock:0;temp:19.00;ntemp:21.00;ntime:1705636800;es_avgtime:0;relays:0;irel:0;hb0:12584960;hb1:0;enable:5;tmax:27;tmaxh:5;settime:7200;pic:1;loc_in:1;loc_out:3;ac_enable:0;ac_type:1;ac_mode:0;ac_fan:0;ac_swing_lr:0;ac_swing_ud:0;alarm:0;name:kuchnia;tbl:aaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaa;
111;1705583175;t_lo:17.00;t_norm:20.00;t_hi:20.50;heat:4;temp_pre:0;prg:2;lock:0;temp:20.00;ntemp:20.50;ntime:1705636800;es_avgtime:167;relays:0;irel:0;hb0:896;hb1:0;enable:4;tmax:27;tmaxh:5;settime:7200;pic:7;loc_in:1;loc_out:3;ac_enable:0;ac_type:1;ac_mode:0;ac_fan:0;ac_swing_lr:0;ac_swing_ud:0;alarm:0;name:%C5%81azienka%20go%C5%9Bcinna%20%2B%20Gar.%20%2B%20Ko;tbl:aaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaaaaaafaffaaaaaaaaaaaaaaaa;
112;1705583175;enable:255;
113;1705583175;enable:255;
114;1705583175;enable:255;
115;1705583175;enable:255;
116;1705583175;enable:255;
117;1705583175;enable:255;
118;1705583175;enable:255;
119;1705583175;enable:255;
The room names don’t need to match. That output looks ok but I’m travelling at the moment so will have to take a closer look later, don’t see anything obviously wrong… anything in the HA log file?
lukaszf
(LukaszF)
January 19, 2024, 7:55am
75
@tonyroberts - any chance you can look at this again? What kind of logs you need me to send? Should I share here on a forum?
Hi @lukaszf ,
Really sorry for not responding sooner!
I’ve had a look at the data you sent, thanks for that. It looks to me like it’s the assumptions made on where to find the different bits of data from syncvalues are wrong for your hardware and will need some changes to the integration to fix.
Your hardware version is 2.0, whereas mine is 4.0, and I think that probably accounts for the difference.
What I’ll do is make some changes to try and get it to correctly read your data and we can see if that works. I suspect that if someone tries with another different hardware version it will also need some more changes, but I guess I can deal with that when it happens!
I’ll create an issue in github for this (Issues · tonyroberts/hawundasmart · GitHub ) and update you once I’ve got something for you to try.
@lukaszf Give the dev branch a shot now. To do that, go into HACS, select Integrations and find Wundasmart and go into that. The click the three dots on the top right and click “Redownload”. The select “Show beta versions”, wait a second for the choices to load, then select “dev” and download. That will grab these latest changes from the dev branch, and you’ll need to restart HA for it to take effect.
Your set up doesn’t look like it has an TRVs, so I had to make a bit of a guess at a couple of things, but hopefully this will get you a bit further. Let me know how you get on.
@lukaszf did you get a chance to try this out?
lukaszf
(LukaszF)
April 1, 2024, 2:39pm
80
tonyroberts:
anch a s
Sorry I didnt saw your reply sooner - It was able to download sensors (missing Polish letters in the descriptions but this is minor problem) - should I test anything specific?
Great! I’ll can create a separate issue about the Polish letters not coming through correctly.
You should be able to control the heating through the climate entities, as well as being able to see the sensors.
@lukaszf the issue with Polish names not working is fixed in the latest release (1.2.0)
1 Like