Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: ESPEasy-now layer #3301

Open
wants to merge 712 commits into
base: mega
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
712 commits
Select commit Hold shift + click to select a range
e9fdfba
[WiFi] Fix reconnect when toggling AP mode + disable TX power
TD-er Aug 10, 2022
ba7eef2
Merge branch 'mega' into feature/esp-now-controller
TD-er Aug 11, 2022
cd70b6c
Merge branch 'mega' into feature/esp-now-controller
TD-er Aug 12, 2022
19f5aef
Merge branch 'mega' into bugfix/WiFi_AP_mode
TD-er Aug 12, 2022
c6aa91f
Merge branch 'mega' into feature/esp-now-controller
TD-er Aug 18, 2022
f1ae506
Merge branch 'mega' into feature/esp-now-controller
TD-er Aug 18, 2022
842d9ae
[Eth] Fix missing include for ESPEasy Ethernet
TD-er Aug 18, 2022
66a6292
Merge branch 'mega' into feature/esp-now-controller
TD-er Aug 21, 2022
fd51a51
Merge branch 'mega' into bugfix/WiFi_AP_mode
TD-er Aug 21, 2022
c2c5055
Merge branch 'mega' into feature/esp-now-controller
TD-er Aug 21, 2022
3b6d3b7
[Build] Fix merge issues
TD-er Aug 21, 2022
cd0846f
Merge branch 'mega' into feature/esp-now-controller
TD-er Aug 21, 2022
35eeace
Merge branch 'mega' into bugfix/WiFi_AP_mode
TD-er Aug 22, 2022
d9a1076
Merge branch 'mega' into feature/esp-now-controller
TD-er Aug 22, 2022
24a46da
Merge branch 'mega' into bugfix/WiFi_AP_mode
TD-er Aug 25, 2022
f14d2ab
Merge branch 'mega' into feature/esp-now-controller
TD-er Aug 25, 2022
6fef4cd
Merge branch 'mega' into bugfix/WiFi_AP_mode
TD-er Aug 27, 2022
c2bdd30
Merge branch 'mega' into feature/esp-now-controller
TD-er Aug 27, 2022
bbedd93
Merge branch 'mega' into feature/esp-now-controller
TD-er Aug 30, 2022
bfa51e6
Merge branch 'mega' into bugfix/WiFi_AP_mode
TD-er Aug 30, 2022
a457bf3
Merge branch 'mega' into feature/esp-now-controller
TD-er Sep 2, 2022
302fce6
Merge branch 'mega' into bugfix/WiFi_AP_mode
TD-er Sep 2, 2022
ec7138d
Merge remote-tracking branch 'letscontrolit/mega' into feature/esp-no…
TD-er Sep 2, 2022
8169d54
Merge branch 'mega' into feature/esp-now-controller
TD-er Sep 3, 2022
28ca59e
[ESPEasy-NOW] Fix not considering self as preferred node
TD-er Sep 7, 2022
c1cba5a
Merge branch 'mega' into feature/esp-now-controller
TD-er Sep 7, 2022
6297116
Merge branch 'mega' into bugfix/WiFi_AP_mode
TD-er Sep 7, 2022
d9f21f4
Merge remote-tracking branch 'origin/bugfix/WiFi_AP_mode' into test_w…
TD-er Sep 7, 2022
eff5dd0
[WifiESPNow] Update library to latest version
TD-er Sep 11, 2022
31574ef
[ESPEasy-NOW] Fix WiFi connect on ESP32 using ESPEasy-NOW
TD-er Sep 11, 2022
554dfb7
Merge branch 'test_wifi_ap_PR' into feature/esp-now-controller
TD-er Sep 11, 2022
b3a30fa
Merge branch 'mega' into feature/esp-now-controller
TD-er Sep 11, 2022
7db1b4d
[ESPEasy-NOW] Only switch to WiFi mode when connecting to AP
TD-er Sep 13, 2022
f1b89e5
[ESPEasy-NOW] Add sysvars to use mesh state in rules
TD-er Sep 13, 2022
caa3016
[ESPEasy_NOW] Report intended channel in mesh discovery messages
TD-er Sep 13, 2022
cb566db
Merge branch 'mega' into feature/esp-now-controller
TD-er Sep 26, 2022
ab99783
[WiFi] Prevent setting same WiFi mode multiple times
TD-er Sep 29, 2022
c2c9054
[SysVars] Fix sunrise/sunset offset (%sunrise-1h%)
TD-er Oct 1, 2022
b4dae42
[Build] Reduce build size
TD-er Oct 1, 2022
4995ee0
Merge remote-tracking branch 'letscontrolit/mega' into feature/esp-no…
TD-er Oct 1, 2022
1906e44
Merge branch 'mega' into feature/esp-now-controller
TD-er Oct 2, 2022
b3f61ed
[WiFi] Change Espressif SDK to SDK221
TD-er Oct 2, 2022
c1780f4
[WiFi] Prevent reconnect loop
TD-er Oct 4, 2022
3920336
[WiFi] Fix ESP32 build
TD-er Oct 4, 2022
1944f6b
[WiFi] Prevent reconnect loop
TD-er Oct 5, 2022
87a3a67
[WiFi] Check scan results for known candidates
TD-er Oct 5, 2022
572cc4c
[WiFi] Make WiFi reconnect more predictable
TD-er Oct 5, 2022
d798636
[WiFi] Fix WiFi connect timeout handling
TD-er Oct 6, 2022
7b280f1
[ESPEasy-NOW] Prevent WiFi power off when enabling mesh
TD-er Oct 6, 2022
c23b40c
[WiFi] Limit WiFi logs on size challenged builds
TD-er Oct 6, 2022
52b5394
[Commands] Fix accepting invalid commands
TD-er Oct 7, 2022
6752949
[Cleanup] Reduce bin size when using timing stats
TD-er Oct 7, 2022
6a602a6
[Serial] Make Serial port for ESPEasy console/log configurable
TD-er Oct 7, 2022
a01f861
[Serial] Rename Serial. to ESPEASY_SERIAL_CONSOLE_PORT.
TD-er Oct 7, 2022
e433288
[Factory Default] Fix default settings for SSID2
TD-er Oct 7, 2022
e454151
[WiFi] Reduce time needed to connect to WiFi
TD-er Oct 10, 2022
4db381e
[WiFi Setup] Fix serving CSS on initial WiFi setup
TD-er Oct 8, 2022
096b18c
[Webserver] Fix strange crashes when serving flash strings
TD-er Oct 10, 2022
52356ad
Merge branch 'mega' into feature/esp-now-controller
TD-er Oct 16, 2022
a3658d6
Revert "[Serial] Make Serial port for ESPEasy console/log configurable"
TD-er Oct 7, 2022
396b2a3
Revert "[Serial] Rename Serial. to ESPEASY_SERIAL_CONSOLE_PORT."
TD-er Oct 7, 2022
219620f
[Custom build] Add DEFAULT_CONTROLLER_FALLBACK_MESH for Custom.h
TD-er Oct 16, 2022
20c55df
[p2p] Do not send uninitialized trailing node struct data
TD-er Oct 16, 2022
e3b4086
[WiFi] Clear WiFi scan results when reset WiFi
TD-er Oct 16, 2022
4d50258
[ESPEasy-NOW] Send event on p2p distance change "nodep2p#distance=N"
TD-er Oct 16, 2022
c6259e8
[ESPEasy-NOW] Fix missing include
TD-er Oct 16, 2022
f504974
Merge branch 'mega' into feature/esp-now-controller
TD-er Oct 16, 2022
b243769
Merge branch 'mega' into feature/esp-now-controller
TD-er Oct 17, 2022
d275239
Merge branch 'mega' into feature/esp-now-controller
TD-er Oct 18, 2022
4033aab
Merge branch 'mega' into feature/esp-now-controller
TD-er Oct 23, 2022
4a84e6d
Merge branch 'mega' into feature/esp-now-controller
TD-er Oct 26, 2022
a8304a6
Merge branch 'mega' into feature/esp-now-controller
TD-er Oct 27, 2022
fbe0c18
Merge branch 'mega' into feature/esp-now-controller
TD-er Nov 2, 2022
bab80d1
[ESPEasy-NOW] Fix merge issues
TD-er Nov 2, 2022
c5d2571
Merge branch 'mega' into feature/esp-now-controller
TD-er Nov 3, 2022
6bc1f8c
Merge branch 'mega' into feature/esp-now-controller
TD-er Nov 5, 2022
7d6f88e
Merge branch 'mega' into feature/esp-now-controller
TD-er Nov 6, 2022
a9d1c4d
[ESPEasy-NOW] Fix missing include
TD-er Nov 6, 2022
b94f0c9
Merge branch 'mega' into feature/esp-now-controller
TD-er Nov 7, 2022
39e8c7a
Merge branch 'mega' into feature/esp-now-controller
TD-er Nov 8, 2022
2e5f6b7
Merge branch 'mega' into feature/esp-now-controller
TD-er Nov 9, 2022
f03fdf0
Merge branch 'mega' into feature/esp-now-controller
TD-er Nov 14, 2022
74c97e1
Merge branch 'mega' into feature/esp-now-controller
TD-er Nov 21, 2022
1f12b7d
Merge branch 'mega' into feature/esp-now-controller
TD-er Nov 24, 2022
9858783
Merge branch 'mega' into feature/esp-now-controller
TD-er Nov 25, 2022
7b51525
Merge branch 'mega' into feature/esp-now-controller
TD-er Dec 8, 2022
b440abc
Merge branch 'mega' into feature/esp-now-controller
TD-er Dec 9, 2022
7a0ff8a
[CUL reader] Add proper w-mBus decoding for various types
TD-er Dec 13, 2022
610b9c0
[CUL reader] Allow set manufacturer in readable format
TD-er Dec 15, 2022
a0d743e
[CUL reader] Add test CUL messages for debug
TD-er Dec 16, 2022
5d904ed
Merge remote-tracking branch 'letscontrolit/mega' into feature/esp-no…
TD-er Dec 16, 2022
cd68530
[CUL reader] Fix filtering with not all filter lines set
TD-er Dec 17, 2022
47c862a
[CUL reader] Uncrustify
TD-er Dec 17, 2022
2584ebd
[CUL reader] By default leave out debug features
TD-er Dec 17, 2022
6b657af
[CUL Reader] Fix parsing 'type A' message headers & fix RSSI
TD-er Dec 19, 2022
1fc8fb2
[CUL Reader] Compute checksum CUL messages for deduplication
TD-er Dec 19, 2022
40b8b2d
[CUL reader] Improve mBus checksum uniqueness + reduce header membersize
TD-er Dec 20, 2022
ac8a5b8
Merge branch 'mega' into feature/esp-now-controller
TD-er Dec 25, 2022
521e844
Merge branch 'mega' into feature/esp-now-controller
TD-er Jan 10, 2023
bfcda50
Merge branch 'mega' into feature/esp-now-controller
TD-er Jan 10, 2023
a5fdef2
Merge branch 'mega' into feature/esp-now-controller
TD-er Jan 13, 2023
a85375f
Merge branch 'mega' into feature/esp-now-controller
TD-er Jan 13, 2023
d01dad3
Merge branch 'mega' into feature/esp-now-controller
TD-er Jan 18, 2023
a4373be
[Build] Exclude C019 from custom build.
TD-er Jan 18, 2023
c7c8bab
[ESPEasy_NOW] Fix merge issues forwarding MQTT packets
TD-er Jan 19, 2023
94fc4eb
Merge branch 'mega' into feature/esp-now-controller
TD-er Jan 20, 2023
fcdc022
[ESPEasy-NOW] Add new C019 ESPEasy-NOW controller
TD-er Jan 21, 2023
623ef8c
[LoRaTTN] Split up C018 source files
TD-er Jan 23, 2023
c0a1fc8
[ESPEasy_NOW] Add mesh config to C019 controller + filtering
TD-er Jan 23, 2023
6c2ceff
[WiFi] Allow WiFi scan per channel
TD-er Feb 9, 2023
56fe789
Merge branch 'mega' into feature/esp-now-controller
TD-er Feb 17, 2023
e6befd9
[ESPEasy_NOW] Fix sending announce packets + use forced WiFi channel
TD-er Feb 17, 2023
fdb4c52
[ESPEasy_NOW] Detection of mesh nodes from scan
TD-er Feb 17, 2023
bf0562a
Merge branch 'mega' into feature/esp-now-controller
TD-er Feb 19, 2023
3445e64
[ESPEasy-NOW] Improve routing based on MQTT queue state
TD-er Feb 20, 2023
9c72bca
[ESPEasy_NOW] Fix ESP32 could only connect to AP after 20 mins
TD-er Feb 20, 2023
e292d18
[ESPEasy_NOW] Add filter option to ESPEasy_NOW controller
TD-er Feb 21, 2023
1a3c574
[ESPEasy_NOW] Uncrustify ESPEasy_now_handler
TD-er Feb 21, 2023
6b80541
[ESPEasy_NOW] Fix stability issue with mesh on ESP8266
TD-er Feb 22, 2023
4a75b9a
[ESPEasy_NOW] Fix CUL reader filtering on gateway node
TD-er Feb 22, 2023
f4e9ce9
Merge branch 'mega' into feature/esp-now-controller
TD-er Feb 22, 2023
23ce3eb
[ESP32 ETH] Fix setting DNS on latest ESP32 SDK
TD-er Feb 24, 2023
070a296
Merge branch 'mega' into feature/esp-now-controller
TD-er Feb 28, 2023
0cde584
Merge branch 'mega' into feature/esp-now-controller
TD-er Feb 28, 2023
a12f326
Merge branch 'mega' into feature/esp-now-controller
TD-er Mar 2, 2023
262e6bd
Merge branch 'mega' into feature/esp-now-controller
TD-er Mar 7, 2023
2096875
[ETH] Fix connect to LAN with internal clock
TD-er Mar 8, 2023
ea1938a
Merge remote-tracking branch 'letscontrolit/mega' into feature/esp-no…
TD-er Mar 8, 2023
6b377ef
Merge branch 'mega' into feature/esp-now-controller
TD-er Mar 8, 2023
a5d43d8
[Eth] Fix restoring cached DNS IPs
TD-er Mar 8, 2023
da29a7f
[CUL reader] Add time window filtering
TD-er Mar 17, 2023
cc8ad92
[CUL Reader] Add receive statistics
TD-er Mar 22, 2023
3c3e825
Merge branch 'mega' into feature/esp-now-controller
TD-er Mar 23, 2023
bbb847b
Merge branch 'mega' into feature/esp-now-controller
TD-er Mar 31, 2023
3ce79c4
Merge branch 'mega' into feature/esp-now-controller
TD-er Apr 1, 2023
4d6fce7
Merge branch 'mega' into feature/esp-now-controller
TD-er Apr 5, 2023
b34e95f
[Build] Disable Cache Reader plugin for ESP8266 custom build
TD-er Apr 5, 2023
eb45394
Merge branch 'mega' into feature/esp-now-controller
TD-er Apr 9, 2023
7d0ed4f
Merge branch 'mega' into feature/esp-now-controller
TD-er Apr 12, 2023
e2197ff
Merge branch 'mega' into feature/esp-now-controller
TD-er Apr 16, 2023
2ccfeb5
[ESPEasy-NOW] Fix merge issues
TD-er Apr 16, 2023
53c8545
[RTC TaskValues] Fix proper init of task values
TD-er Apr 17, 2023
bbe6fb1
[CUL Reader] Add new filtering
TD-er Apr 17, 2023
331f0d4
[CUL Reader] Implement new filtering load/store
TD-er Apr 18, 2023
342660e
[CUL Reader] Finetune new filtering load/store
TD-er Apr 20, 2023
c9b27bc
[CUL Reader] Implement new filtering
TD-er Apr 20, 2023
7eb4153
[CUL Reader] Fix build on ESP8266
TD-er Apr 20, 2023
cd3e0e2
[CUL Reader] Simplify task config page layout
TD-er Apr 20, 2023
538096e
[CUL Reader] Show W-Mbus stats and active filter entries
TD-er Apr 20, 2023
ff14a8f
[CUL Reader] Use W-Mbus message length in filter window
TD-er Apr 21, 2023
64e3067
[CUL Reader] Fix filtering unique device identification
TD-er Apr 21, 2023
20c6a95
[CUL Reader] Add both relay device and originator device to stats
TD-er Apr 23, 2023
ff94f55
[CUL Reader] Make CUL stats distinguish per received node
TD-er Apr 29, 2023
0d2b252
[CUL Reader] Suppress events for dumping stats.
TD-er Apr 29, 2023
1bc732b
[CUL Reader] Add commands to modify filters
TD-er Apr 29, 2023
b5f619b
[CUL Reader] Detect filter duplicates
TD-er Apr 29, 2023
4602fcb
[CUL Reader] Fix suggested command to dump stats
TD-er Apr 30, 2023
32b84b1
Merge branch 'mega' into feature/esp-now-controller
TD-er Apr 30, 2023
ad8d147
Merge branch 'mega' into feature/esp-now-controller
TD-er May 2, 2023
1ed20f5
Merge branch 'mega' into feature/esp-now-controller
TD-er May 7, 2023
944996f
Merge branch 'mega' into feature/esp-now-controller
TD-er May 10, 2023
57ff1b0
Merge branch 'mega' into feature/esp-now-controller
TD-er May 10, 2023
6f6411c
Merge branch 'mega' into feature/esp-now-controller
TD-er May 12, 2023
0302edb
Merge branch 'mega' into feature/esp-now-controller
TD-er May 13, 2023
a43e22a
Merge branch 'mega' into feature/esp-now-controller
TD-er May 30, 2023
d3f7104
Merge branch 'mega' into feature/esp-now-controller
TD-er Jun 8, 2023
d9628a4
Merge branch 'mega' into feature/esp-now-controller
TD-er Jun 14, 2023
8afb8ac
[CUL Reader] Disable sorting filters & add command to upload filters
TD-er Jun 14, 2023
09880a4
[ESP32 IDF] Update to IDF 4.4.5 (2023-06-14)
TD-er Jun 14, 2023
99e3e6c
[CUL Reader] Fix save filters + add command to set all filters at once
TD-er Jun 15, 2023
8126c58
[CUL Reader] Fix setfilters command with empty argument
TD-er Jun 16, 2023
57c34e9
[CUL Reader] Reduce number of writes when saving filters
TD-er Jun 16, 2023
82b59a5
[CUL Reader] Add mute messages option
TD-er Jun 16, 2023
7bf2d82
[CUL Reader] Fix applying flags set via commands without restart task
TD-er Jun 16, 2023
53a94f4
[CUL Reader] Fix computing MD5 for filters
TD-er Jun 19, 2023
a8ec0fd
Merge branch 'mega' into feature/esp-now-controller
TD-er Jun 21, 2023
3fff963
Merge branch 'mega' into feature/esp-now-controller
TD-er Jun 22, 2023
68fa293
Merge branch 'mega' into feature/esp-now-controller
TD-er Jun 22, 2023
5f8f34f
Merge branch 'mega' into feature/esp-now-controller
TD-er Aug 8, 2023
1b6de8a
[Build] Fix merge issues
TD-er Aug 8, 2023
31f4e95
Merge branch 'mega' into feature/esp-now-controller
TD-er Aug 24, 2023
9659534
Merge branch 'mega' into feature/esp-now-controller
TD-er Sep 2, 2023
7151f5a
Merge branch 'mega' into feature/esp-now-controller
TD-er Sep 6, 2023
85f2c48
Merge branch 'mega' into feature/esp-now-controller
TD-er Sep 6, 2023
3634b90
Merge branch 'mega' into feature/esp-now-controller
TD-er Sep 14, 2023
46a224a
[CUL reader] Increase max. CUL message size to 1024 for ESP32
TD-er Sep 14, 2023
66cebc7
Merge branch 'mega' into feature/esp-now-controller
TD-er Sep 21, 2023
4053d7f
[ESPEasy-NOW] Fix merge issues
TD-er Sep 21, 2023
de143f2
Merge branch 'mega' into feature/esp-now-controller
TD-er Sep 30, 2023
50cabb6
[ESPEasy_NOW] Fix merge issues in P026 SysInfo
TD-er Sep 30, 2023
d3bf324
Merge branch 'mega' into feature/esp-now-controller
TD-er Nov 27, 2023
99e51ae
Merge branch 'mega' into feature/esp-now-controller
TD-er Nov 27, 2023
3f5e9ce
Merge branch 'mega' into feature/esp-now-controller
TD-er Nov 27, 2023
50d66a7
[ESPEasy-NOW] Fix merge issue sysinfo page
TD-er Nov 27, 2023
89e062b
Merge branch 'mega' into feature/esp-now-controller
TD-er Dec 25, 2023
0e39365
[ESPEasy-NOW] Fix merge issues
TD-er Dec 25, 2023
99243bb
[ESPEasy-NOW] Fix build custom_IR_ESP32_16M8M_LittleFS_ETH
TD-er Dec 26, 2023
3d52e0c
Merge branch 'mega' into feature/esp-now-controller
TD-er Jan 3, 2024
853e876
Merge branch 'mega' into feature/esp-now-controller
TD-er Jan 18, 2024
f9bbf4c
Merge branch 'mega' into feature/esp-now-controller
TD-er Jan 30, 2024
44d7847
Merge branch 'mega' into feature/esp-now-controller
TD-er Feb 2, 2024
f57b456
Merge branch 'mega' into feature/esp-now-controller
TD-er Feb 11, 2024
7b37c7a
Merge branch 'mega' into feature/esp-now-controller
TD-er Feb 15, 2024
f55d31b
Merge branch 'mega' into feature/esp-now-controller
TD-er Feb 18, 2024
191f890
Merge branch 'mega' into feature/esp-now-controller
TD-er Mar 21, 2024
339de9d
Merge branch 'mega' into feature/esp-now-controller
TD-er Mar 28, 2024
a7bba45
[ESPEasy-NOW] Fix merge issue
TD-er Mar 28, 2024
c1359fb
Merge remote-tracking branch 'letscontrolit/mega' into feature/esp-no…
TD-er Mar 28, 2024
e70c646
[ESPEasy-NOW] Fix merge issue
TD-er Mar 28, 2024
a29aa1a
Merge branch 'mega' into feature/esp-now-controller
TD-er Mar 31, 2024
cf892ad
Merge branch 'mega' into feature/esp-now-controller
TD-er Apr 14, 2024
787266c
Merge branch 'mega' into feature/esp-now-controller
TD-er Apr 25, 2024
422cd1a
Merge branch 'mega' into feature/esp-now-controller
TD-er Apr 28, 2024
ccafd79
Merge branch 'mega' into feature/esp-now-controller
TD-er May 1, 2024
9c3e764
Merge branch 'mega' into feature/esp-now-controller
TD-er May 4, 2024
403a6ca
[ESPEasy-NOW] Fix merge conflict in C018
TD-er May 4, 2024
96f1804
Merge branch 'mega' into feature/esp-now-controller
TD-er May 29, 2024
c725345
Merge branch 'mega' into feature/esp-now-controller
TD-er Jun 22, 2024
b311f5b
Merge branch 'mega' into feature/esp-now-controller
TD-er Jun 22, 2024
146610f
Merge branch 'mega' into feature/esp-now-controller
TD-er Jun 30, 2024
e5fd6cc
Merge branch 'mega' into feature/esp-now-controller
TD-er Jul 3, 2024
0b4af81
Merge branch 'mega' into feature/esp-now-controller
TD-er Jul 8, 2024
bad857e
[ESPEasy-NOW] Fix merge issues
TD-er Jul 8, 2024
3521e60
[ESPEasy-NOW] Fix another build/merge issue
TD-er Jul 8, 2024
47e0700
Merge branch 'mega' into feature/esp-now-controller
TD-er Jul 13, 2024
5ec9963
Merge branch 'mega' into feature/esp-now-controller
TD-er Jul 15, 2024
ba2b3a5
Merge branch 'mega' into feature/esp-now-controller
TD-er Jul 27, 2024
7676e57
[Build] Remove CUL reader from ESP8266 collection D build due to size
TD-er Jul 27, 2024
b67e548
Merge remote-tracking branch 'letscontrolit/mega' into feature/esp-no…
TD-er Aug 6, 2024
9036350
Merge branch 'mega' into feature/esp-now-controller
TD-er Aug 22, 2024
9b0b538
Merge branch 'mega' into feature/esp-now-controller
TD-er Sep 24, 2024
51b8613
Merge branch 'mega' into feature/esp-now-controller
TD-er Sep 26, 2024
7d9933b
Merge branch 'mega' into feature/esp-now-controller
TD-er Sep 28, 2024
7645a82
Merge branch 'mega' into feature/esp-now-controller
TD-er Sep 28, 2024
ddc3395
Merge branch 'mega' into feature/esp-now-controller
TD-er Oct 2, 2024
3e33831
[Controller] Fix really strange merge issue (return statement got lost)
TD-er Oct 2, 2024
155efef
Merge branch 'mega' into feature/esp-now-controller
TD-er Oct 2, 2024
5851825
Merge branch 'mega' into feature/esp-now-controller
TD-er Oct 3, 2024
260c4da
Merge remote-tracking branch 'letscontrolit/mega' into feature/esp-no…
TD-er Oct 7, 2024
f5a6f15
Merge branch 'mega' into feature/esp-now-controller
TD-er Oct 26, 2024
757fcd0
Merge branch 'mega' into feature/esp-now-controller
TD-er Nov 13, 2024
634c012
Merge remote-tracking branch 'letscontrolit/mega' into feature/esp-no…
TD-er Dec 15, 2024
4a4b94f
Merge branch 'mega' into feature/esp-now-controller
TD-er Dec 16, 2024
80fc768
Merge remote-tracking branch 'letscontrolit/mega' into feature/esp-no…
TD-er Dec 18, 2024
0404a80
Merge remote-tracking branch 'letscontrolit/mega' into feature/esp-no…
TD-er Dec 21, 2024
3471540
Merge branch 'mega' into feature/esp-now-controller
TD-er Dec 29, 2024
474de96
Merge branch 'mega' into feature/esp-now-controller
TD-er Dec 30, 2024
02da1ac
Merge branch 'mega' into feature/esp-now-controller
TD-er Jan 1, 2025
bdcaa84
Merge branch 'mega' into feature/esp-now-controller
TD-er Jan 6, 2025
22effca
Merge branch 'mega' into feature/esp-now-controller
TD-er Jan 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/src/Commands/InternalCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#endif // USES_MQTT

