Commit Graph
378 Commits
Author SHA1 Message Date
TD-er b7b69622b7 [Cleanup] Prevent float to double promotion
May reduce code slightly, but at least it makes execution faster.
2021-09-07 09:33:41 +02:00
Ton Huisman ed5a24b3f3 Merge branch 'mega' into bugfix/p016-correct-signed-conversion-to-unsigned 2021-08-13 09:29:33 +02:00
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
Ton Huisman 39d508d0a8 [IRremoteESP8266] Remove unneeded library files 2021-08-05 20:25:38 +02:00
Ton Huisman 54e207b930 [IRremoteESP8266] Update library to 2.7.19 (from 2.7.13) 2021-08-05 17:29:48 +02:00
Ton Huisman d723b6fc5e Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into bugfix/p016-correct-signed-conversion-to-unsigned 2021-08-05 12:55:37 +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
Ton Huisman 5e7601d40b Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into bugfix/p016-correct-signed-conversion-to-unsigned 2021-07-20 21:38:30 +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
Ton Huisman 89d49ad1b5 [P016] Update library enum definition 2021-05-30 17:25:14 +02:00
TD-er bd0dca9b5c Merge branch 'mega' into feature/Playground_P168_ThermoOLED 2021-05-28 23:19:40 +02:00
Ton Huisman f097389332 [P016] Add type in logging, more optimizations 2021-05-23 17:35:29 +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