You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The debugging options are great to see P/I/D/E values, but they don't include internal PWM timings and when will the next heater event happen.
This would be a useful info when there's min_cycle_duration setting involved, since if the current power value would create a smaller on/off duration than what's possible, the PWM length is stretched, as discussed here, but the extent is not visible to us. It's hard to figure out when will the thermostat fire the heater next time.
Essential this debug log message turned into attributes: [custom_components.smart_thermostat.climate] climate.smart_thermostat_bedroom: Time until switch.bedroom_heater turns ON: 1326 sec.
Something like next_event_in: 1326 as the current state of the thermostat is known. As an added bonus the time_on, time_off ratio from the pwm_switch handler would be also interesting as attributes.
Describe the solution you'd like
Please add additional debug info related to PWM cycle timings.
The text was updated successfully, but these errors were encountered:
Hello, the issue is that adding attributes to the state of the entity will generate a new state line in the database each time and attribute is changed. That can saturate the database quickly. That's why I already had to remove most of the debugging parameters from the attributes.
I see, that's unfortunate.
If you cannot solve it this way, it's okay to close it; i'll use the log output with enabled add-on debug.
Thanks for the answer!
Is your feature request related to a problem? Please describe.
The debugging options are great to see P/I/D/E values, but they don't include internal PWM timings and when will the next heater event happen.
This would be a useful info when there's
min_cycle_duration
setting involved, since if the current power value would create a smaller on/off duration than what's possible, the PWM length is stretched, as discussed here, but the extent is not visible to us. It's hard to figure out when will the thermostat fire the heater next time.Essential this debug log message turned into attributes:
[custom_components.smart_thermostat.climate] climate.smart_thermostat_bedroom: Time until switch.bedroom_heater turns ON: 1326 sec
.Something like
next_event_in: 1326
as the current state of the thermostat is known. As an added bonus thetime_on
,time_off
ratio from thepwm_switch
handler would be also interesting as attributes.Describe the solution you'd like
Please add additional debug info related to PWM cycle timings.
The text was updated successfully, but these errors were encountered: