Max Prokhorov and GitHub
fb8846ff70
Fix github-script v5 breaking change
...
Since v5, rest methods have their own namespace
https://github.com/actions/github-script#breaking-changes-in-v5
Fixing latest release that broke on this step https://github.com/letscontrolit/ESPEasy/runs/7740919347?check_suite_focus=true#step:2:21
2022-08-10 13:25:16 +03:00
TD-er
57b0c0c76e
automatically updated release notes for mega-20220809
mega-20220809
2022-08-09 08:58:51 +02:00
TD-er and GitHub
dca12069fd
Merge pull request #4182 from TD-er/bugfix/FixExtraTaskSettingsCache
...
[Task Settings Cache] Fix save taskValueNames on ESP32
2022-08-08 13:54:55 +02:00
TD-er
e258474604
[Task Settings Cache] Fix save taskValueNames on ESP32
...
In some situations, the newly set task value names were not saved due to a cache race condition.
2022-08-08 12:41:57 +02:00
TD-er and GitHub
093dcd093a
Merge pull request #4180 from TD-er/bugfix/pulsecounter_reduce_iram
...
[PulseCounter] Make ISR function smaller
2022-08-07 22:46:06 +02:00
TD-er
eba3ebc8f7
[Cleanup] Fix some signed/unsigned warnings
2022-08-07 22:22:45 +02:00
TD-er
1a20e4bb72
[PulseCount] Enable PluginStats for pulse counter
2022-08-07 22:22:12 +02:00
TD-er
d58b9a3acd
[PulseCounter] Use direct GPIO access to read pin state
2022-08-07 16:11:34 +02:00
TD-er
fff8a0d8bb
[PulseCounter] Make ISR function smaller
...
Split the ISR function as we know up front the check that was made inside the ISR function.
2022-08-07 16:05:41 +02:00
TD-er and GitHub
91c2719d12
Merge pull request #4178 from TD-er/build/ESP32_SDK2_0_4_1
...
[ESP32] Move to framework core 2.0.4.1
2022-08-06 18:09:41 +02:00
TD-er
5abd3d4d1d
[ESP32] Move to framework core 2.0.4.1
2022-08-06 17:22:15 +02:00
TD-er and GitHub
e53de7f9de
Merge pull request #4176 from TD-er/bugfix/direct_gpio_esp8266_pin16
...
[Direct GPIO] Fix using GPIO-16 on ESP8266 (#4175 )
2022-08-06 01:32:04 +02:00
TD-er and GitHub
39b6c317e0
Merge branch 'mega' into bugfix/direct_gpio_esp8266_pin16
2022-08-05 23:03:42 +02:00
TD-er and GitHub
207c669764
Merge pull request #4177 from TD-er/feature/dallas_1wire_retry
...
[Dallas] Add retry to init read or collect data from temp sensor
2022-08-05 23:03:24 +02:00
TD-er
c185a44f6b
Allow to use leading zeroes on HEX formatted strings
2022-08-05 22:24:20 +02:00
TD-er
6c23b67c0f
[Dallas] Add retry to init read or collect data from temp sensor
...
It appears most of the read errors occur on the first sensor of a task.
So perhaps there is some kind of disturbance on the line or maybe there is some kind of race condition when switching tasks.
This means it can be useful to retry to start a temperature reading on a sensor or retry to collect data from a sensor as it doesn't happen often (or at least should not happen often)
2022-08-05 17:50:40 +02:00
TD-er
164e8af30e
[Direct GPIO] Fix using GPIO-16 on ESP8266 ( #4175 )
...
Fixes: #4175
GPIO-16 cannot be used on ESP8266 for direct access.
2022-08-05 13:21:49 +02:00
TD-er and GitHub
bc97d448f4
Merge pull request #4173 from TD-er/bugfix/Dallas_timings_finetune
...
[Dallas] Fine tune timings for Dallas sensors
2022-08-02 23:30:59 +02:00
TD-er
36bd508726
[Dallas] Fine tune timings for Dallas sensors
...
Due to the much faster switching of GPIO pins using direct access, it became apparent the timing of the 1Wire signal wasn't as perfect as demanded by the sensors.
This could lead to read errors which are not needed.
2022-08-02 17:31:26 +02:00
TD-er and GitHub
d41f72d277
Revert accidental commit of pre_custom_esp82xx.py
2022-08-02 14:09:37 +02:00
TD-er and GitHub
0bf9199ab4
[DHT] Forgot to disable logic analyzer debug pin
2022-08-02 13:52:27 +02:00
TD-er and GitHub
79b6668eaf
Merge pull request #4166 from TD-er/bugfix/Ultrasonic_newping_ESP32
...
[NewPing] Use Direct GPIO access to reduce jitter on ultrasonic sensors
2022-08-02 13:50:51 +02:00
TD-er
48b8e54706
[DHT] Set the GPIO pull-up resistor explicitly
...
Apparently if you never explicitly set the registers for pull-up or pull-down resistors, these registers may contain random values at boot. No matter if it is a warm or cold boot.
2022-08-02 13:11:17 +02:00
TD-er
b954cfecac
[Direct GPIO] Reduce iRAM usage
2022-08-02 13:09:50 +02:00
TD-er
11e3d72a6f
[DHT] Fix switching pinMode(INPUT_PULLUP) way too slow
2022-08-01 00:47:47 +02:00
TD-er
dd3424a577
[DHT] Fix GPIO not yet set to input when DHT wake up.
2022-07-31 22:14:35 +02:00
TD-er
96c696ae37
[DHT] Fix using correct index when recording timings + comments update
2022-07-31 20:59:58 +02:00
TD-er
20537466fb
[DHT] Add missing initialization
2022-07-31 18:37:51 +02:00
TD-er
34cca83fd8
[DHT] Add delay right after waking sensor
2022-07-31 09:53:54 +02:00
TD-er
b10323cd30
[DHT] Remove short calls to delayMicroseconds
...
Based on the information gathered in this issue: https://github.com/pstolarz/OneWireNg/issues/38
2022-07-31 01:59:01 +02:00
TD-er
57290d9e89
[DHT] Remove timing critical aspects from reading DHT sensors
...
Now the bits are read and an average low duration is computed.
The "high" state duration should differ significant from the "low" state.
Thus if the "high" state duration was longer than the average "low" state, it was a logic "1".
2022-07-31 01:16:55 +02:00
TD-er
da81aac6c0
[DHT] Use Direct GPIO access for DHTxx sensors
2022-07-30 22:31:23 +02:00
TD-er
80d03b5c47
[NewPing] Use Direct GPIO access to reduce jitter on ultrasonic sensors
2022-07-30 00:50:44 +02:00
TD-er
ddac5f5012
[NewPing] Re-apply ESPEasy specific additions to NewPing library
2022-07-30 00:07:13 +02:00
TD-er
d2fff5113d
[NewPing] Update Library to 1.9.4
2022-07-29 23:36:28 +02:00
TD-er
87d788918a
[NewPing] Rename library from NewPingESP8266 to NewPing
2022-07-29 23:36:28 +02:00
TD-er and GitHub
9044f4317d
Merge pull request #4163 from tonhuisman/feature/feature-defines-and-improvements
...
[Build] Rename more Feature_flag defines and some additions
2022-07-29 22:01:04 +02:00
Ton Huisman
d18cde81ba
[Build] Correct a few FEATURE_flag checks
2022-07-29 21:13:14 +02:00
Ton Huisman
80b32e7371
[Build] Change FEATURE_DNS_SERVER to use 1/0 state
2022-07-29 21:02:09 +02:00
Ton Huisman
6b0e6f10f7
[Build] Change FEATURE_REPORTING to use 1/0
2022-07-29 20:52:39 +02:00
Ton Huisman and GitHub
6d7f43dbdb
Merge branch 'mega' into feature/feature-defines-and-improvements
2022-07-29 17:08:42 +02:00
TD-er and GitHub
74934a9b09
Merge pull request #4164 from TD-er/bugfix/Dallas_1wire_ESP32
...
[Dallas] Fix Dallas 1Wire plugins on ESP32
2022-07-29 15:06:31 +02:00
Ton Huisman
7c7d486955
[P037] Fix typo
2022-07-29 15:03:18 +02:00
Ton Huisman
5487bc4610
[P037] Fix build errors on more/less limited builds, apply uncrustify improvements
2022-07-29 14:28:08 +02:00
TD-er
f4818c6bc6
[Dallas] Reduce iRAM usage on ESP8266
2022-07-29 12:45:27 +02:00
TD-er
7011094d4a
[Dallas] Fix Dallas 1Wire plugins on ESP32
...
Apparently the `pinMode` call on ESP SDK 2.0.3 and 2.0.4 now takes 16 usec to complete, compared to 4 msec before.
The [OneWire library maintained by PaulStoffregen](https://github.com/PaulStoffregen/OneWire/blob/master/OneWire.cpp ) does perform direct GPIO handling on the registers instead of searching for the pins.
This is apparently working as reported [here by @Jason2866](https://github.com/espressif/arduino-esp32/issues/7049#issuecomment-1198131244 )
So I replaced all time critical calls for the Dallas plugins with the macros from Paul's library.
2022-07-29 01:12:56 +02:00
Ton Huisman
93ee95cb60
[Build] Change FEATURE_ADC_VCC to use 1/0 instead of true/false, fix issues with test for FEATURE_ADC_VCC active
2022-07-28 23:10:54 +02:00
Ton Huisman
d42ab37881
[Build] Fix typo in USES_BLYNK to FEATURE_BLYNK
2022-07-28 22:20:15 +02:00
Ton Huisman
1ca18b8a1b
[Build] Rename USES_BLYNK to FEATURE_BLYNK and use 0/1 state
2022-07-28 22:06:15 +02:00
Ton Huisman
810e5d32e7
Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/feature-defines-and-improvements
2022-07-28 22:01:22 +02:00