Commit Graph

236 Commits

Author SHA1 Message Date
Theo Arends 2143491b37 Refactor Serial.swap 2021-09-20 14:31:00 +02:00
Theo Arends 6ddb14bc6a Add Command ``SetOption2 1``
Add Command ``SetOption2 1`` to enable display of global temperature/humidity/pressure info to JSON sensor message
2021-09-01 09:42:10 +02:00
Seestern93 1d5fd6f20a SwitchState10
Add Switch#State=10 to SwitchMode11&12;
Revert changes done by arendst (Switchmode17&18) as new proposal for integrating POWER_DELAYED into existing switch modes 11 & 12
2021-08-29 23:03:14 +02:00
Theo Arends 3c964504b6 Revert "Show power status in state message always with power index number like ``POWER1``"
This reverts commit 59a13644b9.
2021-08-14 17:40:03 +02:00
Theo Arends 59a13644b9 Show power status in state message always with power index number like ``POWER1``
Add state information to influxdb
2021-08-14 17:35:31 +02:00
Theo Arends e2b7cd96e6 Skip not used ESP32 GPIO init 2021-07-26 17:10:08 +02:00
Theo Arends 520612b67c Fix discovery fails when using ``%hostname%`` in a topic (#12710) 2021-07-21 11:41:31 +02:00
Marius Bezuidenhout ef6b79a450
Merge branch 'arendst:development' into feature/can-bus 2021-07-13 17:11:43 +02:00
Theo Arends 5abadbf221 Fix ESP32 do not use chip temperature sensor as global temperature if external temperature sensor is used (#12630) 2021-07-13 16:44:28 +02:00
Marius Bezuidenhout f14f86f6fe Receiving SOC, SOH and Product name 2021-07-12 17:47:04 +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 749093a697 Prep mqtt_data from char to String (prt.3) 2021-06-06 17:26:01 +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 13756def16
Add actual Wi-Fi mode (b/g/n) to STATUS 11 2021-06-04 09:51:05 -03: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
Stephan Hadinger 56cecfb274 LVGL Support for 3 buttons as rotary encoder 2021-05-07 11:51:22 +02:00
Theo Arends cdcb1533b9 Prep for MQTT Settings save 2021-05-06 15:23:41 +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 572fddef73 Fix USER_BACKLOG persistence
Fix USER_BACKLOG persistence (#11975)
2021-05-05 14:18:43 +02:00
Theo Arends 89b922675d Add backward compatibility to Template CMND fieldpair using | as command separator
Add backward compatibility to Template CMND fieldpair using | as command separator (#11788)
2021-04-29 17:00:04 +02:00
Theo Arends 06667d98fa Add ESP32 pulldown switches ``Switch_d``
Add ESP32 pulldown switches ``Switch_d`` (#10814)
2021-04-27 11:36:10 +02:00
Theo Arends 01390c2ca6 Add ESP32 pulldown buttons ``Button_d`` and ``Button_id``
Add ESP32 pulldown buttons ``Button_d`` and ``Button_id`` (#10814)
2021-04-26 13:56:44 +02:00
Theo Arends 1c2db8ca46 Minor strstr() refactor 2021-04-26 10:35:39 +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 2fc3b93e9d Change command ``Power`` should not reset pulsetime
Change command ``Power`` should not reset pulsetime (#11805)
2021-04-22 15:03:56 +02:00
Theo Arends efbeeee6a4 Standardize version message 2021-04-14 14:33:21 +02:00
Adrian Scillato c63b211009
Fix Double Call of StartWebserver when it is in WiFiManager Mode 2021-04-12 13:35:34 -03:00
Theo Arends 7457d0b03c Refactor ESP32 Temperature and Hall Effect sensor 2021-04-12 16:21:33 +02:00
Theo Arends 591021a556 Add ESP32 Cpu Temperature 2021-04-12 14:59:40 +02:00
Theo Arends ab33b394f2 Add commands
Add commands ``Discover``, ``DiscoverButton`` and ``DiscoverSwitch``
2021-04-12 12:20:49 +02:00
Theo Arends c2cde43a54 Refactor Tasmota Discovery 2021-04-11 13:29:33 +02:00
Theo Arends 2f5c20a42f Add more rule triggers 2021-04-07 15:07:05 +02:00
Theo Arends 36288037a8 Refactor energy init 2021-04-06 15:23:07 +02:00
Theo Arends ad50fc5522 Refactor teleperiod rules 2021-04-05 11:10:53 +02:00
Theo Arends 1829df6d56 Unify rules process call
Unify rules process call (#11572)
2021-04-04 12:04:36 +02:00
Theo Arends 2350697815 Use IRAM_ATTR in place of ICACHE_RAM_ATTR 2021-04-02 17:14:08 +02:00
Theo Arends bacf80a076 Add buffer overrun message on SerialBridge
Add buffer overrun message on SerialBridge (#11448)
2021-03-31 18:00:49 +02:00
Theo Arends e80c08cd18 Speed up initial power on state
Speed up initial power on state gaining 1mS pulse time (#11478)
2021-03-27 12:05:55 +01:00
Theo Arends 3174056eea Add relay switch time to zero-cross detection 2021-03-25 09:37:44 +01:00
Theo Arends 75308ee1e0 Fix zero cross special cases 2021-03-24 17:13:54 +01:00
Theo Arends 0d54299aaf Make ZCD user configurable using GPIO ZC Pulse 2021-03-23 15:42:15 +01:00
Theo Arends 6dc436039b Add support for Frequency monitoring and zero-cross detection on CSE7761 (Sonoff Dual R3)
Add support for Frequency monitoring and zero-cross detection on CSE7761 (Sonoff Dual R3)
2021-03-23 11:21:38 +01:00
Thomas Weißschuh 641df67362 only perform interlock delay once
Before the delay was executed for *each* device being turned off.
Therefore the delay grew with the size of the interlock group.
2021-03-21 15:29:21 +01:00
Theo Arends c87a4df7e9 Refactor TM1638 pin numbers 2021-03-19 10:33:46 +01:00
Stephan Hadinger 0475212b54 ESP32 support for secondary I2C controller 2021-03-10 22:20:21 +01:00
Theo Arends ef39821b6d Fix OTA auto gz selection 2021-03-09 16:50:52 +01:00
Theo Arends 25dc819279 Add version to OTA update
Add version to OTA update (#11243)
2021-03-07 14:41:04 +01:00
Theo Arends 89d8fbb0ec Change ARRAY_SIZE() to nitems() 2021-02-28 12:50:02 +01:00