Gijs Noorlander
ebd0dcf7c2
[RN2483] Add some example code for new RN2483 library
...
Since I have rewritten the entire library, I may also add some short example code to illustrate the new async features.
2020-02-17 23:28:24 +01:00
TD-er
da5c15258e
[WiFi] Increase delay after turning on WiFi
...
See also #2886
This does make sure the initial network connection can transfer data.
On some nodes it took a lot of attempts to get a connection established right after boot.
2020-02-17 01:14:40 +01:00
TD-er
473d832186
[RN2483] Small fixes in display strings and library examples
2020-02-17 01:11:08 +01:00
TD-er
6d321b256c
Fix compile issue in ArduinoUnoNano-downlink.ino example
2020-02-16 19:53:13 +01:00
TD-er
64fea7bcf2
[RN2483] Fix build issues
2020-02-16 18:50:44 +01:00
Gijs Noorlander
b3ec99c2c3
[RN2483] Move functions and members to helper class.
2020-02-16 17:13:04 +01:00
Gijs Noorlander
96dc568800
[RN2483] Status bits depend on firmware rev. number
...
This means some knowledge should be split into separate classes and made available for the Status class.
2020-02-16 15:04:28 +01:00
Gijs Noorlander
366ffe26fb
[Controllers] Add the new 10/s and 50/s calls for controllers time stats
2020-02-16 02:03:22 +01:00
Gijs Noorlander
3c5e9389fa
[RN2483] Make OTAA join work async
...
It does take about 7 seconds to perform OTAA, so make sure we don't have to wait for it to finish now we can do all in async mode.
2020-02-16 02:02:34 +01:00
Gijs Noorlander
24b6364d08
[RN2483] Fix OTAA and ABP join issues
2020-02-16 00:38:24 +01:00
Gijs Noorlander
86c2b3b9fe
[Controllers] Make CPlugin functions in to enum class
...
The functions used to call CPlugins are now part of an enum.
This also means the compiler can help to detect when some functions are not dealt with in a switch statement.
2020-02-14 21:52:04 +01:00
Gijs Noorlander
b0fc381b27
[Notifiers] Make NPlugin functions into enum-class
...
As suggested by @uzi18 should the plugin function defines be an enum instead of defines.
This will allow to do compile time checks and also check whether all cases are handled.
2020-02-14 17:16:55 +01:00
Gijs Noorlander
c3ddba012c
[Controller] Make more controller parameters optional for a controller
2020-02-14 14:55:48 +01:00
Gijs Noorlander
9c08ec8a67
[Controller] Add CPLUGIN_FIFTY_PER_SECOND function
2020-02-13 19:52:12 +01:00
Gijs Noorlander
af5bc7174c
[RN2483] Make calls non blocking using state machine
...
The calls to the existing library were blocking, so they could take a long time to send a message (over 2 seconds)
Now the library is using a state machine and the handling can be dealt with by calling the ...loop functions frequently.
2020-02-13 18:30:22 +01:00
Gijs Noorlander
632169acc3
[RN2483] Fix proper reset and autobaud of RN2483 LoRa module
2020-02-10 21:50:05 +01:00
Gijs Noorlander
18653180af
[Custom.h] Add some password defaults for factory default settings
...
A pre-defined default controller could not have its user/pass credentials set in factory default.
2020-02-10 12:21:22 +01:00
Gijs Noorlander
999056d241
[RN2483] Fix LoRa packed encoding
...
A recent optimization in the code broke the LoRa packed encoding.
2020-02-10 12:21:22 +01:00
TD-er
a6031ce6d6
Merge pull request #2876 from ToniA/HeatpumpIR
...
HeatpumpIR 1.0.11 update, P088_HeatpumpIR support for Mitsubishi MSC …
2020-02-10 11:25:19 +01:00
Toni
34bf3dae92
Update _P088_HeatpumpIR.ino, include files in alphabetical order
2020-02-10 12:07:42 +02:00
TD-er
608963e618
Merge pull request #2870 from jimmys01/ir-up
...
[IR TX RX} IR library update
2020-02-10 09:58:40 +01:00
Toni
5f0b4f0d6f
HeatpumpIR 1.0.11 update, P088_HeatpumpIR support for Mitsubishi MSC and Mitsubishi Heavy FDTC
2020-02-05 18:58:50 +02:00
jimmys01
5694e91712
Merge remote-tracking branch 'upstream/mega' into ir-up
2020-02-05 13:22:43 +02:00
TD-er
6b84d65d1a
[Controller] Fix controller name not found
...
The check for included controller was incorrect, so the controller name was stating not to be included in the build.
2020-02-05 10:50:19 +01:00
TD-er
7621e473a1
automatically updated release notes for mega-20200204
mega-20200204
2020-02-04 23:31:47 +01:00
TD-er
e74e805ef1
Merge pull request #2873 from TD-er/docs/Rules_example
...
[docs] added rules example + fixed S11 (P052) links
2020-02-04 22:51:36 +01:00
TD-er
d254ffbf7e
Merge pull request #2864 from TD-er/bugfix/rn2483_controller
...
[Controllers] Restructure protocolIndex / controllerIndex and cplugin_ID
2020-02-04 22:50:20 +01:00
Gijs Noorlander
058bdd645f
[docs] Corrected supported SenseAir sensors in docs
2020-02-04 17:21:30 +01:00
Grovkillen
661026f3a7
[docs] added rules example + fixed S11 (P052) links
2020-02-04 17:14:35 +01:00
Gijs Noorlander
3f62778765
Fix unexpected string padding in parseTemplate ( #2866 )
...
The extra padding to a minimal line length does only make sense for use on displays and some special formatting.
So the majority of the uses of parseTemplate now uses 0 as minimum line length.
Fixes: #2866
Closes: #2867 (superseeds PR)
2020-02-04 17:06:15 +01:00
Gijs Noorlander
8b110572d6
[WIFi] Fix crashes with fixed IP
2020-02-03 23:52:43 +01:00
Gijs Noorlander
3919cffba1
[PIO] Update to core 2.6.3
2020-02-03 20:26:38 +01:00
jimmys01
3968f06b1c
Ir-Update
2020-02-01 16:27:52 +02:00
TD-er
fe5a15a8ab
[Controller] Optimization by reducing number of checks.
...
As discussed [here](https://github.com/letscontrolit/ESPEasy/pull/2864#issuecomment-580894393 )
2020-01-31 21:55:09 +01:00
Gijs Noorlander
baa68b92f8
Revert "[WiFi] Improve reconnect management"
...
This reverts commit 91b7b3b9a2 .
2020-01-27 22:32:13 +01:00
Gijs Noorlander
6e5034c176
[Build] Add compile time checks to make sure offsets in settings are OK
...
Compute some offsets of members in settings struct and security struct to make sure padding doesn't differ among builds on different platforms.
2020-01-27 13:25:40 +01:00
Gijs Noorlander
d8d86c8b38
[RN2483] Add option to reset LoRa module using reset pin
...
Still not working well on RN2483 with firmware 1.0.1 and a slow rising voltage at power on.
2020-01-26 22:44:16 +01:00
Gijs Noorlander
a74098e593
[Controllers] Restructure protocolIndex / controllerIndex and cplugin_ID
...
This was rather messy code and no checks.
It is now somewhat similar to the code for plugins defining the relation between:
- Plugin ID
- Task Index
- Device Index.
2020-01-26 22:29:41 +01:00
TD-er
36b1bb1d56
Merge pull request #2862 from TD-er/feature/custom_1M
...
Feature/custom 1 m
2020-01-25 14:23:58 +01:00
Gijs Noorlander
b1255ccd44
[Build] Add 1M custom build to platformio.ini
2020-01-25 14:21:54 +01:00
Gijs Noorlander
2b5a4e917b
[Controller] Add CPLUGIN_TEN_PER_SECOND call for controllers
2020-01-25 14:13:34 +01:00
TD-er
d8d2121369
Merge pull request #2858 from jimmys01/patch-2
...
[Zabbix] Update usage info
2020-01-21 13:21:50 +01:00
jimmys01
332401c632
[Zabbix] Update usage info
2020-01-20 13:04:59 +02:00
TD-er
b747fa571e
Merge pull request #2826 from TD-er/bugfix/lower_case_argparse
...
[LCD] Fix incorrect convert to lower case for LCD texts
2019-12-28 01:38:47 +01:00
TD-er
e15b83558b
Merge pull request #2783 from jimmys01/ir2
...
[IR] Change default state of the lights if missing from JSON AC command
2019-12-25 14:20:34 +01:00
Gijs Noorlander
1b3e6b34fc
[LCD] Fix incorrect convert to lower case for LCD texts
2019-12-19 22:14:58 +01:00
TD-er
0863059e11
Merge pull request #2820 from TD-er/bugfix/send_http
...
[Parse Templates] Allow to refer to variables in controllers (#2818 )
2019-12-18 10:08:05 +01:00
TD-er
52f15eaa57
[SendToHttp] Add setting for waiting for ack
2019-12-16 00:05:52 +01:00
TD-er
c0eb4ec28f
[Parse Templates] Allow to refer to variables in controllers ( #2818 )
...
Fixes: #2818
2019-12-15 21:59:41 +01:00
TD-er
60c33b4137
[HTTP] Add HTTP Accept header
2019-12-15 21:57:30 +01:00