Commit Graph

48 Commits

Author SHA1 Message Date
Fulvio Spelta ab8676d865
SetOption158 publish/suppress ModbusReceived MQTT messages (#20678) 2024-02-07 15:57:09 +01:00
Theo Arends 728f91b602 Update changelogs 2023-12-05 10:07:02 +01:00
Theo Arends 14793c2594 Shorten code and add more comments 2023-12-04 11:44:59 +01:00
Theo Arends 7a6cca6d20 Add command ``WebCanvas``
Add command ``WebCanvas linear-gradient(#FF0018 7%,#FFA52C,#FFFF41,#008018,#0000F9,#86007D 93%)`` to set GUI canvas
2023-12-03 15:52:44 +01:00
Theo Arends b7819bcfac ESP32 show LHBT background if ``WebColor2`` bit0 is not set. Bit0 is default set using #252525 2023-12-02 16:59:04 +01:00
Theo Arends d96ed15e95 Bump version v3.1.0.4 2023-10-04 13:52:08 +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
s-hadinger f7c4c16a9c
Support for HDMI CEC protocol (#19434) 2023-09-01 21:46:18 +02:00
Theo Arends 0c3b559630 Phase 1 support C2/C6 2023-08-21 16:00:20 +02:00
s-hadinger 5c8c7cdfca
Prepare for Arduino v3 / esp-idf v5 (#19264) 2023-08-05 15:11:10 +02:00
Theo Arends b149443691 Fix default battery level
- Fix default battery level (#19160)
- Bump version to v13.0.0.3
2023-07-21 14:35:22 +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
sfromis 6382c2806c
More user-friendly defaults for DisplayMode and DisplayDimmer (#19138)
Changing default for DisplayMode from 1 to 0. Users are getting confused by the display doing something they did not ask for (and not being aware of DisplayMode). This got worse with LVGL/HASPmota displays becoming common, with users having much less reason to dive into the old DisplayXxxxx commands. And it may even be hard to see that it is even a display of time/date causing the display to flicker.

Changing default for DisplayDimmer from 10% to 50%. The low brightness of 10% is not always easy to see, especially in daylight. 50% is generally better, while not going "full blast" with 100%.
2023-07-18 08:26:51 +02:00
Theo Arends 9638beacec Fix possible buffer overflow 2023-07-12 12:45:02 +02:00
Theo Arends 5b6a25a7a0 Fix driver config backup and restore
Fix driver config backup and restore (#18295)
2023-07-12 10:52:58 +02:00
Theo Arends 889e6ea54d Fix driver config restore 2023-07-11 16:12:04 +02:00
Theo Arends 43bc81010f Configuration file save and restore .xdrvsetXXX
Configuration file save and restore now backup and restore ``.xdrvsetXXX`` files too (#18295)
2023-07-10 16:03:32 +02:00
Theo Arends 77103baa0a Add internal support for max log level 2023-05-19 15:20:21 +02:00
Theo Arends 57f85ae478 Optimize dynamic WiFi power 2023-05-17 10:45:00 +02:00
Theo Arends 29ae903f67 Fixed EnergyTotal divided twice
Fixed EnergyTotal divided twice during minimal upgrade step regression from v12.3.1.3 (#18024)
2023-02-24 16:15:02 +01:00
Theo Arends d9cbbaeb2a Fix energy usage and return migrated too small
Fix energy usage and return migrated too small (/10000) regression from v12.3.1.3
2023-01-30 15:36:46 +01:00
Theo Arends c63919d783 Change Energy totals max supported value
- Change Energy totals max supported value from +/-21474.83647 to +/-2147483.647 kWh
- Bump version to v12.3.1.3
2023-01-01 11:32:30 +01:00
Theo Arends 3555d88bee Bump version v12.3.1.2
- Fix shutter default motorstop set to 0 (#17403)
2022-12-21 15:20:33 +01:00
Theo Arends 4f31e7a1b2 Add command ``SetOption35 0..255``
Add command ``SetOption35 0..255`` to skip number of received messages in Serial Bridge (default 0) (#17140)
2022-11-20 12:52:24 +01:00
Theo Arends a924e41ff3 Bump version v12.2.0.5
- Fixed ModbusBridge baudrates over 76500 baud (#17106)
- Bump version v12.2.0.5
2022-11-17 11:44:51 +01:00
Theo Arends 6f00b455e7 Add serial receive poll during sleep
Add serial receive poll during sleep for tuya and serial bridge
2022-11-11 09:57:00 +01:00
Theo Arends 8f920220db Fis default sserialconfig on new installs 2022-11-06 17:41:53 +01:00
Theo Arends 41b65fd6b7 Add support for two phase power calibration
Add support for two phase power calibration using commands ``PowerSet2``, ``VoltageSet2`` and ``CurrentSet2``
2022-10-30 11:15:17 +01:00
Theo Arends cef18060a0 Bump version to v12.2.0.2
Prepare for extended calibration and move some persistent data (PowerLow)
2022-10-26 17:59:43 +02:00
Theo Arends 2ad018816b Add command ``WcClock 10..200``
Add command ``WcClock 10..200`` set webcam clock in MHz. Default is 20
2022-10-13 17:58:16 +02:00
Theo Arends 5cfbbd4302 Add command ``Sunrise 0..3`` to select sunrise dawn angle
- Bump version to v12.1.1.5
- Add command ``Sunrise 0..3`` to select sunrise dawn angle between Normal, Civil, Nautical or Astronomical (#16795)
2022-10-12 11:02:54 +02:00
Theo Arends f80c6c69bf Fix ESP32-C3 compilation 2022-09-27 16:04:34 +02:00
Theo Arends 89c1254f69 Fix ESP8266 compilation 2022-09-27 15:55:45 +02:00
Theo Arends f668ea44ed Add ESP32-S2 and ESP32-S3 touch input support 2022-09-27 15:36:35 +02:00
ortegafernando 83b3343a34
Add SetOption147
SetOption147 (MQTT) Disable publish SSerialReceived MQTT messages. If disabled, you must use event trigger rules instead.

If it is activated, tasmota will not publish a MQTT message every time a SSerialReceived event fires. Use rules to control "what, how and when" publish these messages.
2022-09-22 20:57:02 +02:00
ortegafernando f17e3440ac
Setoption147
Setoption147 (MQTT) Disable publish SSerialReceived MQTT messages. If disabled, you must use event trigger rules instead.

If it is activated, tasmota will not publish a MQTT message every time a SSerialReceived event fires. Use rules to control "what, how and when" publish these messages.
2022-09-21 21:42:53 +02:00
ortegafernando a4bf3b3ff0
Add SetOption147
Add SetOption147  (MQTT) Enable publish SSerialReceived MQTT messages. If disabled, use event rules instead.
If it is disabled, tasmota will not publish an MQTT message every time a SSerialReceived event fires. Use rules to control how and when publish these messages.
2022-09-21 09:35:40 +02:00
ortegafernando 5d3ae21159
Add SetOption147
Add SetOption147  (MQTT) Enable publish SSerialReceived MQTT messages. If disabled, use event rules instead.
If it is disabled, tasmota will not publish an MQTT message every time a SSerialReceived event fires. Use rules to control how and when publish these messages.
2022-09-21 09:34:22 +02:00
ortegafernando a79ab7275c
Add SetOption147
Add SetOption147  (MQTT) Enable publish SSerialReceived MQTT messages. If disabled, use event rules instead.
If it is disabled, tasmota will not publish an MQTT message every time a SSerialReceived event fires. Use rules to control how and when publish these messages.
2022-09-21 09:25:23 +02:00
Adrian Deaconu af6706d6e2 Add ZIGBEE_TOPIC_FNAME 2022-09-19 15:19:43 +01: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 103808ce44 Add command ``StatusRetain``
Add command ``StatusRetain`` (#11109)
2022-08-19 14:24:55 +02:00
Theo Arends 02d7eb1d7d Fix energy values after power cycle
Fix energy values after power cycle (#16118)
2022-08-05 15:25:39 +02: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 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 6a0c4b281e Add RTC time save 2022-06-16 16:15:54 +02:00
Theo Arends c08561f67c Bump version to v11.1.0.4
- Restructure tasmota
2022-06-02 14:17:39 +02:00