Commit Graph
351 Commits
Author SHA1 Message Date
TD-er 4b20300ab5 [PubSubClient] Apply fixes related to crashes on connect to broker
Patches suggested in several PRs on original pubsubclient repository.
2021-05-18 21:51:43 +02:00
TD-er ebf610fc93 Merge pull request #3563 from heinemannj/AS7265X-Plugin
New plugin: AS7265x
2021-05-18 17:58:34 +02:00
TD-er 38774dfeb9 Merge branch 'mega' into feature/max1704x 2021-05-13 17:43:34 +02:00
TD-er 1c47a757e2 [LoRaWAN TTN] Fix controller not setting SF or FP & add ADR (#3630)
Fixes: #3630

- Add checkbox for enable/disable ADR (Adaptive Data Rate)
- Fix not being able to set Frequency Plan (FP)
- Fix not being able to set Spreading Factor (SF)
2021-05-13 16:13:17 +02:00
TD-er 28e63ea92a Merge branch 'mega' into feature/max1704x 2021-05-09 00:04:56 +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
TD-er 4342751160 Add library to lib dir + PIO environments 2021-05-08 14:46:22 +02:00
TD-er 2fd04cb6dc Merge branch 'mega' into AS7265X-Plugin 2021-05-03 00:37:25 +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
TD-er 73e456d3ad [lib/VL53L1X] Include missing files from SparkFun_VL53L1X library
License and properties file are also an important part of a library.
2021-04-21 20:16:14 +02:00
TD-er 54f8f5a9d2 [lib/VL53L0x] Move lib files to lib/VL53L0X/src dir 2021-04-21 20:13:47 +02:00
TD-er cea567dc3d [VL53L0X] Include library description used by PIO
@tonhuisman The changes in the .h and .cpp file are yours I assume?
PIO needs the `library.properties` file to conclude it found the required library or else builds may fail.
2021-04-21 17:28:40 +02:00
Ton Huisman 20fca0bc0f Merge branch 'mega' into feature/P113-add-vl53l1x-tof-sensor 2021-04-05 21:14:36 +02:00
Ton Huisman fecc257ea9 [P110] Removed check for unsupported VL53L1X, added range to plugin description 2021-04-05 20:35:15 +02:00
Ton Huisman 2b38aa7d36 [P113] Add VL53L1X Time of Flight sensor to ESPEasy 2021-04-05 16:01:03 +02:00
Joerg Heinemann 7d5badc43f Add SparkFun AS7265X library
Initial commit
2021-03-29 13:37:30 +02:00
Ton Huisman 7e9960bc3a Merge branch 'mega' into feature/P110_VL53L0X_move_from_pluginplayground 2021-03-27 09:54:43 +01:00
Ton Huisman 1697f536d0 [P110] Improve code readability 2021-03-09 21:27:45 +01:00
Ton Huisman 3e7bf234da [P110] Add experimental support for VL53L1X 2021-03-08 22:35:20 +01:00
Ton Huisman 8f92fdd876 Merge branch 'feature/P110_VL53L0X_move_from_pluginplayground' of https://github.com/tonhuisman/ESPEasy-1 into feature/P110_VL53L0X_move_from_pluginplayground 2021-03-08 21:26:23 +01:00
Ton Huisman e4d7fb56b5 [P110] Add extra logging with model-id on init-errors 2021-03-08 21:25:34 +01:00
Ton Huisman 4d0ee66aa2 Merge branch 'mega' into feature/P110_VL53L0X_move_from_pluginplayground 2021-03-07 13:57:12 +01:00
Ton Huisman 32d4af39c2 Merge branch 'mega' into feature/P111_rc522_rfid 2021-02-23 20:43:11 +01:00
TD-er 40d347936c [MQTT] Fix rejecting QoS=0 messages with 0 or 1 byte length 2021-02-20 14:52:31 +01:00
TD-er bdef2b3ad9 [MQTT] PubSubClient checks when callback + publish happen simultaneous
After discussion with @arjenhiemstra on issue: https://github.com/knolleary/pubsubclient/issues/832
2021-02-20 02:07:11 +01:00
Ton Huisman 8a8685e5ec Merge branch 'mega' into feature/P110_VL53L0X_move_from_pluginplayground 2021-02-14 14:06:32 +01:00
Ton Huisman bba120c36e [P111] MFRC522 RFID reader moved from PluginPlayground 2021-02-11 21:39:09 +01:00
Ton Huisman 20b4153b75 [P110] Move P133 VL53L0X from PluginPlayground to main repository 2021-02-06 17:06:05 +01:00
TD-er ee216b01c1 [Time] Fix tm_mon starting at 0 and tm_year at 1900
All over the code there were incorrect assumptions about the offsets in `struct tm`
2021-02-03 13:30:14 +01:00
Ton Huisman 6fe3097bd3 [P050] Apply suggested patches to the Adafruit library 2021-01-05 22:01:39 +01:00
Ton Huisman 77ab328d80 [P050] Additional output settings
- Add Color Temperature DN40 calculation
- Add Lux calculation
- Add Clear output option
- Add Normalized RGB calculation
2021-01-03 19:24:52 +01:00
TD-er 7b8678a248 Merge pull request #3413 from jimmys01/irlib
Update the IR library
2020-12-21 23:27:19 +01:00
TD-er 572a285122 Merge pull request #3246 from tonhuisman/feature/XPT2046_touchscreen
[P099] Touch XPT2046 new plugin
2020-12-19 15:04:46 +01:00
Ton Huisman 6c8da8429c Merge branch 'mega' into feature/XPT2046_touchscreen 2020-12-13 16:15:14 +01:00
TD-er e069efd8ac Merge branch 'mega' into feature/Playground_Si1145 2020-12-13 14:59:05 +01:00
TD-er fb3b64d0aa Merge branch 'mega' into feature/BME680_playground 2020-12-13 14:56:03 +01:00
TD-er 537dc44858 [Playground] Plugin-107: SI1145 - UV index / IR / visible (#3426)
Fixes: #3426

Move from Playground: Plugin-113: SI1145 - UV index / IR / visible
2020-12-13 00:26:13 +01:00
Ton Huisman d225631e3a Merge branch 'mega' into feature/XPT2046_touchscreen 2020-12-07 14:27:26 +01:00
uwekaditz 1b666c67e0 Merge branch 'mega' into OLED_P036 2020-12-03 17:23:03 +01:00
Ton Huisman 2926f44999 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-12-03 15:18:58 +01:00
jimmys01 30285eb95b Update the IR library 2020-12-03 16:00:12 +02:00
TD-er 8e460fdb93 Merge branch 'mega' into feature/BME680_playground 2020-12-03 11:37:49 +01:00
TD-er cb15a3db55 [PIO] Make sure library includes are present in .cpp
.h files are in the ignored directory, so the PIO library finder may not mark the library as being used resulting in a failed build.
2020-12-02 14:57:05 +01:00
TD-er e609cb3054 Merge branch 'mega' into feature/XPT2046_touchscreen 2020-11-23 16:42:31 +01:00
TD-er c3051c714e [Playground] Move BME680 from playground 2020-11-22 22:44:11 +01:00
uwekaditz ef2800f07c Merge branch 'mega' into OLED_P036 2020-11-18 17:15:41 +01:00
TD-er c5fe1e5c10 Merge pull request #3337 from TD-er/playground/PZEM004Tv30_Multiple
[Playground] Move P251 PZEM 004T-v30 from Playground to main repo
2020-11-17 22:48:34 +01:00
TD-er 64e5d43ac9 Merge pull request #3316 from tonhuisman/feature/P062_sensitivity
[P062 Touch] Add sensitivity configuration
2020-11-17 22:47:45 +01:00
TD-er 54fed1c223 Merge branch 'mega' into playground/PZEM004Tv30_Multiple 2020-11-17 22:46:17 +01:00
Ton Huisman 42aa8c88f3 Merge branch 'mega' into feature/P062_sensitivity 2020-11-17 20:03:50 +01:00