Commit Graph
3639 Commits
Author SHA1 Message Date
ESPEasy release bot c90dc79571 automatically updated release notes for mega-20190714 mega-20190714 2019-07-14 04:00:15 +02:00
Gijs NoorlanderandGitHub 89c004822b Merge pull request #2508 from TD-er/feature/upgrade_esp32_core190
[ESP32] Upgrade to core v1.9.0
2019-07-14 02:22:02 +02:00
Gijs Noorlander bdac44ac42 [ESP32] Upgrade to core v1.9.0 2019-07-14 02:19:55 +02:00
Gijs NoorlanderandGitHub ed1504a2df Merge pull request #2501 from TD-er/feature/log_last_executed_task
Feature/log last executed task
2019-07-14 02:14:35 +02:00
Gijs NoorlanderandGitHub 54c8a83d3b Merge pull request #2495 from jimmys01/Zabbix_controller_push
[Controller] Zabbix controller initial commit
2019-07-14 01:46:27 +02:00
Gijs Noorlander ec3c469926 [WiFi] Code cleanup WiFi/WiFi event files 2019-07-14 01:25:41 +02:00
Gijs Noorlander 32e38e7f4f [Dallas] Add ignore option as error state output value 2019-07-14 01:25:41 +02:00
Gijs Noorlander e7446802cb [Dallas 1wire] Add error state value selector
The Dallas 1wire sensor can get into some error state.
To signal an error state, a NaN was ouput, but that may be hard to use in rules.
This selector allows to set a fixed value to signal an error state.

Also removed a lot of redundant code and make sure no data is shared among other active instances of the same plugin.
2019-07-14 01:25:41 +02:00
Gijs Noorlander 943a4e90b7 [TSL2561] Add auto gain and extended auto gain
Auto gain will switch on/off the gain to extend the range of the sensor.
The 16x gain will be turned on below 10 Lux.
It will be off at 1/16th of the full range of the ADC.

On top of that there is also an option to extend the range of the sensor to about 130'000 lux.
The ratio ch1/ch0 will be stored as long as no ADC is clipping. This ratio will be applied to the measured ch1 (IR part) of the measured data when the ch0 value is clipping.

For example meauring direct sunlight may give upto 130'000 Lux of light intensity, but the sensor itself can only handle upto about 30'000 Lux without clipping.
2019-07-14 01:25:41 +02:00
Gijs Noorlander 996757d3e1 [TSL2561] Small fix to detect saturation of ADC
Saturation level of the CH0 and CH1 ADCs is not at 65535 for all integration time settings.
For an integration time less than 178 msec, the max ADC value is less. This fix does detect those saturation levels.
2019-07-14 01:25:41 +02:00
Gijs Noorlander da88dfb537 [Build] Set core 2.5.2 as default and add custom build 2019-07-14 01:25:41 +02:00
Gijs Noorlander 2a5eb1a5ab [Uncrustify] Move uncrustify.cfg to project dir
The Uncrustify package in VS code does look in the project dir for a config file.
When it is present, there is hardly any configuration needed. Therefore I moved it and updated it a bit to behave more uniform than the cfg file we already had.
2019-07-14 01:25:41 +02:00
Gijs Noorlander c16e24e33a [WiFi] Add more debug information 2019-07-14 01:25:41 +02:00
Gijs Noorlander 2453637533 [WiFi] Debugging connect/disconnect behavior 2019-07-14 01:25:41 +02:00
Gijs Noorlander 0d3a121b4f [WiF] Improve disconnect/reconnect stability
The ESP node appears to reboot at the reconnect sequence when the wifi connection was lost.

See also https://github.com/esp8266/Arduino/issues/5527#issuecomment-508260107
2019-07-14 01:25:41 +02:00
Gijs Noorlander 88c34c5b5c [SW WD] Count SW watchdog and feed HW watchdog
As suggested here: https://github.com/letscontrolit/ESPEasy/issues/2477
2019-07-14 01:25:41 +02:00
Gijs Noorlander 1b614583e3 [PIO] Ignore .pio folder in Git. 2019-07-14 01:25:41 +02:00
Gijs Noorlander 8d145e0523 [Crash info] Report last scheduled task before reboot
Just for testing/debugging purposes, the last executed task from the scheduled is logged into RTC memory.
This decoded string is also logged at boot and shown in the system info page.

