Closed Jadefalcon100 closed 1 month ago
Hello, It seems that you don't configure the TPI coefficients. You will find this coefficients in the configuration page. Please check the values and set it if not already set (default values are : 0.6 and 0.01). Please note that, there is a bug in the HA UI which prevent to type 0.01, you have to copy/paste the value.
tpi_coef_int: null
tpi_coef_ext: null
This should not be possible. Can you explain how you manage to get into this case ?
Moreover, I notice that you don't have any temperature set. Please check if it is normal:
frost_temp: 0
eco_temp: 0
boost_temp: 0
comfort_temp: 0
frost_away_temp: 0
eco_away_temp: 0
boost_away_temp: 0
comfort_away_temp: 0
and nor
Hi, I do not get the two fields during setup. Just a checkbox for using central configuration. The same with Presets. Just the checkbox. When unchecked it does not display the input fields
Sorry, closed issue accidentally
I will try to reproduce this case. Do you have a central configuration ? Can you post me the attribute of your central configuration VTherm please ? (Dev Tools/State)
I try your case:
over_switch
VTHERM,Can you please try to reproduce the case on your side and give me the steps. I will continue but it seems to work as expected.
I read carefully the first post and if I understand well, after restart all is fine and the issue occurs when you try to change a parameter. And then all your HA is blocked.
I think this is not possible for an integration like Versatile Thermostat do totally block HA. At worst, you have some error logs, but I never see, and I can't imagine this will totally block HA.
Si what I think now, is that you have another system error on your HA (maybe hard drive failure or something like that) that makes HA not able to read the configuration at random time.
Is it only VTherm that have trouble or many others integrations ? I guess you can search in the log for other errors before VTherm ones.
Are you on a PI with a SDCard ? If yes, it is known to have failure, specially after one or two years and you may have to switch on an SSD.
I add some test to prevent too much logs when this occurs: https://github.com/jmcollin78/versatile_thermostat/pull/512
I have published a beta release, if you want to give it a try: https://github.com/jmcollin78/versatile_thermostat/releases/tag/6.3.0.beta2
I think, I found the issue: Meanwhile I created a central configuration, new VTherms do NOT crash after "All done". So everything seems fine now.
But before (without the central configuration) the checkboxes for TPI and Preset are set by default "use central configuration" which I did not change. Then the VTherm/HA stalled with the very first screenshot.
I don't want to mess my current productive setup by deleting the central configuration, so I cannot reproduce it right now.
HA ist running as a VM on a Proxmox Server. Very stable setup until now ;-)
Thank you for your report. Just to be sure, with 6.3.0, is this bug fixed ? I close it, don't hesitate to re-open if needed.
Hi there,
when I crate a new VTherm Home Assistant crashes. Vtherm shows the next step popup, but never finished. Instead HA as a whole becomes inresponsive/crashes after 10 seconds and never recovers.
The Instance can only be brought back with a VM restart.
After the restart the VTherm is despite it fuctional, but when I change the configuration it returns to a failed state. Wohnzimmer - Hinten: functional after restart
Wohnzimmer - Vorner: functional after restart - just did a pseudo change by altering cycle time => Error
Version of the custom_component
Configuration
My VTherm attributes are the following (both VTherms above are identical except for switch and sensor)
Debug log
2024-09-27 06:30:40.445 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None) Traceback (most recent call last): File "/config/custom_components/versatile_thermostat/init.py", line 110, in _async_startup_internal await api.init_vtherm_links() File "/config/custom_components/versatile_thermostat/vtherm_api.py", line 178, in init_vtherm_links await entity.async_startup(self.find_central_configuration()) File "/config/custom_components/versatile_thermostat/base_thermostat.py", line 665, in async_startup await self.init_presets(central_configuration) File "/config/custom_components/versatile_thermostat/base_thermostat.py", line 2808, in init_presets await self._async_set_preset_mode_internal(self._attr_preset_mode, True) File "/config/custom_components/versatile_thermostat/base_thermostat.py", line 1341, in _async_set_preset_mode_internal self.recalculate() File "/config/custom_components/versatile_thermostat/thermostat_switch.py", line 182, in recalculate self._prop_algorithm.calculate( File "/config/custom_components/versatile_thermostat/prop_algorithm.py", line 87, in calculate self._tpi_coef_int * delta_temp
2024-09-27 07:11:24.669 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None) Traceback (most recent call last): File "/config/custom_components/versatile_thermostat/base_thermostat.py", line 1495, in _async_temperature_changed self.recalculate() File "/config/custom_components/versatile_thermostat/thermostat_switch.py", line 182, in recalculate self._prop_algorithm.calculate( File "/config/custom_components/versatile_thermostat/prop_algorithm.py", line 87, in calculate self._tpi_coef_int * delta_temp