Commit Graph

56 Commits

Author SHA1 Message Date
s-hadinger a3ed99e549
Change Energy `power_history` arrays to prepare for Berry mapping (#21876) 2024-07-31 14:27:34 +02:00
Theo Arends 9b537d81e0 Fix energy maxpower retry count (#21695) 2024-07-03 13:52:01 +02:00
Theo Arends 1fd8de6762 Update energy structure 2024-07-02 18:47:55 +02:00
Theo Arends 640aabe1b3 Fix ESP32 MaxPowerHold edge case (#21695) 2024-07-02 18:07:53 +02:00
Theo Arends 33062dc839 Refactor energy drivers 2024-06-30 16:58:37 +02:00
Theo Arends 8a0493b659 Cleanup esp32 energy 2024-06-28 18:04:50 +02:00
Theo Arends 8364eca708 Refactor esp32 energy margins entry 2024-06-28 17:51:05 +02:00
Theo Arends 271446fd66 Remove obsolete SafePower commands 2024-06-28 14:38:08 +02:00
Theo Arends 96a45a6dde Refactor ESP32 energy 2024-06-28 11:12:28 +02:00
Theo Arends 621f6f59e1 Fix default power windows 2024-06-27 17:07:08 +02:00
Theo Arends 178d42c286 Change ESP32 support for energy margin checks, like ``MaxPower2`` per phase (#21695)
- Add ESP32 support for power and energy limit checks, like ``MaxEnergy2`` per phase (#21695)
- Bump version v14.1.0.3
2024-06-27 16:50:45 +02:00
Theo Arends 9350f68ac5 Replace optional MQTT_TELE_RETAIN to Energy Margins message by ``SensorRetain`` 2024-06-07 11:48:52 +02:00
Theo Arends c41f18a9b6 Fix calloc allignment 2024-05-05 18:26:21 +02:00
Theo Arends 9cacf2f609 Fix Power off due to overtemp and/ot overload 2024-04-08 12:03:11 +02:00
SteWers 55259aa8c5
[Energy] Fix frequency handling (#20626)
* [Energy] Prepare MQTT subscribe

- Prepare energy driver for using MQTT subscribe
- Fix handling of frequency

* MQTT in xnrg

* Revert MQTT
2024-02-03 12:37:57 +01:00
Theo Arends 10885fe60d Refactored rules ``Subscribe`` using LList allowing full message size and enabled by default 2024-01-22 16:57:59 +01:00
SteWers 76a7ab5131
[Energy] Decoupled `FREQUENCY` and `Energy->type_dc` (#20549) 2024-01-21 11:37:04 +01:00
Theo Arends 637fac5ae8 Add GUI sensor separators (#20495) 2024-01-15 15:36:59 +01:00
Theo Arends 21c7edcb50 Add display of active drivers using command ``status 4`` 2023-12-27 22:03:56 +01:00
Theo Arends 01e51b2c9d Fix undocumented use of Energy struct 2023-11-24 16:49:51 +01:00
Theo Arends 2cee622af8 ESP32 remove restart energy logging if no energy monitoring is selected 2023-11-24 16:36:41 +01:00
Theo Arends 5cee525d02 Add Active Power Total
Add Active Power Total if multiple phases AND both positive and negative values (#19141)
2023-10-13 13:56:04 +02:00
Theo Arends 21ac018d70 Fix compile error 2023-10-06 11:23:58 +02:00
SteWers dd8b85282a
EnergyMargins - always send MQTT telemetry message (#19397) 2023-08-27 10:53:04 +02:00
Theo Arends 9b6efc674d Fix compilation 2023-08-24 15:17:04 +02:00
Theo Arends 5b6a25a7a0 Fix driver config backup and restore
Fix driver config backup and restore (#18295)
2023-07-12 10:52:58 +02:00
Theo Arends 889e6ea54d Fix driver config restore 2023-07-11 16:12:04 +02:00
Theo Arends 85aed3a17d Remove phase_count_virtual 2023-07-01 14:31:03 +02:00
Theo Arends 58e13edea0 Change loglevel message 2023-06-30 11:31:59 +02:00
Theo Arends ca452c5e43 Add Energy->phase_count_virtual 2023-06-30 11:14:37 +02:00
Theo Arends 07b7a7ee9a Fix initial ESP32 Energy kWh total time 2023-05-29 16:19:55 +02:00
Theo Arends 86979646ff Energy power delta report delayed
Energy power delta report delayed by two seconds allowing hardware to stabilize (#17751)
2023-05-11 18:10:52 +02:00
Theo Arends c2a6dd81e8 Fix ESP32 energy monitoring set StartTotalTime
Fix ESP32 energy monitoring set StartTotalTime regression from v12.3.1.5 (#18385)
2023-04-14 17:42:31 +02:00
Theo Arends 1e1c536a50 Consolidate Energy Column Gui 2023-03-25 15:16:06 +01:00
Theo Arends 115105bf7c Consolidate energy messages 2023-03-18 18:26:43 +01:00
Theo Arends 9a3a479c4f Reduce heap fragmentation 2023-03-17 21:17:53 +01:00
Theo Arends 54a2688cbf Bump v12.4.0.3
- Bump v12.4.0.3
- Refactor energy monitoring reducing stack usage and solve inherent exceptions and watchdogs (#18164)
2023-03-17 21:05:51 +01:00
Theo Arends bda32739a8 Support for reset settings on filesystem 2023-03-13 15:41:21 +01:00
Theo Arends 8a3546e5c4 Fix ESP32 energy period
Fix ESP32 energy period shows kWh value instead of Wh regression from v12.3.1.5 (#15856)
2023-03-11 17:01:43 +01:00
Barbudor 0dc39e0470
Tariff command variant to force tariff - take 2 (#18112)
* tariff command variant to force tariff

* move to Settings + add esp8266

* added tariff-forced to changelog
2023-03-04 21:58:03 +01:00
Barbudor 6b016eb860
tariff command variant to force tariff (#18102) 2023-03-03 18:43:26 +01:00
Theo Arends 5cdd9791f4 Fix invalid apparent and reactive power 2023-02-28 10:17:30 +01:00
Theo Arends 4c59b5b8d1 Fix Energytotals cannot be set to negative values
Fix Energytotals cannot be set to negative values (#17965)
2023-02-17 10:53:07 +01:00
Theo Arends ec56473631 Refactor XxxSet and XxxCal energy commands 2023-02-12 14:05:33 +01:00
Theo Arends c699131103 Add Shelly Pro 4PM to lvgl binary 2023-02-05 16:22:18 +01:00
Theo Arends db581b15c7 Add SetOption150
Add SetOption150 - (Energy) Force no voltage/frequency common allowing individual voltage channel calibration.
2023-01-31 22:30:50 +01:00
Theo Arends 9e9afe88f1 Fix ESP32 energy monitoring over 3 phases 2023-01-30 14:16:13 +01:00
Theo Arends 5b0ee76173 Fix ESP32 energy monitoring migration 2023-01-30 13:14:02 +01:00
Theo Arends db3fdc5118 Add ESP32 support for eigth energy phases/channels
- ESP32 support for eigth energy phases/channels
- ESP32 command ``EnergyCols 1..8`` to change number of GUI columns
- ESP32 command ``EnergyDisplay 1..3`` to change GUI column presentation
- support for SEN5X gas and air quality sensor by Tyeth Gundry (#17736)
2023-01-29 16:09:13 +01:00
Theo Arends 76a1c00917 Add more energy verbosity at restart 2023-01-28 11:30:42 +01:00