It still demands quite some expertise to interpret but maybe we can find some pattern to where the crashes occur most often.
2019-07-14 01:25:41 +02:00
Gijs NoorlanderandGitHub e0b98eb44f Merge pull request #2499 from letscontrolit/bugfix/pio_400_emptyflags
[PIO] Fix build issue with PIO core 4.0.0
2019-07-13 14:26:57 +02:00
Gijs NoorlanderandGitHub 7f5fdc4160 Merge pull request #2503 from jimmys01/mega2
[IR TX RX] Extended AC commands
2019-07-13 14:26:23 +02:00
Gijs NoorlanderandGitHub 7f759ddfe6 Merge branch 'mega' into Zabbix_controller_push 2019-07-13 14:24:59 +02:00
jimmys01 50ecf4f8f8 Commit the changed define_plugin_sets.h after conflicts have been resolved 2019-07-13 13:39:48 +03:00
jimmys01 c50934f181 Resolving conflicts #2 2019-07-13 13:38:43 +03:00
jimmys01 6e9e784fbc Resolve conflicts with C015 2019-07-13 13:30:48 +03:00
jimmys01 1fca795f1a Couple payload_len to actual JSON payload length. 2019-07-05 16:11:46 +03:00
jimmys01 346308ea26 [IR TX RX] Extended AC commands
-Extended command example:
IRSENDAC,"protocol":"GREE","power":"off","mode":"heat","temp":21,"fanspeed":"max","swingv":"middle","swingh":"off"}

-Refactored and simplified code based on new libary updates
-1M  IR build does not support Extended AC commands
-Usage instructions added

-Also added back the ability to have arbitrary bits to the IR send command. Reflected that also in the received signal decoding. Using 0 bits as an argument the ir send command will still use the default protocol bits
ref: https://www.letscontrolit.com/forum/viewtopic.php?f=4&t=6452&p=37373#p37373
2019-07-05 14:19:07 +03:00
jimmys01 db3384d932 Update IR library to 2.6.3 2019-07-05 13:14:00 +03:00
Gijs NoorlanderandGitHub c093ddcaa7 [PIO] Fix build issue with PIO core 4.0.0
See https://github.com/platformio/platformio-core/issues/2734
2019-07-02 22:56:42 +02:00
ESPEasy release bot a8ab3bcd7c automatically updated release notes for mega-20190630 mega-20190630 2019-06-30 04:00:18 +02:00
jimmys01 3ca267d078 Increace PLUGIN_MAX by 10 2019-06-29 16:26:03 +03:00
jimmys01 823106e13b [ZABBIX] Update code to JSON6+
Also added F macros and a check for not sending empty TaskDeviceValueNames
2019-06-29 16:19:49 +03:00
Gijs NoorlanderandGitHub e19d938e75 Merge pull request #2489 from jimmys01/JSON
[JSON] Update to Json 6
2019-06-29 14:59:25 +02:00
jimmys01andGitHub a5456fa84d Update _C002.ino 2019-06-29 14:05:06 +03:00
jimmys01 c6b9978e64 More improvments 2019-06-26 22:09:12 +03:00
jimmys01 fe935d582e Improvments
Opted as TDer sugested to send one (larger) packet, than openning and closing the connection for each value.
2019-06-26 12:40:26 +03:00
ESPEasy release bot befa809b80 automatically updated release notes for mega-20190626 mega-20190626 2019-06-26 04:00:15 +02:00
Gijs NoorlanderandGitHub ad8a066afb Merge pull request #2430 from okar1/blynk-native
Blynk native (ESPEasy changes only)
2019-06-25 22:31:12 +02:00
jimmys01 bfb395c259 Zabbix secont attempt 2019-06-25 20:15:02 +03:00
jimmys01 b41c8a59d7 Scheduler fix
I knew it had to bee something small
2019-06-25 17:21:26 +03:00
jimmys01 91b9bf702b [Controller] Zabbix controller initial commit 2019-06-25 16:48:47 +03:00
jimmys01 6196477667 Update code to version JSON 6 2019-06-10 14:24:54 +03:00
jimmys01 c864e1c028 [JSON] Update to Json 6 2019-06-10 14:21:00 +03:00
ESPEasy release bot 5b42210c47 automatically updated release notes for mega-20190607 mega-20190607 2019-06-07 04:00:17 +02:00
Gijs NoorlanderandGitHub ec650eee17 Merge pull request #2470 from Christian-Me/mega
Handling incomming Homie messages via receiver Plugin
2019-06-06 23:41:07 +02:00
Gijs NoorlanderandGitHub 18506b723f Merge pull request #2478 from letscontrolit/bugfix/AcuDC243_Modbus_address
[AcuDC243] Fix modbus address not set
2019-06-06 23:39:22 +02:00
Gijs NoorlanderandGitHub 63fa8c24ea [Readme] Added download counter 2019-06-06 23:39:00 +02:00
Gijs NoorlanderandGitHub ffe2583df8 Merge pull request #2485 from TD-er/bugfix/ArduinoIDE_build
[Build] Make it build in Arduino IDE again (#2481)
2019-06-06 23:35:34 +02:00
Gijs Noorlander 9013bac3aa [build] Changes from SPIFFS to FS #2482
Core 2.6.x has changed _SPIFFS_* to _FS_*
See #2482
2019-06-06 21:37:26 +02:00
TD-er 3438ce9412 [Build] Make it build in Arduino IDE again (#2481) 2019-06-06 20:41:49 +02:00
Gijs Noorlander 883a583db6 [AcuDC243] Fix bug in reading 4th set variable 2019-05-25 00:11:58 +02:00