-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solar detection broken #71
Comments
I can confirm this issue, I have the same temperature readings. |
It appears that detect_solar_present() is not used (temporarily disabled) for the solar parameters in sensor.py
This way the solar sensors are not not added to my local setup. |
It indeed looks like detecting options based on visibilities doesn't work reliably. Maybe make the check based on default temperatures an and condition: SolarPresent = (sensor_value > 0 or working_hours > 0.01 or (solar_koll != 5 and solar_buffer != 150)) |
I use more and more the original luxtronik visibilities. But it seems that many heatpumps has a wrong visibility config. |
HA now reports that I have
while I do not have them.
I think this changed * Optimize solar detection caused this.
The values in my case (where there is no solar buffer):
Solar Collector = 5.0 C
Solar Buffer = 150.0 C
The OR function in line 159 then triggers the detection:
SolarPresent = (sensor_value > 0 or working_hours > 0.01 or solar_koll > 0 or solar_buffer > 0)
Can we change this to:
SolarPresent = (sensor_value > 0 or working_hours > 0.01)
or if that causes problem to something like:
SolarPresent = (sensor_value > 0 or working_hours > 0.01 or solar_koll !=5 or solar_buffer != 150)
The text was updated successfully, but these errors were encountered: