vermi0ffh / ha-windhager

Windhager integration in home assistant
6 stars 2 forks source link

Supporting different types of Windhager Heating systems #3

Open martinw72 opened 8 months ago

martinw72 commented 8 months ago

It would be helpful not only add device support (grouping enities to a device), but also different heating units. This does not necessarily mean that you have to enter an endless list of types. In my case, I have a MultiWin gas heating system with two heating circuits and a hot water buffer boiler. This looks as shown in picture 1. picture 1 The difference is that my heating programs (preset_modes) look different (picture 2 and 3) and I get additional values for the buffer tank.
Picture 2 Bildschirmfoto 2023-11-10 um 15 48 49

vermi0ffh commented 8 months ago

Can you show the values for "fctType" of each node ? I hard coded the values for my heater, but I think I will have time this evening to make a more robust code

martinw72 commented 8 months ago

How do I get fcttype?

vermi0ffh commented 8 months ago

I just checked, and the interface don't display them right away. You have to user the Dev tools of the browser (Ctrl+Shift+I). Go to the "network tab" in the dev tool window. Refresh the page : image

Then find in the dev tools window a line like this : image

Click on it, and select the response tab on the right : image

Copy/Paste the JSON here, it will help me find information about your specific hardware.

martinw72 commented 8 months ago

i apologize for the delay. I was very busy fishing my study work. Below you will find the output:[ { "FE01msg": "PCM 14 OK", "functions": [ { "fctId": 0, "fctType": 14, "lock": false, "name": "UML FBH" } ], "name": "UML FBH", "neuronId": "07000ab0d701", "nodeId": 16, "programId": "9001001c010a0532", "subnet": 1 }, { "functions": [ { "fctId": 0, "fctType": 15, "lock": false, "name": "WVF" } ], "name": "WVF", "neuronId": "002158753400", "nodeId": 20, "programId": "9001001c030a0503", "subnet": 1 }, { "name": "MB6130", "neuronId": "07000b5e8e01", "nodeId": 96, "programId": "9001001a020a0532", "subnet": 1 }, { "FE01msg": "PCM 14 OK", "functions": [ { "fctId": 0, "fctType": 14, "lock": false, "name": "UML HK1" } ], "name": "UML HK1", "neuronId": "07000ad5d601", "nodeId": 15, "programId": "9001001c010a0532", "subnet": 1 } ]