Commit Graph
370 Commits
Author SHA1 Message Date
TD-er 03d430d64b [RTC lib] Makecentury bit unambiguous in C++ terms 2021-08-09 03:05:46 +02:00
TD-er a006edf5f4 Fix setting month + century bit RTC lib
As suggested by @uzi18
2021-08-08 11:45:06 +02:00
Ton Huisman 2d18d264e4 [RTClib] (Bugfix) Write month correctly to DS3231 (#3749) 2021-08-07 17:43:44 +02:00
TD-er 2e79682265 Merge pull request #3393 from TD-er/feature/Playground_P168_ThermoOLED
[Playground] Move P168_ThermoOLED.ino to main repo
2021-07-26 01:27:39 +02:00
TD-er 5c5a3590f4 [Ext. RTC] Fix some library bugs and add some validity checks 2021-07-20 19:44:38 +02:00
TD-er 3e74fde010 [RTClib] Remove TinyWireM from depends 2021-07-20 00:01:02 +02:00
TD-er 366ba13f11 [RTClib] Add lib/Adafruit_RTClib 2021-07-19 22:52:07 +02:00
Ton Huisman 51b5e0b9c1 Merge branch 'mega' into feature/p057-support-period-to-display 2021-07-17 15:46:17 +02:00
TD-er 2c6a742205 [TinyGPS] TinyGPSCustom::valid was not initialized 2021-07-07 20:04:51 +02:00
TD-er 4e35f412e6 [Libs] Don't use "byte" as type anymore 2021-07-03 00:49:41 +02:00
TD-er 71fcf791c4 Fix uninitialised members of RegExp 2021-07-02 19:29:30 +02:00
Ton Huisman 77b23f58a3 [P057] Add support for periods in display 2021-06-09 22:03:08 +02:00
TD-er bd0dca9b5c Merge branch 'mega' into feature/Playground_P168_ThermoOLED 2021-05-28 23:19:40 +02:00
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 a79743d823 Merge branch 'mega' into feature/Playground_P168_ThermoOLED 2021-05-13 18:11:36 +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 baa9b77e7a Merge branch 'mega' into feature/Playground_P168_ThermoOLED 2021-04-27 00:53:59 +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
TD-er a73acb0d7e Merge branch 'mega' into feature/Playground_P168_ThermoOLED 2021-04-05 21:57:31 +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 637a30cab4 Merge branch 'mega' into feature/Playground_P168_ThermoOLED 2020-12-21 23:31:18 +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