Commit Graph

67 Commits

Author SHA1 Message Date
Theo Arends aeb965435e Fix ESP32 energy export calculation 2024-12-07 18:01:33 +01:00
Theo Arends 62e4bf1acd Add command `SetOption162 1` to disable adding export energy to energy today (#22578) 2024-12-03 11:34:48 +01:00
Theo Arends 4046cd8ec0 Add show Active Power Total with any multi-phase energy monitoring (#22579) 2024-12-03 10:28:38 +01:00
SteWers f255233f90
[Energy] Fix for New Year's Day (#22536)
Fix rollover on New Year's Day
2024-11-23 16:05:15 +01:00
SteWers 16b6d353f4
[Energy] Fix hardware sensor and restore (#22528)
- Fix handling, when using hardware sensor for EnergytTotal (SO72)
- Fix restore values, when device is off over midnight and power supply is unstable while powering on at the next day
2024-11-22 21:01:31 +01:00
Ville Skyttä 2f3808adc9
Use standard `var` spelling for reactive power unit (#22435)
- https://en.wikipedia.org/wiki/Volt-ampere#Volt-ampere_reactive
- https://engineering.electrical-equipment.org/energy-efficiency-kvar/kvar-or-kvar.html
2024-11-08 17:15:03 +01:00
Theo Arends bca4211500 Fix ESP32 energy margins reporting when powered off 2024-10-27 15:32:40 +01:00
SteWers bbba5b9196
[SolaxX1] Add meter mode (#22330) 2024-10-24 10:08:00 +02:00
Theo Arends 452031fbbd Add Energy Export Active support to BL0906 (Athom EM2/EM6) 2024-09-27 18:08:22 +02:00
Theo Arends ab2d6c1169 Add Energy command ``PowerSet 60,230`` to calibrate both Current and Power with known resistive load of 60W at 230V using calibrated Voltage 2024-08-20 13:08:56 +02:00
Theo Arends c5b92d3ab1 Add Energy Log level 4 message when (Calculated) Apparent Power is less than Active Power indicating wrong calibration (#20653) 2024-08-19 22:31:56 +02:00
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