Commit Graph
134 Commits
Author SHA1 Message Date
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 391452246f [docs] upgraded to Sphinx 1.8.4 2019-02-14 15:02:28 +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
Grovkillen 7118dce882 [docs] Rules (fixed error in syntax) 2019-02-14 12:40:54 +01:00
Grovkillen 77062e50ce [docs] Rules (Let used in filters) 2019-02-14 12:36:34 +01:00
Grovkillen 29447d0c8d [docs] P015 TSL2561 added 2019-02-14 12:09:32 +01:00
Grovkillen 061b691497 [docs] ThingSpeak (must check acknowledge) 2019-02-14 10:11:55 +01:00
TD-er 1362363295 Moved testing plugins to test builds & added safety docs for power sensors
See: https://github.com/letscontrolit/ESPEasy/issues/2266
2019-02-01 10:53:45 +01:00
Grovkillen 81428a0d22 [docs] fixed some syntax 2019-01-07 11:23:41 +01:00
Grovkillen 44475079df [docs] P082 (GPS) added "where to buy" links 2019-01-07 11:18:22 +01:00
Grovkillen bf46ebb0f3 [docs] added P082 (GPS) pages 2019-01-07 10:58:03 +01:00
Grovkillen 7956583c96 [docs] added an event reference page (similar to the command ref. page) 2019-01-07 08:56:26 +01:00
Grovkillen 5c1d68b627 [docs] moved events to repl file (same as commands) 2019-01-07 08:43:54 +01:00
Grovkillen fa21426852 [docs] added "used libraries" to all plugin pages 2019-01-07 08:28:27 +01:00
Grovkillen a72c6b4965 [docs] added events to all plugin pages
Not their hardware pages...
2019-01-07 08:25:28 +01:00
Grovkillen 8f24fa6c3e [docs] fixed used libraries 2019-01-07 07:45:27 +01:00
TD-er 741b702c85 [HLW8012] Update documentation 2019-01-06 21:21:22 +01:00
Gijs Noorlander 5713900d0f Merge pull request #2194 from TD-er/feature/GPS_plugin
P082: Feature/gps plugin & Serial port abstraction
2019-01-06 00:21:58 +01:00
TD-er d9d826650c [GPS] Include the GPS docs in the Spinx tree. 2019-01-05 23:57:07 +01:00
TD-er 6eef558183 [GPS] Add documentation for P082_GPS.ino 2019-01-05 23:32:08 +01:00