Commit Graph

261 Commits

Author SHA1 Message Date
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
Stephan Hadinger 0e3006c46f Add preliminary support for Esp32C3 - RiscV based 2021-06-08 20:31:01 +02:00
Theo Arends d9e1eaa780 Change command ``Gpio`` layout of JSON message changed to single line 2021-06-08 18:46:39 +02:00
Theo Arends ebeb4ea7ff Remove AddLog_P in favour of AddLog
Remove AddLog_P in favour of AddLog switching log from stack to heap allowing longer log entries (up to approximate log buffer size)
2021-06-05 11:47:09 +02:00
Adrian Scillato 5206054886
Add new options to WIFI command
Actual Options:
0 - Turn Off Wi-Fi
1 - Turn On Wi-Fi
New Options Added:
2 - Force the device to ONLY connects as a 11b device
3 - Force the device to ONLY connects as a 11b/g device
4 - Force the device to connects as a 11b/g/n device
2021-06-04 09:57:25 -03:00
Theo Arends 0584da8840 Fix free heap after last status 2021-06-02 18:33:33 +02:00
Theo Arends 25f4070da2 Add command ``Status0`` providing all status in one line 2021-06-02 18:13:05 +02:00
Theo Arends 4d2ac90bf1 Add support for long rule events 2021-06-02 17:56:44 +02:00
Theo Arends 60a7a31e61 Add command ``status0`` 2021-05-24 17:59:47 +02:00
Theo Arends cea58d66c8 Prep virtual mqtt_data prt3 2021-05-24 16:52:59 +02:00
Theo Arends 77760dc2cc Prep virtual mqtt_data prt2 2021-05-23 16:50:17 +02:00
Theo Arends 408ae6a4ef Prep virtual mqtt_data 2021-05-23 14:42:27 +02:00
Theo Arends 4d86ee0320 Add data len to logging 2021-05-21 14:43:18 +02:00
Theo Arends caaee6b103 Add upload binary decode to logging 2021-05-17 15:15:35 +02:00
gemu2015 ac52259dc8 restore USE_SCRIPT_STATUS 2021-05-17 09:20:45 +02:00
Theo Arends 817c7ce0a1 Prep for MQTT binary file transfer 2021-05-12 17:10:50 +02:00
Theo Arends 94485913e5 Add teleperiod data on empty teleperiod command if set to zero
Add teleperiod data on empty teleperiod command if set to zero (#12023)
2021-05-05 14:59:31 +02:00
Theo Arends f96934a38c Do not allow command Reset in backlog 2021-05-03 11:00:48 +02:00
Theo Arends 38ab8c4826 Add compile time rules and commands
- Add defines ``USER_RULE1``, ``USER_RULE2`` and ``USER_RULE3`` to store rules at compile time
- Add define ``USER_BACKLOG`` to store commands at compile time to be executed at firmware load or when executing command ``reset``
2021-05-02 17:57:03 +02:00
Theo Arends 1ace2d2292 Add initial support for optional for template specific commands
Add initial support for optional ``Template`` JSON fieldpair ``"CMND":"<any template related command>;<any template related command>;..."`` (#11788)
2021-04-25 17:22:38 +02:00
Theo Arends 2bf681dbe2 Revert "Add initial support for optional for template specific commands"
This reverts commit b44c16d861.
2021-04-25 17:03:11 +02:00
Theo Arends b44c16d861 Add initial support for optional for template specific commands
Add initial support for optional ``Template`` JSON fieldpair ``"CMND":"<any template related command>;<any template related command>;..."`` (#11788)
2021-04-25 16:51:18 +02:00
Theo Arends 147440fd99 Add command ``Wifi 0/1`` for ESP8266
Add command ``Wifi 0/1`` for ESP8266 to turn wifi Off and On. When wifi is Off it is always returned On after a restart except for a wake-up from deepsleep (#11839)
2021-04-22 18:10:26 +02:00
Theo Arends be236472fe Add Tasmota discovery as alternative to Home Assistant discovery using define ``USE_TASMOTA_DISCOVERY`` 2021-04-10 18:20:15 +02:00
Theo Arends 60de9696d8 Refactor backlog nodelay in relation to sleep 2021-04-09 14:00:09 +02:00
Theo Arends dd7cecc064 Fix backlog nodelay when sleep is active 2021-04-09 12:49:57 +02:00
Theo Arends 1a2addfc16 Refactor GUI save settings (prt2) 2021-04-08 17:57:37 +02:00
Theo Arends b6e77cd3d7 Change ``Backlog 1;`` into ``Backlog0`` 2021-04-07 18:22:20 +02:00
Theo Arends ad423d199d Add command ``Backlog 1;``
Add command ``Backlog 1;`` to allow execution of following commands without delay
2021-04-07 17:55:33 +02:00
Theo Arends 2f5c20a42f Add more rule triggers 2021-04-07 15:07:05 +02:00
Theo Arends 1829df6d56 Unify rules process call
Unify rules process call (#11572)
2021-04-04 12:04:36 +02:00
Theo Arends 2710dc8dd0 Add command ``SerialBuffer 256..520``
Add command ``SerialBuffer 256..520`` to change hardware serial receive buffer size from default (256) to max local buffer size (520) (#11448)
2021-04-01 15:53:47 +02:00
Theo Arends d5ca2994ee Add commands MqttKeepAlive and MqttTimeout
- Add commands ``MqttKeepAlive 1..100`` to set Mqtt Keep Alive timer (default 30) and ``MqttTimeout 1..100`` to set Mqtt Socket Timeout (default 4) (#5341)
- Changed PubSubClient library from EspEasy v2.7.12 to Tasmota v2.8.12
- Bump version to 9.3.1.2
2021-03-18 17:44:10 +01:00
Theo Arends 5294b9e5ec
Merge pull request #11275 from pcdiem/dgr4
Add device_group_tie in SettingsDefaultSet2 and show all groups
2021-03-11 08:22:58 +01:00
Stephan Hadinger 0475212b54 ESP32 support for secondary I2C controller 2021-03-10 22:20:21 +01:00
Paul C Diem 67d24047fc Add device_group_tie in SettingsDefaultSet2 and show all groups 2021-03-09 13:41:14 -06:00
Theo Arends 89d8fbb0ec Change ARRAY_SIZE() to nitems() 2021-02-28 12:50:02 +01:00
Theo Arends 05e5bdaa50 Fix invalid shutter status JSON (#11129) 2021-02-26 14:09:50 +01:00
JeroenSt d289608fe4 Solved duplicate entry D_CMND_POWERRETAIN https://github.com/arendst/Tasmota/pull/11084#discussion_r580203530 2021-02-22 13:36:26 +01:00
JeroenSt dde67c5b46 Added options to retain info and state mqtt messages
https://github.com/arendst/Tasmota/discussions/11067

Changed version to current version in comments
https://github.com/arendst/Tasmota/pull/11079#discussion_r580057981
2021-02-22 12:19:32 +01:00
Theo Arends ead77e536c Refactor command file 2021-02-16 16:21:46 +01:00
Stephan Hadinger 2220b2d3e3 Berry language improved Tasmota integration 2021-02-13 12:01:45 +01:00
Paul C Diem 83298b2a9e Rename DevGroupDevice to DevGroupTie 2021-02-09 21:22:43 -06:00
Paul C Diem 60252a9043 Add DGR device map support 2021-02-09 15:10:32 -06:00
Theo Arends b073905a2e Consolidate ESP specific functions 2021-02-08 11:34:29 +01:00
Theo Arends 7159362823 Fix long SwitchText message logging 2021-02-05 17:05:13 +01:00
Theo Arends 19ef735c08 ESP32 Increase number of interlock groups from 4 to 14
- Removed migration support for versions before v8.1.0 (Doris)
- ESP32 Increase number of interlock groups from 4 to 14
2021-02-05 15:21:06 +01:00
Theo Arends 8b0e45a58b Increase number of switch GPIOs from 8 to 28 2021-02-05 11:58:24 +01:00
Stephan Hadinger bf26ba3427 Reduce code size 2021-02-03 20:46:20 +01:00
Stephan Hadinger ca82ed07c9 Publish more precise Free Heap metric 2021-02-03 20:35:01 +01:00