Commit Graph
684 Commits
Author SHA1 Message Date
TD-er 24cd5a2d74 [PIO] Add all used libraries in lib folder
[PIO] Update lib/default folder in Platformio.ini


[PIO] Update lib/default folder in Platformio.ini


[PIO] Add missing parts in library.properties files
2022-11-07 16:01:28 +01:00
TD-er bc2e3f4acd [HLW8012] Don't use double when float will suffice 2022-11-03 01:27:43 +01:00
TD-er 781dbe0971 [HLW8012] Improve stability and resolution Voltage/Current measurement
Every now and then there would be some fluke measurements, due to some late interrupt handling.
Now the pulses on CF1 are counted as well as measured.
For low pulse counts, only the duration of the last pulse is taken as it may take some time to get stable pulses. Thus then it is better to use only the last one of a period.
For high pulse counts, it is better to take the duration over a longer time and then average over the nr of pulses.

Before this, the "resolution" of the mains voltage measurements were roughly 8V and thus completely unusable.
With these changes, the resolution of the mains voltage is closely following the measured voltage of the CSE7766, used in the Sonoff POW2. (less than 0.1 V off in the same wall socket)
2022-11-03 00:42:33 +01:00
TD-er 8ff77e9e97 [PMSx003] Support I2C UART bridge on ESP32 2022-10-29 20:19:01 +02:00
TD-er b77c5f60f4 Merge branch 'mega' into bugfix/wifi_mode_multiple_times 2022-10-27 21:06:09 +02:00
TD-er 6598837ad1 Merge pull request #3997 from uwekaditz/P036_improvement
P036 improvement (Alignment and font can be set for each line)
2022-10-27 21:04:37 +02:00
TD-er 5eacb90814 Merge branch 'mega' into bugfix/wifi_mode_multiple_times 2022-10-26 12:17:46 +02:00
TD-er 3b772ddb36 [GPS] Fix set system time via GPS 2022-10-26 01:21:08 +02:00
TD-er cb1afc5e1a [Sonoff POW] Do not use volatile ints to check for divide by zero
The HLW8012 does have a few volatile members.
However when checking these for != 0 and then use them in a division, you may still end up with a divide by zero crash since these can change any time.
2022-10-24 15:50:54 +02:00
uwekaditz 70ba3a3cf6 Merge branch 'mega' into P036_improvement 2022-10-18 20:18:37 +02:00
TD-er f1441528f3 [PVS Studio] Fix some uninitialized members found by PVS Studio 2022-10-18 01:22:51 +02:00
uwekaditz 4d0c3415db Merge branch 'mega' into P036_improvement 2022-10-17 17:34:42 +02:00
Ton Huisman 5b71f12e80 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/P118-select-cs-and-refactoring 2022-10-14 23:06:22 +02:00
TD-er aeb3e96078 Merge branch 'mega' into P036_improvement 2022-10-14 22:32:14 +02:00
Ton Huisman 8392ec3965 [Bugfix] P141 PCD8544 Library issue resolutions 2022-10-14 21:03:18 +02:00
uwekaditz c8bec1ea16 Merge branch 'mega' into P036_improvement 2022-09-21 20:11:22 +02:00
TD-er 83c8236d4e Merge branch 'mega' into feature/P118-select-cs-and-refactoring 2022-09-19 13:36:41 +02:00
TD-er 19ee72d9c7 Merge pull request #3974 from tonhuisman/bugfix/P064-avoid-blocking-when-reading-gesture
[P064] Unblock while reading gestures when object is very close
2022-09-18 22:57:48 +02:00
Ton Huisman 8848f340a2 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/P118-select-cs-and-refactoring 2022-09-14 21:13:55 +02:00
Ton Huisman bc59ec7adf [Libs] Partially upgrade HeatpumpIR lib to fix PVS reported issue and save space 2022-09-10 19:36:03 +02:00
Ton Huisman 0c3a19e269 [Code] Apply PVS-Studio bugfixes and suggestions, 2022-09 2022-09-09 20:50:44 +02:00
uwekaditz a62eed0bbd Merge branch 'mega' into P036_improvement 2022-08-29 21:40:07 +02:00
Ton Huisman a7832f6aa6 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into bugfix/P064-avoid-blocking-when-reading-gesture 2022-08-28 16:55:49 +02:00
TD-er 44b2677de9 Merge pull request #4197 from tonhuisman/feature/several-small-improvements-2022-08
[General] Several small improvements 2022-08
2022-08-28 13:38:33 +02:00
TD-er 64c8aabeb3 Merge branch 'mega' into bugfix/RN2483_lorawan 2022-08-28 01:02:35 +02:00
uwekaditz e2a6b31253 Merge branch 'mega' into P036_improvement 2022-08-26 19:11:25 +02:00
TD-er 012104a90a [String] Use .equals for flash strings instead of == 2022-08-26 17:00:03 +02:00
TD-er 85d499164f Merge branch 'mega' into bugfix/RN2483_lorawan 2022-08-25 12:09:42 +02:00
Ton Huisman d70c329f42 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into bugfix/P064-avoid-blocking-when-reading-gesture 2022-08-24 21:12:31 +02:00
Ton Huisman e05e58f520 Merge branch 'mega' into feature/P118-select-cs-and-refactoring 2022-08-24 10:42:11 +02:00
Ton Huisman 86754f330e [Lib] Remove unused variable from SparkFun AS7265X library (avoid compiler warning) 2022-08-24 10:35:24 +02:00
Ton Huisman b9500b1bc3 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/several-small-improvements-2022-08 2022-08-23 21:19:21 +02:00
stefan 20f09d5fdb [ArduinoIDE] Make it compile again
Some small changes to make it compile again on Arduino IDE for esp8266 as well as esp32.
2022-08-22 19:24:11 +02:00
Ton Huisman 724608540e Merge branch 'mega' into feature/several-small-improvements-2022-08 2022-08-21 22:21:02 +02:00
TD-er d7c8ce5ec1 Merge branch 'mega' into bugfix/RN2483_lorawan 2022-08-21 09:57:05 +02:00
TD-er d75df831d6 [Cleanup] Reduce build size for minimal builds 2022-08-20 02:41:14 +02:00
TD-er 57451a627c [Build] Fix ESPEasySerial build with DISABLE_SOFTWARE_SERIAL defined 2022-08-19 15:16:00 +02:00
Ton Huisman 71fd31cd1e [Itho Lib] Code improvements as suggested (mostly) 2022-08-19 13:28:25 +02:00
Ton Huisman 61c1f2b9cd [Itho Lib] Merge Orcon functions from #4099 2022-08-18 17:41:21 +02:00
Ton Huisman da9cdda942 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/P118-select-cs-and-refactoring 2022-08-18 15:56:20 +02:00
uwekaditz 9e855f9a80 Merge branch 'mega' into P036_improvement 2022-08-16 21:24:50 +02:00
TD-er 04813c9332 [Build] Fix include path + add CircularBuffer to libs folder (#4201)
Fixes: #4201
2022-08-15 17:02:45 +02:00
Ton Huisman c9ce6fecec [IRremoteESP8266] Add comments requested by lib maintainers 2022-08-13 10:38:59 +02:00
Ton Huisman 951f2351a6 Merge branch 'mega' into bugfix/P064-avoid-blocking-when-reading-gesture 2022-08-12 23:05:30 +02:00
Ton Huisman f6fa2b700e [IRremoteESP8266] Fix a few wrong-mapped defines 2022-08-12 21:39:01 +02:00
TD-er 96286d8fa9 Merge branch 'mega' into bugfix/RN2483_lorawan 2022-08-12 13:01:44 +02:00
Ton Huisman 5f591cee68 [P118] Fix ESP32 support, shorten lib time-out, improve Devices overview display 2022-08-11 16:21:05 +02:00
Ton Huisman 7a8e88f8b3 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/P118-select-cs-and-refactoring 2022-08-11 09:32:37 +02:00
TD-er bb8580534f Merge branch 'mega' into P036_improvement 2022-08-11 01:12:36 +02:00
TD-er b577ba8d0a Merge pull request #4181 from tonhuisman/feature/IR-facilitate-ir-device-selection
[IR] [Build] Enable IR device selection, upgrade IRremoteESP8266 lib
2022-08-10 21:51:13 +02:00