Commit Graph

1250 Commits

Author SHA1 Message Date
Theo Arends 895fbb2e8a Add optional USE_SONOFF_IFAN_CONFIG 2024-07-23 15:35:45 +02:00
s-hadinger e085cfd3ab
Berry fix `light.get` for separate RGB/CT (#21818) 2024-07-22 20:38:14 +02:00
Theo Arends f42e44a69d Support for Sonoff iFan04-H using template (#16402)
- Bump version v14.1.0.4
2024-07-22 15:35:20 +02:00
Theo Arends a0893c9aae Add EPD update frame (#21788) 2024-07-17 17:52:30 +02:00
Theo Arends b23a2f2304 Bump GPIOViewer version to v1.5.5 2024-07-17 14:28:50 +02:00
Theo Arends 69f1ea5627 Move StateText fro MQTT to commands (#21782) 2024-07-16 15:16:18 +02:00
Christian Baars 6673fb906b
prevent crash with unconfigured audio (#21775) 2024-07-14 21:00:24 +02:00
Theo Arends e9fdbea091 Unify display/touch init messages 2024-07-14 15:18:01 +02:00
Jason2866 3d34097275
final i2s fix (#21770) 2024-07-13 18:11:33 +02:00
Christian Baars 13330eb085
Berry: add int8 quantisation to Tensorflow lite driver (#21763)
* add input quantization, minor fixes

* prevent divideByZero
2024-07-11 23:05:47 +02:00
Christian Baars 7cb8a3f968
Berry: add cam module, img class (#21743)
* cam module, img class
2024-07-07 19:50:33 +02:00
Theo Arends fee5251bd4 Fix universal display power regression (#21726) 2024-07-05 15:30:31 +02:00
s-hadinger 243df3f2cf
`FUNC_BUTTON_PRESSED` now contains `press_counter` encoded in `XdrvMailbox.command_code` (#21724) 2024-07-03 22:13:50 +02:00
Theo Arends 59fc68026b Add Support for Sonoff POWCT Ring (#21131) 2024-07-03 16:31:43 +02:00
Theo Arends 9b537d81e0 Fix energy maxpower retry count (#21695) 2024-07-03 13:52:01 +02:00
Theo Arends ac011132ee Fix ESP8266 MaxPower edge case 2024-07-03 11:07:59 +02:00
Theo Arends 1fd8de6762 Update energy structure 2024-07-02 18:47:55 +02:00
Theo Arends 640aabe1b3 Fix ESP32 MaxPowerHold edge case (#21695) 2024-07-02 18:07:53 +02:00
Theo Arends 0b54d49181 Refactor TM1621 driver 2024-07-02 17:21:48 +02:00
Theo Arends 344fdf94f7 Update changelogs 2024-07-02 10:19:59 +02:00
Theo Arends c8e29dafc6 Changed ESP32 TM1621 number overflow from "9999" to "12E3" (#21131) 2024-07-01 12:31:02 +02:00
s-hadinger 2cc785bf20
Berry `FUNC_BUTTON_MULTI_PRESSED` event and make `FUNC_BUTTON_PRESSED` called only on state changes and once per second (#21711) 2024-06-30 21:00:14 +02:00
s-hadinger 6842b53425
Berry `FUNC_BUTTON_MULTI_PRESSED` event and make `FUNC_BUTTON_PRESSED` called only on state changes (#21709) 2024-06-30 19:14:32 +02:00
Theo Arends 33062dc839 Refactor energy drivers 2024-06-30 16:58:37 +02:00
s-hadinger 8d2d121b6d
Berry `FUNC_ANY_KEY` event calling `any_key()` (#21708) 2024-06-29 22:12:34 +02:00
Theo Arends 8a0493b659 Cleanup esp32 energy 2024-06-28 18:04:50 +02:00
Theo Arends 8364eca708 Refactor esp32 energy margins entry 2024-06-28 17:51:05 +02:00
Theo Arends 271446fd66 Remove obsolete SafePower commands 2024-06-28 14:38:08 +02:00
Theo Arends 96a45a6dde Refactor ESP32 energy 2024-06-28 11:12:28 +02:00
Theo Arends 621f6f59e1 Fix default power windows 2024-06-27 17:07:08 +02:00
Theo Arends 178d42c286 Change ESP32 support for energy margin checks, like ``MaxPower2`` per phase (#21695)
- Add ESP32 support for power and energy limit checks, like ``MaxEnergy2`` per phase (#21695)
- Bump version v14.1.0.3
2024-06-27 16:50:45 +02:00
s-hadinger 97017017a4
Matter full support of events (#21698) 2024-06-27 00:03:34 +02:00
Theo Arends af1fa724af Fix non-webserver compilation 2024-06-25 16:36:28 +02:00
Jason2866 0bddfad14e
No Ethernet support for the C2 (#21691)
* No Ethernet for the C2

* Post process: Disable always Ethernet for C2

* better check for Ethernet available

* typo

* excluse c2 with `ifndef`
2024-06-25 15:13:16 +02:00
Jason2866 aa39e000f7
add C2 as target for BLE (#21685) 2024-06-23 21:44:56 +02:00
gemu aa380ea190
fix tcp server (#21660) 2024-06-21 16:35:20 +02:00
stefanbode d18925897a
MQTT fix on inverted shutter (#21663)
* MQTT fix on inverted shutter

* MQTT fix on inverted shutter
2024-06-21 16:35:05 +02:00
Theo Arends 75c47b6948 Extend command ``SetOption147 1`` to disable publish of IRReceived MQTT messages (#21574) 2024-06-14 11:23:03 +02:00
Theo Arends 87148ae0c1 Change SerialBridge command ``SSerialSend9`` replaced by ``SSerialMode``
- Bump version v14.1.0.2
2024-06-11 17:27:39 +02:00
Theo Arends 4858ec0aef Allow receive or send using SerialBridge 2024-06-11 12:41:19 +02:00
Theo Arends ae9d2a2c85 Refactor display modes1 to 4 2024-06-11 11:07:30 +02:00
stefanbode ae499eb73a
MQTT is not reporting the correct LastChange (#21605)
I assume this is just missing. I got some side effects on shutters where on MQTT commands the source is still the LAST one before the MQTT
2024-06-10 10:42:02 +02:00
Theo Arends bdc15960ad Refactor display show sensors 2024-06-09 16:25:04 +02:00
Theo Arends ea5c9bc9b6 Fix DisplayMode MQTT (Un)Subscribe without restart 2024-06-09 13:46:54 +02:00
Theo Arends 1e33b45ea8 Add partial DisplayText features to modes1 to 5 2024-06-08 17:22:19 +02:00
Theo Arends ff961df336 Change display timing splash screen with display modes 1 to 5 2024-06-08 15:33:44 +02:00
Theo Arends 9350f68ac5 Replace optional MQTT_TELE_RETAIN to Energy Margins message by ``SensorRetain`` 2024-06-07 11:48:52 +02:00
Christian Baars 7b678ba2c8
forgotten safety check (#21549) 2024-06-03 12:09:38 +02:00
Theo Arends 132b98f0c2 Change GPIOViewer from v1.5.3 to v1.5.4 (No functional change) 2024-06-02 12:03:28 +02:00
s-hadinger 0bd5f6b27a
Remove deprecated code from drivers, `USE_TTGO_WATCH` and `USE_M5STACK_CORE2` (#21533) 2024-05-31 08:58:11 +02:00
Theo Arends 2771827c15 Changed TCP bridge increased baudrate selection (#21528)
- Bump v14.0.0.4
2024-05-30 10:50:12 +02:00
Theo Arends 2347f37269 Revert "Fix ESP32 slow response when using UDP as in emulation (#21470)"
This reverts commit f132663dfe.
2024-05-29 16:45:16 +02:00
Theo Arends 7c98e0d303 Revert "Another few victims of core3 UDP"
This reverts commit 27c35befdf.
2024-05-29 16:45:04 +02:00
Theo Arends adcc50ac6e Revert "Fix network flushes"
This reverts commit b88ec44d15.
2024-05-29 16:44:50 +02:00
Theo Arends b88ec44d15 Fix network flushes 2024-05-29 14:09:54 +02:00
Theo Arends 27c35befdf Another few victims of core3 UDP 2024-05-29 11:57:29 +02:00
Theo Arends f132663dfe Fix ESP32 slow response when using UDP as in emulation (#21470) 2024-05-29 11:46:55 +02:00
Theo Arends bc6faa733c Refactor Telegram 2024-05-28 17:47:35 +02:00
Christian Baars a4dbc57448
multiple fixes (#21511) 2024-05-28 10:59:57 +02:00
Theo Arends 7b478f718c Update changelogs 2024-05-27 22:47:08 +02:00
s-hadinger bb40642225
Fix Telegram TLS fingerprint, remove CA validation (#21514) 2024-05-27 22:31:27 +02:00
Theo Arends 0fe893b01d Fix unsupported %.2f (#21508) 2024-05-27 15:37:15 +02:00
Christian Baars 33f491a8e6
scan wifi asynchronously (#21498) 2024-05-27 15:17:09 +02:00
btsimonh a78169b43a
Webcamshutdown - use FUNC_ABOUT_TO_RESTART (#21462)
* use FUNC_ABOUT_TO_RESTART for webcam shutdown in webcamv2

* fix an annoying compile warning - lengths are pre-checked to fit anyway.
2024-05-25 19:51:46 +02:00
s-hadinger 0d3e888147
Berry change internal storage of parent class for methods (#21490)
* Berry change internal storage of parent class for methods

* Fix compilation of zigbee

* Patch solidify for berry_custom
2024-05-24 22:32:37 +02:00
btsimonh 3e0b70af10
Ufs serve fix - makes it work better on esp32cam (ai thinker style) (#21486)
* Add yield() in file listing, so watchdog does not trigger with very large folders

* update UFSServe function to be like download function.
This removes the use of server.streamFile, and provides a much more reliable download.
Make UFSServe always use this function, regardless of auth requirement.  (i.e. no use of the original in the original class, as it still uses streaming.)
Note that UFSServe is enab;ed with #define UFILESYS_STATIC_SERVING
2024-05-24 22:02:09 +02:00
Christian Baars e5521bb763
Build system: allow easy solidification of external Berry (#21430)
* custom solidification

* solidify-from-url

* forgot folders

---------

Co-authored-by: Radio Loge <radiologe@MacBook-Pro-von-Radio.local>
2024-05-24 20:57:43 +02:00
Christian Baars 1ca91a8170
Berry webserver: allow to content_send bytes (#21479) 2024-05-24 20:55:56 +02:00
Christian Baars 01bd6ec52a
apll not supported on all SOCs (#21483) 2024-05-24 15:55:24 +02:00
Theo Arends a9e7426cff Changed support W5500 SPI ethernet using four SPI GPIOs only without IRQ and RESET 2024-05-23 15:16:05 +02:00
btsimonh 522f6c5e00
fail UFSServe if Webserver is null. (#21467) 2024-05-22 16:26:26 +02:00
Theo Arends a14aad93cb Revert "Fix `SendMail` watchdog restart during reconnect to SMTP server (#21454)"
This reverts commit 784bc3ea5f.
2024-05-22 15:19:14 +02:00
Theo Arends 784bc3ea5f Fix `SendMail` watchdog restart during reconnect to SMTP server (#21454) 2024-05-22 15:18:38 +02:00
Christian Baars da4fab66c1
more consistent usage of variables, really use apll rx setting (#21459) 2024-05-21 17:43:43 +02:00
Theo Arends 3b4035b3e2 Add FUNC_ABOUT_TO_RESTART (#21460) 2024-05-21 17:28:02 +02:00
Theo Arends 73350da88c Even better fix 2024-05-21 17:14:47 +02:00
Theo Arends 140e4791aa nicer solution skipping loracommand header 2024-05-21 17:10:19 +02:00
Theo Arends 08afd40823 Remove command header 2024-05-21 16:48:14 +02:00
Theo Arends 00a389bbb2 Add default LoRaCommand disable reception (#17790) 2024-05-21 16:18:46 +02:00
Theo Arends 2e51860464 Fix GUI auto-decimal (#21445) 2024-05-21 14:27:02 +02:00
btsimonh 2eccc96c62
Ble 32 fixscanning (#21451)
* restore scanend callback

* fix ble scanning time from 20ms to 20s

* fix connection timeout.
Use ->getLastError() to find out why we did not connect.

* add #define to remove hack if not required in the future.
2024-05-20 20:56:55 +02:00
s-hadinger 7253e83a04
Fixed Zigbee crash when removing `ZbName` (#21449) 2024-05-20 16:51:35 +02:00
Christian Baars e7f69ebc5f
bugfix: webradio crash with invalid url (#21446) 2024-05-20 09:12:14 +02:00
Christian Baars 7f7bcd0ab6
small refactoring, more robust handling of commands (#21439) 2024-05-19 17:12:54 +02:00
Christian Baars 0e5b2a86b8
i2s audio ,some improvements (#21433) 2024-05-18 22:15:59 +02:00
Barbudor 285a6f3532
knx dimmer and colour (#21434) 2024-05-18 22:15:46 +02:00
Barbudor 60a42f015e
Add command WebRun (as WebQuery extension) (#21364)
* tasmota-1m32

* ready

* add code usage

* clean

* remove also that

* remove WebQueryWithFunction in favor of default value
2024-05-18 22:15:16 +02:00
Theo Arends 33b0c1d5c2 Update changelogs 2024-05-18 12:29:51 +02:00
Theo Arends 0d225839da On universal display remove default backlight power if a PWM channel is used for backlight 2024-05-17 14:08:34 +02:00
Theo Arends 2ddbc7c7fa Fix watchdog restart or freeze if ``displaytext`` is more than 128 characters (#21401) 2024-05-17 12:47:14 +02:00
s-hadinger b9bd558abe
Enabled watchdog for ESP32 and variants (#21422)
* Enabled watchdog for ESP32 and variants

* Ensure compilation for sageboot

* Fix compilation

* Fix compilation for RISCV
2024-05-16 21:19:34 +02:00
Theo Arends 6ba59385d4 Fix Domoticz re-subscribe on MQTT reconnect. Regression from v13.4.0.3 (#21281) 2024-05-16 14:43:30 +02:00
s-hadinger 4cda2d7dc2
Berry `Leds` uses native WS2812 driver by default (#21406) 2024-05-13 22:21:58 +02:00
s-hadinger 2865630309
Prepare for ESP32 WDT (#21383)
* Prepare for ESP32 WDT

* make `sleep()` reset WDT
2024-05-12 21:12:08 +02:00
s-hadinger 15a5ef30c4
Fixed Berry `gpio.dac_voltage()` (#21403) 2024-05-12 21:11:14 +02:00
Barbudor 466dcae840
Quick Fix: KNX loose config on restart (#21378)
* quick fix

* revert to ascillato test
2024-05-10 10:46:40 +02:00
Theo Arends 3e8ca44681 Attempt to fix TasMesh (#21395) 2024-05-10 10:34:58 +02:00
Theo Arends c7a5cd58f4 Fix a compile error 2024-05-10 10:18:46 +02:00
Christian Baars 08f9b37b99
Berry add gpio.set_freq() (#21375) 2024-05-07 09:36:39 +02:00
Theo Arends 21c7f4c81b Minor changes 2024-05-06 17:36:39 +02:00