Commit Graph

281 Commits

Author SHA1 Message Date
Stephan Hadinger
539c508918 Increase PWM channels to 16 (Esp32 only) 2022-01-27 21:30:05 +01:00
Theo Arends
15943ccad6 Add command `Json {<Tasmota commands>}`
Add command ``Json {<Tasmota commands>}`` to enable input of any command as JSON tokens (#14568)
2022-01-23 17:43:17 +01:00
Theo Arends
33ff4fa056 Add undocumented JSON command 2022-01-23 12:29:06 +01:00
Hristo Kapanakov
29723d5e9b Add setting for IRremoteESP8266 tolerance 2022-01-21 17:24:32 +02:00
Theo Arends
e6e5d5174f Phase 2/2 Ethernet IP address config
Phase 2 of 2 Ethernet IP address config based on PR (#14385)
2022-01-13 15:27:24 +01:00
Stephan Hadinger
5f002dc467 Set ESP32 stack size with `#define SET_ESP32_STACK_SIZE, added StackLowMark` metrics 2022-01-03 18:52:30 +01:00
barbudor
e504f61fba Add missing & for coherency 2021-12-30 09:39:29 +01:00
Stephan Hadinger
b409377068 MQTT TLS dual mode (CA or fingeprint) in same firmware, `SetOption132 1` to force fingerprint 2021-12-01 21:38:28 +01:00
Stephan Hadinger
cb0ad2c75b Berry tasmota.read_sensors() 2021-11-21 18:54:13 +01:00
Barbudor
79f5c1285f add command tcpbridgeconfig 2021-11-04 17:14:34 +01:00
Giedrius Koksta
888f5b2f36 add index number to all thermostat responses 2021-11-03 23:15:14 +02:00
Theo Arends
9002830d7c Fixes 2021-10-02 18:19:39 +02:00
s-hadinger
e8b30eadfe
Force PWM reapply after frequency change (#13141)
* Force PWM reapply after frequency change

* Fix compilation is USE_LIGHT is not defined
2021-09-15 19:54:55 +02:00
Theo Arends
43642e0b8a Turn HTTP API (command `SetOption128 1`) default on for backward compatibility 2021-08-20 15:54:26 +02:00
Adrian Scillato
9a2267a783
Add HTTP API Status to STATUS 5 2021-08-16 18:51:53 -03:00
Theo Arends
e5e8ef4736 Refactor access TasnotaGlobal.mqtt_data 2021-08-15 17:08:31 +02:00
Theo Arends
65b7034b0c Support for second DNS server 2021-07-29 16:57:04 +02:00
Theo Arends
6cd9a7d899 Add command `SetSensor1..127 0|1` to globally disable individual sensor driver 2021-07-14 14:20:50 +02:00
Stephan Hadinger
1c15552210 Command `SetOption127 1 to force Wifi in no-sleep mode even if Sleep 0` is not enabled 2021-07-05 13:43:41 +02:00
Theo Arends
e02b58a6ed Refactor ShowFreeMem 2021-06-25 17:09:53 +02:00
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