Few changes to better interact with UI #14
Conversation
Few features to show interesting thing in the UI Changes to be committed: modified: apps/apps.yaml modified: apps/heat_app.py modified: pkgs/irrigation.yaml
|
@ciechompl the code in AppDeamon is not needed you can do it in the UI In short I suggest to remove the AppDaemon part |
|
WBI calculate irrigation time as the following: max_ev_week is a calculated as the following: Of course we can assume that we could set another variable (or whatsoever) to hard-define max_ev_week or alternatively move m_temp_hours & m_temp_celsius to some input_numbers from UI but i think we always should take up to date data :) Please suggest which is your preferred way to modify ? |
[hh] good idea
[hh] I don't see a need to calculate it every hour. You can extract this info from the variable wpi_px_hours
[hh] use 2 variable for that |
typo or I missed something :) ? |
|
It is not a typo: |
|
ok so I think i explained wrongly what I want to achieve :) My main goal is to see how the elapsed time and weather conditions affecting the calculated time of the next irrigation. I understand that this might be completely not interesting for many but for me is :) so if you can accept the fact that I'm unusually curious :) guide me please with your preferred approach to achieve above and I will try to make appropriate changes in the code. I'm not a programmer so it takes me a while to understand things .. sorry for that :) re accumulator (wbi_pX_hours) ... Accumulator for me works strange as wrote earlier (after HA restart it is counting even if switch is off) so I do not use it (I replaced by platform: history_stats) ... further even if I look at attributes of this sensor i have no clue how could I extract next calculated irrigation time from the variable wbi_pX_hours as you suggested above. |


Few features to show interesting thing in the UI:
Changes to be committed:
modified: apps/apps.yaml
modified: apps/heat_app.py
modified: pkgs/irrigation.yaml