I would like to use your great work to create an integration platform that can be installed via hacs, so that the values are shown in a climate control Lovelace card and so that the settings can also be altered from the HA user interface.
Could you check what registers and values are used when changing mode and fan speed? Also how to get the filter condition? And how the app finds the IP? Are there other info that would be interesting?
Hi Michael,
I will try to find the information you are looking for, but I’m not at home for the next week or so. I think I can get back to you in two weeks time. I need local network access to the Dantherm unit to find the information.
/Thomas
I have created a basic custom component and a card setup using the picture element card. There might be some modbus reading errors that I need to understand. Is it common to have reading errors with modbus via tcp?
When I have the remaining modbus addresses, I will implement the fan & mode control and the filter status.
Please give me input to the layout and features needed on the card?
I think the card looks fine, maybe I will come up with some comments when I get more registers from the unit.
I have the “operation mode” to you. You can play with Dantherm app to see how to interpret the value, but it is something like this:
Bit 0-4 Op/mode
2 = Auto
4 = Manuel
8 = Week program
16 = Travel/Vacation
Bit 5 Night mode
0 = off
1 = on
I’m not sure how to configure writing to the register. Looking in Wireshark the Dantherm app writes the “operation mode” by writing multiple registers in one writing (register 168 and 169). Register 168 is the desired value (like described above) and register 169 is just zero. See if you can get something out of it. Write back to me if you need more info.
I will of cause find you more registers but I would like to hear if you can get this into Home Assistent.
Hey Thomas!
Managed to get my HCV 400 P2 working with your previous work. I had to change the syntax according to the Modbus documentation, but might have been me making an error in the original syntax.
For people interested, I’ve made an automation based on a button press from the IKEA Trådfri (IKEA E1812 control via MQTT | zigbee2mqtt.io) allowing the fan to run at 15 minutes, which is useful when showering or using the restroom. The automation also sets the fan back to auto mode, when the time has passed.
Super. The Modbus syntax was changed if I am not mistaken in HA 2021.7. I actually first got to change my own configuration this weekend. I have a Philips Hue motion sensor laying around, maybe I should try your work letting motion in the bathroom trigger the higher ventilation stage.
The ventilation is brand new for us, and just learned this morning that it actually increases the ventilation (when on automatic), when we shower, so depending on how fast your humidity sensor reacts, you might not need it for showering - only for certain other bathroom activities, where you’d like the smell to disappear quickly
Will you post your new config for others that might try replicating it will have the correct one for after 2021.7?
Additionally, are you getting meaningful data from all your temperature sensors? Most are giving me wrong numbers - which version of the ventilation did you have?
Hi all,
Playing around with my new Dantherm HCV400 unit. All above works perfectly well, but when I try to change op_mode on address 472, it seems not working. Tried on address 168 as Mettchen mentioned, but this send op_mode (on address 472) into 10 - which is unknown state, and cannot change it back into mode 1 or 2. Right now the unit only work manually with fan speed adjustments.
Hi,
It seems your unit is in some “Installer Mode”.
Have you tried changing the state of the unit with Dantherms own app from your phone? Maybe it can bring the unit out of it? Or tell you something else?
Hi,
App is not telling anything, and unit flashing two green leds. Rebooted the unit, and back functioning.
So need to figure out how to write the correct codes to the correct registers on the unit, so shift between “auto”, “manual”, as well as “summer” and “bypass auto” modes.
Also got access to the PC Tool, for further adjustment of set values.
I have coded my own full demand control of HCV400, based on night / outdoor / home signals from IHC, whether the bath is in use (IHC signal), and demand control via indoor climate sensors on VOC and CO2 (Airthings Wave Plus) and RH via the built-in sensor , as well as whether patio doors are open in summer (switch to extraction only).
My system only runs auto at night and when the house is empty. Fan 1 speed only when VOC, CO2 and Humidity are very low, as VOC and CO2 rise too fast when running fan1 at standard. It runs 2 by default, and adjust to 3 respectively 4 depending humidity, CO2 and VOC levels.
I mailed Dantherm a while ago to get more info on the modbus configuration. They sent me a full document with all registers. Maybe this can be of some use to you?
Can you explain how you manage to communicate (give instructions to the HCV400)?
Because I would like to do the same as you in terms of control (door open for summer, CO2 level monitored in important rooms).
In terms of power consumption, there is a big difference between levels 2 and 3. I can’t find any automatic programs that correspond to our needs.
Indeed, level 1 is not sufficient at all when the house is not empty.
And I can only use the application locally … At the moment, the VPN on my phone does not allow me to connect to the HCV400 via their application.