Commit Graph

78 Commits

Author SHA1 Message Date
Theo Arends
10885fe60d Refactored rules `Subscribe` using LList allowing full message size and enabled by default 2024-01-22 16:57:59 +01:00
Theo Arends
1ffbbc914d Refactor backlog from LinkedList to TasmotaLList 2024-01-21 22:07:49 +01:00
Theo Arends
95f76d623f Changed command `TimedPower` refactored from String to LList 2024-01-21 14:29:44 +01:00
Theo Arends
9608b7513a Refactor backlog by removing some str copies 2024-01-20 22:45:24 +01:00
Theo Arends
05014d48cf Refactor backlog from String to char 2024-01-20 17:18:03 +01:00
Theo Arends
c9d0106007 Removed max number of 30 backlog entries 2024-01-18 16:32:28 +01:00
Theo Arends
0f541a963b Fix TimedPower blink off 2024-01-18 10:38:22 +01:00
Theo Arends
2832ed914b Change command `TimedPower`
Change command ``TimedPower`` from erasing all timers to showing remaining timers
2024-01-17 15:55:25 +01:00
Theo Arends
9d00897cb4 Fix TimedPower using state names 2024-01-16 15:07:23 +01:00
Theo Arends
2c5508ee96 Add TimedPower update before end 2024-01-16 12:40:35 +01:00
Theo Arends
77d54985d0 Tune TimedPower 2024-01-16 11:02:24 +01:00
Theo Arends
789fd1e055 Add command `TimedPower`
Add command ``TimedPower<index> <milliseconds>[,ON|OFF|TOGGLE|BLINK]`` executes ``Power<index> [ON|OFF|TOGGLE|BLINK] `` and after <millisecond> executes ``Power<index> [OFF|ON|TOGGLE|OFF]``
2024-01-15 23:58:33 +01:00
Theo Arends
0ae793a8d4 Save some bytes 2023-10-21 17:37:31 +02:00
Theo Arends
57860b692d Fix GpioRead (#19810) 2023-10-21 17:20:55 +02:00
s-hadinger
356de1a16a
Add command `GpioRead` (#19814)
* Add command ``GpioRead``

* change output
2023-10-21 15:56:40 +02:00
Barbudor
335e18e8cb
Allow webbutton up to 32 (#19580)
* Allow webbutton up to 32

* use named const
2023-09-29 09:56:52 +02:00
Theo Arends
16aab339e7 Clean up support command code 2023-09-11 11:45:27 +02:00
Theo Arends
597c3655b0 Fix MAX17043 invalid JSON (#19495) 2023-09-11 11:35:26 +02:00
Theo Arends
0c3b559630 Phase 1 support C2/C6 2023-08-21 16:00:20 +02:00
Christian Baars
b5cc48dd64
ESP32: pass flashmode at build time to macro definition (#19299)
* pass flashmode at build time to macro definition

* fix 8266 builds
2023-08-12 11:31:06 +02:00
Christian Baars
732e4106b8
add wifitest3 (#19259) 2023-08-04 20:17:36 +02:00
stefanbode
d1a4296867
New DEEPSLEEP topic for HA + Battery Level % support (#19134)
* New LWT on deepsleep

To allow better integration into HA LWT topic will report details of sleep status:
16:54:04.388 MQT: hm/tele/ESP_3284D1/LWT =
{"Sleep":{"Time":"2023-07-17T16:55:03","Sleep":1689612844,"Wakeup":1689612903}}

* Revert LWT back to non JSON

Send DeelSleep on LWT
Send Deepsleep parameters on topic DeepSleep

* Setting default for batteryLevel

* Enable BatteryPercentSet

Changing the battery level e.g. by rule

* Added Battery % to status message

* added battery_level_percent

* Added battery % support in STATE message

* Enable setting battery level

101 is reserved for power-plug. No battery Level reported

* Setting default for battery Level

101 is reserved for power plug
0..100 normal battery values

* Revert back LWT to Offline

Removed "DeepSleep" LWT status until further decision is made. Current implementation is technical sufficient for HA to detect a battery powered device

* Added discovery message after deepsleep change

* Added discovery for battery and deepsleep
2023-07-20 09:51:08 +02:00
Theo Arends
522e6cf234 Implement deepsleep(0)
Implement deepsleep(0) as command ``restart 9`` (#19024)
2023-07-03 21:07:45 +02:00
Theo Arends
504b51a9b4 Add command `Delay -1`
Add command ``Delay -1`` to wait until next second (#18984)
2023-06-28 11:53:23 +02:00
Theo Arends
e05d75248e Add undocumented feature 2023-05-25 17:13:31 +02:00
Theo Arends
f5d6578fb5 Fix correct JSON display of WifiPower float 2023-05-19 17:41:18 +02:00
Theo Arends
57f85ae478 Optimize dynamic WiFi power 2023-05-17 10:45:00 +02:00
Theo Arends
0385204ca7 Add command `WifiPower 0`
Add command ``WifiPower 0`` to enable dynamic wifi power based on RSSI by @TD-er (#15443)
2023-05-16 18:55:55 +02:00
Theo Arends
9b8f3b6b4c Add command I2CScan0
Add command I2CScan0 to scan both busses if available
2023-05-14 15:21:19 +02:00
Theo Arends
e9d1e8c725 Change command FileUpload binary index 2023-05-06 18:09:11 +02:00
Theo Arends
6f6c43a724 Add command `SetOption152 0/1`
Add command ``SetOption152 0/1`` to select two (default) or one pin bistable relay control (#18386)
2023-04-18 17:16:29 +02:00
Theo Arends
545c6a3511 Refactor saving some bytes 2023-04-07 13:03:20 +02:00
Theo Arends
4f983105f3 Allow compound commands in json command
Allow compound commands in json command (#18358)
2023-04-07 12:36:02 +02:00
Theo Arends
d9353cf1e3 Fix upload connection error 2023-04-03 14:17:08 +02:00
stefanbode
5c14a3169b
Shutter esp32 support up to 16 shutters (#18295)
* Updates to support ESP32 shutter compiler option

* New ESP32 shutter driver

* Update xdrv_27_ESP32_shutter.ino

* Update xdrv_27_shutter.ino

* Update support_command.ino

* Update xdrv_27_shutter.ino

Fix compile error

* Update xdrv_27_ESP32_shutter.ino

Fix compile error

* Update xdrv_27_shutter.ino

Fix compile error

---------

Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
2023-03-29 15:43:19 +02:00
Theo Arends
9ae7b86efc Save some bytes 2023-03-25 11:59:42 +01:00
Theo Arends
b32a093c0c Fix multidigit SwitchModes display
Fix multidigit SwitchModes display
2023-03-25 11:36:10 +01:00
Theo Arends
5bb624ad09 Add command `SwitchMode0`
Add command ``SwitchMode0`` to show or set all SwitchModes
2023-03-25 11:29:49 +01:00
Barbudor
635afa36de
i2cdriverstate in status only when use_i2c (#18067) 2023-02-27 15:39:52 +01:00
Theo Arends
a97f0349d8 Add I2CDriver output to status 4 2023-02-27 09:28:28 +01:00
Theo Arends
9673cca8b0 Extent ESP8266 virtual switch support 2023-02-06 11:45:28 +01:00
Theo Arends
0ebcf1dc03 Fix exception on empty topic (#17879) 2023-02-05 15:13:44 +01:00
s-hadinger
96b66225d2
Reserve SetOption151 for Matter protocol (#17860) 2023-02-02 20:22:59 +01:00
Theo Arends
d70dbe979e Prep ESP32 energy for four+ phases 2023-01-26 15:26:10 +01:00
Theo Arends
094f45fe7e Fix compilation without USE_IPV6 2023-01-13 11:47:58 +01:00
s-hadinger
ef4138bdaa
Support for IPv6 only networks on Ethernet (not yet Wifi) (#17527) 2022-12-27 21:59:34 +01:00
s-hadinger
9abe7b1af9
Support for IPv6 DNS records (AAAA) and IPv6 `Ping` for ESP32 and ESP8266 (#17417) 2022-12-17 10:08:35 +01:00
Stephan Hadinger
4a32623a51 IPv6 improvements 2022-12-10 13:44:16 +01:00
Stephan Hadinger
2f1b2ec5fd IPv6 support for Ethernet (ESP32) 2022-12-08 19:06:51 +01:00
s-hadinger
2a1b900775
IPv6 improvements (#17268)
* IPv6 improvements

* Fix esp8266 compilation

* grrr

* Fix compilation issue

* Fix declaration

* Fix esp32c3
2022-12-04 16:57:34 +01:00