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