#include "../Commands/Networks.h"
#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
#include "../Commands/Notifications.h"
#endif
#include "../Commands/Provisioning.h"
Expand Down Expand Up @@ -395,7 +395,7 @@ bool executeInternalCommand(command_case_data & data)
#if FEATURE_CUSTOM_PROVISIONING
COMMAND_CASE_A( "provisionconfig", Command_Provisioning_Config, 0); // Provisioning.h
COMMAND_CASE_A( "provisionsecurity", Command_Provisioning_Security, 0); // Provisioning.h
#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
COMMAND_CASE_A( "provisionnotification", Command_Provisioning_Notification, 0); // Provisioning.h
#endif
COMMAND_CASE_A( "provisionprovision", Command_Provisioning_Provision, 0); // Provisioning.h
Expand Down
2 changes: 1 addition & 1 deletion src/src/Commands/Provisioning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ String Command_Provisioning_Security(struct EventStruct *event, const char *Line
return downloadFileType(FileType::SECURITY_DAT);
}

#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
String Command_Provisioning_Notification(struct EventStruct *event, const char *Line)
{
return downloadFileType(FileType::NOTIFICATION_DAT);
Expand Down
2 changes: 1 addition & 1 deletion src/src/Commands/Provisioning.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ String Command_Provisioning_Config(struct EventStruct *event,
const char *Line);
String Command_Provisioning_Security(struct EventStruct *event,
const char *Line);
#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
String Command_Provisioning_Notification(struct EventStruct *event,
const char *Line);
#endif
Expand Down
8 changes: 4 additions & 4 deletions src/src/ControllerQueue/C019_queue_element.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
#include "../ESPEasyCore/ESPEasy_Log.h"


#ifdef USES_PACKED_RAW_DATA
#if FEATURE_PACKED_RAW_DATA
String getPackedFromPlugin(struct EventStruct *event,
uint8_t sampleSetCount);
#endif // USES_PACKED_RAW_DATA
#endif

#ifdef USE_SECOND_HEAP
C019_queue_element::C019_queue_element(const C019_queue_element& other) :
Expand All @@ -31,15 +31,15 @@ C019_queue_element::C019_queue_element(struct EventStruct *event_p) :
controller_idx(event_p->ControllerIndex)
{
event.deep_copy(event_p);
#ifdef USES_PACKED_RAW_DATA
#if FEATURE_PACKED_RAW_DATA
packed = getPackedFromPlugin(event_p, 0);

if (loglevelActiveFor(LOG_LEVEL_INFO)) {
String log = F("C019 queue element: ");
log += packed;
addLog(LOG_LEVEL_INFO, log);
}
#endif // USES_PACKED_RAW_DATA
#endif

// Extra check to make sure sensorType is correct.
event.sensorType = event.getSensorType();
Expand Down
4 changes: 2 additions & 2 deletions src/src/CustomBuild/check_defines_custom.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@
# define FEATURE_MDNS 1
#endif // if defined(FEATURE_MDNS) && (2-FEATURE_MDNS-2 == 4)

#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
# warning "Custom.h has '#define USES_NOTIFIER' to be replaced with '#define FEATURE_NOTIFIER 1', see https://github.com/letscontrolit/ESPEasy/pull/4153"
# define FEATURE_NOTIFIER 1
# undef USES_NOTIFIER
#endif // ifdef USES_NOTIFIER
#endif // if FEATURE_NOTIFIER

#ifdef USES_MODBUS
# warning "Custom.h has '#define USES_MODBUS' to be replaced with '#define FEATURE_MODBUS 1', see https://github.com/letscontrolit/ESPEasy/pull/4153"
Expand Down
4 changes: 2 additions & 2 deletions src/src/CustomBuild/define_plugin_sets.h
Original file line number Diff line number Diff line change
Expand Up @@ -2030,8 +2030,8 @@ To create/register a plugin, you have to :
#undef USES_C019
#endif

#if defined(USES_C019) && !defined(USES_PACKED_RAW_DATA)
#define USES_PACKED_RAW_DATA
#if defined(USES_C019) && !defined(FEATURE_PACKED_RAW_DATA)
#define FEATURE_PACKED_RAW_DATA 1
#endif


Expand Down
2 changes: 1 addition & 1 deletion src/src/DataStructs/ESPEasy_EventStruct.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ struct EventStruct
EventValueSource::Enum Source = EventValueSource::Enum::VALUE_SOURCE_NOT_SET;
taskIndex_t TaskIndex = INVALID_TASK_INDEX; // index position in TaskSettings array, 0-11
controllerIndex_t ControllerIndex = INVALID_CONTROLLER_INDEX; // index position in Settings.Controller, 0-3
#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
notifierIndex_t NotificationIndex = INVALID_NOTIFIER_INDEX; // index position in Settings.Notification, 0-3
#endif
uint8_t BaseVarIndex = 0;
Expand Down
3 changes: 1 addition & 2 deletions src/src/DataStructs/Modbus.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#include "../DataStructs/Modbus.h"

#ifdef USES_MODBUS
#if FEATURE_MODBUS

#include "../DataStructs/ControllerSettingsStruct.h"
#include "../ESPEasyCore/ESPEasy_Log.h"

#if FEATURE_MODBUS

Modbus::Modbus() : ModbusClient(nullptr), errcnt(0), timeout(0),
TXRXstate(MODBUS_IDLE), RXavailable(0), payLoad(0) {}
Expand Down
2 changes: 1 addition & 1 deletion src/src/DataStructs/NotificationSettingsStruct.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "../DataStructs/NotificationSettingsStruct.h"

#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER

NotificationSettingsStruct::NotificationSettingsStruct() : Port(0), Pin1(-1), Pin2(-1) {
ZERO_FILL(Server);
Expand Down
2 changes: 1 addition & 1 deletion src/src/DataStructs/NotificationSettingsStruct.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "../../ESPEasy_common.h"

#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER

#include <Arduino.h>
#include <memory> // For std::shared_ptr
Expand Down
2 changes: 1 addition & 1 deletion src/src/DataStructs/NotificationStruct.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "../../ESPEasy_common.h"

#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER

/*********************************************************************************************\
* NotificationStruct
Expand Down
4 changes: 2 additions & 2 deletions src/src/DataTypes/SettingsType.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const __FlashStringHelper * SettingsType::getSettingsTypeString(Enum settingsTyp
case Enum::ControllerSettings_Type: return F("ControllerSettings");
case Enum::CustomControllerSettings_Type: return F("CustomControllerSettings");
case Enum::NotificationSettings_Type:
#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
return F("NotificationSettings");
#else
break;
Expand Down Expand Up @@ -83,7 +83,7 @@ bool SettingsType::getSettingsParameters(Enum settingsType, int index, int& max_
}
case Enum::NotificationSettings_Type:
{
#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
max_index = NOTIFICATION_MAX;
offset = index * (DAT_NOTIFICATION_SIZE);
max_size = DAT_NOTIFICATION_SIZE;
Expand Down
4 changes: 2 additions & 2 deletions src/src/ESPEasyCore/ESPEasy_setup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ void ESPEasy_setup()
if (toDisable != 0) {
toDisable = disableController(toDisable);
}
#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
if (toDisable != 0) {
toDisable = disableNotification(toDisable);
}
Expand All @@ -295,7 +295,7 @@ void ESPEasy_setup()
if (toDisable != 0) {
toDisable = disableAllControllers(toDisable);
}
#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
if (toDisable != 0) {
toDisable = disableAllNotifications(toDisable);
}
Expand Down
2 changes: 1 addition & 1 deletion src/src/Globals/NPlugins.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "../Globals/NPlugins.h"

#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER

#include "../DataStructs/ESPEasy_EventStruct.h"
#include "../DataStructs/NotificationStruct.h"
Expand Down
2 changes: 1 addition & 1 deletion src/src/Globals/NPlugins.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "../../ESPEasy_common.h"

#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER

#include "../CustomBuild/ESPEasyLimits.h"
#include "../DataStructs/NotificationStruct.h"
Expand Down
4 changes: 2 additions & 2 deletions src/src/Helpers/ESPEasy_Storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ uint8_t disableAllControllers(uint8_t bootFailedCount) {
/********************************************************************************************\
Disable Notification, based on bootFailedCount
\*********************************************************************************************/
#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
uint8_t disableNotification(uint8_t bootFailedCount) {
for (uint8_t i = 0; i < NOTIFICATION_MAX && bootFailedCount > 0; ++i) {
if (Settings.NotificationEnabled[i]) {
Expand Down Expand Up @@ -1159,7 +1159,7 @@ String loadProvisioningSettings(ProvisioningStruct& ProvisioningSettings)

#endif

#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
/********************************************************************************************\
Save Controller settings to file system
\*********************************************************************************************/
Expand Down
4 changes: 2 additions & 2 deletions src/src/Helpers/ESPEasy_Storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ uint8_t disableAllControllers(uint8_t bootFailedCount);
/********************************************************************************************\
Disable Notification, based on bootFailedCount
\*********************************************************************************************/
#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
uint8_t disableNotification(uint8_t bootFailedCount);
uint8_t disableAllNotifications(uint8_t bootFailedCount);
#endif
Expand Down Expand Up @@ -195,7 +195,7 @@ String loadProvisioningSettings(ProvisioningStruct& ProvisioningSettings);



#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
/********************************************************************************************\
Save Controller settings to file system
\*********************************************************************************************/
Expand Down
6 changes: 3 additions & 3 deletions src/src/Helpers/Scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const __FlashStringHelper * ESPEasy_Scheduler::toString(ESPEasy_Scheduler::Plugi
switch (pluginType) {
case PluginPtrType::TaskPlugin: return F("Plugin");
case PluginPtrType::ControllerPlugin: return F("Controller");
#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
case PluginPtrType::NotificationPlugin: return F("Notification");
#endif
}
Expand Down Expand Up @@ -1127,7 +1127,7 @@ void ESPEasy_Scheduler::schedule_mqtt_controller_event_timer(protocolIndex_t P
}
#endif

#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
void ESPEasy_Scheduler::schedule_notification_event_timer(uint8_t NotificationProtocolIndex,
NPlugin::Function Function,
struct EventStruct&& event) {
Expand Down Expand Up @@ -1182,7 +1182,7 @@ void ESPEasy_Scheduler::process_system_event_queue() {
case PluginPtrType::ControllerPlugin:
CPluginCall(Index, static_cast<CPlugin::Function>(Function), &ScheduledEventQueue.front().event, tmpString);
break;
#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
case PluginPtrType::NotificationPlugin:
NPlugin_ptr[Index](static_cast<NPlugin::Function>(Function), &ScheduledEventQueue.front().event, tmpString);
break;
Expand Down
4 changes: 2 additions & 2 deletions src/src/Helpers/Scheduler.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class ESPEasy_Scheduler {
enum class PluginPtrType {
TaskPlugin,
ControllerPlugin
#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
,NotificationPlugin
#endif
};
Expand Down Expand Up @@ -278,7 +278,7 @@ class ESPEasy_Scheduler {
#endif

// Note: The event will be moved
#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
void schedule_notification_event_timer(uint8_t NotificationProtocolIndex,
NPlugin::Function Function,
struct EventStruct&& event);
Expand Down
2 changes: 1 addition & 1 deletion src/src/Helpers/_NPlugin_init.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "../Helpers/_NPlugin_init.h"

#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER

#include "../DataStructs/ESPEasy_EventStruct.h"
#include "../DataStructs/TimingStats.h"
Expand Down
2 changes: 1 addition & 1 deletion src/src/Helpers/_NPlugin_init.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "../../ESPEasy_common.h"

#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER

#include "../DataTypes/ESPEasy_plugin_functions.h"

Expand Down
2 changes: 1 addition & 1 deletion src/src/WebServer/JSON.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ void handle_buildinfo() {
}
json_close(true);
}
#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER
{
json_open(true, F("notifications"));

Expand Down
4 changes: 1 addition & 3 deletions src/src/WebServer/NotificationPage.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "../WebServer/NotificationPage.h"

#ifdef USES_NOTIFIER
#if FEATURE_NOTIFIER

#include "../WebServer/WebServer.h"
#include "../WebServer/HTML_wrappers.h"
Expand All @@ -22,8 +22,6 @@
// Web Interface notifcations page
// ********************************************************************************

#if FEATURE_NOTIFIER

#include "../Globals/NPlugins.h"


Expand Down
4 changes: 2 additions & 2 deletions src/src/WebServer/WebTemplateParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,12 +293,12 @@ void WebTemplateParser::getWebPageTemplateVar(const String& varName)
if ((i == MENU_INDEX_RULES) && !Settings.UseRules) { // hide rules menu item
continue;
}
#ifndef FEATURE_NOTIFIER
#if FEATURE_NOTIFIER==0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could have been:
#if !FEATURE_NOTIFIER
but the end-result is the same 😃

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And that piece of code looks like it might still be wrong in the mega branch (#ifndef instead of #if !...)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested that both ways and with and without Notifiers enabled, but it doesn't seem to make a difference, still works as intended (tab is shown or not, based on notifiers available or not), the code just looks a bit odd.
But you fixed it already so it will be corrected in due time 👍


if (i == MENU_INDEX_NOTIFICATIONS) { // hide notifications menu item
continue;
}
#endif // ifndef FEATURE_NOTIFIER
#endif // if FEATURE_NOTIFIER==0

addHtml(F("<a "));

Expand Down