vermi0ffh / ha-windhager

Windhager integration in home assistant
11 stars 4 forks source link

Supporting different types of Windhager Heating systems #3

Open martinw72 opened 1 year ago

martinw72 commented 1 year 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 1 year 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 1 year ago

How do I get fcttype?

vermi0ffh commented 1 year 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 1 year 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 } ]

vermi0ffh commented 1 week ago

I come back from my cave, I can handle some changes on this repo (finally !). If you are still here, can you provide more info on your specific system (I understand you have a heater and a buffer tank) with specific presets on each ?

When you display the interface of the heater, where can you find those presets ? Does the buffer tank appear in the list as a specific device ?

On your first screenshot I can see "WVF" and "MB6130", are those the heater and the buffer tank ?

Martin4us3 commented 1 day ago

Hello, I'm Martin and new here in Homeassistant environment. At the time, I fought with Windhager at ioBroker.

You can query the possible characteristics via the Windhager API: e.g. http://{IP}/api/1.0/lookup/1/15/0/96 { "OID": "/1/15/0/3/50/0", "enum": "[0,1,2,3,4,5,7]", "groupNr": 3, "memberNr": 50, "name": "03-050", "stepId": 0, "subtypeId": -1, "timestamp": "2024-11-26 12:33:00", "typeId": 9, "unitId": 0, "value": "1", "writeProt": false }

You can find the corresponding label in the corresponding xml, using the groupNr and memberNr of the data point: http://{ip}/res/xml/AufzaehlTexte_en.xml

I think the labels are available in four languages ​​(en, de, fr, it)