Skip to content
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

DB_ADDON Plugin: Code rework to enable more flexible attributes #773

Merged
merged 15 commits into from
Jul 16, 2023

Conversation

sisamiwe
Copy link
Contributor

@sisamiwe sisamiwe commented Jul 2, 2023

  • bump to version 1.2.0
  • rework code to create query parameter during parse_item
  • harmonize parameters to ease handling of queries
  • enable onchange items also to be calculated during start
  • bugfixes

- bump to version 1.1.4
- rework code to create query parameter during parse_item
- harmonize parameters to ease handling of queries
- enable onchange items also to be calculated during start
- bugfixes
- bump to version 1.2.0 due to significant change in code
- improve method for calculation of verbrauch
- add method to determine zaehlerstand
- add further functions to _query_log_timestamp
- fix for calculating end_of_week
- diverse fixes
- improve determination of serie_zaehlerstand
- improve determination of serie_verbrauch
- fix in user_doc.rst
- bump to 1.2.1
- diverse fixes
- improve determination of serie_zaehlerstand
- improve determination of serie_verbrauch
- fix in user_doc.rst
- bump to 1.2.1
- diverse fixes
- diverse fixes
- Improve getting query params during parse_item
- fix calculation of start and end of verbrauch_jahreszeitraum_timedelta
- fix calculation of rolling_window
- Implement tagesmitteltemp for onchange (current day)
- bump to 1.2.2
- Remove tread for working item queue; use shNG scheduler instead
- improve inline docu
- improve execute_items
- catch exception within work_item_queue and de-init plugin in case of failure
- improve prepare_value_list for calculation of avg, min_max... for value series
- handle oldest_log for new-born database items
- adapt webif
- bump to 1.2.2
- Remove tread for working item queue; use shNG scheduler instead
- improve inline docu
- improve execute_items
- catch exception within work_item_queue and de-init plugin in case of failure
- improve prepare_value_list for calculation of avg, min_max... for value series
- handle oldest_log for new-born database items
- adapt webif
- Put Plugin to suspend in case of exception in work_item_queue instead of deinit
- recalc all will just call all items with db_addon_fct
- minor change on WebIF
- minor change on WebIF
- minor change on WebIF
@onkelandy
Copy link
Member

reviewed and tested a lot, looks pretty good now!

@onkelandy onkelandy merged commit 9e69e1a into smarthomeNG:develop Jul 16, 2023
@sisamiwe sisamiwe deleted the db_addon-update1 branch November 30, 2023 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants