Commit Graph
10986 Commits
Author SHA1 Message Date
Ton Huisman 48d4e4e537 [CodeMirror] Add NeoPixelBright command 2022-11-08 19:58:20 +01:00
Ton Huisman 5b1abccde5 Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/P038-add-initial-and-max-brightness-and-command 2022-11-08 13:43:15 +01:00
TD-er ba182c5992 Merge pull request #4343 from tonhuisman/bugfix/PSRAM-enabling-platform-update-psram-fix-prepared
[Build] Update platform to 2.0.5.2, enable PSRAM for 16M8M envs, prepare PSRAM fix config
2022-11-08 13:10:19 +01:00
TD-er a2e7915cca Merge remote-tracking branch 'letscontrolit/mega' into bugfix/PSRAM-enabling-platform-update-psram-fix-prepared 2022-11-08 12:44:34 +01:00
TD-er 45cb22e33c [P002] Fix using nr. decimals in calibration
Behavior was different compared to builds without `LIMIT_BUILD_SIZE`
2022-11-08 12:43:38 +01:00
TD-er 6a2baa447f Merge pull request #4344 from zafrirron/P012-rules_example
LCD Rules example
2022-11-08 11:52:17 +01:00
TD-er 6683b29daa [Docs] Fix "Validate a RFID tag" example
See [forum discussion](https://www.letscontrolit.com/forum/viewtopic.php?p=60849#p60849)
2022-11-08 11:49:58 +01:00
Zafrir Ron 7c9e4b9f26 Fix to asyncevent & speed comment
As per review comment
2022-11-08 12:49:02 +02:00
Zafrir Ron 453fc86fcb Fix set speed comment
As per review comment
2022-11-08 12:29:05 +02:00
Zafrir Ron df2be23c02 Impoved version
Raise user event for speed change
2022-11-08 12:16:48 +02:00
Zafrir Ron 4824b8d823 spelling correction 2022-11-08 12:02:59 +02:00
Zafrir Ron 008f7110c1 Merge branch 'mega' into P012-rules_example 2022-11-08 11:41:52 +02:00
Zafrir Ron 5e2d81f990 LCD Rules example
Rules engine example for LCD sreen, displays a running 'X' across the screen, switching between two speeds every screen loop completion.
2022-11-08 11:40:02 +02:00
Ton Huisman 5076419f4d [Build] Update platform to 2.0.5.2, enable PSRAM for 16M8M envs, prepare PSRAM fix config 2022-11-07 23:15:43 +01:00
Ton Huisman a5314fbd16 Merge branch 'mega' into feature/P038-add-initial-and-max-brightness-and-command 2022-11-07 18:48:07 +01:00
TD-er 8ffa6b75dd Merge pull request #4342 from TD-er/build/Collect_all_libs
[PIO] Add all used libs to repository tree
2022-11-07 17:33:19 +01:00
TD-er c5132cc89a [PSRAM] Do not check UsePSRAM but FoundPSRAM 2022-11-07 16:01:28 +01:00
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 4b6ad0cb25 Merge branch 'mega' into feature/P038-add-initial-and-max-brightness-and-command 2022-11-06 22:34:41 +01:00
TD-er 2731bd15dd Merge pull request #4333 from TD-er/build/remove_build_workaround_ESP32
[PIO Build] Remove concat work-around for ESP32 builds
2022-11-06 22:33:59 +01:00
TD-er 4100604da3 Merge pull request #4334 from tonhuisman/bugfix/revert-espressif32-framework
[Build] Revert Espressif32 framework to 2.0.4.1 to fix NeoPixel/RMT related issues
2022-11-06 22:33:39 +01:00
Ton Huisman 3922d32193 [P038] Add initial and max brightness settings and command, update docs, optimizations 2022-11-06 22:15:38 +01:00
Ton Huisman a660c4ed0a [Build] Revert Espressif32 framework to 2.0.4.1 to fix NeoPixel/RMT related issues 2022-11-05 21:55:27 +01:00
TD-er bec8ef0730 [PIO Build] Remove concat work-around for ESP32 builds 2022-11-05 19:44:10 +01:00
TD-er 5c7470c1ab automatically updated release notes for mega-20221105 mega-20221105 2022-11-05 16:15:45 +01:00
TD-er 1ab68a4011 Merge pull request #4331 from TD-er/build/fix_build_issues
[Build] Fix missing include + some define checks
2022-11-05 16:14:14 +01:00
TD-er 3948b86bbf [Build] Fix missing include + some define checks
When making a custom build with one or more of these defines, it may result in lots of warnings, slowing down the build process considerably.
2022-11-05 15:43:41 +01:00
TD-er 836e0d5e32 Reserve ESPEasy-NOW member in SettingsStruct
Just to make sure it isn't re-used by someone else as it was marked available for re-use.
2022-11-05 14:26:31 +01:00
TD-er 88a5a812af Merge pull request #4330 from TD-er/bugfix/inline_CSS_setup_page
[Setup] Fix CSS on setup page + WiFi/Eth event handling
2022-11-05 14:07:59 +01:00
TD-er 6f07e175e4 [Ethernet] Split handling WiFi/Eth event processing 2022-11-05 13:23:07 +01:00
TD-er f3c6d2e83d [Ethernet] Fix restore Eth DNS static IP config 2022-11-05 12:31:09 +01:00
TD-er 9e73c15e2e [Ethernet] Restore DNS records for Eth when WiFi turned off 2022-11-05 11:48:14 +01:00
TD-er 36c9cacf82 [WiFi] Increase time between WiFi reconnects 2022-11-05 11:45:48 +01:00
TD-er bffb781fb1 [Eth] Split WiFi and Eth event data + fix static Ethernet IP 2022-11-05 11:14:35 +01:00
TD-er 5ed9b4ef02 [WiFi/Eth] Split handling of WiFi and Ethernet events 2022-11-05 10:50:21 +01:00
TD-er a1fb23fe0a [PlatformIO] Add missing ESP32 ETH envs (energy/display/climate/neopixel) 2022-11-05 09:09:01 +01:00
TD-er 0db5e0af23 [Settings] Reintroduce MD5 checksum to prevent saving unchanged settings 2022-11-05 01:14:39 +01:00
TD-er bfe79d227c [Setup] Fix CSS on setup page + WiFi/Eth event handling
On ESP32, the event handling for WiFi (and Ethernet) needs to be re-registered when interfaces are turned on/off.
Otherwise events like connect to ESP AP will not be registered and thus the captive login page will not be served.

Also Favicon and CSS were not properly shown on the setup page on ESP32/ESP32-S2 due to a mismatch in file name comparison.
2022-11-04 17:24:27 +01:00
TD-er 3df7e09438 Merge pull request #4313 from TD-er/cleanup/reduce_bin_size
[Cleanup] Reduce bin size by assigning smaller types to enums
2022-11-04 10:44:16 +01:00
TD-er e19c689077 Merge pull request #4329 from tonhuisman/feature/build-add-psram-envs-for-16m8m
[Build] Add PSRAM environments for 16M8M
2022-11-04 10:01:31 +01:00
Ton Huisman 9c89143aff [Build] Switch to platform-espressif32 2.0.5.2 2022-11-03 23:27:11 +01:00
Ton Huisman df1c9d7ccc [Build] Add PSRAM environments for 16M8M 2022-11-03 23:07:14 +01:00
TD-er d67c354a94 Merge pull request #4328 from TD-er/bugfix/HLW8012_jitter
[HLW8012] Improve stability and resolution Voltage/Current measurement
2022-11-03 16:41:08 +01:00
TD-er 1ef37147b9 Merge branch 'mega' into bugfix/HLW8012_jitter 2022-11-03 10:44:38 +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 90e520cec8 Merge branch 'mega' into cleanup/reduce_bin_size 2022-11-02 22:40:08 +01:00
TD-er cff4e44522 Merge pull request #4321 from fmuntean/P014-SI70xx
[P014 si70xx] fixing support for htu21D
2022-11-02 22:39:46 +01:00
TD-er 22cc1fbbca Merge pull request #4327 from tonhuisman/bugfix/P037-enable-events-when-adding-task
[P037] Bugfix: Enable event generation when adding task
2022-11-02 22:39:21 +01:00
Ton Huisman b77f5a4297 [P037] Bugfix: Enable event generation when adding task 2022-11-02 19:40:51 +01:00