ESPEasy release bot
33281c08c2
automatically updated release notes for mega-20181007
2018-10-07 04:00:09 +02:00
Gijs Noorlander and GitHub
461aee26ad
Merge pull request #1861 from TD-er/feature/debug_esp32_wrover_kit
...
Move stack to user memory space and close file handles + Add WROVER dev kit debug support
2018-10-06 23:19:18 +02:00
Gijs Noorlander and GitHub
2b0b14b2e8
Merge pull request #1853 from blenk92/XSS
...
Fix XSS-Vulnerabilites on wifi configuration pages
2018-10-06 22:56:47 +02:00
Gijs Noorlander and GitHub
b7404666b1
Merge pull request #1851 from blenk92/mega
...
Force slash to be converted in htmlEscape
2018-10-06 22:56:37 +02:00
Gijs Noorlander and GitHub
da25aa87dd
Merge pull request #1733 from giig1967g/new/invertvalue
...
Add four new TOGGLE commands
2018-10-06 22:55:57 +02:00
TD-er
10a1e634e2
[SPIFFS] Make sure to close open files on SPIFFS
2018-10-06 22:36:41 +02:00
TD-er
83f86449b9
[Stack] Move Arduino 'cont' stack into user RAM
...
As suggested [here](https://github.com/letscontrolit/ESPEasy/pull/1858#issuecomment-427578956 ) the previous used flag may also enable WPS.
So I used [this suggestion](https://github.com/esp8266/Arduino/issues/5148#issuecomment-424334261 ) to only re-allocate the stack at link time.
2018-10-06 20:01:39 +02:00
TD-er
eee337d3e3
[ESP32] Allow Wrover dev kit to be used for PIO debug
...
Initial setup to be able to debug ESP32 Wrover dev kit from within Visual Studio Code + PIO plus.
2018-10-06 18:31:17 +02:00
ESPEasy release bot
c549ecd329
automatically updated release notes for mega-20181006
2018-10-06 04:00:13 +02:00
Gijs Noorlander and GitHub
d9e682668d
Merge pull request #1858 from TD-er/bugfix/increase_stack_5k
...
[Stack] Increase stack to 5k and reduce stack allocations in rules
2018-10-06 00:57:31 +02:00
TD-er
e38072ac24
[Build flags] Remove NO_EXTRA_4K_HEAP
...
Core is now set to 2.4.1 again, so this flag is not needed anymore.
Also not sure if it did fix something in 2.4.2 core.
2018-10-06 00:53:53 +02:00
TD-er
6aebeba5dc
[WiFi] Add delay to connection attempts in ControllerSettings
...
As suggested by @s0170071 [here](https://github.com/letscontrolit/ESPEasy/issues/1774#issuecomment-425038026 )
2018-10-06 00:50:43 +02:00
TD-er
da01c8f469
[Stack] Increase stack to 5k and reduce stack allocations in rules
...
Removed some unneeded stack allocations of 240 bytes in the rules processing.
Also gave the `process_system_event_queue()` a bit more priority to make sure it will be looked at at least once every 500 msec.
2018-10-05 00:52:22 +02:00
ESPEasy release bot
b3b68856f0
automatically updated release notes for mega-20181004
2018-10-04 04:00:08 +02:00
Max
bec5cb5334
Fix XSS-Vulnerabilites on wifi configuration pages
...
Add escaping of wifi network names that can be discovered using the search
functionality of for instantce the /setup page. As these names are also used
inside an html tag, a stronger html encoding variant has been added.
2018-10-04 03:19:09 +02:00
Gijs Noorlander and GitHub
bda6011390
Merge pull request #1852 from TD-er/bugfix/wificlient_timeout
...
[#1830 ] WiFi client timeout & back to core 2.4.1
2018-10-04 00:56:09 +02:00
Gijs Noorlander and GitHub
f3fdb93a52
Merge pull request #1831 from JojoS62/mega
...
[P013_HCSR04] added error checking and logging
2018-10-04 00:54:02 +02:00
Gijs Noorlander and GitHub
200b060b15
Merge pull request #1846 from thomastech/mega
...
Update _P075_Nextion.ino
2018-10-04 00:51:44 +02:00
Gijs Noorlander and GitHub
ff41cb2f94
Merge pull request #1849 from uzi18/patch9
...
- partial fix for #1723
2018-10-04 00:51:03 +02:00
TD-er
c134eb6d13
[Core 2.4.1] Move back to core 2.4.1 from 2.4.2
...
PlatformIO `espressif8266@1.7.3` instead of `espressif8266@1.8.0`
2.4.2 has a lot of improvements like 4k of extra free memory.
But also the number of hardware watchdog reboots has increased a lot and the PWM related code no longer seems to work on 2.4.2
So for now, back to 2.4.1 library.
2018-10-04 00:24:28 +02:00
TD-er
f9e2a211e1
[WiFiClient] Set timeout and make it configurable for controllers
...
The default timeout for wificlient is 1000 msec. This may cause all kind of strange effects when the node is being blocked for so long.
2018-10-04 00:21:00 +02:00
Max
bd3d3f66f4
Force slash to be converted in htmlEscape
...
According to the owasp XSS prevention cheat sheet it is also necessary to encode / as it may helps to end html entities
(Source https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet#RULE_.231_-_HTML_Escape_Before_Inserting_Untrusted_Data_into_HTML_Element_Content )
2018-10-03 23:58:24 +02:00
Bartlomiej Zimon
3bad683211
- partial fix for #1723
2018-10-03 21:13:56 +00:00
TD-er
68f6e913a2
[sendHttp] #1830 Set timeout and early exit on timeout reached
...
See #1830
2018-10-03 23:10:47 +02:00
Plebs
96420faa2f
added "mcpgpiotoggle" command
2018-10-03 22:07:42 +02:00
Thomas and GitHub
8eea77e4ed
Update _P075_Nextion.ino ( #1 )
...
Added DEBUG_LOG define to reduce info log messages and prevent serial log flooding.
Added SendStatus() to post log message on browser to acknowledge HTTP write.
Added reserve() to minimize string memory allocations.
2018-10-03 09:02:02 -07:00
JojoS62
3d1f723787
Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into mega
2018-10-03 15:27:40 +02:00
JojoS62
5d459003e4
fixed 'unused variable' warning
2018-10-03 15:19:19 +02:00
JojoS62
ad208c357c
code clean up
...
added default for filter size = 5.
clode clieanup: using constants, read setting into local vars for better readability,
2018-10-03 14:33:17 +02:00
ESPEasy release bot
b1c777e6fd
automatically updated release notes for mega-20181003
2018-10-03 04:00:18 +02:00
JojoS62
f5ab15c255
max distance depends on measurement unit
...
setting is in user units, ping function needs cm. Conversion added.
added unit to log output.
2018-10-02 17:41:23 +02:00
JojoS62
001ec6dcd2
added more settings: unit, filtertype and size
...
Measuring unit can be changed bewtween metric/imperial
Filtertype can none or median. If median a filtersize can be set.
Meauring value time to distance conversion now as float division, resulting in a higher resolution output.
2018-10-02 17:00:22 +02:00
JojoS62
15e5edccd8
added float calculation for time to distance conversion
...
returns higher resolution, especially for measuring in inches the integer resolution was low.
2018-10-02 16:57:33 +02:00
Gijs Noorlander and GitHub
651353cc99
Merge pull request #1842 from crankyoldgit/patch-2
...
Acknowledge credit & origin of code used in _P016IR.ino
2018-10-02 13:41:35 +02:00
Gijs Noorlander and GitHub
85f97551c5
Merge pull request #1841 from crankyoldgit/patch-1
...
Acknowledge credit & origin of code used in IRTX
2018-10-02 13:41:23 +02:00
David Conran and GitHub
6a158f68f5
Acknowledge credit & origin of code used in _P016IR.ino
...
FYI @TD-er
Ref: https://github.com/letscontrolit/ESPEasy/pull/1645#issuecomment-422253497
2018-10-02 21:36:18 +10:00
David Conran and GitHub
1933714de5
Acknowledge credit & origin of code used in IRTX
...
FYI @TD-er
Ref: https://github.com/letscontrolit/ESPEasy/pull/1645#issuecomment-422253497
2018-10-02 21:29:57 +10:00
ESPEasy release bot
545117ddf7
automatically updated release notes for mega-20181002
2018-10-02 04:00:29 +02:00
Gijs Noorlander and GitHub
8eb479c411
Merge pull request #1837 from TD-er/bugfix/schedule_commands_yield
...
[Stack] Report stack usage on ESP32 and increase stack for ESP8266normal
2018-10-01 23:27:07 +02:00
TD-er
b39f51ca3c
[Stack] Report stack usage on ESP32 and increase stack for ESP8266normal
...
Stack usage on ESP32 is querying current stack, not statistics per RTOS task.
2018-10-01 22:15:32 +02:00
Gijs Noorlander and GitHub
4511e08d3c
Merge pull request #1805 from giig1967g/new/parse
...
split parseTemplate function
2018-10-01 17:12:21 +02:00
Gijs Noorlander and GitHub
086e836956
Merge pull request #1836 from TD-er/feature/esp32_pio_1_4_0
...
[ESP32] Update to platform espressif32@1.4.0
2018-10-01 17:10:45 +02:00
Gijs Noorlander and GitHub
3e20f617ea
Merge pull request #1827 from TD-er/bugfix/DTH_Si7021_reading_stability
...
[#1798 ] Bugfix Sonoff Si7021 stability
2018-10-01 17:10:23 +02:00
TD-er
8d9aacb6a4
[ESP32] Update to PIO espressif32@1.4.0
...
[ESP32 IDF 3.1](https://github.com/espressif/esp-idf/releases/tag/v3.1 )
[ESP32 PIO 1.4.0](https://github.com/platformio/platform-espressif32/releases/tag/v1.4.0 )
2018-10-01 16:34:21 +02:00
TD-er
0670fa98a6
[ESP32] Add default partition table for reference
2018-10-01 16:32:20 +02:00
ESPEasy release bot
2b3d1517c9
automatically updated release notes for mega-20181001
2018-10-01 13:13:13 +02:00
Gijs Noorlander and GitHub
0be79759d1
Merge pull request #1834 from TD-er/bugfix/detect_large_stack_allocs
...
[Stack] Move Arduino stack back to top of System stack instead of overlap
2018-10-01 01:25:38 +02:00
TD-er
d47bede215
[Stack] Revert move Settings from stack to heap
...
Apparently the settings are allocated on the system stack and not on the Arduino stack.
This means it takes a lot of ram when allocated on the heap. So move it back to the system stack.
2018-10-01 00:51:04 +02:00
TD-er
2988a244b2
[Stack] Check if a block sent to save on SPIFFS is stack allocated
2018-10-01 00:42:01 +02:00
TD-er
8d87dc0175
[Heap] Use NO_EXTRA_4K_HEAP to get old stack address space
...
Originally the Arduino stack was placed on top of the system stack.
But since the system stack is mostly empty, it was decided to shift the Arduino stack to overlap the system stack to save an extra 4k of memory.
However, since a lot of Watchdog timer reboots are reported lately, this optimisation will now be reverted to see if it will improve stability.
This will use about 4k more RAM.
2018-10-01 00:40:55 +02:00
Gijs Noorlander and GitHub
21c86e666a
Merge pull request #1829 from TD-er/feature/1824_stack_stats
...
[#1824 ] Show stack size on main page
2018-09-30 19:37:16 +02:00
JojoS
e6fdd3380a
added error checking and logging
...
there were several errors that all resulted in a distance value reading of 0. Added an errorState that is printed to the log and helps troubleshooting.
Max. Distance checking can be turned off by setting max distance to 0 cm. If max. distance is used, exceeding the range will return a distance of 0 cm and print this to the log.
2018-09-30 15:23:36 +02:00
TD-er
e04f71ab47
[ #1824 ] Show stack size on main page
...
See #1824
2018-09-30 09:32:01 +02:00
ESPEasy release bot
90ae0720cf
automatically updated release notes for mega-20180930
2018-09-30 04:00:24 +02:00
TD-er
c8ecd8d374
[ #1798 ] Bugfix Sonoff Si7021 stability
...
See #1798
2018-09-29 22:50:24 +02:00
Gijs Noorlander and GitHub
7a451dd672
Merge pull request #1825 from TD-er/bugfix/proper_default_settings
...
Bugfix/proper default settings
2018-09-29 15:39:21 +02:00
Gijs Noorlander and GitHub
b06f6aa360
Merge pull request #1823 from JojoS62/mega
...
minor change: unit was missing for threshold in 'state' mode
2018-09-29 15:06:36 +02:00
TD-er
6b67415c71
[Defaults] Other default initializations
2018-09-29 15:05:10 +02:00
JojoS
b095465d3a
minor change: unit was missing for threshold in 'state' mode
2018-09-29 14:09:03 +02:00
Gijs Noorlander and GitHub
81a5d911ba
Merge pull request #1809 from JojoS62/mega
...
fixed distance reading
2018-09-29 13:38:44 +02:00
TD-er
48060d8d99
[Default Settings] Properly clear settings when reset to default
2018-09-29 12:40:29 +02:00
JojoS
d303fa023f
changed implementation to use shared_ptr instead of helper structure
...
this makes it easier to use this as a template for other sensors. No additional helper class/structure is needed.
2018-09-29 11:58:57 +02:00
JojoS
29b0cc1b32
removed sensordefs helper structure
...
to simplify the code
2018-09-27 22:00:01 +02:00
JojoS
584abd1e75
on INIT, delete sensordef before adding new
2018-09-27 14:19:54 +02:00
JojoS
b4d8be0e59
fixed distance reading
...
the P_013_sensordef object was created on the stack and the destructor was called after leaving the PLUGIN_INIT. That deleted the included NewPingESP8266 object and using this object failed.
2018-09-27 11:56:31 +02:00
ESPEasy release bot
30f5c5cb7d
automatically updated release notes for mega-20180927
2018-09-27 04:00:17 +02:00
Plebs
6e7286c6fb
split parseTemplate function
...
simplifying code
2018-09-26 23:40:01 +02:00
Gijs Noorlander and GitHub
ae1db543ce
Merge pull request #1804 from TD-er/bugfix/ESP32_partition_build
...
[ESP32] Split new partition layout to separate build
2018-09-26 22:52:30 +02:00
TD-er
947e1e0343
[Build] Add esp32test_1M8_partition build and warning on ESP32 partition
2018-09-26 22:49:30 +02:00
TD-er
0578d720f4
[ESP32] Split new partition layout to separate build
...
See "ESP32 not start after last upgrade" #1802
2018-09-26 21:55:02 +02:00
Gijs Noorlander and GitHub
211d79bbd5
Merge pull request #1792 from TD-er/feature/ESP32_partition_table
...
[ESP32] Change partition size (will clear all settings) and add plugins
2018-09-26 09:05:44 +02:00
TD-er
91c5d60af9
[Info] Add board name to the sysinfo page.
2018-09-25 00:19:17 +02:00
TD-er
0d9bc8027d
[ESP32] RTOS move handle_schedule() to core1 and increase stack
...
Enable RTOS flag in advanced settings (and reboot) to create separate threads on the 2nd ESP32 core, which will handle the scheduler.
This lowers stack usage and CPU load.
Also the ESP will no longer crash when saving large settings like for the Framed OLED plugin.
2018-09-25 00:18:46 +02:00
TD-er
bd2bdab95c
[Stack] Move Settings from stack to heap
2018-09-24 22:08:02 +02:00
TD-er
c4f98fbc8e
[Travis] Uninitialized variable in P073_7DGT
2018-09-24 20:13:24 +02:00
ESPEasy release bot
b332a513b5
automatically updated release notes for mega-20180924
2018-09-24 04:00:20 +02:00
TD-er
e36bb714f1
[ESP32] Change partition size (will clear all settings) and add plugins
...
The last update to > 0.12 increased the binary size a lot. This is mainly due to the added BLE support.
This makes it almost impossible to use the default partition table layout.
This changes the app partitions to 1.8 MB and reduces the SPIFFS to 320 k.
Changing the partition table will clear all settings, so make a backup of the settings.
Also added all plugins that would compile (not tested) for ESP32.
Known issue:
ESP32 might crash due to stack overflow when saving settings of plugins. (e.g. OLED framed plugin)
2018-09-24 00:23:45 +02:00
Gijs Noorlander and GitHub
6e1cde343f
Merge pull request #1791 from TD-er/bugfix/ESP32_I2C
...
[ESP32] Fix I2C handling to allow I2C devices to work
2018-09-23 22:14:43 +02:00
TD-er
cce9ddd2dc
[ESP32] Fix I2C handling to allow I2C devices to work
...
See this issue: [I2C repeated start broken](https://github.com/platformio/platform-espressif32/issues/126 )
2018-09-23 21:17:55 +02:00
Gijs Noorlander and GitHub
51be17a436
Merge pull request #1780 from clumsy-stefan/sensor_type_change
...
Change type of sensor for MCP and PCF devices
2018-09-23 20:18:38 +02:00
Gijs Noorlander and GitHub
66d27a6697
Merge pull request #1776 from beigenmann/mega
...
Fix platformio
2018-09-23 20:17:33 +02:00
Gijs Noorlander and GitHub
a033e458fb
Merge pull request #1782 from TD-er/bugfix/MQTT_reconnect_name
...
[MQTT] Work around for lost MQTT connection
2018-09-23 20:17:07 +02:00
Gijs Noorlander and GitHub
494436bbff
Merge pull request #1789 from sakinit/ESP32-to-core_esp32_1_3_0
...
ESP32: change to platform version core_esp32_1_3_0
2018-09-23 20:16:52 +02:00
sakinit
23bacd0762
change to platform version core_esp32_1_3_0
2018-09-23 17:49:47 +02:00
ESPEasy release bot
f131254853
automatically updated release notes for mega-20180923
2018-09-23 04:00:12 +02:00
TD-er
657d15d962
[MQTT] Work around for lost MQTT connection
...
Maybe a fix for #1525
Meant to be a fix for #1530
It looks like the MQTT broker is refusing to accept a new connection from a specific client ID, as long as the broker thinks a client with that ID is still connected.
This work around adds the number of wifi reconnects to the clientID, to make the ID unique when a reconnect has to be made.
2018-09-23 00:54:55 +02:00
Gijs Noorlander and GitHub
60910da48d
Merge pull request #1749 from sakinit/ESP32-P1WifiGateway-updates
...
Esp32 p1 wifi gateway updates
2018-09-22 20:59:32 +02:00
Gijs Noorlander and GitHub
6cee2d0f32
Merge pull request #1779 from TD-er/bugfix/BME280_slow_reading
...
[BME280] Fix slow reading of BME280 causing watchdog resets
2018-09-22 20:45:20 +02:00
stefan
533cb88a64
Change type of sensor for MCP and PCF devices
...
MCP and PCF devices should be of type SWNSOR_TYPE_SWITCH instead of SENSOR_TYPE_SINGLE so that the controllers can identify them correctly as switches (for GPIO related functions)
2018-09-22 20:41:53 +02:00
TD-er
ffa32fe851
[BME280] Fix slow reading of BME280 causing watchdog resets
...
The plugin still had some delay and an active polling to see if the reading was ready.
This took more than 1.5 sec per reading, which could trigger a Watchdog reset.
2018-09-22 20:34:56 +02:00
Gijs Noorlander and GitHub
b900cc9389
Merge pull request #1777 from TD-er/bugfix/MQTTimport
...
[MQTT import] Fix crash at boot when plugin is enabled
2018-09-22 19:13:25 +02:00
TD-er
8e11c19af6
[MQTT import] Fix crash at boot when plugin is enabled
...
See #1722
Inspired by [this comment](https://github.com/letscontrolit/ESPEasy/issues/1722#issuecomment-422191721 ) of @kainhofer
2018-09-22 16:39:16 +02:00
Benno Eigenmann
f33ca6df78
Fix platformio
2018-09-22 15:57:09 +02:00
ESPEasy release bot
194a230d20
automatically updated release notes for mega-20180922
2018-09-22 04:00:22 +02:00
Gijs Noorlander and GitHub
7a5a432016
Merge pull request #1773 from TD-er/reapply_reverts
...
Reapply reverts
2018-09-22 02:04:30 +02:00
TD-er
07511fe144
Revert "Revert "Fix elseif & Add if-elseif-else nesting levels""
...
This reverts commit a4fe8d42d2 .
2018-09-21 22:15:13 +02:00
Gijs Noorlander
9a390136f9
Revert "Revert "Added 2 new operators in Calculate() function""
...
This reverts commit fa42cadfa1 .
2018-09-21 22:14:30 +02:00
Gijs Noorlander and GitHub
27a03f166a
Merge pull request #1770 from TD-er/bugfix/revert_disable_command_scheduler_0915
...
Revert "[Scheduler] Disable command scheduler"
2018-09-21 22:10:50 +02:00
TD-er
0a63aeb8f0
Revert "[Scheduler] Disable command scheduler"
...
This reverts commit 38af765935 .
2018-09-20 23:20:19 +02:00
sakinit
22c10ac615
ESP32 platform updated to 1.2.0; Webserver replaced by platform one
2018-09-16 16:44:25 +02:00
ESPEasy release bot
ac83cfa249
automatically updated release notes for mega-20180916
2018-09-16 04:00:11 +02:00
Gijs Noorlander and GitHub
6ef0c08bc4
Merge pull request #1754 from TD-er/bugfix/backgroundtasks_rules
...
[HW Watchdog] Backgroundtasks instead of yield during rules handling
2018-09-16 01:19:47 +02:00
TD-er
1ee965067d
[HW Watchdog] Backgroundtasks instead of yield during rules handling
2018-09-16 01:19:14 +02:00
Gijs Noorlander and GitHub
e46a873fce
Merge pull request #1753 from letscontrolit/revert-1641-mega
...
Revert "Fix elseif & Add if-elseif-else nesting levels"
2018-09-16 01:15:04 +02:00
Gijs Noorlander and GitHub
784e956c96
Merge pull request #1752 from letscontrolit/revert-1742-new/not
...
Revert "Added 2 new operators in Calculate() function"
2018-09-16 01:14:32 +02:00
Gijs Noorlander and GitHub
b6eebb330a
Added warning to release notes 20180915
2018-09-16 01:13:49 +02:00
Gijs Noorlander and GitHub
a4fe8d42d2
Revert "Fix elseif & Add if-elseif-else nesting levels"
2018-09-16 01:08:42 +02:00
Gijs Noorlander and GitHub
fa42cadfa1
Revert "Added 2 new operators in Calculate() function"
2018-09-16 01:04:37 +02:00
sakinit
17dc6fa859
Reverted Webserver change
2018-09-15 16:22:58 +02:00
sakinit
1432726dec
ESP32: Split webserver spiffs filelist into pages
2018-09-15 12:14:33 +02:00
sakinit
7ba6ffa407
Fix ESP32 stack overflow in addPinSelect when called from P1WifiGateway
...
In addFormPinSelect move local variables from the stack to the heap
because when it is called from the P1WifiGateway there is not enough
stack space resulting in a stack overflow.
2018-09-15 12:14:27 +02:00
sakinit
ab555e4d6b
ESP32 build issues fixed
...
- Compiler issue of comment within comment
- ESP32Webserver renamed to Webserver in ESP32 Arduino library
2018-09-15 12:14:22 +02:00
ESPEasy release bot
d4259f4e23
automatically updated release notes for mega-20180915
2018-09-15 04:00:15 +02:00
Gijs Noorlander and GitHub
aef45c06f6
Merge pull request #1747 from TD-er/bugfix/sunrise
...
[#1698 ] Incorrect sunrise value southern hemisphere
2018-09-15 00:19:42 +02:00
Gijs Noorlander and GitHub
828f9e6a30
Merge pull request #1746 from TD-er/feature/hostname_settings
...
Validate settings + hostname format option
2018-09-15 00:14:30 +02:00
TD-er
e79d778cf4
[ #1698 ] Incorrect sunrise value southern hemisphere
...
See #1698
2018-09-15 00:10:45 +02:00
TD-er
965eb2d994
[ #1713 ] Make hostname-unitnumber optional & validate settings
...
See #1713
Also added validation check for some values in the settings at load/save of settings.
This could be extended later on for task settings.
2018-09-14 23:44:58 +02:00
Gijs Noorlander and GitHub
657fccf49f
Merge pull request #1641 from svmac/mega
...
Fix elseif & Add if-elseif-else nesting levels
2018-09-14 23:27:00 +02:00
Gijs Noorlander and GitHub
228b41a1ac
Merge pull request #1742 from giig1967g/new/not
...
Added 2 new operators in Calculate() function
2018-09-14 23:26:25 +02:00
Gijs Noorlander and GitHub
3bba294eb7
Merge pull request #1745 from TD-er/bugfix/commands_not_using_scheduler
...
[Scheduler] Disable command scheduler
2018-09-14 23:22:21 +02:00
TD-er
0254181b3e
[Controller settings] Validate settings on load/save
...
Make sure new values are set to proper defaults and within valid range.
2018-09-14 22:54:23 +02:00
Gijs Noorlander and GitHub
3b67282abb
Merge branch 'mega' into mega
2018-09-14 21:26:21 +02:00
TD-er
38af765935
[Scheduler] Disable command scheduler
...
For now the commands will no longer use the scheduler.
Commands running asynchronous is causing too much issues.
2018-09-14 21:23:09 +02:00
Plebs
ff180b085c
Added 2 new operators in Calculate
...
hi,
added 2 new operators for calculations:
!: Logical NOT:
returns 1 if operand is = 0
returns 0 if operand is != 0
%: MOD:
converts operands in integers and calculates the remainder of the division
2018-09-14 16:44:11 +02:00
ESPEasy release bot
e0785eb796
automatically updated release notes for mega-20180914
2018-09-14 04:00:17 +02:00
Gijs Noorlander and GitHub
75a83787a4
Merge pull request #1740 from TD-er/bugfix/disable_failing_plugin
...
[CrashRecover] Disable failing step based on failed boot count
2018-09-14 00:18:48 +02:00
Gijs Noorlander and GitHub
65bea6343c
Merge pull request #1734 from giig1967g/new/eventvalue
...
adding more parameters to EVENT
2018-09-14 00:15:41 +02:00
Gijs Noorlander and GitHub
6fe61411a0
Added PayPal link
2018-09-14 00:10:48 +02:00
Gijs Noorlander and GitHub
4552e91022
Merge pull request #1731 from giig1967g/new/calculate
...
Use parameters inside rules when calling commands
2018-09-14 00:06:13 +02:00
Gijs Noorlander and GitHub
cc94d70e6c
Merge pull request #1730 from sakinit/feature-webserver-spiffs-filelist-multiple-pages
...
Feature: Split webserver spiffs filelist into pages
2018-09-13 23:50:11 +02:00
Gijs Noorlander and GitHub
2435078f76
Merge pull request #1732 from TD-er/feature/flash_tools
...
[Flash tools] Add blank files and README.txt to dist folder
2018-09-13 23:49:43 +02:00
Gijs Noorlander and GitHub
dd2cd50d4b
Merge pull request #1738 from giddyhup/mega
...
Fix IR plugin passing received code
2018-09-13 23:48:46 +02:00
TD-er
fe38eb629d
[CrashRecover] Disable failing step based on failed boot count
...
When the node gets locked in a boot loop, the only recovery is to erase it and start all over.
This fix will count the number of failed boots and above a certain threshold it will start disabling plugin, then controller and then notification.
Only one will be disabled at once, so the user can see which one is giving issues.
The disabled state will not be saved, so make sure to save the failing part when it is accessible again.
2018-09-13 23:44:24 +02:00
Plebs
e961507456
added %eventvalue4%
2018-09-13 19:14:13 +02:00
Plebs
e5ee5644bf
final version with '=' sign as a prefix to identify the formula in rules
2018-09-12 22:48:44 +02:00
Gijs Noorlander and GitHub
ac6d85e214
Merge branch 'mega' into mega
2018-09-12 21:54:50 +02:00
Markus Gloede
39c2d54aee
Fix IR plugin passing received code
2018-09-12 21:09:05 +02:00
Plebs
68efd5ff9e
adding more parameters to EVENT
...
Hi,
adding the possibility to have 3 parameters when calling an event:
event,eventname=p1,p2,p3
The variable name are:
param 1: %eventvalue% or %eventvalue1%
param 2: %eventvalue2%
param 3: %eventvalue3%
2018-09-11 17:38:47 +02:00
Plebs
627f516f85
fixed calls to F-macro
2018-09-11 16:03:35 +02:00
Plebs
a45fadf42e
fixed ESP32 compatibility issue
2018-09-11 14:38:14 +02:00
Plebs
2ae52b849c
few changes
...
optimized the call to CALCULATE only when needed and description of error codes.
2018-09-11 13:10:00 +02:00
Plebs
639685ea0d
fixed float to int conversion
2018-09-11 10:16:44 +02:00
Plebs
867209de6d
Add three new TOGGLE commands
...
Added three new commands to toggle the pins from 0 to 1 or viceversa and to toggle the task value:
Command: taskvaluetoggle
P001: gpiotoggle
P019:pcfgpiotoggle
2018-09-11 00:38:55 +02:00
TD-er
1d8b6d346b
[Flash tools] Add blank files and README.txt
2018-09-10 23:02:38 +02:00
Plebs
2a5ac327d3
Use parameters inside rules when calling commands
...
Hi,
here is a PR for using parameters when calling commands from inside the rules.
The scope is to be able to use formulas instead of an integer when calling a command inside the rules.
Example:
taskvalueset,1,%eventvalue%+65,[Relay1#r1]+1
Usage could be:
Assuming you have a PCF8574 with ports from 65 to 72.
You can write a rule:
on turnOnRelay do
pcfgpio,%eventvalue%+64,0
endon
And to turn on port65, the rule can be called like this:
event,turnOn=1
2018-09-10 22:59:50 +02:00
sakinit
886101d4d4
Feature: Split webserver spiffs filelist into pages
2018-09-10 17:37:05 +02:00
ESPEasy release bot
8fc6486855
automatically updated release notes for mega-20180910
2018-09-10 04:00:23 +02:00
Gijs Noorlander and GitHub
eeb1cc71b3
Merge pull request #1728 from TD-er/bugfix/command_send_http
...
Bugfix/command SendToHTTP & Domoticz IDX > 9999
2018-09-10 01:02:58 +02:00
TD-er
13837830e8
[Domoticz IDX] Allow for IDX of > 9999
2018-09-09 23:00:16 +02:00
Gijs Noorlander and GitHub
f86ff46a82
Merge pull request #1727 from sakinit/P1WifiGatewayModuleBufSize
...
Reduced buffer size to prevent stack overflow
2018-09-09 22:53:23 +02:00
TD-er
e901bc957a
[HTTP] Command SendToHttp cannot connect
...
Incorrect check for return value.
As suggested via the [forum](https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=5794&p=31203#p31181 )
2018-09-09 21:58:14 +02:00
sakinit
e7e10c5305
Reduced buffer size to prevent stack overflow
2018-09-09 19:54:23 +02:00
ESPEasy release bot
466ddfbe88
automatically updated release notes for mega-20180909
2018-09-09 04:00:14 +02:00
Gijs Noorlander and GitHub
c8f02d2a4c
Merge pull request #1721 from TD-er/bugfix/wifi_connection_slow_server
...
[#1720 ] WiFi read all lines from slow servers
2018-09-08 23:14:33 +02:00
TD-er
af1d9b38c9
[Serial log] Use buffer to prevent Serial buffer to overflow
...
Write the log lines to a std::deque and write that buffer to the serial port without overflow of the Serial buffer.
This flushing is done during background task.
2018-09-08 20:48:29 +02:00
Gijs Noorlander and GitHub
7294217489
Revert [WDT] Add watchdog feed to backgroundtasks()
...
See comment: https://github.com/letscontrolit/ESPEasy/issues/1722#issuecomment-419659193
2018-09-08 20:31:16 +02:00
TD-er
208fa8a3aa
[ESP32] Fix Build, ESP32 doesn't have the availableForWrite
2018-09-08 18:24:48 +02:00
TD-er
b3b8eff127
[Serial Log] Limit serial log to prevent buffer overflow
...
As suggested here: https://github.com/letscontrolit/ESPEasy/issues/1625#issuecomment-411558353 by @thomastech
2018-09-08 16:19:58 +02:00
TD-er
c6a90ab2d0
Add forward declaration for void backgroundtasks()
2018-09-08 16:00:06 +02:00
TD-er
e7d28e8576
[ #1720 ] WiFi read all lines from slow servers
...
See #1720
2018-09-08 15:20:39 +02:00
ESPEasy release bot
efa27dc01d
automatically updated release notes for mega-20180908
2018-09-08 04:00:20 +02:00
Gijs Noorlander and GitHub
7c7b81911d
Merge pull request #1669 from TD-er/bugfix/buffer_send_controller
...
Use queue to manage controllers and add timing settings per controller
2018-09-07 23:31:55 +02:00
Gijs Noorlander and GitHub
c2962d7337
Update README.md
2018-09-07 23:30:33 +02:00
TD-er
e2e2059ff0
[Queue] Add memory check to determine full queue
...
Depending on the type of controller, the queued messages can be quite big.
This means the queue limit set can cause the memory to fill up.
This commit adds another check. If the free memory is less than 5000 bytes, it will consider the queue being full.
It will then also log the actual memory usage of the queue.
2018-09-07 22:32:17 +02:00
TD-er
4e95bbef7f
[Scheduler] Do not schedule task device timer for tasks without interval
...
See #1709
2018-09-06 22:21:39 +02:00
TD-er
b0a90b5b14
[ #1714 ] Parse notification sender to allow some sender formatting
...
`bla@bla.com ` will be set as `nodename <bla@bla.com >` in the mail header as from part.
`John Doe <bla@bla.com >` will now be used like that in the mail header.
N.B. `<` is actually the separator, so as long as that character is being used to separate the name and mail address, it will work. (see #1714 )
2018-09-05 23:20:49 +02:00
TD-er
c8ac1bbd59
[ #1707 ] Getting logs from the /log even when password is not entered
...
See #1707
2018-09-05 22:49:38 +02:00
TD-er
e6105bfe71
[WDT] Add yield() and runbackgroundtasks() when parsing rules
...
Rules parsing may take some time, so perform some yields to prevent watchdog triggers.
2018-09-04 22:48:07 +02:00
ESPEasy release bot
1bb8669ed2
automatically updated release notes for mega-20180904
2018-09-04 04:00:34 +02:00
Gijs Noorlander and GitHub
34f4a9a8e0
Merge pull request #1704 from TD-er/bugfix/duplicate_names_check
...
[#1702 ] Check for duplicate names bug
2018-09-04 00:22:30 +02:00
TD-er
a517f3471c
[ #1702 ] Check for duplicate names bug
...
Make sure only enabled devices are used for checking. (see #1702 )
Do a full erase of the task settings when deleting a plugin. Just to make sure no obsolete settings may corrupt behaviour of new settings.
2018-09-03 21:25:07 +02:00
ESPEasy release bot
9c706b7b0e
automatically updated release notes for mega-20180903
2018-09-03 04:01:13 +02:00
TD-er
f2b4e17e2a
[MQTT] Force MQTT client reconnect when wifi reconnects
...
It looks like the check for `client->connected()` may return false positives.
This means the MQTT client may assume the connection is still active, while it isn't.
2018-09-02 23:01:36 +02:00
TD-er
6f62ba0f9b
[Watchdog] Add watchdog feed to backgroundtasks() function
...
A lot of reports recently about resets by the Hardware Watchdog.
So maybe this timer is not reset as often as before.
2018-09-02 23:01:36 +02:00
TD-er
36c6fd4bf7
[SPIFFS] Add SPIFFS size + usage to sysinfo page
2018-09-02 23:01:36 +02:00
TD-er
4446d76c83
[MQTT] Give MQTT state in log when connect state changes.
2018-09-02 23:01:36 +02:00
TD-er
f354b05b07
[Nodes] Fix String copy to properly read node names
2018-09-02 23:01:36 +02:00
TD-er
467df9dde2
[Cleanup] Memory optimisation in available controllers and plugins
...
These structs to keep track of available plugins and controllers were fixed in size and also the member variables were not ordered in the most optimum way.
Also the name of the nodes always used 26 Bytes and would impose a memory leak when deleted.
2018-09-02 23:01:36 +02:00
TD-er
dac243cc82
[Nodes] Highlight current node in the list of nodes
2018-09-02 23:01:36 +02:00
TD-er
3d1be96f8a
[Nodes] Make Nodes list a map with dynamic size
...
Nodes list is now a std::map, which may contain up-to 254 nodes (1...254), since 255 is reserved for broadcast and 0 for "all known".
2018-09-02 23:01:36 +02:00
TD-er
0dd53e38d7
[C013] Remove some obsolete function
...
`C013_Send` did actually only call another function and some other bogus object loading without using the data.
2018-09-02 23:01:36 +02:00
TD-er
df6338dfee
[C012] Controller C012 now also uses Delay Queue
2018-09-02 23:01:36 +02:00
TD-er
1bab99de40
[Controller] Moved the 'magic' default and max values to defines
...
The Max and Default values for the Controller Delay Queue are now set in the `ESPEasy-Globals.h` file.
2018-09-02 23:01:36 +02:00
TD-er
ec44efb59f
[C011] Controller C011 now also uses Delay Queue
...
And some code cleanup of shared code in C001 and C003.
Also fixed an issue in C011, where the result was not returned when sending a value.
2018-09-02 23:01:36 +02:00
TD-er
202a6fd1f7
[Cleanup] Merge code duplication between C008 and C010
...
Both use the same Queue Element class.
2018-09-02 23:01:36 +02:00
TD-er
dc7828d343
[C010] Controller C010 now also uses Delay Queue
2018-09-02 23:01:36 +02:00
TD-er
5c92731b41
[HTTP] Add user agent in request header
...
Should make this optional later
2018-09-02 23:01:36 +02:00
TD-er
8c34067d9c
[HTTP Auth] Now using proper index for retrieving credentials
...
I was using the controller number and not the controller index to get the user credentials.
Should now work for FHEM.
2018-09-02 23:01:36 +02:00
TD-er
92025249fc
[C009] Remove 'no port' option in HTTP packet
...
As tested by @clumsy-stefan, it didn't make a difference.
2018-09-02 23:01:36 +02:00
TD-er
dd5b5bb7c3
[Client Connect] Check for success on connecting with client.
...
In case of domain name resolution error result can be negative.
See [Dns.cpp](https://github.com/esp8266/Arduino/blob/18f643c7e2d6a0da9d26ff2b14c94e6536ab78c1/libraries/Ethernet/src/Dns.cpp#L44 )
Thus must match the result with 1.
2018-09-02 23:01:36 +02:00
TD-er
03bc2f34f6
[C009] Controller C009 now also uses Delay Queue
...
Also fixed an issue where sending some value to a controller would fail when the buffer is full and the settings set to "Delete Oldest".
2018-09-02 23:01:36 +02:00
TD-er
a19b59e184
[C009] Removed port number from HTTP host header
...
As suggested here: https://github.com/letscontrolit/ESPEasy/pull/1669#issuecomment-414434578
This plugin is not using the Queue yet, but only had some duplicate code moved to a helper class.
I now removed the port number from the HTTP header, since I am not really sure if the standard demands it or only for the connect part.
Also changed the HTTP command to use the code that has the port in the header, just to check if that will break now compared to older builds.
2018-09-02 23:01:36 +02:00
TD-er
861bc64ce3
[ #1666 ] Moved code duplication for HTTP requests to special functions
...
The controller source files are now much cleaner and all use the same code.
So it is easier to fix issues and add features and checks.
2018-09-02 23:01:36 +02:00
TD-er
7428b03e18
[C008] Let C008 use queue and some bugfixes
...
Also added statistics
And some optimizations
2018-09-02 23:01:36 +02:00
TD-er
54a6ecac7d
[Webserver] Add fields for new Controller settings
...
Make sure all new settings are configurable for all controllers.
2018-09-02 23:01:36 +02:00
TD-er
ec4aa627bb
[MQTT] Use set controller settings on MQTT controllers
2018-09-02 23:01:36 +02:00
TD-er
0dc47bc04c
[C007] Let C007 controller use queue
2018-09-02 23:01:36 +02:00
TD-er
5f029c59d2
Added USES_Cxxx checks
...
functions may not be mentioned in the scheduler when the controller is not included in the build.
2018-09-02 23:01:36 +02:00
TD-er
8beeeaf7fa
[C004] Let C004 controller use queue and simplify using macros
...
Added some simplifications to the code by creating one big macro in `_CPlugin_Helper.h` that does all the work and defines.
This will reduce the chance of typo errors a lot.
2018-09-02 23:01:36 +02:00
TD-er
293b63e654
[C003] Let C003 controller use queue
2018-09-02 23:01:36 +02:00
TD-er
734150e87b
[C001] Let C001 controller use queue
2018-09-02 23:01:36 +02:00
TD-er
6bb1b4086c
[Controller] Make ControllerDelayHandler templated and comment
...
Added recognisable comments throughout the `ESPEasy-Globals.h` file and made ControllerDelayHandler templated to be used for other controllers to use.
2018-09-02 23:01:36 +02:00
TD-er
9cd2d2d843
[MQTT] Add controller delay queue for MQTT
...
MQTT messages are queued and processed at set pace to not overload the broker.
N.B. other controllers still need a similar queue to process. Current interval for those is now probably too low.
Also initial queue parameters must still be corrected when set to 0.
2018-09-02 23:01:36 +02:00
TD-er
02c022d7d5
[controller delay] Let controllers handle their own delay and buffer
2018-09-02 23:01:36 +02:00
Gijs Noorlander and GitHub
b1c8346700
Merge pull request #1700 from TD-er/feature/Shelly_support
...
[Shelly1] Add first test build for Shelly1 nodes
2018-09-02 22:58:30 +02:00
TD-er
272ed8c578
[Shelly1] Add first test build for Shelly1 nodes
...
[Shelly1 Open Source (ESP8266-2MB)](https://shelly.cloud/shelly1-open-source/ )
This is a preliminary test version as I have not yet received my ordered modules.
Also there is a [feature request](https://github.com/esp8266/Arduino/issues/5096#issuecomment-417942708 ) out for adding proper flash layout for these 2M flash modules which allow proper OTA.
2018-09-02 22:31:05 +02:00
Gijs Noorlander and GitHub
a9e473dbc6
Merge pull request #1697 from TD-er/feature/1688_dewpoint
...
[#1688 ] Add dew point computation as standard conversion
2018-09-02 20:31:37 +02:00
TD-er
4baccf5863
[ #1688 ] Add dew point computation as standard conversion
...
Dew point(T,H): `%c_dew_th%(18.6,67)` will be replaced with `12.31`
See #1688
2018-09-02 20:30:42 +02:00
Gijs Noorlander and GitHub
ad84eb8b8a
Merge pull request #1696 from TD-er/feature/leading_zero_sysvars
...
[sysvar] rename vars with leading zero to %..._0%
2018-09-02 18:35:07 +02:00
TD-er
23f2bfc6d8
[sysvar] rename vars with leading zero to %..._0%
...
For example `%syshour%` to `%syshour_0%`
Both variables are now supported.
The ones without leading zero can be used in rules.
The ones with leading zero will probably be used on displays.
2018-09-02 18:34:33 +02:00
Gijs Noorlander and GitHub
34d2f25652
Merge pull request #1695 from TD-er/feature/sysparam_webpage
...
[#1549 ] Add page showing all system variables
2018-09-02 15:59:50 +02:00
Gijs Noorlander and GitHub
294683ece1
Merge pull request #1694 from TD-er/bugfix/notification_mail
...
[#1692 ] Add 2nd Receiver for Email notification
2018-09-02 15:59:35 +02:00
Gijs Noorlander and GitHub
56bd1cb19c
Merge pull request #1686 from TD-er/bugfix/build_issues
...
[Pio] Build issue P016_IR and add PIO flags
2018-09-02 15:59:15 +02:00
TD-er
812f530c4b
[ #1549 ] Add page showing all system variables
...
Via Tools => System Variables.
2018-09-02 13:47:18 +02:00
TD-er
97258a531d
Forgot to save before commit
...
Forgot to increase to next address.
2018-09-02 00:08:06 +02:00
TD-er
7d2ef727a7
[ #1692 ] Add 2nd Receiver for Email notification
...
Implementation suggested by @dwarf2k See: https://github.com/letscontrolit/ESPEasy/issues/1692#issuecomment-417887364
2018-09-02 00:02:50 +02:00
TD-er
9e83213a13
[Pio] Build issues
...
Redefine of `TIMEOUT` in P016_IR.
Add option to set CPU frequency and flags undef per build
2018-08-28 00:10:27 +02:00
ESPEasy release bot
ecb5ca9306
automatically updated release notes for mega-20180826
2018-08-26 04:00:20 +02:00
Gijs Noorlander and GitHub
edb6178ae2
Merge pull request #1682 from TD-er/bugfix/P080
...
[Build Travis] "Scratchpad was set but never used"
2018-08-26 00:32:18 +02:00
TD-er
b8894efc57
[Build Travis] "Scratchpad was set but never used"
...
Build error with Travis.
2018-08-26 00:31:49 +02:00
Gijs Noorlander and GitHub
970181d8c7
Merge pull request #1681 from TD-er/bugfix/P078_P080
...
Bugfix/p078 p080
2018-08-26 00:12:53 +02:00
TD-er
9d2fad783f
[Build] Add "[TESTING]" labels to P078 and P080
2018-08-26 00:12:13 +02:00
jimmys01 and GitHub
9d42e83314
Merge pull request #1 from letscontrolit/mega
...
test
2018-08-26 01:01:41 +03:00
Gijs Noorlander and GitHub
0005915c5c
Upgrade IR lib and move IR code to separate build
...
IR TX and RX enhancements and split to a special build, due to the resources needed for the IR library and code.
2018-08-25 23:29:17 +02:00
Gijs Noorlander and GitHub
eb78bc3e03
Merge pull request #1468 from henfri/patch-1
...
Create _P080_DallasIButton.ino
2018-08-25 23:27:11 +02:00
Gijs Noorlander and GitHub
17777698cd
Merge pull request #1679 from TD-er/feature/Eastron
...
[#205 ] Initial port of Playground P150 to Mega (Eastron)
2018-08-25 23:23:09 +02:00
Gijs Noorlander and GitHub
d091148dfc
Merge branch 'mega' into feature/Eastron
2018-08-25 23:22:42 +02:00
Gijs Noorlander and GitHub
fcb25a2aec
Merge pull request #1492 from TungstenE2/mega
...
added new Plugin for Wemos Motorshield P_079
2018-08-25 23:21:18 +02:00
TD-er
a7d90a33a0
[Dallas iButton] Change VType to SENSOR_TYPE_LONG
2018-08-25 23:18:00 +02:00
TD-er
3a68ff8f9d
[P080] Dallas iButton Rename P078 to P80
2018-08-25 22:51:43 +02:00
henfri and TD-er
3b45e200a7
Update _P078_DallasIButton.ino
...
empty lines removed
2018-08-25 22:51:43 +02:00
henfri and TD-er
b724c22c80
Create _P078_DallasIButton.ino
...
Plugin for reading the Dallas iButton
2018-08-25 22:51:43 +02:00
TD-er
b810e34b74
[MotorShield] Added comments in the code and fixes
...
Frequency was not using the upper 4 bits of the values.
Changed delay to yield.
2018-08-25 22:39:36 +02:00
TD-er
c70ffd735c
[MotorShield] Cleanup code layout
...
Indentation was hard to read, so ran code beautify.
2018-08-25 21:03:02 +02:00
TD-er
604c58a290
[MotorShield] Rename P078 to P079
2018-08-25 21:03:02 +02:00
TungstenE2 and TD-er
1d1b69b1ce
Added Wemos Motorshield Plugin (No. 78)
2018-08-25 21:03:02 +02:00
TungstenE2 and TD-er
bd2cc4138b
Added Wemos Motorshield Plugin (No. 78)
2018-08-25 21:03:02 +02:00
Gijs Noorlander and GitHub
ca5f2815bc
Merge pull request #1631 from GHolli/mega
...
Optimisations
2018-08-25 12:31:58 +02:00
Gijs Noorlander and GitHub
f67bf51606
Merge pull request #1672 from TD-er/bugfix/network_mqtt_issues
...
[MQTT] Check connection and specific check for success when connect.
2018-08-25 12:31:20 +02:00
Gijs Noorlander and GitHub
e1f0badd92
Merge pull request #1678 from Feuerreiter/mega
...
Add overview of known espeasy nodes to json
2018-08-25 12:30:57 +02:00
jimmys01
b9ea66037c
Small correction
2018-08-25 13:15:41 +03:00
TD-er
62a196d398
[JSON] Only show node information when generic info is requested
...
This extra node information is not needed when values of a specific task is requested, so only output when other generic information is shown.
2018-08-25 12:09:00 +02:00
jimmys01
d4ee74297b
IR RX updated
...
The IRrecvDumpV2.ino functionality added to the RX module.
Let me know for a good way to display the RAW values.
2018-08-25 12:53:42 +03:00
TD-er
d0d95e221b
[JSON] Fix issue when UDP port not set
...
With no nodes to display, the generated JSON was not valid.
Also removed some duplicate F() macro strings.
2018-08-25 11:49:54 +02:00
TD-er
7ad8880651
[IR/IRTX] For PullReq #1645 split IR/IRTX to a separate build
...
The new library takes a lot of resources.
2018-08-25 01:01:48 +02:00
TD-er
f46a6c3414
[Eastron] Add missing SDM_Config_User.h
2018-08-24 23:48:20 +02:00
TD-er
ab0ed4b5ca
[Eastron] Make P078 Eastron compile, serial settings do not yet work
...
At this moment it is just using the same static configuration as P150 from the playground.
It is not yet using the settings. This will have to be changed later on.
2018-08-24 23:16:33 +02:00
TD-er
b1fb308646
[SDM] Update library to latest version
...
Latest version requires a Software Serial object for the constructor.
2018-08-24 22:55:13 +02:00
feuerreiter
79ee397e8e
Adds a overview of known espeasy nodes to the json response. I think this can be useful for own webinterfaces etc.
2018-08-24 17:20:17 +02:00
TD-er
56569374f3
[Eastron] Add P078 plugin from the Playground (was P150)
...
Still problems using the Software Serial
2018-08-24 01:29:55 +02:00
TD-er
41b13f6797
[Client Connect] Check for success on connecting with client.
...
In case of domain name resolution error result can be negative.
See [Dns.cpp](https://github.com/esp8266/Arduino/blob/18f643c7e2d6a0da9d26ff2b14c94e6536ab78c1/libraries/Ethernet/src/Dns.cpp#L44 )
Thus must match the result with 1.
2018-08-22 21:58:34 +02:00
TD-er
8f23048f18
[MQTT] PubSubClient Add checks for connectivity
...
Taken from master branch of PubSubClient
2018-08-22 21:56:05 +02:00
ESPEasy release bot
a123dbf37f
automatically updated release notes for mega-20180822
2018-08-22 04:00:15 +02:00
Gijs Noorlander and GitHub
6b65e90ddf
Merge pull request #1664 from TD-er/bugfix/UDP_checks
...
[UDP] Use random outgoing port for NTP and check return values
2018-08-21 23:46:12 +02:00
Gijs Noorlander and GitHub
890db55197
Changed INPUT_COMMAND_SIZE from 80 to 240
...
The default of 80 was too short for commands using an url like `sendtohttp`
Changed it to 240 to allow for some longer commands.
2018-08-21 23:44:58 +02:00
TD-er
514800433f
[UDP] Use random outgoing port for NTP and check return values
...
As a NTP client, you don't need to send requests from port 123. Some internet providers even block ports below 1024. So try to use a random port for outgoing requests.
Also added some checks and increased buffer on the receiving end of UDP packets.
When using C013, the size of infoStruct is copied from that buffer and the size is about 137 bytes, which may lead to Exception crashes.
2018-08-19 00:51:21 +02:00
ESPEasy release bot
deb18d2391
automatically updated release notes for mega-20180818
2018-08-18 04:00:17 +02:00
Edwin Eefting
e18d069171
fixed network config for newer versions
2018-08-17 17:14:03 +02:00
Gijs Noorlander and GitHub
b63c375793
Merge pull request #1657 from TD-er/bugfix/web_menu_ios11
...
[#1650 ] Use icons in tabs on web page on small screens
2018-08-17 00:09:47 +02:00
TD-er
f906e9173c
[ #1650 ] Use icons in tabs on web page on small screens
...
See #1650
2018-08-17 00:08:08 +02:00
jimmys01
c444022f5f
Travis please be happy :-)
2018-08-16 11:35:36 +03:00
svmac
5511ee9f38
fix mistake
2018-08-15 05:22:27 +02:00
svmac
427a22d23b
some code optimization
2018-08-15 04:54:29 +02:00
ESPEasy release bot
306cbf3107
automatically updated release notes for mega-20180815
2018-08-15 04:00:13 +02:00
Gijs Noorlander and GitHub
458f672744
Merge pull request #1649 from TD-er/bugfix/1487_tone_PIO_update_180
...
[core 2.4.2] Update to PlatformIO espressif8266@1.8.0
2018-08-15 00:55:44 +02:00
Gijs Noorlander and GitHub
dee1ee6f32
Merge pull request #1648 from krikk/patch-1
...
Update _P047_i2c-soil-moisture-sensor.ino - Address change on new sensor firmware
2018-08-15 00:54:13 +02:00
TD-er
8930e331d3
[core 2.4.2] Update to PlatformIO espressif8266@1.8.0
...
Latest version would not build due to conflicting function definition for tone. See #1487
2018-08-15 00:42:41 +02:00
krikk and GitHub
6033990767
Update _P047_i2c-soil-moisture-sensor.ino
...
Add a duplicate call for changing the address. This is required by the new sensor firmware version 2.6. This is to avoid a stry address change command that happens during hotplugging of the sensor
also see here: https://github.com/Apollon77/I2CSoilMoistureSensor/pull/17
2018-08-15 00:30:57 +02:00
svmac
d271898968
reenabled code about !
2018-08-14 03:52:29 +02:00
jimmys01
f261e6a5ea
commented out more unused code
2018-08-13 17:10:57 +03:00
jimmys01
ff160f386e
Travis build complaining about unused vars
2018-08-13 13:02:21 +03:00
jimmys01
ef92e7ae4f
IR library added
2018-08-13 12:18:01 +03:00
svmac
4051f0bd2e
Fix elseif & Add if-elseif-else nesting levels
...
- The implementation of elseif is not correct. See this example:
Rule:
On SYSVAL do
if %syssec% < 10
publish %sysname%/IP,%ip%
elseif %syssec% < 20
publish %sysname%/Uptime/min,%uptime%
elseif %syssec% < 30
publish %sysname%/Systime/time,%systime%
elseif %syssec% < 40
publish %sysname%/RSSI/dB,%rssi%
elseif %syssec% < 50
publish %sysname%/Sunrise/time,%sunrise%
else
publish %sysname%/Sunset/time,%sunset-30m%
endif
endon
Result:
109360661 : EVENT: SYSVAL
109360668 : [if 11 < 10]=false
109360675 : [elseif 11 < 20]=true //THIS IS CORRECT
109360677 : ACT : publish Wemos51/Uptime/min,1823
109360686 : Command: publish
109360692 : [elseif 11 < 30]=false
109360697 : [elseif 11 < 40]=false
109360703 : [elseif 11 < 50]=false
109360705 : ReplacementString SunTime: %sunrise% offset: 0
109360708 : else = true //THIS IS NOT CORRECT
109360710 : ReplacementString SunTime: %sunset-30m% offset: -1800
109360712 : ACT : publish Wemos51/Sunset/time,20:46
109360723 : Command: publish
109360729 : EVENT: SYSVAL Processing time:68 milliSeconds
- Added also nesting levels to if-elseif-else clausules define in RULES_IF_MAX_NESTING_LEVEL declaration. Example:
Rule:
On SYSVAL do
if %eventvalue% > 1
publish %sysname%/Sunrise/time,%sunrise+1h%
else
if %syssec% < 10
publish %sysname%/IP,%ip%
elseif %syssec% < 20
publish %sysname%/Uptime/min,%uptime%
elseif %syssec% < 30
publish %sysname%/Systime/time,%systime%
elseif %syssec% < 40
publish %sysname%/eventvalue,%eventvalue%
elseif %syssec% < 50
publish %sysname%/Sunrise/time,%sunrise%
else
publish %sysname%/Sunset/time,%sunset-30m%
endif
endif
endon
Result:
>event,SYSVAL=-5
4977875 : Command: event
4977876 : EVENT: SYSVAL=-5
4977883 : Lev.1: [if -5 > 1]=false
4977886 : ReplacementString SunTime: %sunrise+1h% offset: 3600
4977889 : Lev.1: [else]=true
4977893 : Lev.2: [if 30 < 10]=false
4977900 : Lev.2: [elseif 30 < 20]=false
4977906 : Lev.2: [elseif 30 < 30]=false
4977913 : Lev.2: [elseif 30 < 40]=true
4977916 : ACT : publish Wemos49/eventvalue,-5
4977932 : ReplacementString SunTime: %sunrise% offset: 0
4977935 : Lev.2: [else]=false
4977938 : ReplacementString SunTime: %sunset-30m% offset: -1800
4977944 : EVENT: SYSVAL=-5 Processing time:67 milliSeconds
- Finally, the substitution of %eventvalue% is done earlier so that it can be used in if sentence too.
2018-08-11 16:51:56 +02:00
ESPEasy release bot
93105200d7
automatically updated release notes for mega-20180809
2018-08-09 04:00:06 +02:00
Gijs Noorlander and GitHub
f48ede5d7e
Merge pull request #1637 from TD-er/bugfix/send_deepsleep
...
[deepsleep] Send values immediately after connections are made
2018-08-09 00:39:41 +02:00
TD-er
b73181487c
[deepsleep] Send values immediately after connections are made
...
Known issue:
The value of the first task is not sent via MQTT right after waking up from deep sleep.
2018-08-09 00:27:34 +02:00
Gijs Noorlander and GitHub
caee2892c4
Merge pull request #1636 from TD-er/bugfix/timing_issues
...
Bugfix: Several timing issues
2018-08-08 23:00:05 +02:00
Gijs Noorlander and GitHub
432bd32967
Merge pull request #1635 from uzi18/patch9
...
small fix for #702
2018-08-08 22:24:30 +02:00
Gijs Noorlander and GitHub
235bc0a598
Merge pull request #1634 from letscontrolit/bugfix/Blynk_command
...
[Blynk] Command handling was not active
2018-08-08 22:22:15 +02:00
TD-er
f0cf26baec
[Scheduler] Remove scheduled commands from scheduler to run in idle time
...
Scheduled commands are blocking when run all after another at highest priority.
This removes the scheduled commands from the scheduler and the scheduler will now process the next queued command when no other scheduled task has to run.
Also made some optimizations to reduce memory usage.
2018-08-08 22:19:49 +02:00
TD-er
fffccd3787
[C011] Make sure the loaded extra controller settings end with 0
...
Controller C011 (Advanced HTTP) uses all of the available `ExtraControllerSettings`.
Now the last byte of those arrays is set to 0, just to make sure they will not read beyond the range of those arrays when using as a string.
The controller still causes crashes, bit it is a start.
2018-08-08 22:16:21 +02:00
TD-er
5cfbac5eba
[ #1621 ] Timing interval of BME280 incorrect
...
New timing was only allowed after MessageDelay seconds. (default was 1000, which is about 20 minutes)
It should use `TaskDeviceTimer`.
BME280 can now schedule itself to perform a read-update as soon as a measurement has completed.
Then it schedules itself to perform a new measurement at set interval time.
2018-08-08 22:12:43 +02:00
Gijs Noorlander and GitHub
2bce3f8d02
Merge branch 'mega' into patch9
2018-08-08 22:02:12 +02:00
Bartlomiej Zimon
e210722e0e
fix for #702 , setup propper gpio state before send into PCF8574 for pcfpulse,pcflongpulse
2018-08-08 19:17:58 +00:00
Gijs Noorlander and GitHub
909d9a4fd1
[Blynk] Change define to allow blynkget command
2018-08-08 19:41:36 +02:00
Gijs Noorlander and GitHub
c8b57cf9e0
[Blynk] Command handling was not active
...
It was blocked by an old `#define`
2018-08-08 19:39:06 +02:00
ESPEasy release bot
d74493ced0
automatically updated release notes for mega-20180808
2018-08-08 04:00:13 +02:00
Gijs Noorlander and GitHub
7783cf4ce5
Merge pull request #1627 from TD-er/bugfix/MQTT_yield
...
[#1625 ] Bugfix/mqtt yield
2018-08-07 20:37:40 +02:00
Gijs Noorlander and GitHub
27e07d1f67
Merge pull request #1630 from letscontrolit/bugfix/1612_rfid
...
[#1612 ] Make P008_RFID using new functions
2018-08-07 20:37:20 +02:00
TD-er
40857cc57c
[Schedule] Run command from webpage immediately
...
When sending command request from the Tools tab in the web interface, the command will be executed immediately.
In other situations it will use the scheduler to run commands async.
Commands will now be buffered and processed in order.
This will also speed-up rules which do a publish.
2018-08-06 23:12:26 +02:00
TD-er
4f764d6101
[Schedule] Scheduled command timer
...
Run commands async. The result is now not displayed in the web page anymore.
2018-08-06 08:22:08 +02:00
Gerald Hollweger
49e98f2f8b
Optimisations
...
- Save RAM, move constants to flash (CharTableTM1637, CharTableMAX7219)
- Remove unnecessary parameter passing (the interface pins do not change during operation for one instance)
2018-08-05 19:19:04 +02:00
Gijs Noorlander and GitHub
ddad026a2b
[ #1612 ] Make P008_RFID using new functions
...
See #1612
2018-08-05 15:05:20 +02:00
TD-er
b8df55ef36
[Commands] Return String output per command
...
The existing implementation was a bit sparse in returned info.
Now each command can return a useful string to display in the command output window in the webinterface. (or whatever the source of the command is)
2018-08-05 14:46:31 +02:00
TD-er
be7724d8c7
[Rules] Split processing matched rule in a separate function
...
Just to get rules processing readable
2018-08-05 03:10:26 +02:00
TD-er
c5c1c92cfb
[Rules] Split parsing single line from rulesProcessingFile
...
The function `rulesProcessingFile` is way too long to understand.
First step in making those functions readable.
2018-08-05 01:45:34 +02:00
ESPEasy release bot
e6b219a182
automatically updated release notes for mega-20180804
2018-08-04 04:00:23 +02:00
TD-er
d2d03358ef
[MQTT] Schedule from callback functions
...
To make sure execution of these functions is called from the `loop()` and not from a callback function.
2018-08-04 01:37:05 +02:00
TD-er
a4d751b40f
[Notifications] Schedule NPlugin_ptr calls async
...
To make sure execution of these functions is called from the `loop()` and not from a callback function.
2018-08-04 01:35:54 +02:00
TD-er
1c73cacc82
[Scheduler] Rename some functions and clean-up
2018-08-04 01:34:02 +02:00
Gijs Noorlander and GitHub
23bfa54ec4
Merge pull request #1626 from thomastech/mega
...
Update _P075_Nextion.ino [TESTING]
2018-08-03 23:37:49 +02:00
Thomas and GitHub
95138489cd
Update _P075_Nextion.ino
2018-08-03 13:46:34 -07:00
Gijs Noorlander and GitHub
c9ec69d30c
Merge pull request #1623 from TD-er/bugfix/set_event_taskindex
...
[#1574 ] Set event->TaskIndex
2018-08-03 22:25:19 +02:00
TD-er
0e4cabeb17
[Cleanup] Replace a lot of TR TD with function
...
Flash strings are not checked for duplication by the compiler, so they make the resulting firmware binary larger.
2018-08-03 00:34:14 +02:00
TD-er
19961198fb
[Settings file] Include SettingsStruct in the view
...
And made the `HumanReadable` format a bit more verbose by stripping trailing ".00" when needed.
2018-08-02 23:27:31 +02:00
TD-er
c705c570db
[ESP32] Small fix building ESP32
2018-08-02 22:40:25 +02:00
TD-er
34d48adb4a
[Settings File] Show settings file layout
...
Run `meminfodetail` command once (can be done via Tools page) and then open the system info page.
2018-08-02 22:30:30 +02:00
ESPEasy release bot
fda973bb78
automatically updated release notes for mega-20180802
2018-08-02 04:00:14 +02:00
TD-er
c5bfd67d6d
[ #1574 ] Set event->TaskIndex
...
See discussion: https://github.com/letscontrolit/ESPEasy/issues/1574#issuecomment-409677981
2018-08-02 00:34:17 +02:00
Grovkillen and GitHub
402de69fd5
Added extra info to self compilers
2018-08-01 14:22:27 +02:00
ESPEasy release bot
41341b46de
automatically updated release notes for mega-20180801
2018-08-01 04:00:18 +02:00
Gijs Noorlander and GitHub
3574517014
Merge pull request #1618 from TD-er/bugfix/storage_task_settings
...
[#1574 ] Stability improvements on ExtraTaskSettings
2018-07-31 20:31:21 +02:00
Edwin Eefting
cca785e1f0
Power down PN532 after reading. Saves power and reduces interference with Wifi.
2018-07-31 16:53:32 +02:00
TD-er
4215e058d0
[ #1306 ] Added %R% and %N% for literals \r and \n
2018-07-30 22:41:25 +02:00
TD-er
2f91fbe931
[ #1379 ] Check for "forbidden" characters in names.
2018-07-29 21:59:27 +02:00
TD-er
90febfd46f
[ #882 ] Add checks on names in task setup
...
When saving a task, a warning or error is displayed (when appropriate) when the settings are saved.
2018-07-29 21:59:18 +02:00
TD-er
ccc5b68111
[Storage] Simplify settings I/O error handling
...
Remove a lot of code duplication
2018-07-29 21:59:13 +02:00
TD-er
07f6b86138
[Storage] Split storage related functions to new file
...
Only moved the storage related functions from `Misc.ino` to the new `ESPEasyStorage.ino`
2018-07-29 21:59:08 +02:00
TD-er
7b2667feaa
[compiler fix] Forgot to declare String
2018-07-29 21:59:02 +02:00
TD-er
48bd7b334d
[FileHandling] Write some log indicating file operation
...
Add some log line indicating what setting is read of written.
2018-07-29 21:58:57 +02:00
TD-er
9dd4242590
[meminfodetail] Add command meminfodetail
...
This command `meminfodetail` does output the detailed structure of the settings stored.
See for an example:
https://github.com/letscontrolit/ESPEasy/issues/1574#issuecomment-408641424
2018-07-29 21:58:51 +02:00
TD-er
ac8c29e9c5
[ExtraTaskSettings] Keep ExtraTaskSettings actualized for plugin calls
2018-07-29 21:58:45 +02:00
TD-er
387b0f68a8
[ExtraTaskSettings] Added extra clear functions and checks
...
Mainly reading and writing files / settings now perform a lot more checks.
2018-07-29 21:58:38 +02:00
TD-er
fa130bf649
[ExtraTaskSettings] Added some comments & clarifications
2018-07-29 21:58:31 +02:00
ESPEasy release bot
e596403c0a
automatically updated release notes for mega-20180723
2018-07-23 04:00:09 +02:00
Gijs Noorlander and GitHub
1030bd0b0f
Merge pull request #1603 from TD-er/bugfix/commands_with_space
...
[parseString] Some fixes and checks added + quotes in parameters possible
2018-07-23 01:09:52 +02:00
TD-er
985e463ddf
[GetArgv] Add some C-array size checks
...
There was no check in size of the given C-array to write into.
2018-07-23 01:08:45 +02:00
TD-er
3787fa637a
[Compiler warning] Initialize the matching_parenthesis to something
...
The variable is not used uninitialised, but still the compiler gives a warning which may trip Travis.
2018-07-22 23:47:18 +02:00
TD-er
ac62eb40a0
[WebLogViewer] Removed reRunCount as quick fix for web log viewer
2018-07-22 23:41:32 +02:00
TD-er
b9e883beba
[GetArgv] Make sure only matching ", ' or [ is allowed
...
Added `'` as allowed "parenthesis" and make sure only the matching character is allowed as end of the string match.
2018-07-22 23:40:49 +02:00
TD-er
6281c002e0
[Travis CI] Signed/unsigned compare fix
2018-07-22 21:36:26 +02:00
TD-er
4e8a3cab2f
[parseString] Add checks when command parameters used as int
...
Several usages of `parseString` were directly converted to int, without proper checking.
2018-07-22 17:23:29 +02:00
TD-er
423b90a661
[parseString] Use quotes to use special characters in command parameters
...
A command parameter may now allow for spaces or comma when the String is wrapped with either ' ' or " ".
2018-07-22 16:07:23 +02:00
TD-er
63fc99dd34
[parseString] Fix 1-of error in getParamStartPos
...
We need to find the xth command, so we need to find the position of the (X-1)th separator.
Too bad the rest of the world (other than programmers) do not start counting at 0 :(
2018-07-22 11:34:11 +02:00
ESPEasy release bot
71caf09c70
automatically updated release notes for mega-20180722
2018-07-22 04:00:08 +02:00
Gijs Noorlander and GitHub
ee3164a8f6
Merge pull request #1602 from TD-er/feature/LogLevelCheck
...
Feature/log level check
2018-07-22 02:58:21 +02:00
TD-er
3d5f612ac9
[Scheduler] Call yield() when idle
...
This makes the ESP do a lot more background tasks, which makes each yield() call shorter on average.
This makes the ESP feel more snappy.
2018-07-22 02:53:49 +02:00
TD-er
79f2eaf808
[Scheduler] Keep statistics on timeDiff computations
...
Apparently it is called 1.4 million times in 30 seconds and takes 8.5 CPU cycles on average (about 50'000 calls per second)
So maybe this function can benefit from some optimisation?
2018-07-22 02:39:02 +02:00
TD-er
1806a1438a
[LogLevel] Added extra checks and make sure loglevel cache is up to date
2018-07-22 02:34:36 +02:00
TD-er
5108967c35
[LogLevel] Add checks for LOG_LEVEL_DEBUG_DEV
2018-07-22 01:31:14 +02:00
TD-er
d0f1014bef
[LogLevel] Add checks for LOG_LEVEL_DEBUG_MORE
...
Do not create Strings when not needed.
Highest level of checks added: LOG_LEVEL_DEBUG_MORE
2018-07-22 00:52:58 +02:00
TD-er
2afc143051
[LogLevel] Check loglevel before sending to log
...
Using template to do the check to prevent creation of Strings when required log level is higher than anyone is reading.
2018-07-21 23:54:51 +02:00
TD-er
b2bf70e4ce
[LogLevel] Use function to set loglevel and keep track of max log level
2018-07-21 23:32:37 +02:00
TD-er
6a5f090198
[LogLevel] LoadFromFile log to LOG_LEVEL_DEBUG_DEV
2018-07-21 22:56:08 +02:00
Gijs Noorlander and GitHub
92c0543743
Merge pull request #1601 from TD-er/bugfix/logviewer_JavaScript
...
[Log Viewer] Fix a 1-off error when parsing logs
2018-07-21 21:29:30 +02:00
TD-er
1859aaad7d
[Log Viewer] Fix a 1-off error when parsing logs
2018-07-21 21:27:23 +02:00
Gijs Noorlander and GitHub
7e67ce536d
Merge pull request #1594 from TD-er/bugfix/longpulse
...
[#1591 ] Move system timers to main scheduler
2018-07-21 21:19:32 +02:00
TD-er
2bd573963a
[ #1596 ] Remove timerSensor and make it set its own interval.
...
All enabled plugins have their own timer added to the scheduler.
The `PLUGIN_INIT` function call is used to reschedule when it was added, or enabled.
The set interval for the plugin will be used to set the new entry in the scheduler.
2018-07-21 01:28:14 +02:00
TD-er
447e958e74
[ #1592 ] Remove systemCMDTimers
...
These timers were not used.
2018-07-20 21:52:49 +02:00
ESPEasy release bot
43908b37cd
automatically updated release notes for mega-20180720
2018-07-20 04:00:16 +02:00
TD-er
04b631e4c9
[ #1591 ] Move system timers to main scheduler
...
And fix longpulse command
With other plugins active, like the OLED Framed, the set period of `longpulse_ms` may fluctuate and durations below 100 msec are quite useless.
However, when running just a few sensors, the set pulse width is quite accurate.
Must still check a few other plugins.
2018-07-20 02:17:00 +02:00
Gijs Noorlander and GitHub
2e8fc777d2
Merge pull request #1568 from TD-er/bugfix/1556_change_parse_params
...
[ParseString] Make ParseString more efficient and check results when used
2018-07-19 18:43:49 +02:00
ESPEasy release bot
e060c83cf8
automatically updated release notes for mega-20180719
2018-07-19 04:00:14 +02:00
Gijs Noorlander and GitHub
5480af2d5d
Merge pull request #1587 from TD-er/feature/sunrise_sunset_offset
...
[sunrise/sunset] Allow offset from sunrise/sunset
2018-07-19 01:07:39 +02:00
TD-er
ff28605d39
[sunrise/sunset] Allow offset from sunrise/sunset
...
`%sunrise%` and `%sunset%` were already available.
Now it is also possible to get some time before or after those times.
For example `%sunrise+10m%` or `%sunset-1h%`
The offset must be an integer (including + or -) and can have a postfix of "m" or "h".
Default is "s", for seconds.
2018-07-19 01:06:06 +02:00
Gijs Noorlander and GitHub
fe0ca9b9a3
Merge pull request #1584 from denisfrench/enable_clientid_is_name_without_unit
...
When clientid = %sysname%, only add %unit% if non-zero (#1155 )
2018-07-18 21:17:06 +02:00
Gijs Noorlander and GitHub
54ef70aee9
Merge pull request #1586 from beigenmann/mega
...
lib_archive already exists & Implicit dependency not found
2018-07-18 21:16:03 +02:00
Gijs Noorlander and GitHub
e24d077061
Merge pull request #1583 from clumsy-stefan/P077_fix
...
Fix for P077 crashes
2018-07-18 21:15:44 +02:00
Benno Eigenmann
7ebf29d857
lib_archive already exists & Implicit dependency not found
2018-07-18 14:02:01 +02:00
denisfrench
33c6925376
When clientid = %sysname%, only add %unit% if non-zero
2018-07-17 19:35:17 +10:00
stefan
0b383a1f3b
Fix for P077 crashes
...
some code rearrangements and improvements:
- fix a rare buffer overflow
- only update variables when new (correct) values are received
- little speed-up
- correct code indentations...
2018-07-16 13:39:51 +02:00
stefan
70d1b0807c
Merge remote-tracking branch 'origin/mega' into mega
2018-07-16 07:22:31 +02:00
ESPEasy release bot
8e1f4d628b
automatically updated release notes for mega-20180716
2018-07-16 04:00:09 +02:00
Gijs Noorlander and GitHub
ef29603f05
Merge pull request #1581 from TD-er/feature/ESP32_partitiontable
...
[ESP32] Show partition table on sysinfo page
2018-07-16 00:59:50 +02:00
Gijs Noorlander and GitHub
71b27d95fa
Merge pull request #1562 from TD-er/bugfix/wifi_reset_empty_IP
...
[WiFi] Reset wifi when IP is set to 0.0.0.0
2018-07-16 00:58:31 +02:00
Gijs Noorlander and GitHub
787c1c6c39
Merge pull request #1579 from TD-er/bugfix/scheduler_rewrite
...
[Scheduler] Complete rewrite of time based scheduling
2018-07-16 00:58:02 +02:00
Gijs Noorlander and GitHub
74e4848edc
Merge pull request #1578 from TD-er/bugfix/JSON_device_info
...
[JSON] Fixed broken JSON output on /json URL
2018-07-16 00:57:41 +02:00
TD-er
9a7690473a
[ESP32] Show partition table on sysinfo page
...
Graphical display of partition table.
2018-07-16 00:49:30 +02:00
TD-er
c401edde6b
[ParseString] Fix getting the right part of the command line
...
Fix several 1-off errors.
Should drink more coffee ;)
2018-07-15 21:34:29 +02:00
TD-er
3fc1ba27e5
[JSON] Fixed broken JSON output on /json URL
...
This bug also broke the auto update of the sensor values on the device tab.
2018-07-15 20:23:11 +02:00
TD-er
b2212d2edb
[Scheduler] Complete rewrite of time based scheduling
...
All scheduled operations are now handled by a time scheduler.
Also the CPU load is now based entirely on the idle time found by this scheduler.
2018-07-15 20:21:37 +02:00
stefan
76f7dc82fc
Merge branch 'bugfix/wifi_reset_empty_IP' into mega
2018-07-15 11:07:47 +02:00
ESPEasy release bot
86233b65bc
automatically updated release notes for mega-20180714
2018-07-14 04:00:13 +02:00
Gijs Noorlander and GitHub
984cfe23a0
Merge pull request #1569 from letscontrolit/bugfix/1567_uservarcheck
...
[#1567 ] Only check values set before sending
2018-07-13 10:35:25 +02:00
Gijs Noorlander and GitHub
621087d48f
[ #1567 ] Only check values set before sending
...
Fix suggested by @s0170071 [here](https://github.com/letscontrolit/ESPEasy/issues/1567#issuecomment-404746920 )
2018-07-13 09:21:42 +02:00
TD-er
00683a38c5
[ParseString] Make ParseString more efficient and check results before use
...
`ParseString` and `getParamStartPos` made (lots of) copies of the strings.
Also the result of `getParamStartPos` was not checked, which can result in crashes.
2018-07-13 08:09:42 +02:00
ESPEasy release bot
9336697f1a
automatically updated release notes for mega-20180712
2018-07-12 04:00:12 +02:00
TD-er
ad06cbc835
[WiFi] Reset wifi when IP is set to 0.0.0.0
...
As being described a few times and a screenshot shown here: https://github.com/letscontrolit/ESPEasy/issues/1302#issuecomment-393631572
It looks like a DHCP request may fail resulting in a cleared IP setup. The web server then still replies to requests, but no new connections can be made then.
This patch should detect such a situation and then reset the wifi and make a new connection.
2018-07-12 00:20:55 +02:00
Gijs Noorlander and GitHub
f5b026e678
Merge pull request #1561 from TD-er/bugfix/1542_domoticz_IDX
...
[#1542 ] Fix Domoticz IDX more than 4 characters
2018-07-11 22:27:05 +02:00
TD-er
e29eb2eb3c
[ #1542 ] Fix Domoticz IDX more than 4 characters
...
Looks like Domoticz uses an unsigned int, so it could be up-to 32 bits.
Just to be sure, I limited it now to 1 bln.
2018-07-11 22:26:05 +02:00
Gijs Noorlander and GitHub
10329f4351
Merge pull request #1560 from TD-er/bugfix/send_to_controller
...
[#1555 ] Fix TSL2591 values are not transferred to controller
2018-07-11 22:08:13 +02:00
TD-er
ab4750d5fa
[ #1555 ] Fix TSL2591 values are not transferred to controller
...
Also checked other plugins to see if they had the same issue and fixed a few other obvious switch-statement bugs.
2018-07-11 22:04:11 +02:00
ESPEasy release bot
b9f3f68335
automatically updated release notes for mega-20180710
2018-07-10 04:00:12 +02:00
Grovkillen and GitHub
777485077c
P077: changed category to "energy"
2018-07-09 07:11:15 +02:00
ESPEasy release bot
3e3ef4253f
automatically updated release notes for mega-20180708
2018-07-08 04:00:08 +02:00
Gijs Noorlander and GitHub
0e78b1f8c4
Merge pull request #1554 from TD-er/bugfix/preprocessor_issues
...
[PIO build] Build issues caused by incorrect precompile processing
2018-07-08 00:43:41 +02:00
TD-er
e7764ca7e6
[PIO build] Build issues caused by incorrect precompile processing
...
It looks like `ESP32` is not defined anymore, which leads to various issues when building.
2018-07-08 00:29:11 +02:00
ESPEasy release bot
89578058b6
automatically updated release notes for mega-20180705
2018-07-05 04:00:18 +02:00
Gijs Noorlander and GitHub
34beb07120
Merge pull request #1548 from TD-er/bugfix/low_loop_count
...
Statistics routines to test performance and some stability fixes
2018-07-05 02:26:19 +02:00
Gijs Noorlander and GitHub
c98ae55f23
Merge pull request #1541 from tempura-san/webui_fixes
...
Minor WebUI fixes
2018-07-05 02:25:43 +02:00
Gijs Noorlander and GitHub
6b08009fdd
Merge pull request #1546 from uzi18/patch-1
...
Update _C005.ino
2018-07-05 02:25:17 +02:00
TD-er
f3a8e503ac
[info] Display ESP32 partition table
...
And added some HEX formatting functions to reduce code duplication and allow for more uniform formatting.
2018-07-05 02:14:43 +02:00
TD-er
856afe9ec5
[PlatformIO] Update to Espressif32@1.1.1
2018-07-05 02:12:52 +02:00
TD-er
c4803b4136
[Stability] Use functions to get Webserver Arguments from POST messages.
...
These functions check values before attempting to convert to int for example.
2018-07-04 01:19:15 +02:00
TD-er
9de29b8d9c
[Stability] Add check for string length to isNumerical()
2018-07-04 01:17:19 +02:00
TD-er
5a2b4146e5
[PIO build] Use newer flag syntax for Travis
2018-07-04 01:16:38 +02:00
TD-er
0a8050312c
[ESP32] Upgrade to new ESpressif32 version
...
Known issue:
Crash when trying to load the devices page.
2018-07-03 00:48:27 +02:00
TD-er
2ffa52c7ee
[Timing stats] Allow computing timing to estimate performance.
2018-07-03 00:47:29 +02:00
TD-er
6a984ad750
[BMx280] Do not wait for measurements, collect async
...
This plugin did wait for 1000 msec for new samples.
Such delays will disturb time critical tasks.
2018-07-03 00:46:07 +02:00
Bartłomiej Zimoń and GitHub
f0c1b10f46
Update _C005.ino
...
unification like on C002.ino
2018-07-02 20:59:54 +02:00
Tempura San
da6ab075a5
[WebUI] removed stray </div>
2018-06-29 13:37:47 +02:00
Tempura San
fb7ffe0731
[WebUI] font-family set to monospace for TEXTAREA
2018-06-29 13:37:47 +02:00
TD-er
1d3bafc982
[loop times] New timer statistics class to monitor performance
2018-06-28 02:19:57 +02:00
TD-er
2fde3d28a8
[CPU usage] Increase loop count
...
Attempting to find a plugin ID based on a task number was done a lot and also rather brute force.
Now a cache is added to lessen the load.
2018-06-27 01:25:43 +02:00
ESPEasy release bot
4c1b3a8abf
automatically updated release notes for mega-20180625
2018-06-25 04:00:08 +02:00
Gijs Noorlander and GitHub
988f269954
Merge pull request #1533 from TD-er/bugfix/ArduinoIDE_build
...
Bugfix/arduino ide build
2018-06-24 12:20:02 +02:00
TD-er
808b571814
[PIO update] platform to espressif8266@1.7.3
2018-06-24 12:18:41 +02:00
TD-er
a4f8068fcd
[Arduino IDE] Fix build include path ESPEasy-Globals.h
...
As mentioned by @clumsy-stefan See [here](https://github.com/letscontrolit/ESPEasy/commit/8c9b9b1700efacbf281dd9bcc94684726cd034b1#commitcomment-29475286 )
2018-06-24 12:17:52 +02:00
ESPEasy release bot
025e346cb1
automatically updated release notes for mega-20180624
2018-06-24 04:00:29 +02:00
Gijs Noorlander and GitHub
3481dd9868
Merge pull request #1532 from TD-er/bugfix/RAM_usage_command_executor
...
Bugfix/ram usage command executor
2018-06-24 02:52:31 +02:00
TD-er
fd596c14b2
[Cmd Exec] Use switch statement instead of lookup map
...
The lookup of a function call based on a command string is known at compile time, so no need to keep track of this in memory.
This saves about 2200 bytes of RAM.
The strings alone account for close to 800 bytes (not using F() macro) and they are also being stored in the map.
So that's about 1600 bytes.
The extra 400 bytes are probably the pointers being stored in the map.
2018-06-24 02:48:55 +02:00
TD-er
8c9b9b1700
[Cmd Exec] Add #ifndef #def statements to prevent multiple includes
...
For .h files, it is common practice to add #ifndef #def statements around the implementation to prevent compiler issues when a file might be included twice.
2018-06-24 02:44:47 +02:00
Gijs Noorlander and GitHub
e0b00a23cf
Merge pull request #1522 from workgroupengineering/feature/CommandsManger
...
Feature commands manger
2018-06-23 22:40:16 +02:00
Gijs Noorlander and GitHub
685c975bab
Merge pull request #1531 from TD-er/bugfix/build_newer_platformio
...
Bugfix/build newer platformio
2018-06-23 22:39:09 +02:00
TD-er
d01ca5209e
[web log] Disable excessive web log about RAM usage
2018-06-23 22:38:43 +02:00
TD-er
d5a05a1ac5
[PlatformIO.ini] VScode needs monitor_speed and update ESP8266 platform
...
VScode + PlatformIO needs the monitor_speed setting to be able to monitor the connected node. (default 9600 baud)
Also set the ESP8266 code base to 1.7.2
2018-06-23 22:11:58 +02:00
TD-er
c670520788
[SDS011] Set SDS011 Dust plugin to normal from testing
...
This plugin works on my test setup for more than 6 months and is by far the most stable node. (system uptimes of > 110 days)
So this may be considered stable.
2018-06-23 22:09:29 +02:00
TD-er
859b67e34d
[ArduinoJson] Update external library ArduinoJson.
...
Is needed to compile new ESP32 code.
2018-06-23 22:06:22 +02:00
TD-er
d325f7c1fd
[JavaScript] Device measurement value update may sometimes fail
...
The Json data has more items at the level of `data.Sensors[c]` thus must check if it is a TaskValues item.
Otherwise the values shown on Device page will not be updated.
2018-06-23 22:04:51 +02:00
TD-er
c2998b081f
[AM2320] Explicit use boolean in Wire.endTransmission
...
Newer ESP32 environment also has endTransmission with an int as parameter.
2018-06-23 22:01:55 +02:00
Saverio Cisternino
c3c2a0b6bd
Migration core command
2018-06-21 15:05:44 +02:00
Saverio Cisternino
9e00623677
Implement CommandsManager
2018-06-21 15:05:44 +02:00
ESPEasy release bot
6be032b350
automatically updated release notes for mega-20180621
2018-06-21 04:00:14 +02:00
Gijs Noorlander and GitHub
96367a9422
Merge pull request #1520 from workgroupengineering/HotFix/Issue_1489
...
Fixed Issue #1489
2018-06-20 15:56:54 +02:00
Gijs Noorlander and GitHub
543ac49eaf
Merge pull request #1521 from workgroupengineering/feature/show_device_port_in_hex
...
Show in devices list port number in hex
2018-06-20 15:55:02 +02:00
Saverio Cisternino
3e0362d52a
Show in devices list port number in hex
2018-06-20 13:48:03 +02:00
Saverio Cisternino
15118d372e
Fixed Issue #1489
2018-06-20 13:36:12 +02:00
ESPEasy release bot
c8ee7976cc
automatically updated release notes for mega-20180619
2018-06-19 04:00:10 +02:00
Gijs Noorlander and GitHub
b750e875bd
Merge pull request #1515 from TD-er/bugfix/esp8285_build
...
[ESP8285] PlatformIO set max upload size limit
2018-06-18 23:52:36 +02:00
TD-er
5ad43348b4
[ESP8285] PlatformIO set max upload size limit
...
With the newer Platform IO versions, builds failed because of wrong size set in board definition of ESP8285 board.
The PlatformIO settings labels have changed.
2018-06-18 23:23:27 +02:00
Gijs Noorlander and GitHub
08b2259924
Merge pull request #1514 from TD-er/bigfix/build_flash_ESP32
...
[ESP32] Allow flashing to ESP32 again from PlatformIO
2018-06-18 21:46:27 +02:00
TD-er
f268b40291
[OTA] Output proper port number when ARDUINO_FEATURE_OTA is set
...
No functional change, only proper log entry and a bit of code cleanup.
2018-06-18 21:44:45 +02:00
TD-er
52d747dd49
[ESP32] Set build to @0.12.0
...
@1.0.2 does build, but ESP32 device hangs when booting.
2018-06-18 21:43:14 +02:00
TD-er
e5653d1817
[ESP32] Allow flashing to ESP32 again from PlatformIO
...
See [this thread](https://community.platformio.org/t/esp32-esptool-error-too-few-arguments/4230/44 )
2018-06-18 20:26:54 +02:00
ESPEasy release bot
6b2257063b
automatically updated release notes for mega-20180618
2018-06-18 04:00:12 +02:00
Gijs Noorlander and GitHub
b9a4af54c9
Merge pull request #1509 from TD-er/bugfix/disable_ping
...
[#1494 ] Disabled ping to check if host is reachable
2018-06-18 00:11:16 +02:00
TD-er
26634f7ba9
[ #1494 ] Disabled ping to check if host is reachable
...
A failing ping may also halt the ESP node and some services may not return a ping, or ICMP packets may be filtered out on some connections.
See issue #1494 .
2018-06-18 00:09:31 +02:00
Gijs Noorlander and GitHub
9beda98009
Merge pull request #1501 from clumsy-stefan/mega
...
Ammended central I2C fuctions (#1417 )
2018-06-17 22:33:33 +02:00
Gijs Noorlander and GitHub
c7c46d28b1
Merge pull request #1507 from stelas/mega
...
Add sunset and sunrise variables...
2018-06-17 22:31:48 +02:00
Steffen Lange
c51b78bfbf
Add %sunrise% and %sunset% variables
2018-06-17 17:06:28 +02:00
Steffen Lange
df5c22529f
Add GPS coordinates to Advanced Settings
2018-06-17 16:51:12 +02:00
ESPEasy release bot
808ab85afb
automatically updated release notes for mega-20180615
2018-06-15 04:00:11 +02:00
Gijs Noorlander and GitHub
ad1cbf5ddf
Merge pull request #1504 from TD-er/feature/warn_OTA_1M
...
[1M flash warning] Warn for OTA when 1M flash present
2018-06-14 23:27:29 +02:00
TD-er
4aff834f76
[1M flash warning] Warn for OTA when 1M flash present
2018-06-14 20:04:01 +02:00
ESPEasy release bot
f8405690c5
automatically updated release notes for mega-20180614
2018-06-14 04:00:11 +02:00
Gijs Noorlander and GitHub
3edf12913d
[ #1503 ] Use proper timeout on BME280/BMP280
2018-06-13 23:18:59 +02:00
Gijs Noorlander and GitHub
f0aa9c50f6
[ #1502 ] Change wait-to-connect timeout to 12 sec.
2018-06-13 22:51:31 +02:00
stefan
80f87b6c53
Ammended central I2C fuctions ( #1417 )
...
Ammended central I2C functions with 16bit write and 32 bit read.
also added "false" parameter to wire.endTransmission before wire.request form
all as discussed in #1417
2018-06-13 13:55:16 +02:00
ESPEasy release bot
f41f0969f0
automatically updated release notes for mega-20180613
2018-06-13 04:00:15 +02:00
Gijs Noorlander and GitHub
14e2f4c697
[BMx280] Correct nr values for special sensor type
...
`SENSOR_TYPE_TEMP_EMPTY_BARO` outputs values 1 and 3, so must consider them as 3-valued sensor.
2018-06-13 00:54:18 +02:00
Gijs Noorlander and GitHub
b9f5535b48
Merge pull request #1500 from TD-er/bugfix/bme280_change_type_for_BMP280
...
[BMx280] Send data from BMP280 as temp_baro, not temp_hum_baro
2018-06-13 00:43:16 +02:00
TD-er
81022e4605
[BMx280] Send data from BMP280 as temp_baro, not temp_hum_baro
...
The plugin BMx280 can handle BMP280 and BME280.
The BMP version has no humidity sensor.
For Domoticz you have to send the data formatted differently.
Now the same plugin can be used for both BME280 and BMP280 and the settings in Domoticz can be set accordingly.
2018-06-13 00:39:23 +02:00
Gijs Noorlander and GitHub
616898514b
Merge pull request #1499 from TD-er/feature/log_reset_reason
...
[Diag] Log Reset Reason at boot for ESP8266 and ESP32
2018-06-12 23:57:54 +02:00
TD-er
020aec0541
[Diag] Log Reset Reason at boot for ESP8266 and ESP32
...
To get a better idea of the cause with reported issues.
2018-06-12 23:24:59 +02:00
ESPEasy release bot
1e39a314f5
automatically updated release notes for mega-20180611
2018-06-11 04:00:21 +02:00
Gijs Noorlander and GitHub
4d369927fd
Merge pull request #1491 from TD-er/bugfix/ultrasonic_multi_device
...
Bugfix/ultrasonic multi device
2018-06-11 00:49:08 +02:00
Gijs Noorlander and GitHub
c1465831bb
Merge pull request #1481 from tempura-san/mega
...
[MQTT Import] system variables support for topics
2018-06-11 00:48:50 +02:00
Gijs Noorlander and GitHub
3ec1d29c19
Merge pull request #1473 from workgroupengineering/HotFix/PCA9685_Instance_Command
...
Fixed issue when there is more PCA9685
2018-06-11 00:48:23 +02:00
Gijs Noorlander and GitHub
22b430c669
Merge pull request #1461 from TD-er/feature/central_i2c_code
...
[#1417 ] Move I2C functions to a separate file
2018-06-11 00:47:58 +02:00
TD-er
2f7560cc90
[BME/BMP280] Improve temperature/humidity readout
...
Previously the I2C registers containing measurement data was read per address at once.
Now all are read in one I2C command and then processed.
Also changed the source to be able to support multiple instances of the same task.
2018-06-11 00:08:30 +02:00
TD-er
4f97db87f7
[PlatformIO] Added libraries to be able to use std::map
2018-06-09 23:21:42 +02:00
TD-er
dcf8e86db7
[ #1484 ] Multiple instances of ultrasonic sensors
...
This should also fix #1381 .
There is something strange about the handling of micros() timers in `NewPingESP8266`.
For this reason I added also a timeout based on `millis()`.
2018-06-09 23:20:29 +02:00
ESPEasy release bot
06914e72b1
automatically updated release notes for mega-20180606
2018-06-06 04:00:17 +02:00
Gijs Noorlander and GitHub
fca56ac311
Merge pull request #1485 from letscontrolit/bugfix/Gpio_command
...
[GPIO command] work-around as long as gpio command is still performed in P001
2018-06-05 20:38:44 +02:00
Gijs Noorlander and GitHub
2bacc5a1b2
[GPIO command] work-around as long as gpio command is still performed in P001_switch.
...
As discussed in #1477
2018-06-05 20:02:00 +02:00
TD-er
a487bd132d
[I2C] Disable calls to wire.begin() from libraries
2018-06-05 19:56:23 +02:00
Tempura San
3f441b11ee
[MQTT Import] system variables support for topics
2018-06-04 23:45:30 +02:00
Saverio Cisternino
40d5780600
Fixed issue when there is more PCA9685
2018-05-30 10:07:06 +02:00
TD-er
9822c4bac0
[I2Cdev] Add I2Cdevlib library
...
Adding an existing and proven I2C library.
Will need to test if this is working fine on ESP32 too and try to move I2C functionality to use these functions.
2018-05-27 01:32:40 +02:00
ESPEasy release bot
0fc3a28875
automatically updated release notes for mega-20180524
2018-05-24 04:00:14 +02:00
TD-er
0aac28b15e
[ #1417 ] Move I2C functions to a separate file
...
As discussed in #1417 .
2018-05-24 00:41:18 +02:00
Gijs Noorlander and GitHub
810927f32b
Merge pull request #1244 from susisstrolch/git-hooks
...
GIT hooks: post-merge, post-commit, post-checkout
2018-05-23 22:28:00 +02:00
Gijs Noorlander and GitHub
c3d8d0a2fe
Merge branch 'mega' into git-hooks
2018-05-23 22:27:41 +02:00
Gijs Noorlander and GitHub
0c9e27a180
Merge pull request #1369 from workgroupengineering/feature/mqtt_enhanced_customization
...
[Feature]mqtt enhanced customization
2018-05-23 22:25:28 +02:00
Gijs Noorlander and GitHub
a5f44a1811
Merge pull request #1460 from TD-er/bugfix/CI-build-errors
...
[CI build] Small fix to prevent Travis CI build errors.
2018-05-23 22:15:46 +02:00
TD-er
66f386f3fc
[CI build] Small fix to prevent Travis CI build errors.
2018-05-23 22:14:14 +02:00
Gijs Noorlander and GitHub
e74cc14dfb
Merge pull request #1448 from workgroupengineering/feature/PCA9685_enhanced
...
PCA9685 enhanced
2018-05-23 22:00:38 +02:00
Gijs Noorlander and GitHub
ad1907eef4
Merge pull request #1387 from workgroupengineering/feature/Multi_OLED
...
Implement Issue #1377
2018-05-23 21:31:07 +02:00
Saverio Cisternino
7640132828
PCA9685: Add support at command [TaskName].gpio all,1 | 0 which allows you to turn on (1) or turn off (0) all gpio of expander.
2018-05-22 15:25:49 +02:00
Saverio Cisternino
fecf740121
PCA9685: Add named istance pulse command. Es: Extend.pulse 0,1,50,auto gnenerate pulse on gpio 0 with duration of 50 ms an autorestart after 50 ms
2018-05-22 15:25:49 +02:00
Saverio Cisternino
7d9628c6d1
PCA9685: Add support at commad gpio on name instance call
2018-05-22 15:25:49 +02:00
Saverio Cisternino
7d5a0db6fa
PCA9685: Allow use frq alias when call instance command es: Extender.frq 100
2018-05-22 15:25:49 +02:00
Saverio Cisternino
49fc761657
PCA9685: Add pcafrq arg validation
2018-05-22 15:25:48 +02:00
Saverio Cisternino
98d1a9cec4
PCA9685: Allow use pwm alias when call instance command es: Extender.pwm 1, 1000
2018-05-22 15:25:07 +02:00
Saverio Cisternino
ae010e25fb
PCA9685: show address in hex.
2018-05-22 15:25:06 +02:00
Saverio Cisternino
3013c8e468
PCA9685: Add Pin e PWM validation
2018-05-22 15:25:06 +02:00
Saverio Cisternino
ade5f83819
PCA9685: Allow named istance commands for execute command on specific task when there is more PCA9685 task.
2018-05-22 15:25:05 +02:00
Saverio Cisternino
caf487e04e
PCA9685: Allow select address.
2018-05-22 15:25:05 +02:00
Saverio Cisternino
d8100a2b9d
ExecuteCommand intercept Par4 and Par5
2018-05-22 15:24:24 +02:00
Saverio Cisternino
18f38b3019
EventStruct copy ctor
2018-05-22 15:24:23 +02:00
Saverio Cisternino
952c532542
-Arminizze type of ParX of systemTimerStruct with EventStruct to prevent truncation issue
...
-Add setSystemTimer overload
2018-05-22 15:24:23 +02:00
Saverio Cisternino
d1b15579a1
Allow PLUGIN_TIMER_IN TaskIndex
2018-05-22 15:24:23 +02:00
Saverio Cisternino
8445d8cc71
Allow escape char [ and ] for use with comannd and rule containde space es [Extra 2]#Go
2018-05-22 15:24:23 +02:00
Saverio Cisternino
7720b5bce3
Allows plugin to intercept PLUGIN_WRITE and PLUGIN_REQUEST, when there is more tasks of same plugin type but different configuration.
2018-05-22 15:24:23 +02:00
Saverio Cisternino
965046778a
Allow use Unit Name as MQTT ClientId
2018-05-22 15:22:24 +02:00
Saverio Cisternino
1a8fffda28
Allow custom lwt message
2018-05-22 15:22:24 +02:00
Saverio Cisternino
a5e3979be6
Allow custom mqtt lwt topic
2018-05-22 15:22:24 +02:00
ESPEasy release bot
9d2e008a5c
automatically updated release notes for mega-20180522
2018-05-22 04:00:14 +02:00
Gijs Noorlander and GitHub
a031ce9b5b
Merge pull request #1456 from TD-er/feature/SonoffPOW2
...
[P077] CSE7766 - Energy (Sonoff S31 and Sonoff Pow R2)
2018-05-22 00:10:35 +02:00
Gijs Noorlander and GitHub
c8593d5644
Merge pull request #1457 from tedenda/Inform_user_about_valid_tasknumber_for_PulseCounter
...
Added a note for PulseCounter
2018-05-22 00:09:44 +02:00
Daniel Tedenljung
306b2174f2
Add note for PulseCounter
...
I added a note if you choose PulseCounter on task 5-12.
Part of #882
2018-05-21 23:03:22 +02:00
Daniel Tedenljung and GitHub
10ff688cc4
Merge pull request #3 from letscontrolit/mega
...
Catch up...
2018-05-21 22:45:52 +02:00
TD-er
ae292921e2
[P077] CSE7766 - Energy (Sonoff S31 and Sonoff Pow R2)
...
Was P134 on the playground
2018-05-21 22:34:03 +02:00
Gijs Noorlander and GitHub
a1622f6066
Merge pull request #1449 from clumsy-stefan/mega
...
Add CSE7766 for Sonoff POW R2 to plugin_sets
2018-05-21 20:23:56 +02:00
Gijs Noorlander and GitHub
86490d6f0b
Merge pull request #1454 from giig1967g/new/commands_ip
...
Added 10 new commands for setup through serial port
2018-05-21 19:36:15 +02:00
Plebs
976df758d2
Added 10 new commands for serial port configuration
...
In order to semplify the setup of new units, I have added the following commands for modifying settings though serial port:
gateway (x.x.x.x)
dns (x.x.x.x)
subnet (x.x.x.x)
dst (0 or 1)
mqttretainflag (0 or 1)
messagedelay (ms)
ntphost (url)
timezone (minutes)
udpport (port number)
usentp (0 or 1)
work in serial and rules
2018-05-21 00:00:02 +02:00
stefan
c31e50dfa0
Merge remote-tracking branch 'origin/mega' into mega
2018-05-19 10:25:05 +02:00
ESPEasy release bot
147acc6724
automatically updated release notes for mega-20180519
2018-05-19 04:00:07 +02:00
stefan
bfd5ad587a
Merge remote-tracking branch 'origin/mega' into mega
2018-05-19 00:19:06 +02:00
Saverio Cisternino
84791ecbd5
Allow using two oled at same time.
...
Suppose you have two oled task with name FrontPanel and BackPanel. If you want turn off FrontPanel and print on BackPanel "Hi" at posintion 0,0 you must use the following instructions:
frontpanel.oledcmd off
backpanel.oled 0,0,Hi
if task name have space you must surround with square brackets. es: [task with space].oledcmd off
2018-05-18 15:39:06 +02:00
Saverio Cisternino
6e4f4cb27b
EventStruct copy ctor
2018-05-18 15:24:21 +02:00
Saverio Cisternino
c1ee60ebca
-Arminizze type of ParX of systemTimerStruct with EventStruct to prevent truncation issue
...
-Add setSystemTimer overload
2018-05-18 15:24:21 +02:00
Saverio Cisternino
fc1f6acc61
Allow PLUGIN_TIMER_IN TaskIndex
2018-05-18 15:24:21 +02:00
Saverio Cisternino
e2c82680aa
Allow escape char [ and ] for use with comannd and rule containde space es [Extra 2]#Go
2018-05-18 15:23:59 +02:00
Saverio Cisternino
f0eb7659b2
Allows plugin to intercept PLUGIN_WRITE and PLUGIN_REQUEST, when there is more tasks of same plugin type but different configuration.
2018-05-18 15:21:40 +02:00
Grovkillen and GitHub
966353614d
[tools page] added a function for wide buttons
2018-05-18 09:58:18 +02:00
stefan
3308a47a3a
Merge remote-tracking branch 'origin/mega' into mega
2018-05-18 08:19:08 +02:00
ESPEasy release bot
ffad0256e9
automatically updated release notes for mega-20180518
2018-05-18 04:00:07 +02:00
Grovkillen and GitHub
c531639d03
Merge pull request #1450 from Grovkillen/mega
...
[tools page] added 100% wide buttons + red factory reset
2018-05-18 00:42:50 +02:00
Grovkillen and GitHub
a2ec2d15f1
[tools page] Center text, factory reset is red
2018-05-18 00:29:43 +02:00
Grovkillen and GitHub
eaa21d0182
[tools page] wider buttons
2018-05-18 00:16:36 +02:00
Grovkillen and GitHub
5a19b08262
Merge pull request #30 from letscontrolit/mega
...
update from master
2018-05-18 00:14:07 +02:00
stefan
2c9964127c
Add CSE7766 for Sonoff POW R2 to plugin_sets
...
Add USES_P134 to define_plugin_sets.h for use with Sonoff POW R2 measurments.
See also
pull request #94 on ESPEasyPlayground (https://github.com/letscontrolit/ESPEasyPluginPlayground/pull/94 )
2018-05-17 20:35:22 +02:00
Grovkillen and GitHub
ea20971b51
Merge pull request #1442 from Grovkillen/memory-optimization-for-JS
...
Memory optimization for JavaScript
2018-05-17 09:45:24 +02:00
Grovkillen and GitHub
eed78f9613
[JavaScript] made static variables "const"
2018-05-17 08:51:13 +02:00
Grovkillen and GitHub
fe26453927
Merge pull request #28 from letscontrolit/mega
...
update from master
2018-05-17 08:46:37 +02:00
Grovkillen and GitHub
70db6d65db
Merge pull request #1440 from TD-er/feature/1431
...
[#1431 ] Add DataAcquisition to /json and reduce json for sensor updates
2018-05-17 08:18:55 +02:00
ESPEasy release bot
07b9d5c6f5
automatically updated release notes for mega-20180517
2018-05-17 04:00:08 +02:00
TD-er
45048ea6bc
[ #1431 ] Add DataAcquisition to /json and reduce json for sensor updates
...
The /json page now also supports a limited view for the device page sensor updates.
The supported URLs for the json page are:
- `/json` All information in JSON format.
- `/json?view=sensorupdate` Limited view only for auto update on Devices tab.
- `/json?tasknr=N` with N being the task number, just outputs the information for the given task number.
N.B. these parameters can be combined, like: `/json?tasknr=1&view=sensorupdate`
2018-05-16 23:41:50 +02:00
Gijs Noorlander and GitHub
c7ff6059ce
Merge pull request #1438 from TD-er/bugfix/flash_strings
...
[Flash strings] Store more strings into flash to keep memory usage low
2018-05-16 21:39:04 +02:00
Gijs Noorlander and GitHub
6d2cd505a8
Update WebServer.ino
2018-05-16 14:30:38 +02:00
Gijs Noorlander and GitHub
6b05d2b02e
Update _C012.ino
2018-05-16 13:45:29 +02:00
ESPEasy release bot
083310679c
automatically updated release notes for mega-20180516
2018-05-16 04:00:09 +02:00
Gijs Noorlander and GitHub
2758c80af2
Merge pull request #1437 from Grovkillen/add-current-log-level-+-legend
...
Add current log level + some error capture
2018-05-16 02:08:40 +02:00
TD-er
0bd1134eca
[Flash strings] Store more strings into flash to keep memory usage low
2018-05-16 01:55:41 +02:00
Grovkillen and GitHub
4a75b1fa6d
[web log] error capture of lower log levels
...
Also added the current log level as info above the log viewer...
2018-05-15 21:51:07 +02:00
Grovkillen and GitHub
21d30f0ebe
Merge pull request #27 from letscontrolit/mega
...
update from master
2018-05-15 20:22:35 +02:00
Gijs Noorlander and GitHub
16463dff85
Merge pull request #1432 from Grovkillen/github-copy-button
...
GitHub copy button
2018-05-15 20:20:08 +02:00
Gijs Noorlander and GitHub
8e5fb85fa8
Merge pull request #1429 from giig1967g/bugfix/formats
...
Another small fix for #1426
2018-05-15 20:19:25 +02:00
Grovkillen and GitHub
74f059e639
Merge pull request #1434 from Grovkillen/bugfix-for-log-level-info
...
Bugfix for log level info
2018-05-15 20:17:53 +02:00
Grovkillen and GitHub
045c50f69f
[web log] bugfix for empty logJSON stings
2018-05-15 19:49:18 +02:00
Grovkillen and GitHub
a122066e36
Merge pull request #26 from letscontrolit/mega
...
update from master
2018-05-15 19:24:20 +02:00
Grovkillen and GitHub
d3bf64fc4f
Merge pull request #25 from letscontrolit/mega
...
Update from master
2018-05-15 15:39:13 +02:00
Grovkillen and GitHub
74decbd159
[sysinfo page] fixed layout of button
2018-05-15 15:38:03 +02:00
Grovkillen and GitHub
b00020de89
[sysinfo page] Added GitHub button to TXBuffer
2018-05-15 07:03:40 +02:00
Grovkillen and GitHub
d9848c1911
[sysinfo page] added CSS to GitHub copy button
2018-05-15 07:02:27 +02:00
ESPEasy release bot
648353b216
automatically updated release notes for mega-20180515
2018-05-15 04:00:11 +02:00
Grovkillen and GitHub
f729012ee1
[sysinfo page] added GitHub copy
2018-05-15 00:44:10 +02:00
Grovkillen and GitHub
87176b453a
Added latest nightly release badge
2018-05-14 23:18:23 +02:00
Grovkillen and GitHub
a2270bebbf
Merge pull request #24 from Grovkillen/mega
...
update
2018-05-14 23:02:50 +02:00
Grovkillen and GitHub
305d729015
Merge pull request #23 from letscontrolit/mega
...
update from master
2018-05-14 23:01:39 +02:00
Plebs
c31fa71988
Another small fix for #1426
2018-05-14 22:38:58 +02:00
Gijs Noorlander and GitHub
fba4331213
Merge pull request #1423 from Grovkillen/optimize-log-script
...
Optimize log script
2018-05-14 20:51:55 +02:00
Gijs Noorlander and GitHub
972d24118a
Merge pull request #1424 from Grovkillen/fix-corrupted-bin-files
...
Fix corrupted bin files
2018-05-14 20:51:34 +02:00
Gijs Noorlander and GitHub
a885cf1f90
Merge pull request #1427 from giig1967g/bugfix/formats
...
fix for #1426
2018-05-14 20:50:35 +02:00
Plebs
56d85814b1
fix for #1426
2018-05-14 19:09:35 +02:00
Grovkillen and GitHub
c760174c78
[fix for crc2.py] truncation corrupted bin file
2018-05-14 12:20:13 +02:00
Grovkillen and GitHub
2c43094a87
[web log] added warning if IE11 or older is used
2018-05-14 10:59:23 +02:00
Grovkillen and GitHub
ee99e9e6f4
[web log] added the reRunCout to the function
2018-05-14 10:09:08 +02:00
Grovkillen and GitHub
864e402cc2
[web log] Added declaring of reRunCount
2018-05-14 09:29:55 +02:00
Grovkillen and GitHub
dff51ba54d
[web log] Chunk transfer instead of line transfer
2018-05-14 09:27:18 +02:00
Grovkillen and GitHub
0eea67d176
Merge pull request #22 from Grovkillen/mega
...
update
2018-05-14 08:10:10 +02:00
Grovkillen and GitHub
9139baa6cb
Merge pull request #21 from letscontrolit/mega
...
update from master
2018-05-14 08:09:06 +02:00
ESPEasy release bot
fdf8a40acf
automatically updated release notes for mega-20180514
2018-05-14 04:00:09 +02:00
Gijs Noorlander and GitHub
547f3643ff
Merge pull request #1421 from TD-er/bugfix_issue#1411
...
Memory optimizations
2018-05-13 23:46:12 +02:00
TD-er
83d0980248
[ESP32] ESP.getResetReason() is unknown to ESP32
2018-05-13 23:25:08 +02:00
TD-er
0b1f9a81b5
[memory corruption] LWIP data corrupts log buffer
...
Not sure how, but the headers of new JSON message can corrupt the buffer in the web log buffer.
In this attempt the log buffer lines are now moved to heap instead of stack.
Also the streaming webserver is given a bit more time to handle requests.
Steps to reproduce:
Set web log level to maximum and open web log viewer.
Then wait a few seconds to minutes to let the JSON stream stop and look at the last sent Json message. This will contain some typical Json web headers and thus no valid Json anymore.
Also added a quick fix for #1419
2018-05-13 23:12:02 +02:00
TD-er
0e8b333f48
[issue #1380 ] Prevent memory leaks in WiFiClient
...
See described work-around in https://github.com/esp8266/Arduino/issues/4497#issuecomment-373023864
2018-05-13 23:04:45 +02:00
TD-er
67098c2539
[memory] use "-DNDEBUG" to disable ASSERT macros
...
See https://github.com/esp8266/Arduino/issues/3978
2018-05-13 22:58:10 +02:00
Gijs Noorlander and GitHub
700b14b8ff
Merge pull request #1420 from ZericE/mega
...
[#1404 ] Change email notify protocol to better comply with RFC2821. Rewrite line breaks for content-type: text/html
2018-05-13 19:05:03 +02:00
ZericE
9175cd3a17
use reference to free up mem.
2018-05-13 09:23:23 -07:00
ZericE
c16f27af1b
remove unneeded use of bMesg to free up mem.
2018-05-13 08:45:43 -07:00
Gijs Noorlander and GitHub
cc60b8a05d
Merge pull request #1382 from flexiti/mega
...
ESP32 OTA amendments
2018-05-13 11:42:33 +02:00
Gijs Noorlander and GitHub
d7b46b3395
Merge pull request #1416 from giig1967g/new/formats
...
Added more #formats transformations
2018-05-13 11:41:12 +02:00
ESPEasy release bot
701677274f
automatically updated release notes for mega-20180513
2018-05-13 04:00:08 +02:00
ZericE
ebfffb8d43
updated comment
2018-05-12 18:08:47 -07:00
ZericE
f5fd624739
remove debug lines in email notify
2018-05-12 18:06:00 -07:00
ZericE
abdf011a2d
undo unnecessary changes in email body
...
Previously I thought the body wasn't working correctly in email, however it was, with the exception of line breaks for text/html that have to be rewritten.
2018-05-12 18:03:59 -07:00
ZericE
4ece42bdc9
Merge branch 'mega' of https://github.com/ZericE/ESPEasy into mega
2018-05-12 16:48:17 -07:00
ZericE
b0961c15a3
[ #1404 ] Fix email notification for RFC2821, fix so msg body included.
...
In communicating with the server, the sender and receiver needed to be surrounded by <> to be RFC2821 compliant.
The message body was coming out blank as an empty string was being sent instead of the correct string.
2018-05-12 16:43:30 -07:00
Plebs
70a422bdfd
Added more #formats transformations
...
New Transformations:
#H: Hot/Cold
#A: Man/Auto
#a: M/A
New Justifications:
#Lx: Left (x=number of chars)
#Rx: Right (x=number of chars)
#Ux.y: Substring (x=first char; y=number of chars)
2018-05-12 23:57:58 +02:00
Gijs Noorlander and GitHub
5449d82639
[PR #1304 ] Rename file before running crc2.py
...
Quick patch of PR #1304
2018-05-12 22:57:17 +02:00
ZericE and GitHub
7e5577b30b
Merge pull request #1 from letscontrolit/mega
...
update latest changes from main repository
2018-05-12 13:14:39 -07:00
Gijs Noorlander and GitHub
0d95fd12fe
Fix debug code (commented) in _P045_MPU6050.ino
...
Original PR was https://github.com/letscontrolit/ESPEasy/pull/1389
Found by @maartenpaauw
2018-05-12 22:10:33 +02:00
flexiti and GitHub
b7df21a1d5
Merge pull request #4 from letscontrolit/mega
...
Sat May 12 04:00:06 CEST 2018
2018-05-12 11:00:14 +02:00
ESPEasy release bot
431b94c587
automatically updated release notes for mega-20180512
2018-05-12 04:00:06 +02:00
Grovkillen and GitHub
53241f2afc
Added Github logo (for button)
2018-05-12 00:46:10 +02:00
Grovkillen and GitHub
076c2c04f1
Merge pull request #20 from letscontrolit/mega
...
update from master
2018-05-12 00:43:00 +02:00
Grovkillen and GitHub
10e912f46f
Merge pull request #1413 from Grovkillen/optimized-log-a-tiny-bit-(feels-good)
...
Optimized log a tiny bit (feels good)
2018-05-12 00:25:26 +02:00
Grovkillen and GitHub
c90174712b
[web log] safety net not needed anymore
2018-05-12 00:14:54 +02:00
Grovkillen and GitHub
1d71d362b9
Merge pull request #19 from letscontrolit/mega
...
update from master
2018-05-12 00:06:39 +02:00
Gijs Noorlander and GitHub
73fbe04981
Merge pull request #1410 from TD-er/bugfix/nightlybuilds
...
[build] Do builds twice on the nightly builds
2018-05-11 22:11:08 +02:00
flexiti and GitHub
469735b5fd
Merge pull request #3 from letscontrolit/mega
...
Commits on May 10, 2018
2018-05-11 17:42:10 +02:00
TD-er
cf13024175
[ #1411 ] Add SensorTypeNone to indicate no sensor values for Domoticz
...
Some plugins which do not output any values had this setting set to "Switch" or "single".
2018-05-11 17:20:32 +02:00
Gijs Noorlander and GitHub
eaf6488b0c
Merge pull request #1409 from Grovkillen/device-page]-added-max-request
...
[Device page] added max request
2018-05-11 14:44:32 +02:00
Grovkillen and GitHub
4d067f010f
[device page] added dynamic length to loop
2018-05-11 14:41:01 +02:00
Grovkillen and GitHub
e6db005dba
[web log] also taking care of disconnects
2018-05-11 14:19:16 +02:00
Grovkillen and GitHub
7a03802c15
[device page] added max request here too
2018-05-11 14:00:17 +02:00
Grovkillen and GitHub
1e2e750b3b
Merge pull request #18 from letscontrolit/mega
...
update from master
2018-05-11 13:59:23 +02:00
Gijs Noorlander and GitHub
50a19692b5
Merge pull request #1408 from Grovkillen/fix-request-issue
...
[web log] Fix request issue
2018-05-11 13:46:52 +02:00
TD-er
b6284f2701
[build] Do builds twice on the nightly builds
...
And added build for ESP32 and Sonoff POW
2018-05-11 13:42:41 +02:00
Grovkillen and GitHub
b3db6621e2
[web log] fixed wait on requests
2018-05-11 13:33:28 +02:00
Grovkillen and GitHub
2d32fe3e32
Merge pull request #17 from letscontrolit/mega
...
update from master
2018-05-11 11:33:28 +02:00
Grovkillen and GitHub
241f21b87c
Merge pull request #1407 from Grovkillen/fix-for-sub-second-timers
...
[web log] Fix for sub second timers
2018-05-11 10:58:45 +02:00
Grovkillen and GitHub
4f18f81522
[web log] fixed overflow when set to "debug dev"
2018-05-11 10:50:47 +02:00
Grovkillen and GitHub
b860f79e77
Merge pull request #16 from letscontrolit/mega
...
update from master
2018-05-11 10:44:17 +02:00
Gijs Noorlander and GitHub
8966e1680b
Merge pull request #1403 from Grovkillen/fix-timer-in-javascript
...
Fix timer in javascript
2018-05-11 10:03:34 +02:00
Grovkillen and GitHub
01436201a3
Added ";"
2018-05-11 09:59:31 +02:00
Grovkillen and GitHub
1ac94bf6db
Merge pull request #15 from letscontrolit/mega
...
Update from master
2018-05-11 09:44:20 +02:00
Grovkillen and GitHub
ed66a98e08
Fix for decimals on auto update device page
2018-05-11 09:43:07 +02:00
Gijs Noorlander and GitHub
5a0c2e2353
Merge pull request #1405 from TD-er/bugfix/json_nr_decimals
...
[JSON] Add number of decimals to the JSON output
2018-05-11 09:42:01 +02:00
TD-er
06bc63e385
[JSON] Add number of decimals to the JSON output
2018-05-11 09:40:32 +02:00
Grovkillen and GitHub
d3ebe3ec46
Fixed scrolling issue when fetch <450mSec
2018-05-11 09:32:23 +02:00
Grovkillen and GitHub
2282288030
Added check to stop flooding
2018-05-11 09:17:17 +02:00
Grovkillen and GitHub
e5766bee46
Fixed some small syntax missing
2018-05-11 08:31:04 +02:00
flexiti and GitHub
c5bbfd1b4c
Merge pull request #2 from letscontrolit/mega
...
Fri May 11 04:00:08 CEST 2018
2018-05-11 08:18:27 +02:00
ESPEasy release bot
652ce2f809
automatically updated release notes for mega-20180511
2018-05-11 04:00:08 +02:00
Grovkillen and GitHub
f3fd3900e5
Removed a timer reset...
2018-05-11 00:44:49 +02:00
Grovkillen and GitHub
07b726d4b1
Preparation for fixed decimals...
2018-05-11 00:30:58 +02:00
Grovkillen and GitHub
648d960bf5
Fixed format (I like tabs, Platformio like spaces)
2018-05-10 23:25:45 +02:00
Grovkillen and GitHub
1829a35df2
Fixed the timers for log + devices
2018-05-10 23:23:06 +02:00
Grovkillen and GitHub
c5bb6700d9
Merge pull request #14 from letscontrolit/mega
...
update from master
2018-05-10 22:45:00 +02:00
Gijs Noorlander and GitHub
3b2dd86280
Merge pull request #1402 from TD-er/feature/ImproveWebserver
...
[Web] Improve serving large blobs directly from flash
2018-05-10 22:27:38 +02:00
TD-er
11563469d0
[Web] Improve serving large blobs directly from flash
...
Serve PROGMEM data directly from flash.
This makes it easier to add Javascript code to the source and it will be served directly from flash
2018-05-10 22:13:56 +02:00
Gijs Noorlander and GitHub
fcea12b515
Merge pull request #1400 from TD-er/bugfix/JSONoutput
...
Format user values + Legend for log JSON
2018-05-10 18:48:33 +02:00
TD-er
2b72ad2088
[log JSON] Add log level legend to the logjson output
...
To be shown on the web log viewer as legend
2018-05-10 18:10:40 +02:00
TD-er
30acf569e7
[cleanup] Simplify formatting user variables and allow checking
...
Extended the way a user variable is formatted to allow checking the value.
Also made clear when values are actually checked.
2018-05-10 18:05:14 +02:00
Grovkillen and GitHub
cb71f73b56
Merge pull request #13 from letscontrolit/mega
...
update from master
2018-05-10 13:11:14 +02:00
flexiti and GitHub
521ca465e5
Merge pull request #1 from letscontrolit/mega
...
Thu May 10 04:00:13 CEST 2018
2018-05-10 10:51:44 +02:00
ESPEasy release bot
ca10c834cc
automatically updated release notes for mega-20180510
2018-05-10 04:00:13 +02:00
Gijs Noorlander and GitHub
ef90c84506
Merge pull request #1393 from Grovkillen/color-scheme-for-web-log
...
Color scheme for web log
2018-05-09 23:34:47 +02:00
Gijs Noorlander and GitHub
3c2f539ec3
Merge pull request #1390 from workgroupengineering/HotFix/Device_Plugin_ID
...
Fix plugin_id visualization
2018-05-09 23:34:22 +02:00
Gijs Noorlander and GitHub
30419c9932
Merge pull request #1378 from TD-er/feature/Ventus_W266_build_selection
...
[build] Special build config for Ventus W266
2018-05-09 23:33:44 +02:00
Gijs Noorlander and GitHub
a340b4dedc
Merge pull request #1385 from Grovkillen/auto-update-values
...
Auto update values on device page
2018-05-09 23:32:58 +02:00
Gijs Noorlander and GitHub
69e4d1ec7a
Merge pull request #1384 from ZericE/mega
...
[#1368 ] Remove call to Plugin_041_update in _P041_NeoClock that caused a hard crash.
2018-05-09 23:29:55 +02:00
Grovkillen and GitHub
91570e9df5
Fixed copy to clipboard (handle HTML tags)
2018-05-09 20:48:03 +02:00
Grovkillen and GitHub
53e9a8f4a3
Fixed the log level colors
2018-05-09 19:51:21 +02:00
Grovkillen and GitHub
71c9b772fe
Removed auto update of values... wrong branch
2018-05-09 19:34:40 +02:00
Saverio Cisternino
3ff96a5bec
Fix plugin_id visualization on devices view that afflict Development build
2018-05-09 18:54:00 +02:00
Grovkillen and GitHub
32f8edb1ce
Added div to web log (color scheme)
...
Need to add clean up to copy button.
2018-05-09 16:04:40 +02:00
Grovkillen and GitHub
977611b39c
Wrap up for the PR
2018-05-08 00:09:22 +02:00
Grovkillen and GitHub
52979cafba
Values are updated (1-4 values per task)
2018-05-07 23:47:36 +02:00
ZericE
b0a1b95f64
Merge remote-tracking branch 'upstream/mega' into mega
2018-05-07 12:58:07 -07:00
ZericE
04f323b902
[ #1368 ] Remove call to Plugin_041_update causing a hard crash.
...
Plugin_041_update was being called before the plugin has been initialized, this resulted in an exception 28 type crash. Plugin_041_update clears the display and isn't required at the time of webform save.
2018-05-07 12:34:38 -07:00
Grovkillen and GitHub
c20656fe77
First draft of auto update of task/device values
2018-05-07 20:41:55 +02:00
Grovkillen and GitHub
6d3b2d1b18
Merge pull request #12 from letscontrolit/mega
...
update from master
2018-05-07 12:52:02 +02:00
flexiti and GitHub
388b8f4feb
ESP32 OTA port setting
2018-05-07 11:57:32 +02:00
flexiti and GitHub
7b6b72b912
ESP32 OTA port is set to 3232
2018-05-07 11:53:06 +02:00
flexiti and GitHub
5e9ad087b9
OTA check box
...
if Arduino OTA is not compiled, a button to choose it is not available
2018-05-07 11:50:03 +02:00
flexiti and GitHub
ca5a1bdba1
Improvement in the file platformio.ini
2018-05-07 11:46:50 +02:00
ESPEasy release bot
98522d7cfc
automatically updated release notes for mega-20180507
2018-05-07 04:00:08 +02:00
Grovkillen and GitHub
30ab8aef9e
[issue template] extra reminder to self compilers
2018-05-06 23:35:59 +02:00
TD-er
22593d7116
[Ventus W266] Fix signed/unsigned warning
2018-05-06 22:52:04 +02:00
TD-er
a8f3ad1be2
[build] Special build config for Ventus W266
2018-05-06 22:29:25 +02:00
ESPEasy release bot
d54a01a3e6
automatically updated release notes for mega-20180506
2018-05-06 04:00:08 +02:00
Gijs Noorlander and GitHub
226b3f3d54
Merge pull request #1344 from giig1967g/bugfix/960
...
fix for #960 : new command: TaskValueSetAndRun
2018-05-05 23:47:52 +02:00
Gijs Noorlander and GitHub
1e4a0858c1
Merge branch 'mega' into bugfix/960
2018-05-05 23:34:02 +02:00
Gijs Noorlander and GitHub
379c4fccd1
Merge pull request #1347 from Grovkillen/Infinitive-web-log
...
This one is not yet complete, way more features and improvements are coming.
But for now it is already much much better than the old log viewer :)
So I'll merge it now and we'll see what it will become.
2018-05-05 23:30:41 +02:00
Gijs Noorlander and GitHub
886d46fd4c
Merge pull request #1370 from ZericE/mega
...
[#1356 ] Remove redundant call to MQTTCheck
2018-05-05 22:47:35 +02:00
Gijs Noorlander and GitHub
5184cba646
Merge pull request #1374 from giig1967g/new/logentry
...
new command: logentry #1183
2018-05-05 22:46:57 +02:00
Gijs Noorlander and GitHub
b8c4215a27
Merge pull request #1373 from TD-er/feature/optimize_json_pages
...
Feature/optimize json pages
2018-05-05 22:46:24 +02:00
TD-er
d1b017b287
[JSON] Fix for single task view of json output.
2018-05-05 22:26:56 +02:00
TD-er
a5421e816c
[JSON] Add TTL, task interval and task enabled
...
TTL = The shortest interval per enabled task (with output values) in msec.
2018-05-05 22:14:42 +02:00
Grovkillen and GitHub
d6ca15671d
Forgot the auto-scroll function... now added
2018-05-05 21:14:51 +02:00
Grovkillen and GitHub
24231cdc56
Updated to compile with TD-er's update on JSON
2018-05-05 21:05:31 +02:00
TD-er
30e192f041
[JSON] Sanitize JSON value strings
...
May not contain newline nor "
2018-05-05 17:15:46 +02:00
Plebs
38472a3d6b
new command logentry
...
Command:
usage: logentry,anything (including system variables, task#values with formatting, text, etc.)
Example:
logentry,S=[task#value] T=[task1#value]:
Log output:
ACT : logentry,S=24 T=23.1
Command: logentry
2018-05-05 16:58:58 +02:00
TD-er
d54af04a79
[JSON] Make proper log JSON output for log viewer
2018-05-05 16:52:55 +02:00
TD-er
056e7a7a40
[JSON] Use streaming webserver for serving JSON page
...
Reduces memory and load times.
2018-05-05 13:31:02 +02:00
ESPEasy release bot
f69e476174
automatically updated release notes for mega-20180505
2018-05-05 04:00:07 +02:00
Gijs Noorlander and GitHub
b368252db8
Merge pull request #1371 from TD-er/bugfix/wifi_scan_hidden
...
[#1337 ] Include hidden SSID in wifi scans
2018-05-05 00:55:55 +02:00
TD-er
ea3389f792
[ #1337 ] WiFi.isHidden() is unknown to ESP32
2018-05-05 00:55:19 +02:00
TD-er
33b8570c33
[ #1337 ] Include hidden SSID in wifi scans
...
When found, they appear with "#Hidden#" in the list.
2018-05-04 23:38:48 +02:00
ZericE
76ff83e3f4
[ #1356 ] Remove redundant call to MQTTCheck
...
A redundant call to MQTTcheck in runEach30Seconds was adding to the blocking issue when attempting to connect to unavailable broker.
2018-05-04 10:00:20 -07:00
mvdbro
92680c5542
Fix corruption of task settings
2018-05-04 15:43:24 +02:00
ESPEasy release bot
e568bbed7c
automatically updated release notes for mega-20180504
2018-05-04 04:00:10 +02:00
Gijs Noorlander and GitHub
82bfadd77a
Merge pull request #1367 from TD-er/bugfix/20180503
...
Bugfix/20180503
2018-05-04 00:49:02 +02:00
TD-er
b636959cc7
[LWIP2] Change LWIP1.4 => LWIP2 Low Memory
...
Please make sure to restart PlatformIO after loading this changed ini file and do a clean build (twice???)
2018-05-04 00:42:07 +02:00
TD-er
2a1f6eebe7
[Settings] Add checks to investigate issues with overlap in settings
...
See #1361
2018-05-04 00:40:44 +02:00
Gijs Noorlander and GitHub
b7b8ceebcf
Merge pull request #1366 from Grovkillen/fix-dropdown-a-bit
...
Fix dropdown a bit
2018-05-04 00:30:12 +02:00
Grovkillen and GitHub
9f6f39053e
Added a break under the hamburger
...
to have a bit of a buffer zone. Or else you'll accidently click the "main" button....
2018-05-04 00:01:33 +02:00
Grovkillen and GitHub
8eed47393f
Merge pull request #11 from letscontrolit/mega
...
update from master
2018-05-03 23:54:15 +02:00
TD-er
cc0c2c0f8b
[rules timer] revert treating the rules timer as periodical timer
...
May have unexpected effects, so if a more accurate timer is needed, a new timer type should be used, not setting an interval in the rules.
2018-05-03 23:13:21 +02:00
Gijs Noorlander and GitHub
0450d8a106
Merge pull request #1352 from Grovkillen/Menu-for-phone
...
Dropdown menu for phone
2018-05-03 21:36:30 +02:00
Gijs Noorlander and GitHub
e96de4a988
Merge branch 'mega' into Menu-for-phone
2018-05-03 21:36:14 +02:00
Gijs Noorlander and GitHub
28bdc37d24
Merge pull request #1364 from Grovkillen/fix-checkboxe
...
Fix checkboxes (#1363 )
2018-05-03 21:19:05 +02:00
Grovkillen and GitHub
b7ccba979c
[ #1363 ] fixed overlapping checkboxes
2018-05-03 20:35:34 +02:00
Grovkillen and GitHub
5132a318af
Merge pull request #10 from letscontrolit/mega
...
Update from master
2018-05-03 09:45:16 +02:00
ESPEasy release bot
cfd27b4918
automatically updated release notes for mega-20180503
2018-05-03 04:00:12 +02:00
Gijs Noorlander and GitHub
feba82188a
Merge pull request #1359 from TD-er/bugfix/timers
...
Bugfix/timers
2018-05-03 00:34:25 +02:00
TD-er
1a3274d2c2
[ #1353 ] Remove Domoticz HTTP as default controller
2018-05-03 00:32:18 +02:00
TD-er
0f04456ae6
[timers] Make rules timers more constant and MQTT reconnect less aggressive
...
See #1356
And #1223
2018-05-02 23:49:50 +02:00
Gijs Noorlander and GitHub
6016e1b1d3
Merge pull request #1358 from TD-er/bugfix/issue1351_rules
...
[rules] Make rules start working again.
2018-05-02 23:30:07 +02:00
TD-er
39e391ca0e
[rules] Make rules start working again.
...
See #1351
Whenever a plugin_write returns success = true, the execute command will no longer be called.
It doesn't matter whether the plugin is enabled or present.
It should only return success = true when the command was actually meant for this plugin.
2018-05-02 23:23:19 +02:00
Grovkillen and GitHub
8088ed4ed8
Added some "-"
2018-05-02 23:08:55 +02:00
Grovkillen and GitHub
13bd7ba26b
Forgot extra \ for escape in code
2018-05-02 23:06:12 +02:00
Grovkillen and GitHub
3cb90939c4
BR should be \n, now fixed
2018-05-02 23:01:12 +02:00
Grovkillen and GitHub
76cddb7c71
Added break...
2018-05-02 22:56:24 +02:00
Grovkillen and GitHub
3d0f871600
If error make log show this more clear
2018-05-02 22:54:34 +02:00
Grovkillen and GitHub
ffb3ee4039
Spelling correction
2018-05-02 22:33:43 +02:00
Grovkillen and GitHub
456796a87d
Added dropdown for phones
2018-05-02 15:09:37 +02:00
Grovkillen and GitHub
bf512f9da0
Merge pull request #9 from letscontrolit/mega
...
Update from master
2018-05-02 13:11:04 +02:00
Grovkillen and GitHub
d5b8a36acb
Web log now inside a textarea
2018-05-02 09:43:40 +02:00
Grovkillen and GitHub
f09642101f
Merge pull request #8 from letscontrolit/mega
...
Update from master
2018-05-02 08:23:46 +02:00
ESPEasy release bot
cb16773128
automaticly updated release notes for mega-20180502
2018-05-02 04:00:16 +02:00
Gijs Noorlander and GitHub
2e55b6304c
Merge pull request #1348 from TD-er/bugfix/improvetimers
...
Bugfix/improvetimers
2018-05-02 01:33:40 +02:00
TD-er
f61586ebbc
[web log] Read all items from the log buffer
...
This is a very sub optimal implementation. Eventually it should use the streaming web TXBuffer we made. It now uses quite some memory, when called.
2018-05-02 01:19:44 +02:00
TD-er
7f385fc74a
[wifi] Make retry intervals to connect increase at each attempt.
...
There is still an issue when the node is trying to reconnect very hard, it will not react to commands given via the serial port.
2018-05-02 01:18:05 +02:00
TD-er
a579c906d5
[timers] Make timers more accurate
...
Previously the moment a timed function was called, the new timer was set. That would make the timer interval to be the minimum interval, with quite some margin of error.
Now the timers are at a more strict interval, unless the device cannot keep up.
2018-05-02 01:16:39 +02:00
Grovkillen and GitHub
a80f3a5f0b
Added div to not copy "Fetching log entries...."
...
Clipboard should not have the fetch info text
2018-05-01 23:27:03 +02:00
Grovkillen and GitHub
7e10fda7e5
Added javascript to handle the log entries
2018-05-01 22:57:03 +02:00
Grovkillen and GitHub
16a6135f53
Merge pull request #7 from letscontrolit/mega
...
update from master
2018-05-01 22:55:13 +02:00
Gijs Noorlander and GitHub
343ea459ab
Merge pull request #1343 from giig1967g/bugfix/1142
...
fix for #1142
2018-05-01 22:46:55 +02:00
Gijs Noorlander and GitHub
0ddcee1f07
Merge pull request #1323 from workgroupengineering/Optimize_setSystemTimer
...
Optimize setSystemTimer
2018-05-01 22:39:25 +02:00
Gijs Noorlander and GitHub
07ac4cf8cf
Merge pull request #1345 from giig1967g/new/strings
...
Added 2 system variables
2018-05-01 22:29:23 +02:00
Gijs Noorlander and GitHub
a864aeab1e
Merge pull request #1339 from Grovkillen/new-weblog
...
New web log
2018-05-01 22:25:39 +02:00
Gijs Noorlander and GitHub
35a7ab94df
Merge pull request #1346 from TD-er/bugfix/change_to_LWIP_140
...
[LWIP 1.4.0] Change to LWIP 1.4.0, to allow large http POST messages
2018-05-01 22:18:07 +02:00
TD-er
44755e83b9
[LWIP] fix ESP32 build
2018-05-01 22:04:29 +02:00
Gijs Noorlander and GitHub
f93b38624d
Merge pull request #1342 from giig1967g/bugfix/1170
...
fix for #1170
2018-05-01 21:10:11 +02:00
TD-er
c1cb7d873c
[LWIP 1.4.0] Change to LWIP 1.4.0, to allow large http POST messages
...
See #1296
Rules got truncated when trying to save rules > 1520 Bytes.
Also added a bit more log information and some details about the used libraries in the sysinfo page and json output.
2018-05-01 21:05:50 +02:00
Plebs
62d81325b2
Added 2 system variables
...
Added 2 system variables
%SP% = space
%ip4% = 4th IP octet
2018-05-01 20:58:13 +02:00
Plebs
5bc2af0e4c
deleted comments
...
deleted comments and moved success outside of the if clause.
2018-05-01 20:52:00 +02:00
Plebs
bc5bf7f3f1
fix for #960
...
Added a new global command: TaskValueSetAndRun.
It changes the value of a task and runs it, so new value is pubished on MQTT and rules are executed.
2018-05-01 19:56:49 +02:00
Plebs
0b4013b33c
fix for #1142
2018-05-01 19:51:26 +02:00
Plebs
3c3a11d77b
fix for #1170
...
The reason is that inside PLUGIN_WRITE the variable [event->BaseVarIndex] is not set and is always = 0.
So actually this PR modifies the 1st value of task 1 and not the encoder counter.
Line 183 of P059_Encoder.ino should be removed:
UserVar[event->BaseVarIndex] = (float) event->Par1;
2018-05-01 19:46:51 +02:00
ESPEasy release bot
5876fb84af
automaticly updated release notes for mega-20180501
2018-05-01 04:00:17 +02:00
Grovkillen and GitHub
25ab07a9ba
Merge pull request #6 from letscontrolit/mega
...
update from master
2018-04-30 21:41:41 +02:00
Grovkillen and GitHub
e6044bdbf8
Added log JSON
2018-04-30 21:40:35 +02:00
mvdbro
572f8bcde7
Fix broken Mini Dashboard feature
2018-04-30 14:28:25 +02:00
Saverio Cisternino
c010640aa5
Optimize setSystemTimer; Removed the second "for" cycle for checking the availability of timers
2018-04-30 09:29:50 +02:00
ESPEasy release bot
e60c0dc5f0
automaticly updated release notes for mega-20180430
2018-04-30 04:00:08 +02:00
Gijs Noorlander and GitHub
4e6e31fdae
Merge pull request #1335 from TD-er/bugfix/mqtt_timout
...
Bugfix/mqtt timout
2018-04-29 17:49:01 +02:00
TD-er
77deb3d8b3
[MQTT] Set default timeout to 10 sec, equal to default Mosquito timeout
...
See https://github.com/knolleary/pubsubclient/issues/239
2018-04-29 17:41:00 +02:00
TD-er
3530027864
[rules] Add log indicating POST request for update rules
...
There is something strange going on, POST variables may be empty.
2018-04-29 17:40:07 +02:00
Gijs Noorlander and GitHub
07bfec4234
Merge pull request #1334 from TD-er/bugfix/wifi_connected_check
...
[wifi] Use internal ESPeasy state to check connected status
2018-04-29 14:59:28 +02:00
TD-er
3476792c58
[wifi] Use internal ESPeasy state to check connected status
2018-04-29 14:58:50 +02:00
Gijs Noorlander and GitHub
45afaf8d3f
Merge pull request #1333 from TD-er/bugfix/displayNamesInLog
...
[wifi] Do not rely on WiFi.status() and better log of status
2018-04-29 13:45:58 +02:00
TD-er
9084a5542b
[wifi] Do not rely on WiFi.status() and better log of status
...
`WiFi.status() == WL_CONNECTED` may not always be correct.
For ESP82xx check the SDK status.
2018-04-29 13:27:32 +02:00
mvdbro
4ac330ebf6
Changed plugin call debug timers
2018-04-29 11:51:46 +02:00
ESPEasy release bot
49a0476487
automaticly updated release notes for mega-20180429
2018-04-29 04:00:07 +02:00
Gijs Noorlander and GitHub
f606d2c55d
Merge pull request #1331 from TD-er/bugfix/ChangeReconnect
...
[wifi] Force wifi reconnect at lots of MQTT failed connects.
2018-04-29 00:53:27 +02:00
TD-er
4f9a383d93
[wifi] Force wifi reconnect at lots of MQTT failed connects.
2018-04-29 00:52:41 +02:00
Gijs Noorlander and GitHub
d4d0ee3b30
Merge pull request #1328 from TD-er/bugfix/set_static_IP_after_reconnect
...
[wifi] Setup static IP config after connecting to wifi.
2018-04-28 23:57:42 +02:00
TD-er
9705702f4c
[wifi] Added connectionCheckHandler() to force reconnect when needed
...
Example taken from [this issue discussion](https://github.com/esp8266/Arduino/issues/4445 )
2018-04-28 23:42:34 +02:00
TD-er
c3e015342c
[wifi] ESP32 does not know wifi_station_get_connect_status()
2018-04-28 23:10:24 +02:00
TD-er
209484554e
[wifi] Add wifi status log (Debug More) and DHCP/Static config to info page
2018-04-28 23:06:16 +02:00
TD-er
27377ab3ed
[wifi] Show number of reconnects in the sysinfo
2018-04-28 19:08:07 +02:00
TD-er
7055d24693
[wifi] Set static IP config before and after connect
...
Apparently static IP needs to have IP config set before and after connection has been made.
The beginning is needed to make sure no DHCP client is started.
The second one is needed to make sure the wifi status is correct in the core library.
2018-04-28 17:39:47 +02:00
TD-er
62e6317a23
[wifi] Setup static IP config after connecting to wifi.
2018-04-28 15:45:59 +02:00
ESPEasy release bot
29f89b687d
automaticly updated release notes for mega-20180428
2018-04-28 04:00:15 +02:00
Gijs Noorlander and GitHub
697d20a028
Merge pull request #1325 from TD-er/bugfix/wifi_stability
...
Known issue: With NTP enabled, it may be possible the connection is not fully operational.
2018-04-28 00:50:52 +02:00
TD-er
e9df0e75b9
[Wifi] Avoid doing network communications when not connected.
...
This may disrupt the network stack.
2018-04-28 00:10:01 +02:00
TD-er
f23f49931b
[wifi] Just disconnect when DNS lookup is not possible
...
This may prevent issues with hostname resolving to 0.0.0.0.
2018-04-27 23:45:31 +02:00
TD-er
4af29c405b
[PlatformIO] Updated core to 2.4.1
...
```
[core_2_4_1]
platform = espressif8266@1.7.0
[common]
build_flags = -D BUILD_GIT='"${env.TRAVIS_TAG}"' ; ${compiler_warnings.build_flags}
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
```
2018-04-27 21:45:30 +02:00
ESPEasy release bot
d780f1a07f
automaticly updated release notes for mega-20180426
2018-04-26 04:00:14 +02:00
TD-er
f9be283cb7
[wifi] Attempt to make event based wifi simpler
...
With static IP, the connection is lost frequently.
2018-04-26 02:04:18 +02:00
Gijs Noorlander and GitHub
3f1cda7b81
Change use of core 2_4_0 to 2_3_0
2018-04-25 16:05:05 +02:00
ESPEasy release bot
2fd226d6bd
automaticly updated release notes for mega-20180425
2018-04-25 04:00:08 +02:00
Gijs Noorlander and GitHub
3d1edcf33e
Merge pull request #1311 from TD-er/bugfix/more_active_reconnect
...
[wifi] More active reconnect to wifi when disconnected
2018-04-25 00:44:30 +02:00
TD-er
cc740b46f1
[wifi] More active reconnect to wifi when disconnected
...
And also set ESP32 to a fixed version, since latest versions may cause lots of reboots/bootloops.
2018-04-25 00:43:05 +02:00
Gijs Noorlander and GitHub
e829058c92
Merge pull request #1310 from giig1967g/mega
...
Fix another bug in LCD plugin
2018-04-25 00:06:03 +02:00
Plebs
685438c35d
Fix another bug in LCD plugin
...
There was another part in the WRITE section where was trying to read the Settings. Fixed with a global variable.
2018-04-24 23:52:22 +02:00
Gijs Noorlander and GitHub
f8a4ef389f
Merge pull request #1309 from giig1967g/mega
...
Adding 3 new http commands: taskrun, taskvalueset and rules
2018-04-24 23:09:43 +02:00
Gijs Noorlander and GitHub
7e9c31131c
Merge pull request #1308 from TD-er/merge/modbus_1128
...
[Modbus] PR #1128 made by @s0170071
2018-04-24 22:41:07 +02:00
Plebs
99150c4214
Adding 3 new http commands: taskrun, taskvalueset and rules
...
Usage:
control?cmd=taskrun,n
control?cmd=taskvalueset,t,v,n
control?cmd=rules,n (0 or 1 to activate or deactivate rules
2018-04-24 22:28:18 +02:00
TD-er
ec7e6f80b0
[Modbus] PR #1128 made by @s0170071
...
Was long overdue to merge, a simple re-do to include the Modbus.ino to allow development of Modbus plugins.
2018-04-24 22:21:50 +02:00
Gijs Noorlander and GitHub
dada682ed6
Merge pull request #1307 from giig1967g/mega
...
Fix for #1300
2018-04-24 21:40:52 +02:00
Grovkillen and GitHub
ab31b33a2c
Merge pull request #1305 from Grovkillen/added-"addcopybutton"
...
Added "addcopybutton"
2018-04-24 12:13:32 +02:00
Grovkillen and GitHub
621585901f
Added new lines if BR + delimiter if wanted
2018-04-24 11:09:51 +02:00
ESPEasy release bot
eaaf1fe888
automaticly updated release notes for mega-20180424
2018-04-24 04:00:13 +02:00
Grovkillen and GitHub
41e4705198
Merge pull request #5 from Grovkillen/mega
...
Added copy to clipboard on log page
2018-04-23 21:28:35 +02:00
Grovkillen and GitHub
c35fe3d500
Added copy to clipboard on log page
...
The <br> will work as new lines if pasted into issue template but we might add a conversion within the javascript code. I leave as is for now.
2018-04-23 21:27:36 +02:00
Grovkillen and GitHub
e2da8ecbb9
Made copy to clipboard JavaScript based instead
2018-04-23 21:15:20 +02:00
Plebs
3dad26a58a
Fix for #1300
...
LCD 1602 and 2004 fixed.
2018-04-23 19:19:08 +02:00
Grovkillen and GitHub
ae930a1d36
Added a void addCopyButton
...
For general use...
2018-04-23 15:47:02 +02:00
Grovkillen and GitHub
45e980beda
Merge pull request #4 from letscontrolit/mega
...
Update from master
2018-04-23 09:23:52 +02:00
Grovkillen and GitHub
8723e177df
Added note to self compilers
...
Many self compilers are reporting stuff, it's near to impossible to also support these since the different environments are so hard to set up for us developers to test.
2018-04-23 08:34:14 +02:00
ESPEasy release bot
8454994023
automaticly updated release notes for mega-20180423
2018-04-23 04:00:10 +02:00
Gijs Noorlander and GitHub
50732aed8a
Merge pull request #1295 from TD-er/bugfix/delay_between_connection_attempts
...
[wifi] Add delay between connection attempts
2018-04-22 12:28:09 +02:00
TD-er
f2888951dc
[wifi] Add delay between connection attempts
...
Accesspoints cannot handle lots of (immediate) reconnect attempts.
Added a delay of up-to a second between new attempts.
2018-04-22 12:27:24 +02:00
Gijs Noorlander and GitHub
56ac640986
Merge pull request #1294 from giig1967g/mega
...
Fixing #1289 for backwards compatibility
2018-04-22 11:52:53 +02:00
Plebs
df2d7be30b
Fixing #1289 for backwards compatibility
...
I noticed that my latest commit introduced a small issue with Transformations:
The previous transformations were right justified. The new ones are left justified.
To maintain backwards compatibility I have modified the code.
2018-04-22 11:49:51 +02:00
ESPEasy release bot
9e06cf4dc7
automaticly updated release notes for mega-20180422
2018-04-22 04:00:09 +02:00
Gijs Noorlander and GitHub
cd27339b8e
Merge pull request #1293 from TD-er/bugfix/remove_crc_from_config_file
...
[issue #1292 ] Remove CRC from settings, init settings and wifi fixes
2018-04-22 02:02:23 +02:00
TD-er
ec38ba1fb7
[issue #1292 ] Remove CRC from settings, init settings and wifi fixes
...
- Reset wifi when DNS lookup returns *.0.0.0 (NTP lookup sometimes returns like these)
- Accept Wifi events out of order.
- Remove CRC from settings struct
- Patch settings with last few added items initialized
- Changed red question mark to white questionmark, for links to wiki.
2018-04-22 02:01:10 +02:00
Gijs Noorlander and GitHub
b8fa42925f
Merge pull request #1289 from giig1967g/mega
...
Syntax: [task#value#transformation#justification]
2018-04-21 14:21:05 +02:00
Plebs
4169ca0ee8
Code changed as per TD-er suggestions
2018-04-21 09:53:19 +02:00
ESPEasy release bot
578477bf6d
automaticly updated release notes for mega-20180421
2018-04-21 04:00:08 +02:00
Gijs Noorlander and GitHub
0803e946b0
Merge pull request #1290 from TD-er/feature/P076_SonoffPOW
...
[Sonoff Pow] P076 - Add support for HLW8012 by @papperone
2018-04-21 01:42:38 +02:00
TD-er
06001bbc94
[Sonoff POW] Set some proper defaults for the Sonoff POW
...
I2C pins may conflict with the used energy sensor.
Also the status LED is set to a non standard pin.
2018-04-21 01:24:48 +02:00
TD-er
f171d5b211
[Sonoff POW] Change Plugin ID to 76
...
Nextion was added as P075
2018-04-21 00:18:05 +02:00
TD-er
360b552424
[Sonoff Pow] Add support for HLW8012
2018-04-21 00:17:52 +02:00
Unknown
d9597febf8
Merge remote-tracking branch 'papperone/mega' into merge/papperone
...
Remove edits on P073 to separate PRs
2018-04-21 00:17:43 +02:00
TD-er
6aa21ea6f8
[Sonoff Pow] Add support for HLW8012
2018-04-21 00:17:33 +02:00
Unknown
b1de652b62
Merge remote-tracking branch 'papperone/mega' into merge/papperone
...
Remove edits on P073 to separate PRs
2018-04-21 00:17:22 +02:00
Plebs
5c3bf9e894
Syntax: [task#value#transformation#justification]
...
Transformations:
Special:
!: negate (only for 0 or 1)
R: RIGHT JUSTIFY
V: value
O: ON/OFF
C: OPEN/CLOSE
U: UP/DOWN
u: U/D
Y: YES/NO
y: Y/N
X: O/X
I: IN/OUT
Z: 0/1
1: 1 decimal
2: 2 decimals
3: 3 decimals
Dx.y: x digits + y decimals
F: floor
E: ceiling
Justification:
P: prefix spaces
S: suffix spaces
2018-04-20 23:21:17 +02:00
Gijs Noorlander and GitHub
0acd7b0e70
Merge pull request #1288 from TD-er/bugfix/InitStaticIP_before_connect
...
[WiFi] Init static IP before connect to wifi
2018-04-20 22:08:22 +02:00
TD-er
8bbaffdeb0
[info] Add more build related info to the log and wifi info link to wiki
...
Add core information to the log and info page
Add "more info" button to main page
Add question mark link button to sysinfo section describing wifi. This links to the wifi page on the wiki.
2018-04-20 21:54:40 +02:00
TD-er
19e86e7df3
[Toast message] Change "Settings saved" to "Submitted"
...
Message is sent to provide feedback on pressing the 'submit' button.
At that moment, it is not yet clear the data will be saved successful.
To prevent "Settings Saved" and "Error writing to..." to show on the same page, this text was changed.
2018-04-20 20:55:17 +02:00
TD-er
311d6f01df
[WiFi] Init static IP before connect to wifi
...
As suggested by @Feuerreiter [here](https://github.com/letscontrolit/ESPEasy/issues/1255#issuecomment-383094333 )
2018-04-20 20:37:38 +02:00
Gijs Noorlander and GitHub
61f47d5ffc
Merge pull request #1287 from workgroupengineering/feature/elseif
...
[Feature] Allow elseif
2018-04-20 20:25:16 +02:00
Gijs Noorlander and GitHub
72f0f95471
Merge pull request #1285 from Grovkillen/toast-mes
...
Toast message added
2018-04-20 20:24:56 +02:00
Gijs Noorlander and GitHub
4e33472d81
Merge pull request #1246 from workgroupengineering/feature/timer_pause_resume
...
[Feature] Timers Pause and Resume
2018-04-20 20:24:33 +02:00
Saverio Cisternino
69c4f970a9
Add debug info
2018-04-20 16:46:04 +02:00
Grovkillen and GitHub
28866bd08c
Removed fade in of body added toast message!
2018-04-20 13:01:14 +02:00
Grovkillen and GitHub
0f93e3ed3c
Merge pull request #3 from letscontrolit/mega
...
Update
2018-04-20 12:59:38 +02:00
Saverio Cisternino
59a82ee17f
Add support at elseif statment
2018-04-20 11:36:12 +02:00
Saverio Cisternino
e8af00f99f
Add Trigger Rules#TimerPause= and Rules#TimerResume=
2018-04-20 11:33:05 +02:00
Saverio Cisternino
ad4b0f8008
Add Commands timerpause and timerresume
2018-04-20 11:33:05 +02:00
ESPEasy release bot
ae2a0b5208
automaticly updated release notes for mega-20180420
2018-04-20 04:00:09 +02:00
Gijs Noorlander and GitHub
785266bd39
Merge pull request #1283 from TD-er/bugfix/webserver_restart_connection_change
...
Bugfix/webserver restart connection change
2018-04-20 00:38:10 +02:00
TD-er
2e63e764b2
[wifi] Create event 'gotIP' after processing 'connected' event
...
And stop webserver when trying to reconnect to WiFi
2018-04-20 00:35:09 +02:00
TD-er
f7eaecf5d4
[log] Make web log 30 lines for ESP32
2018-04-20 00:01:52 +02:00
TD-er
1bee80d0ec
[wifi] Restart webserver when connection changes.
2018-04-19 23:43:30 +02:00
Grovkillen and GitHub
504a9aa295
Added extra breaks below "back to setup" button
2018-04-19 15:21:24 +02:00
Grovkillen and GitHub
059530a6b7
Merge pull request #1277 from Grovkillen/Update-GUI
...
Update GUI a bit more
2018-04-19 11:53:22 +02:00
Gijs Noorlander and GitHub
5b83c634e9
Merge pull request #1278 from TD-er/bugfix/set_static_at_change_mode
...
[Static IP] Make sure static mode is set correct always
2018-04-19 11:08:09 +02:00
TD-er
ff7ab3837e
[Static IP] Make sure static mode is set correct always
...
Also when changing settings from static to DHCP and vice verse.
2018-04-19 11:07:29 +02:00
Grovkillen and GitHub
badad651de
"bodymenu" was accidentally copied to all body
2018-04-19 11:01:02 +02:00
Grovkillen and GitHub
8a767b77e8
Added small fade in (0.5s)
...
To make user understand that submit have been clicked (web interface is so fast now).
2018-04-19 10:38:41 +02:00
Grovkillen and GitHub
072a1a4080
Merge pull request #2 from letscontrolit/mega
...
update
2018-04-19 10:37:20 +02:00
ESPEasy release bot
394e4b095d
automaticly updated release notes for mega-20180419
2018-04-19 04:00:17 +02:00
Gijs Noorlander and GitHub
ae1e62c8c6
Merge pull request #1276 from TD-er/bugfix/pr_1257
...
Bugfix/pr 1257
2018-04-19 01:25:45 +02:00
TD-er
0efb7823d7
[ESP32] Add Generic info plugin
2018-04-19 01:24:40 +02:00
TD-er
3ee7d4d04e
[PR #1257 ] Make it compile again
2018-04-19 01:24:14 +02:00
stefan and TD-er
f2d3a5d222
Changes for use of plugin sets
...
Remove ifdefs for PLUGIN_BUILD_TESTING to make use of USES_ defines and define_plugin_defs.h
2018-04-19 00:42:56 +02:00
Gijs Noorlander and GitHub
904a5cc612
Merge pull request #1267 from sentinel073/plugin_template_issue_1211
...
Issue #1211 : Plugin template file and hints on writing new plugins
2018-04-19 00:40:37 +02:00
Gijs Noorlander and GitHub
5241f93f5f
Merge pull request #1268 from hansrune/mega
...
Implemented syslog facilities and levels
2018-04-19 00:38:37 +02:00
Gijs Noorlander and GitHub
6d33d21f70
Merge pull request #1266 from Grovkillen/CSS-the-reset-of-the-gui
...
CSS the rest of the GUI
2018-04-19 00:37:56 +02:00
Gijs Noorlander and GitHub
045e2ef9f4
Merge pull request #1275 from TD-er/bugfix/Static_ip
...
[Static IP] Work-around for set _use_static_ip
2018-04-19 00:37:32 +02:00
TD-er
527267de62
[Static IP] Work-around for set _use_static_ip
...
See [this bug report](https://github.com/esp8266/Arduino/issues/4114 ), which is not fixed in 2.4.0.
This work-around will make sure no dhcp-client will be started when connecting to a network.
The active DHCP client could result in IP conflicts, difficulty in reconnect and other strange issues.
2018-04-19 00:13:53 +02:00
sentinel073
29c01eeb38
Issue #1211 : Plugin template file and hints on writing new plugins
...
Added review comments
2018-04-18 13:01:49 +03:00
Grovkillen and GitHub
1c5a1d3656
Removed unused row on hardware settings page
2018-04-17 17:31:28 +02:00
Grovkillen and GitHub
d6fe76750a
Added CSS radio buttons to WiFi setup wizard
2018-04-17 17:18:28 +02:00
Hans-Rune Bue
1889c0f9e5
Implemented syslog facilities and levels
...
Sending LOG_LEVEL_ERROR as syslog error, LOG_LEVEL_INFO as syslog notice, and everything else as syslog deug
Also added Settings.Syslogfacility setting to be able to choose kernel (still default), user, daemon, message and local0-local7
2018-04-17 12:43:52 +02:00
sentinel073
ebc16044e2
Issue #1211 : Plugin template file and hints on writing new plugins
2018-04-17 11:57:37 +03:00
Grovkillen and GitHub
5695ea8fa8
Updated the input, select, textareas with CSS
2018-04-17 10:50:52 +02:00
Grovkillen and GitHub
16cc9aaa6b
Merge pull request #1 from letscontrolit/mega
...
Updated from main
2018-04-17 10:48:37 +02:00
ESPEasy release bot
7f393af2a0
automaticly updated release notes for mega-20180417
2018-04-17 04:00:09 +02:00
Gijs Noorlander and GitHub
3e22607276
Merge pull request #1264 from TD-er/feature/nextion_port_from_playground
...
Feature/nextion port from playground
2018-04-17 01:35:06 +02:00
TD-er
4de720382d
[wifi] Fix build error for ESP32
...
Shared function was declared within #ifdef scope.
2018-04-17 01:34:07 +02:00
TD-er
a718572688
[P075] Nextion plugin (testing)
...
Added Nextion plugin for testing from the Playground.
It is not yet tested on real hardware, but it has been in development for a while on the forum and playground.
Also requested in issue #1256 and by several others.
2018-04-17 01:29:31 +02:00
Unknown
2d66c9fefa
[Nextion] Initial support for Nextion displays
...
Code taken from playground P117 and added minimal changes.
Still need some work to check and test with real display.
Not tested yet, myself.
2018-04-16 23:47:12 +02:00
Gijs Noorlander and GitHub
de51a130b3
Merge pull request #1262 from TD-er/bugfix/json_oled
...
[issue #1260 ] parentheses error on the json page
2018-04-16 23:28:53 +02:00
TD-er
a8020c9011
[issue #1260 ] parentheses error on the json page
2018-04-16 23:28:02 +02:00
Gijs Noorlander and GitHub
a2cbc6d474
Merge pull request #1261 from TD-er/bugfix/fix_disconnects_static_ip
...
[wifi] Fix wifi reconnects with static IP
2018-04-16 23:03:05 +02:00
TD-er
ea5c99431c
[NTP] Add more information in the log when connecting to NTP server fail
2018-04-16 22:49:07 +02:00
TD-er
6f68d87f50
[wifi] Fix wifi reconnects with static IP
...
When a fixed IP setting is used, there will be no "Got IP" event, which will lead to a timeout and thus reconnect.
As a fix, the "Connected" event will also act like when a "Got IP" event was received when configured to use static IP.
2018-04-16 22:48:23 +02:00
Gijs Noorlander and GitHub
4aa9c5e0ba
Merge pull request #1259 from Grovkillen/Updating-gui
...
Updating gui (max width etc)
2018-04-16 20:49:07 +02:00
Grovkillen and GitHub
7e4666afed
"Ctr (IDX)" was accidentally removed, now added
2018-04-16 17:23:37 +02:00
Grovkillen and GitHub
7651a07efc
Added max widths for inputs
2018-04-16 17:02:31 +02:00
Grovkillen and GitHub
f961a9f331
Made IDX column wider (device list)
2018-04-16 16:37:39 +02:00
Grovkillen and GitHub
bb49cbdc89
Added number input to CSS (width 100px)
2018-04-16 16:34:00 +02:00
Grovkillen and GitHub
7fe1b41ea5
Made input type password part of "wide"
2018-04-16 16:26:18 +02:00
Grovkillen and GitHub
358e9f1e24
Change enable "off" to a nicer X
2018-04-16 16:20:14 +02:00
Grovkillen and GitHub
8f77ffc871
Made controller symbols a bit bigger (1)(2)(3)
2018-04-16 16:09:14 +02:00
Grovkillen and GitHub
60faa58894
Moved help button on hardware page
...
Moved it up (from right of the submit button which wasn't a good place for it)
2018-04-16 14:40:52 +02:00
Grovkillen and GitHub
aba095b25d
Moved help button for sleep
2018-04-16 14:00:17 +02:00
Grovkillen and GitHub
617ebe96de
Re-arranged Rules page
...
Button moved down
Edit text removed
2018-04-16 13:45:57 +02:00
Grovkillen and GitHub
a1bf42dde1
Put borders around checkboxes
...
Suggested here: #1253
2018-04-16 13:20:04 +02:00
Susis Strolch
c705fdfff0
add missing & around value
2018-04-14 15:51:09 +02:00
Susis Strolch
1fc876cfea
add missing & around value, add README
2018-04-14 15:44:20 +02:00
Susis Strolch
21011c548e
GIT hooks: post-merge, post-commit, post-checkout
...
scripts intended as local git hooks.
post-merge:
- create symlink ESPEasy - if necessary
- add "#define BUILD_GIT <git revision>" to Custom.h
- add "#define USE_CUSTOM_H" to src/ESPEasy-Globals.h
post-commit:
- add "#define BUILD_GIT <git revision>" to Custom.h
post-checkout:
- on branch checkout also add "#define BUILD_GIT <git revision>"
2018-04-14 11:28:05 +02:00
tedenda
0d17c099e9
Merge remote-tracking branch 'origin/mega' into mega
2017-12-03 17:37:53 +01:00
tedenda
85da10ef24
Merge branch 'letscontrolit/mega' into mega
2017-10-17 20:14:00 +02:00
tedenda
7f91ec2852
Merge branch 'mega' into letscontrolit/mega
2017-10-17 20:13:20 +02:00