SteMaker / ioBroker.hdg-bavaria

iobroker adapter for hdg-bavaria boilers
MIT License
8 stars 5 forks source link

Please add "outside temperature" and "hot water" #13

Open johnssson opened 7 months ago

johnssson commented 7 months ago

Thank you very much for developing this great IOBROKER adapter. It works for my "HDG Touch Control XXL" System and I'm very happy but I'm missing some interesting values.

Would it be possible to add the "outside temperature" and "hot water" values? I found the IDs already. But i have no idea of coding,

Outside temperature HTML code looks like this; li id="outsidetemp" class="noHover" div 9 °C /div /li Hot Water values, that i've found: 28000=temperature of hot water 8021= treshold value when loading hot water goes on (would be great if we could modify within iobroker) 8022= treshold value when loading hot water goes off (would be great if we could modify within iobroker)

@Ganner86 did some work on "hot water" in a fork, but his adapter fork doesn't get any values with my "HDG Touch Control XXL" system, Log when installed Ganner86-Fork: 2024-01-26 00:06:41.149 - info: hdg-bavaria.0 (143924) Adapter started 2024-01-26 00:06:43.497 - warn: hdg-bavaria.0 (143924) Error when reading data: 2024-01-26 00:06:43.498 - warn: hdg-bavaria.0 (143924) Unexpected length 722 of response from 192.168.28.44 Important; I don't used the "pull-request" version of Ganner86 ( Changes for working with HDG-ControlXL #12 ) - how I can test that version?

Also interesting feature: Pump Status (on/off).

Example of "hot water pump off": div style="top: 50%; left: 31.52%; background-image: url("images/_interface/tile_status_off.png"); display: block;" class="canvasTile live" title="" data-id="28004" data-type="background" data-forced=""> /div

Example of "heating circuit 1 (radiators) pump on" div style="top:33.333333333333%; left:40.52%; background-image:url(images/_interface/tile_status_on.png);" class="canvasTile live" title="" data-id="26008" data-type="background" data-forced="" /div Example of "heating circuit 2 (underfloor heating) pump on" div style="top:33.333333333333%; left:40.52%; background-image:url(images/_interface/tile_status_on.png);" class="canvasTile live" title="" data-id="26108" data-type="background" data-forced="" /div

Thanks a lot

Off-Topic: I have an old HDG Euro 30 (very old revision) with no Interfaces and his own sensor and valves. So my values for "Kessel","Heizkreis" and "Zuführungs"-Values are zero. It doesn't disturbing me. The HDG Control is for Warm/hot water and the heating circuits regulation and Buffer-Status-"Monitoring" when to fire next.

Ganner86 commented 7 months ago

Hey, first, sorry for my bad english :-) i´m not an developer, so i try to change the Adapter for working with mit 2018 HDG K21V2 with an HDG Control XL. The Changes i made in the fork was to support SteMaker. I have change the hdgcomm class for working with my HDG Control XL. Original the Body in the http reqest was an String, that doesnt work with my Controller. I have change the Body to an JSON object wich is send to the Controller. The second change i made was adding the Hot-Water-Tank Class because it was missing. I try to add some options in the iobroker config Page but my experience ist to bad for this, so i did a pull request to SteMaker that he could take a look. When the original adapter works with your controller and you get values it wont work with my changes because the htttp reqest is another. My fork could be changed in line 58 the variable this.ControlXL to false state, so the Adapter should be work with the original http request.