* twinbl energy for channel 2
* .
* removed movavg
* Added HASS MQTT frequency (both standard and TWIN_MODE)
* .
* simplify, store total only IX0
* Ext BugFix: addChangeHandler Power < 20 appears broken #1543
* Twin BL0942 mod
* Energy data more checks for index 0
* BL09XX_ResetEnergyCounter reset lastSavedEnergyCounterValue
* added ENABLE_BL_TWIN compiler option, default disabled
* added more ENABLE_BL_TWIN
* Update README.md
Add intention for fork
* Update README.md
Improve Readme
* Update hass.c
Fix issue of not using divider other than 1 for home assistant auto discovery val_tpl
* Update README.md
update Fork intention
* Update README.md
Revert Readme to original state
* Charts test for Ln882h and w800
* Update cmd_if.c
Try fix for DRV_GetReading without ENABLE_DRIVER_BL0937
* Update obk_config.h
* Update cmd_if.c
next try to fix Drivers w/o OBK_DISABLE_ALL_DRIVERS
* Update cmd_channels.c
... and another "DRV_GetReading" ...
* Update hass.c
... next problem: DRV_GetEnergySensorNames
* Update hass.c
.. more disabling code w/o energy driver
* Update http_fns.c
... and even more
* Update json_interface.c
... and energy drivers in json_interface.c
* Update user_main.c
another use of BL09X
* Update obk_config.h to remove define for charts driver
* HASS discovery energy stats fixed except energycounter_clear_date
* HASS: add friendly entity names, remove timestamp class from energycounter_clear_date as workaround for hass-incompatible date format
* HA energycounter_clear_date fixed for correct interpreting as home assistant timestamp sensor
* refactor HA power sensors discovery info
* refactor HA power sensors discovery more
* add apparent power, reactive power, power factor to mqtt + hass discovery, refactor some vars into new energy_sensors[] struct
* amend hass sensor unique_ids due to mqtt topic/channel too long; 'Error:MQTT:Unable to queue! Topic (13), channel (66) or value (437) exceeds size limit'
* hass sensors: add 'energy 2 days ago', 'energy 3 days ago', 'uptime'
web UI: energy sensors apply their rounding setting
drv_bl_shared.c: add enum for daily_stats[], put rearrange energy_sensor[] struct to expose only names via DRV_GetEnergySensorNames()
* -HA energy sensor uniq_id values made consistent with prior builds via .hass_uniq_id_suffix
-Refactor drv_bl_shared sensor/counter vars into energy_sensors[] to simplify mqtt transmissions etc
-Add energy '2 days ago'/'3 days ago' to main web ui, data from vars already being saved to/from flash
-NTP fix html formatting in web ui
* -HA energy sensor uniq_id values made consistent with prior builds via .hass_uniq_id_suffix
-Refactor drv_bl_shared sensor/counter vars into energy_sensors[] to simplify mqtt transmissions etc
-Add energy '2 days ago'/'3 days ago' to main web ui, data from vars already being saved to/from flash
-NTP fix html formatting in web ui
* Update settings.json
ignore vscode settings...
* Update settings.json
* Update settings.json
* minor fix
* fix OBK_CONSUMPTION_LAST_HOUR missing from mqtt
* HASS entity names use channel labels when set, hass discovery excludes unpublished entities (i.e. those set via SetChannelPrivate), hass discovery firmware build info added to diagnostic section, energy sensor discovery bugfix re clear-date
* update submodule sdk
* Fix ch0 label wrongly applied to diagnostic sensors
* update docs
---------
Co-authored-by: Stefan Smith <stefan064>
* HASS discovery energy stats fixed except energycounter_clear_date
* HASS: add friendly entity names, remove timestamp class from energycounter_clear_date as workaround for hass-incompatible date format
* HA energycounter_clear_date fixed for correct interpreting as home assistant timestamp sensor
* refactor HA power sensors discovery info
* refactor HA power sensors discovery more
* add apparent power, reactive power, power factor to mqtt + hass discovery, refactor some vars into new energy_sensors[] struct
* amend hass sensor unique_ids due to mqtt topic/channel too long; 'Error:MQTT:Unable to queue! Topic (13), channel (66) or value (437) exceeds size limit'
* hass sensors: add 'energy 2 days ago', 'energy 3 days ago', 'uptime'
web UI: energy sensors apply their rounding setting
drv_bl_shared.c: add enum for daily_stats[], put rearrange energy_sensor[] struct to expose only names via DRV_GetEnergySensorNames()
* -HA energy sensor uniq_id values made consistent with prior builds via .hass_uniq_id_suffix
-Refactor drv_bl_shared sensor/counter vars into energy_sensors[] to simplify mqtt transmissions etc
-Add energy '2 days ago'/'3 days ago' to main web ui, data from vars already being saved to/from flash
-NTP fix html formatting in web ui
* -HA energy sensor uniq_id values made consistent with prior builds via .hass_uniq_id_suffix
-Refactor drv_bl_shared sensor/counter vars into energy_sensors[] to simplify mqtt transmissions etc
-Add energy '2 days ago'/'3 days ago' to main web ui, data from vars already being saved to/from flash
-NTP fix html formatting in web ui
* Update settings.json
ignore vscode settings...
* Update settings.json
* Update settings.json
* minor fix
* fix OBK_CONSUMPTION_LAST_HOUR missing from mqtt
---------
Co-authored-by: Stefan Smith <stefan064>
* HASS discovery energy stats fixed except energycounter_clear_date
* HASS: add friendly entity names, remove timestamp class from energycounter_clear_date as workaround for hass-incompatible date format
* HA energycounter_clear_date fixed for correct interpreting as home assistant timestamp sensor
* fix compile on OpenW800 due to OBK_DISABLE_ALL_DRIVERS on that platform
---------
Co-authored-by: Stefan Smith <stefan064>
* Add Color Temperature Range to HASS Discovery.
Add min_mireds and max_mireds to lights with color temperature capability.
* Update hass.h
* Debug logging.
* mireds as int rather than float.
* Removed debug logging.
* Adding Battery driver discovery
Adding Flag for sensor avaibility publish
* correct hass.h
* correct call for other platform than beken
* Change Typo availability and Battery for driver
* Forget the pin description