Commit Graph
145 Commits
Author SHA1 Message Date
Grovkillen b72c3d9d64 [docs] added rules example + fixed S11 (P052) links 2020-02-04 14:29:45 +01:00
TD-er 3ae3b457d6 Merge pull request #2809 from Grovkillen/mega
[DOCS] P052 Senseair S11 added
2019-12-11 12:36:22 +01:00
Grovkillen 639511cd01 [DOCS] S11 re-phrased a sentance 2019-12-10 09:27:19 +01:00
Grovkillen d37edbfea6 [DOCS] S11 fixed PR after Gijs review 2019-12-10 09:21:56 +01:00
Grovkillen baf0dd7210 [DOCS] S11 fixed some incorrect data 2019-12-09 22:03:54 +01:00
Grovkillen 80eb56ac61 [DOCS] P052 Senseair S11 added 2019-12-09 21:59:55 +01:00
Gijs Noorlander ddf44e8d49 [Events] Run events from rules immediately + add AsyncEvent command
It appears the events called from rules must be run immediately, but there are some use cases where it can be useful to have async events.
So changed back the behavior for events called from rules, to be executed immediately.
Added the new command AsyncEvent.
2019-12-04 15:45:36 +01:00
Gijs Noorlander 836ad1397b [Rules] Parse template for all command calls
Until now a lot of ways to handle a command were handling the pre-processing of the command differently.
So the source of the command can make a difference whether system variables can be used for example.

Now all use the same function to pre-process the commands.
2019-12-03 19:20:43 +01:00
Gijs Noorlander 8c52881d54 [WiFi] Use last known BSSID & channel from RTC + MQTT fixes
Store the last used BSSID and channel in the RTC and use it for initial WiFi connect attempt.
This does speed up the WiFI connection to about 1.8 sec after boot.
Old situation was connected at about 3.9 sec after boot.

When booting from cold boot, the strongest known RSSI is chosen first.

