TD-er
56d5ada887
[Linux Build] Add some checks to prevent wiping ALL data on PC
...
See [the forum](https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=8542 ) of what terrible things may happen if `mktemp` is not installed on the system.
2021-05-11 20:03:04 +02:00
TD-er
f62219f54b
Merge pull request #3629 from TD-er/feature/boot_cause_variable
...
[Boot Cause] Make boot cause more clear + add %bootcause% for rules
2021-05-11 11:59:17 +02:00
TD-er
a16be4c45c
[Boot Cause] Make boot cause more clear + add %bootcause% for rules
...
(re)boot cause as integer value, to be used in rules.
- 0 = manual reboot (reset btn)
- 1 = cold boot
- 2 = deep sleep
- 3 = soft restart
- 10 = ext Watchdog
- 11 = SW Watchdog
- 12 = Exception
- 20 = Power unstable
2021-05-11 11:39:17 +02:00
TD-er
e89c9ebe8b
Merge pull request #3572 from kretzp/feature/AtlasEZOPlugins_pH_EC
...
Feature/AtlasEZOPlugins_pH_EC_ORP
2021-05-10 23:20:08 +02:00
Peter Kretz
5ec80e99cc
Update platformio_esp82xx_envs.ini
...
Removed custom builds
2021-05-10 22:34:54 +02:00
Peter Kretz
0804ea696b
Update platformio_esp32_envs.ini
...
removed upload speed
2021-05-10 14:44:20 +02:00
Peter Kretz
4b2aca276f
Update Custom-sample.h
...
reverted to original Custom-sample.h
2021-05-10 14:37:02 +02:00
Peter Kretz
f92c728472
Update platformio_esp32_envs.ini
...
removed personal builds
2021-05-09 23:32:14 +02:00
Peter Kretz
d3854d0bde
Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC
2021-05-09 22:45:52 +02:00
Peter Kretz
f0427dead1
Merge commit 'bdeb1e5a35f2483a7fd07cc0d7a833c741b2de6f' into mega
2021-05-09 22:29:27 +02:00
Peter Kretz
7278a21f0f
Removed build error for Build error for ESP32 builds:
...
byte board_type = UNKNOWN;
2021-05-09 21:51:24 +02:00
Peter Kretz
9ce5145607
Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC
2021-05-09 21:12:12 +02:00
TD-er
bdeb1e5a35
[Locking] Add mutex to access map structures ( #3623 )
...
Needed for ESPEasy-NOW PR, but may be useful in other data structures too.
On ESP32, the callback functions from network/WiFi can come from another core (and on single core, from another task), so data structures shared among RTOS tasks or callback events may need these for sure.
Not sure if these are currently needed on ESP8266, as all is dealt with on the same core and we also do not access tricky data structures in callback functions (yet)
But for ESPEasy-NOW we will use std::map data structures which sometimes need to rebalance their RB-tree from callback functions.
Those will for sure cause crashes when interrupted during erase or insert as both may cause RB-tree balancing.
Note:
Not sure what will happen on ESP8266 if a callback function ends up in a lock() call.
On ESP32 this will not really cause issues as tasks are time slotted, but ESP8266 does not have these.
2021-05-08 23:54:18 +02:00
Peter Kretz
4b0bf5b073
Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC
2021-05-07 10:11:05 +02:00
TD-er
52fb53ab6b
Merge pull request #3545 from KimPanda4/P003-2.2-PULSE-enhancement
...
P003 New enhanced version 2.2 (PULSE Modes)
2021-05-06 22:33:03 +02:00
TD-er
002775ff5a
Merge pull request #3622 from TD-er/bugfix/std_move_controllerqueue
...
[Memory] Use move operator to prevent extra memory allocs
2021-05-06 11:28:49 +02:00
TD-er
b6f0ae5dcd
[Controller Queue] Remove unneeded constructors using =default and =delete
2021-05-06 00:07:53 +02:00
TD-er
3a11a19a49
[Cleanup] Remove unneeded std::move and copy/assignment constructors
2021-05-05 23:55:55 +02:00
TD-er
e6c3a0f5c6
[Oopsie] Need to hide in other commits, deny this ever was committed!
...
As reported on [the forum](https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=8528&p=52439#p52439 )
2021-05-05 22:40:34 +02:00
TD-er
e519d0b7b9
[Network] Allow fallback to WiFi when Ethernet not connected at boot
2021-05-05 13:50:24 +02:00
TD-er
cad9793b16
[WiFi] Show WiFi STA MAC in sysinfo when eth is active
2021-05-05 13:23:35 +02:00
TD-er
885f47fee7
[WiFi] Fix small issues showing WiFi state & abort WiFi connection process
2021-05-05 13:04:33 +02:00
TD-er
e23801e977
[Network] Properly switch between ETH and WiFi
...
ESP32 does send events for connected/disconnected only once.
So we cannot rely on the events.
Also the WiFi disconnect was not handled well when switching between network media.
2021-05-05 13:00:24 +02:00
TD-er
c785d9e924
[Memory] getMaxFreeBlock() should return valid value on ESP32
2021-05-05 00:15:19 +02:00
TD-er
c1f506bebd
[MQTT] Fix MQTT controller may not connect when re-enabled after a while
2021-05-04 22:42:18 +02:00
TD-er
377c4cb5c0
[Controllers] Implement move constructor to guarantee no copy is made
2021-05-04 21:21:03 +02:00
TD-er
e2145da201
[Events] Make sure events are not copied unless absolutely needed
2021-05-04 20:23:50 +02:00
TD-er
c7b2b3aa60
Add move assignment to EventStruct
2021-05-04 15:50:50 +02:00
Peter Kretz
c25c04d6ff
Merge branch 'mega' of https://github.com/kretzp/ESPEasy into mega
2021-05-03 21:04:30 +02:00
Peter Kretz
339f202168
platformio
2021-05-03 21:03:21 +02:00
Peter Kretz
00d5044c4c
Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC
2021-05-03 20:57:45 +02:00
TD-er
5b2e3f5c66
[Controller] Do not keep unitMessageCount as member when not needed
2021-05-03 20:24:55 +02:00
TD-er
53b0a17d16
[Controllers] Optimize memory usage by using std::move
...
Controllers now use the move operator where possible to prevent memory allocation when a move is possible.
Also started implementation of checking for message count per unit to see if we received the exact message twice.
2021-05-03 19:44:46 +02:00
TD-er
aacae4910d
automatically updated release notes for mega-20210503
mega-20210503
2021-05-03 10:58:06 +02:00
TD-er
a6a8ce71ad
Merge branch 'mega' into P003-2.2-PULSE-enhancement
2021-05-03 00:37:56 +02:00
TD-er
aae07fb004
Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC
2021-05-03 00:36:40 +02:00
TD-er
7e408c45e7
Merge pull request #3600 from tonhuisman/feature/build-split-testing-sets-in-4-pieces
...
[Build] Split testing sets into 4 pieces
2021-05-03 00:34:34 +02:00
Ton Huisman
66924657df
[Build] Exclude C016 and SD-card features on 1M units to fit custom builds
2021-05-02 21:40:01 +02:00
Ton Huisman
61a9adccc3
[Build] Revert unneeded change to build.yml, add docs on use of Custom.h
2021-05-02 19:48:10 +02:00
Ton Huisman
f543061d96
[Build] Actions: Also build ESP8285, WROOM02 and 'hard' environments
2021-05-02 17:31:13 +02:00
Ton Huisman
ea418349c7
[Build] Remove reference to dev build from platformio.ini
2021-05-02 17:20:37 +02:00
Ton Huisman
1ccfb010a8
[Build] Remove dev build instead of commenting it out
2021-05-02 17:15:05 +02:00
Ton Huisman
407170e6fb
Merge branch 'feature/build-split-testing-sets-in-4-pieces' of https://github.com/tonhuisman/ESPEasy-1 into feature/build-split-testing-sets-in-4-pieces
2021-05-02 16:48:08 +02:00
Ton Huisman
6bde89860b
[Build] Disable dev build, update README.md and build documentation
2021-05-02 16:47:43 +02:00
Ton Huisman
913d62362b
Merge branch 'mega' into feature/build-split-testing-sets-in-4-pieces
2021-05-01 16:59:25 +02:00
Peter Kretz
39c8e5fb5f
Merge branch 'mega' into feature/AtlasEZOPlugins_pH_EC
2021-05-01 14:31:48 +02:00
TD-er
8ae22d447e
Merge pull request #3610 from TD-er/bugfix/esp32_core_2_1_0
...
[ESP32] Revert back to Espressif32 PIO v 2.1.0 due to serial issues
2021-04-29 15:35:19 +02:00
TD-er
192ef10d30
Merge pull request #3612 from TD-er/feature/TTN_v3
...
[TTN] Add decoders for plugins 102-113 + TTNv3 decoder (#3611 )
2021-04-29 14:25:15 +02:00
TD-er
d62a1a6849
[TTN] Include all 6 values for P102 PZEM004Tv3
...
Those values are already collected from the sensor, so why not send them all in a single TTN message.
2021-04-29 13:26:02 +02:00
TD-er
d67f847736
[TTNv3] Add selector for TTN stack version
...
TTN stack version selector does change the RX1 delay so ESPEasy can be used as TTNv3 node.
2021-04-29 12:33:09 +02:00