Commit Graph

113 Commits

Author SHA1 Message Date
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
Theo Arends
e1221b924d Changed removed leading spaces on commands `(S)SerialSend1 to 6`
Removed leading spaces on commands ``(S)SerialSend1 to 6`` but keep on duplicate commands ``(S)SerialSend11 to 16`` (#16723)
2022-12-04 15:09:39 +01:00
Stephan Hadinger
d3be3dfe8f IPv6 preview for ESP32, also working for ESP8266 2022-11-30 19:40:58 +01:00
Theo Arends
13c27194ec TuyaMcu rewrite by btsimonh (#17051) 2022-11-13 12:55:18 +01:00
Theo Arends
169e65a922 Add ESP32 non-persistent phy selection 2022-10-15 14:33:21 +02:00
Theo Arends
d6b045e3d4 Do not skip leading spaces on (s)serialsend
Do not skip leading spaces on (s)serialsend (#16723)
2022-10-04 18:11:36 +02:00
Theo Arends
5a314f72e3 Add relevant program core information 2022-10-04 17:52:15 +02:00
Theo Arends
5fe2554e6a Refactor buttons 2022-09-28 12:17:48 +02:00
Theo Arends
f668ea44ed Add ESP32-S2 and ESP32-S3 touch input support 2022-09-27 15:36:35 +02:00
Theo Arends
3a4a82ba0a Fix ESP32 touch button multi-press and hold detection
Fix ESP32 touch button multi-press and hold detection (#16596)
2022-09-27 14:31:21 +02:00
Jason2866
452c6fabb0
Tasmota Core 2.0.5
* Flash real size is now in core
* Flash chip magic size now in Tasmota `ESP_getFlashChipMagicSize`
* Tasmota Core 2.0.5
2022-09-17 15:53:58 +02:00
Theo Arends
7e21442e96 Fix support of more touch pins (#16518) 2022-09-15 12:27:49 +02:00
barbudor
eb96127efd allow SerialBuffer up to 2048 2022-08-28 16:49:52 +02:00
Theo Arends
e55e9d8485 Change flashmode from digit to text 2022-08-21 14:21:17 +02:00
Theo Arends
103808ce44 Add command `StatusRetain`
Add command ``StatusRetain`` (#11109)
2022-08-19 14:24:55 +02:00
Paul C Diem
20da738788 Wrap restore_powered_off_led_counter in #ifdef 2022-08-10 14:56:30 -05:00
Paul C Diem
729dc29807 Set LED state on SO87 change 2022-08-10 12:14:58 -05:00
Theo Arends
00012c7893 Clean up 2022-08-07 15:55:44 +02:00
Theo Arends
fc86a63417 Fix wifiscan encryption types
Fix wifiscan encryption types (#16141)
2022-08-07 15:52:23 +02:00
Theo Arends
e327c6194f Cleanup JSON message 2022-08-07 14:23:27 +02:00
Adrian Scillato
058f9ecea9
Fix WifiScan JSON Response 2022-08-03 02:39:51 -07:00
Adrian Scillato
922ece0959
Add WifiScan and WifiTest commands 2022-08-02 22:32:55 -07:00
Theo Arends
846b217427 Bump version to v12.0.2.4
- Bump version to v12.0.2.4
- Command ``SetOption45 1..250`` to change default bistable latching relay pulse length of 40 milliseconds (#15856)
2022-07-16 14:32:18 +02:00
Theo Arends
14a0370507 Fix user global entries 2022-06-23 00:06:05 +02:00
Theo Arends
cefe015c68 Bump version to v12.0.2.2
- Add commands to better control global temperature, humidity and pressure
- Command ``GlobalTemp2 1..250`` to select Global Temperature source indexed from teleperiod occurance data (#15834)
- Command ``GlobalHum2 1..250`` to select Global Humidity source indexed from teleperiod occurance data (#15834)
- Command ``GlobalPress2 1..250`` to select Global Pressure source indexed from teleperiod occurance data (#15834)
2022-06-22 23:45:25 +02:00
Theo Arends
c988ba1645 Add user control over DNS timeout reducing blocking
Add command ``DnsTimeout 100..20000`` to change default DNS timeout from 1000 msec blocking if no DNS server found
2022-06-19 17:57:43 +02:00
Theo Arends
076019a029 Fix ESP32 wifi on command 2022-06-13 17:28:13 +02:00
Theo Arends
9e254d851a Fix max blinkcount to 32000 2022-06-03 15:15:25 +02:00
Theo Arends
c08561f67c Bump version to v11.1.0.4
- Restructure tasmota
2022-06-02 14:17:39 +02:00