MQTT controller queue handling is now more aggressive in trying to get rid of buffered packets.
It also now accepts the MQTT messages before it is connected to WiFi (or when not yet reconnected)
2019-12-01 23:26:20 +01:00
Florin 28cb9a42b4 add documentation for subscribe command. 2019-11-15 19:01:10 -05:00
Gijs Noorlander a5daf6ff5f [Pulse Counter] Add taskIndex parameter to resetPulseCounter command
Fixes: #2710
2019-11-11 13:34:51 +01:00
Gijs Noorlander 2025228ce3 [Docs] Document changed rules parameter parsing
See also https://github.com/letscontrolit/ESPEasy/issues/2724
2019-11-09 23:52:45 +01:00
TD-er 78486f5c6c [Docs] Document new resetpulsecounter command 2019-11-07 23:02:53 +01:00
Gijs Noorlander dd928b0776 [Docs] Describe PlatformIO installation 2019-10-27 13:38:42 +01:00
Gijs Noorlander 83c600e82d [Build] Rename ESP32 env 1M8_partition to 4M316k
1M8 does look a bit too much like "1MB".
4M316k does use the same naming schema as the other builds, stating the flash size and SPIFFS size.
2019-10-27 13:38:16 +01:00
Gijs Noorlander 07e30ff616 [WiFi] Only reset wifi connect attempt on stable connection (#2650)
See #2650
The counter wifi_connect_attempt is being used to determine whether the fallback SSID should be tried.
It is also used to determine whether a "quick reconnect" is possible using the BSSID and channel of the last successful connection.
If the connection is unstable, (last connection was active for over 5 minutes) then the connect attempt counter can be reset.
2019-10-25 17:32:19 +02:00
Gijs Noorlander a81bfc35c6 [Docs] Describe project directory structure 2019-09-25 00:46:04 +02:00
Gijs Noorlander 83e9d20f78 [Rules] Some minor code improvements (suggests from @uzi18 ) 2019-09-25 00:44:44 +02:00
Gijs Noorlander efbb4e13ac [Rules] Allow transformations on [var#n] and add [int#n]
Also add some caches to find task-value names.
Fix some minor issue when referring [var#n] variables. These were always rounded to 2 decimals.
Also added [int#n] to address the same variables as with [var#n] but rounded to integer values, to be used in rules for more reliable comparing.
2019-09-25 00:44:44 +02:00
Gijs Noorlander 8b5470e9a8 [Rules] Reduce memory usage when parsing rules templates
The parsetemplate function was almost always shown as function with the lowest free memory when called.
The function did make a lot of memory re-allocations and was very hard to read.

This commit is about reducing the memory allocations and speed up the parsing.
Will also fix [this issue reported on the forum](https://www.letscontrolit.com/forum/viewtopic.php?p=39219#p39219)
2019-09-25 00:44:44 +02:00
Gijs Noorlander 58826ef1b8 [WiFi] Fix No reconnect when setup page was not completed
The WiFi setup page does set a flag to indicate the connect attempt was initiated from the setup. 
But the flag was only reset when the setup page reloaded..
If that did not happen, the node could retry forever to (re)connect to the AP if the channel was changed or the node cannot see the old BSSID anymore (e.g. out of reach when using repeater)
Also the first attempt after changing WiFi settings would also (initially) fail due to retrying with old BSSID/channel combination.
2019-09-09 12:12:40 +02:00
Toni 2f1c801100 Documentation for P088 HeatpumpIR plugin 2019-08-30 11:01:40 +03:00
Gijs Noorlander a94185a90c [Settings Archive] Only allow on core 2.5.0 and newer 2019-08-29 17:23:34 +02:00
Gijs Noorlander 6a4d8bc0c7 [Settings Archive] Documentation 2019-08-29 17:23:34 +02:00
Gijs Noorlander 88735f532b [WiFi] Move functions to separate files and document
Move WiFi/Network related functions into separate files to keep them organized and easier to locate.
Also added lots of comments and some documentation on the state machine handling WiFi connect and reconnects.
2019-08-23 18:32:04 +02:00
Gijs Noorlander 8be2dd2d0c [Docs] Document Timing Stats page 2019-08-23 18:28:25 +02:00
Gijs Noorlander 022ca8a6ec [LoRa/TTN] Add Sample Set Initiator to mark samples of the same set
For LoRa, it may take a while to send out samples of different plugins.
This makes it hard to match samples belonging to the same set after receiving them.
The Sample Set Initiator is a task index which should always be considered as the first of a set samples sent to the controller.
For example when triggering to send a set of samples from rules, its order can be always the same. 
Setting the initiator to the first one of the sequence, the same sample set counter will be sent along with the samples.
2019-08-14 19:50:27 +02:00
Gijs Noorlander 8a72d288d8 [LoRa/TTN] Document LoRaWAN/TTN controller 2019-08-13 01:49:02 +02:00
Gijs Noorlander 74d790f105 [LoRa TTN] Add documentation stubs for C018-LoRaTTN and C017-Zabbix 2019-08-12 23:10:17 +02:00
Gijs Noorlander 1d2c3ef87b [Docs] Building ESPeasy using PlatformIO in VS-Code
As discussed on the [Forum](https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=6922&p=38512#p38512)
2019-08-11 21:32:08 +02:00
Gijs Noorlander 800e7d224c [Docs] Document sharing plugin via ESPeasy p2p controller
Fixes #2522
2019-08-08 23:11:57 +02:00
Gijs Noorlander d23b6272cf Merge pull request #2529 from TD-er/feature/serial_proxy
[Feature] Serial Proxy reading strings from serial
2019-08-04 17:57:07 +02:00
Gijs Noorlander 28b75dfb42 [Docs] Document the new %unixday% and %unixday_sec$ variables
See PR #2527
2019-08-04 15:51:01 +02:00
Misiu 82760f28f9 Rename OpenHAB MQTT to Home Assistant (openHAB) MQTT
As described by @davidgraeff openHAB is supporting Home Assistant MQTT convention, so C005 should have Home Assistant in name.
Arguments:
openHAB is following HA convention
this will help new users (like me) to setup ESPEasy with Home Assisnant
2019-07-22 09:36:38 +02:00
Christian Meinert c1b8e437ac Merge branch 'mega' of https://github.com/Christian-Me/ESPEasy into mega 2019-05-21 06:45:31 +02:00
Christian Meinert 5725090f6d Plugin Number chnaged to 86, HSV2RGB functions moved to misc.ino, little bugfixes and documentation 2019-05-21 06:42:57 +02:00
Gijs Noorlander c5c38b487d Merge pull request #2465 from Christian-Me/mega
Documentation for Homie Controller C014 & a minor fix
2019-05-10 15:48:30 +02:00
Christian Meinert f2183bbe1a C014 Documentation 2019-05-09 00:44:40 +02:00
Christian Meinert 435cebb399 Minor fixes 2019-05-02 18:12:18 +02:00
Christian Meinert fdee013fcc 1st draft version of docs for C014 Homie Controller 2019-05-02 00:02:04 +02:00
TD-er 7557551dd8 [SHT1x] Make clock delay configurable. 2019-04-19 22:12:32 +02:00
TD-er 0f03a5888b [Cache controller] Documentation 2019-04-05 22:38:53 +02:00
TD-er 6d3286f059 [Docs] Added P079 WemosMotorshield documentation to RTD 2019-03-14 12:09:35 +01:00
TD-er bd04d80d70 [Energy] Document new Special and Experimental Settings 2019-03-04 15:44:13 +01:00
TD-er 4c9f4cd638 [Factory Reset] Change #switch in rules and plugin to #state
Also updated in all rules examples.
N.B. some examples already were using #state, which is more intuitive.
2019-02-26 11:44:39 +01:00
TD-er 37d6140434 [Sphinx docs] Some small doc build fixes
- There were some unicode characters
- JPG file had wrong image type
- Documented the needed packages to build LaTeX documentation in Linux (still fails to build PDF dus to chapter count overflow)
2019-02-24 23:19:46 +01:00
Grovkillen e028b9d02a [docs] fixed error in event list 2019-02-14 14:52:30 +01:00
Grovkillen 7f70abd1c2 [docs] added GPIOtoggle command 2019-02-14 14:35:10 +01:00
Grovkillen 2564bcd4b8 [docs] event+commands for GPIO#N + Monitor added 2019-02-14 14:28:58 +01:00
Grovkillen c1a0a26cd4 [docs] P082 added screenshot 2019-02-14 14:19:39 +01:00