Commit Graph

27 Commits

Author SHA1 Message Date
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
Theo Arends cb270198a2 Fix HLW8012
Fix Hlw8012/Bl0937 averages pulses over 200ms (#11722)
2021-04-14 17:47:04 +02:00
Theo Arends e2b5df08f1 Revert "Merge pull request #11722 from Lovett1991/development"
This reverts commit 1da04746fd, reversing
changes made to 638e016a47.
2021-04-14 16:44:56 +02:00
Lovett1991 a10095217c Merge remote-tracking branch 'upstream/development' into development 2021-04-14 10:13:46 +01:00
Alex cfebce9b09
Hlw8012/Bl0937 averages pulses over 200ms (#1)
* Hlw8012/Bl0937 averages pulses over 200ms

* Hlw8012/Bl0937 averages pulses over 200ms
2021-04-14 09:57:23 +01:00
Theo Arends 0650744ac2 Remove overtemp detection on external energy monitoring devices
Removed overtemp detection on external energy monitoring devices (#11628)
2021-04-09 10:04:37 +02:00
Theo Arends 2350697815 Use IRAM_ATTR in place of ICACHE_RAM_ATTR 2021-04-02 17:14:08 +02:00
Theo Arends ac054ea666 Refactor AddLog usage 2021-01-23 17:10:06 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
Theo Arends fa7fdbd51a Consolidate `AddLog_P`
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
Theo Arends af5082320d Use global struct 2020-10-30 12:29:48 +01:00
Theo Arends 95c0274d59 Fix hlw8012 interrupt use of global vars 2020-10-13 15:55:46 +02:00
Theo Arends 0eb078a5cb Final fix 2020-09-09 10:56:18 +02:00
Theo Arends 9f26068b7d Fix HLW8012 related total energy counters
Fix HLW8012 related total energy counters (#9263, #9266)
2020-09-09 10:49:04 +02:00
Theo Arends 73ea5d6ef8 Add comment regarding rounding error 2020-08-26 16:56:40 +02:00
Povl H. Pedersen e5a02772f0
Update xnrg_01_hlw8012.ino
Fix rounding error in kWhtoday_delta calculation. 
At 3.6kW load, hlw_len could be as low as 5, so rounding could make the value 20% off. Multiply hlw_len by 1000 and the dividend a few lines below as well fixes this. With integer math only, dividends should keep precision as long as possible.
2020-08-25 09:33:27 +02:00
Theo Arends b5f45aa295 Fix ESP32 SPI config 2020-06-20 17:58:21 +02:00
Theo Arends 892be892fa Remove gpio to pin support 2020-05-01 17:37:56 +02:00
Theo Arends 60e7a73b60 Switch from GPIO array to Pin array 2020-04-28 14:42:47 +02:00
Theo Arends ae4ec4325d Change pin handling part 5 2020-04-27 17:16:52 +02:00
Theo Arends 86f801c349 Change pin handling part 4/4 2020-04-27 16:47:29 +02:00
Theo Arends c939077514 Change pin handling part 3 2020-04-27 12:54:07 +02:00
Theo Arends 24280bcdea Change pin handling part 2 2020-04-27 11:54:23 +02:00
Theo Arends 5d9be9a4d0 Fix pin handling part 1 2020-04-27 10:35:38 +02:00
Theo Arends 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01:00
Theo Arends 5c282db649 Add some GPIO checks 2019-12-18 18:21:10 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00