LavermanJJ / home-assistant-solarfocus

🏡 Solarfocus eco manager touch integration for Home Assistant
Apache License 2.0
17 stars 7 forks source link

Read out the remaining, still missing values from Modbus #32

Closed Vaszago closed 1 year ago

Vaszago commented 2 years ago

Such as the outside temperature of the heat pump, external room temperature, etc. There is some certainly more.

image

With this I could remove the normal Modbus query from HA.

LLukas22 commented 2 years ago

While integrating the components i used the official solarfocus documentation to split the different modbus ranges into components. The address you are looking for is implemented in the PelletsBoiler component. Maybe try to add it and check if it will work.

If it doesn't work i probably have to fix this in the pysolarfocus library by adding different Kessel implementations for the therminator and vampair.

Vaszago commented 2 years ago

I had also been looking for a long time but that is the outside temperature of the heat pump. Unfortunately, I cannot tell you why it is the same address as the boiler. But it works.

image
LLukas22 commented 2 years ago

@Vaszago Alright can you try to add the boiler in the setup and check if the values match?

Vaszago commented 2 years ago

Unfortunately I don't know how to include this entry in the setup!

LavermanJJ commented 2 years ago

Currently, it is not possible I guess, as heat pump and bio mass boiler are exclusive, as currently implemented in the integration.

You would need to add another instance of the integration and configure it to only Bio mass boiler.

LavermanJJ commented 2 years ago

I've just checked. We would need to adapt the register layout for vampair for bio mass boiler.

I'll look at it later.

LavermanJJ commented 2 years ago

It actually seems to work already. Is the precision the same for you ie, no 10th degree or so?

image

Vaszago commented 2 years ago

It would be great if the resolution was 0.1 degrees.

PhilippRettenmeier commented 2 years ago

Also posdible to add the modbus features fir circulation pump? Adress e.g. 32003

LavermanJJ commented 2 years ago

Also posdible to add the modbus features fir circulation pump? Adress e.g. 32003

That is already available when the Boiler component is enabled. There is a button to trigger the circulation (button.solarfocus_boiler_1_circulation) and a sensor for reading the current state of the circulation (sensor.solarfocus_boiler_1_circulation)

PhilippRettenmeier commented 2 years ago

Oh, Thanks, did not recognize this. Now I can check that, Thank you :)

bszattila commented 2 years ago

button.solarfocus_boiler_1_circulation

Is there also possibility to start stop the heating circulator pumps? i see only the binary sensor to check the state. and when i change heat mode, it fdoes not stop the circulator pumps...

LavermanJJ commented 2 years ago

button.solarfocus_boiler_1_circulation

Is there also possibility to start stop the heating circulator pumps? i see only the binary sensor to check the state. and when i change heat mode, it fdoes not stop the circulator pumps...

@bszattila Unfortunately, there is no control provided by Solarfocus currently. However, for me the behavior is as expected from you: if I turn of the heating the circulation pump of the heating also stops. So maybe contact the Solarfocus support why this is the case in your installation?

bszattila commented 2 years ago

button.solarfocus_boiler_1_circulation

Is there also possibility to start stop the heating circulator pumps? i see only the binary sensor to check the state. and when i change heat mode, it fdoes not stop the circulator pumps...

@bszattila Unfortunately, there is no control provided by Solarfocus currently. However, for me the behavior is as expected from you: if I turn of the heating the circulation pump of the heating also stops. So maybe contact the Solarfocus support why this is the case in your installation?

Thank you! I contacted them, let's see what their answer ;) i share if it is modbus related, and not my pellet broken

PhilippRettenmeier commented 2 years ago

button.solarfocus_boiler_1_circulation

Is there also possibility to start stop the heating circulator pumps? i see only the binary sensor to check the state. and when i change heat mode, it fdoes not stop the circulator pumps...

@bszattila Unfortunately, there is no control provided by Solarfocus currently. However, for me the behavior is as expected from you: if I turn of the heating the circulation pump of the heating also stops. So maybe contact the Solarfocus support why this is the case in your installation?

Thank you! I contacted them, let's see what their answer ;) i share if it is modbus related, and not my pellet broken

Really strange - tried the button "request circulation" as well which works. However, not possible to stop the circulation pump viy TCP / Modbus.

That would be such a great, energy saving feature (e.g. for triggering the circulation via smart switch in bathroon and stop it after 30s).

I'll contact Solarfocus as well...

bszattila commented 2 years ago

button.solarfocus_boiler_1_circulation

Is there also possibility to start stop the heating circulator pumps? i see only the binary sensor to check the state. and when i change heat mode, it fdoes not stop the circulator pumps...

@bszattila Unfortunately, there is no control provided by Solarfocus currently. However, for me the behavior is as expected from you: if I turn of the heating the circulation pump of the heating also stops. So maybe contact the Solarfocus support why this is the case in your installation?

Thank you! I contacted them, let's see what their answer ;) i share if it is modbus related, and not my pellet broken

Really strange - tried the button "request circulation" as well which works. However, not possible to stop the circulation pump viy TCP / Modbus.

That would be such a great, energy saving feature (e.g. for triggering the circulation via smart switch in bathroon and stop it after 30s).

I'll contact Solarfocus as well...

O, i already got feedback on my enquiry. They are saying: that’s because the outside temperature is low, the frost protection mode is active.

If the outside temperature drops under this parameter the pump will run 24h.

If you decrease this parameter to minus temperatures it will switch off (attached a picture where You can setup the antifreeze temperature, which in our case is set to 5 degrees)

But in the worst case some heating water pipes can freeze if nobody watch the system and the boiler is switched off or has a fault.

End of their message. btw, i am also looking on this, as our house, in full empty state, not even the refrigerators working, only the Wifi, the HA mini PC, some cameras, and the Solarfocus boiler + 3 pumps are eating 7,5 kWh/day....

LavermanJJ commented 1 year ago

Good Point - so checking heating state makes sense in addition. This sensor will show if e.g. frost protection is active.

PhilippRettenmeier commented 1 year ago

It actually seems to work already. Is the precision the same for you ie, no 10th degree or so?

image

Is the outside temperature already integrated as sensor when installing the Integration? I cannot see it when Integrating the vampair with boiler... otherwise, one can use the integration in config.yaml from vaszago

bszattila commented 1 year ago

Good Point - so checking heating state makes sense in addition. This sensor will show if e.g. frost protection is active.

I am recording the heating state on a graph, and i observed that it returns different values. is there any reason for it? sometimes it returns value 5,8,12, 17 and 0 of course, when heating stops. Do You know what is the difference between the values?

LavermanJJ commented 1 year ago

@bszattila the numbers refer to the Enumeration from the Specification cf. Status Heizkreis

LavermanJJ commented 1 year ago

@PhilippRettenmeier yes, the outdoor temperature sensor of the Vampair seems to be available as sensor of the Biomass Boiler. Therefore, to make use of this sensor, you need to add the Solarfocus integration twice:

  1. Configured as VampAir heat pump + the respective components
  2. Configured as Biomass Boiler Therminator. <-- afterwards you can delete all sensors but the outdoor temperature, as the other sensor values are invalid. Make sure you name the second instance differently
image
PhilippRettenmeier commented 1 year ago

Great, works, thanks a lot