Commit Graph

8081 Commits

Author SHA1 Message Date
s-hadinger 42e3862970
Berry hkdf (#17487)
* Berry crypto add `HKDF_HMAC_SHA256`

* add HKDF option
2022-12-22 22:39:06 +01:00
s-hadinger 970e36f44d
Berry crypto add ``random`` to generate series of random bytes (#17482) 2022-12-22 18:57:20 +01:00
Theo Arends 23e0bc27e7 Update changelogs 2022-12-22 17:54:54 +01:00
stefanbode 3c1531bf1c
shuttermotorstop init value, new max 5000 (#17484)
new max value (5 seconds)
shuttertilt logic check (avoid Theo's indefinite running shutter)
2022-12-22 17:02:01 +01:00
Theo Arends b3f12476cc Remove debug logging 2022-12-22 16:09:41 +01:00
s-hadinger f06c07996c
Berry crypto add ``EC_P256`` and ``PBKDF2_HMAC_SHA256`` algorithms required by Matter protocol (#17473) 2022-12-22 10:09:13 +01:00
Theo Arends ad97f7b95f Add NRG_MODBUS datatypes
Add NRG_MODBUS datatypes (#17467)
2022-12-21 18:11:35 +01:00
Theo Arends b2d3921778 Fix shutter logging 2022-12-21 15:26:42 +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
s-hadinger d670f476ba
Berry add crypto AES_CTR, HDMAC_SHA256, MD5 (#17451) 2022-12-19 22:30:54 +01:00
stefanbode 59fc09acc4
Fix on init procedure (#17447)
* fix output

* Avoid wrong init parameter

#17403
2022-12-19 20:31:02 +01:00
gemu 1cdd5c3f08
Udisplay support for rgb displays (#17414)
* add gt911

* add rgb display mode

* add gt911

* add gt911

* add gt911

* add sunton descriptor

* fix divide by zero crash with sunton
2022-12-18 14:06:04 +01:00
s-hadinger 30ace5a3f3
Berry support for `crypto.SHA256` (#17430) 2022-12-17 23:38:57 +01:00
s-hadinger 5048777e06
Fix IPV6 compilation on ESP8266 (#17429) 2022-12-17 22:41:21 +01:00
Jason2866 1b3eedd635
reduce memory footprint for MI32 builds (#17426)
by disabling (default) Ethernet support
2022-12-17 19:28:25 +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
sedderz 72c9bca4d3
ArtNet DMX - Added RGBWW support for single lights (#17398)
* ArtNet DMX - Added RGBWW support for single lights

* ArtNet DMX - Fix offset for single light

Co-authored-by: sedgi <james@jsedgwick.com>
2022-12-16 17:30:59 +01:00
Theo Arends 4e5c1f7a2d Bump version to v12.3.1.1 2022-12-16 10:20:51 +01:00
s-hadinger f8b56e1058
Zigbee fix crash on ESP8266 #17397 (#17405) 2022-12-15 22:52:19 +01:00
Jason2866 6658c8d269
use `https` for esp32x for OTA (#17404) 2022-12-15 18:17:39 +01:00
Theo Arends 571502114c Bump version v12.3.0.1 2022-12-14 14:46:08 +01:00
Theo Arends 1ad8b7713e Add support for ME007-ULS
Add support for ME007-ULS narrow FoV ultrasonic distance sensor by Mathias Buder (#17376)
2022-12-14 12:18:49 +01:00
Mathias fc8039d960
Adding support for ME007-ULS narrow FoV ultrasonic distance sensor (#17376)
* Squashed commit of the following:

commit 1441459a47cff0a43aa61ce47510585ee03649f3
Merge: a9fcbd342 7e27945e5
Author: Mathias Buder <mathias_buder@bose.com>
Date:   Tue Dec 13 09:00:06 2022 +0100

    Merge branch 'development' into me007-narrow-fov-ultrasonic-sensor

commit a9fcbd3428445eb914816f608e064568d16b41e9
Merge: 7bb1049f5 d83119897
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Dec 12 10:33:06 2022 +0100

    Merge branch 'development' into me007-narrow-fov-ultrasonic-sensor

commit 7bb1049f51da8d064462b9499ed479a7675b368e
Merge: 83a5afa7a eee86f01a
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Fri Dec 9 09:30:29 2022 +0100

    Merge remote-tracking branch 'github/development' into me007-narrow-fov-ultrasonic-sensor

commit 83a5afa7ad27fcde1e67008e41a9bfd9c680cccd
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 8 14:47:13 2022 +0100

    [ME007] Added driver version number to MQTT message, small delay between consecutive measurement

commit 9b8667843154f02a23020e655d806ed76ae2e530
Merge: 39180f345 de408921e
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 8 10:12:45 2022 +0100

    Merge branch 'development' into me007-narrow-fov-ultrasonic-sensor

commit 39180f3451fce5f06504195faea0124d73dac1ee
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Wed Dec 7 16:41:26 2022 +0100

    [ME007] Added median filter

commit 01b68e0e6ca147ac03b63b8c71d035563e3bf13b
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Dec 5 23:08:57 2022 +0100

    [ME007] Simplified state maschine within me007_measure()

commit 1c74c6ed3e4097f09792a48420b2016c92e10353
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Dec 5 22:21:16 2022 +0100

    [ME007] Fixed issues from previous pull-request

commit 25b667120fd8d70fcfed36de44f1b7a17d0686be
Merge: 01e0b1809 e7d40b8d1
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Dec 5 10:46:25 2022 +0100

    Merge branch 'development' into me007-narrow-fov-ultrasonic-sensor

    # Conflicts:
    #	tasmota/include/tasmota_template.h

commit 01e0b18096bfffc67673e25152114694caaf110a
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Sun Dec 4 20:53:39 2022 +0100

    [ME007] Minor changes

commit ec00c9b85d223b78586c464bb92d1c7894357a40
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Fri Dec 2 13:08:06 2022 +0100

    [ME007] Added some measurement error statistics

commit c5cf65f82c42195752a88fd1553c74ab68c39cb2
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 22:38:07 2022 +0100

    [ME007] Fixed MQTT message

commit ae07d8dd77db47e20578f655ec057a63b30e65ce
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 21:56:20 2022 +0100

    [ME007] Minor code refactoring

commit d2b43ca70c716e1b637b9efd3b536506233e5365
Merge: 292f5f6c8 816fd78fb
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 16:48:38 2022 +0100

    Merge branch 'development' into me007-narrow-fov-ultrasonic-sensor

commit 292f5f6c81f1659eb225271cdd025eb77da02c6f
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 16:47:03 2022 +0100

    [ME007] Added logic to detect sensor at boot and during runtime

commit f17af404fee76bf63b30ed3c9d2175c4e01c03ca
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 12:32:19 2022 +0100

    [ME007] Added missing define into language files

commit 7a271abeca36139a43ef96bd461d46ba0c662901
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 12:19:23 2022 +0100

    [ME007] Improved snesor measuremnt function

commit fe42ebd1124e2246e4d7afd63c905c251e084b27
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 00:43:13 2022 +0100

    [ME007] Updated state maschine to trigger and receive sensor measurements

commit d137e6dec5104b4716428849d99c68bbf407ab42
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Wed Nov 30 20:35:31 2022 +0100

    [ME007] Added initial state maschine to trigger and receive sensor measurements

commit fc3da7b36849df162d9d5496a763ab2beb096aff
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Tue Nov 29 21:28:28 2022 +0100

    [ME007] Updated pin name

commit e9fa9fb771cf15dcd9ed8b63b9194154543ef10e
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Nov 28 22:02:34 2022 +0100

    [ME007] Fixed issue that sensor GPIOs not shown in drop-down list

commit a13e42660183eb4ab91007ca0ea6bf1544687556
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Nov 28 15:06:34 2022 +0100

    [ME007] Added sensor into supported feature list

commit dec17b59ce2905124386f8c90d81656bf104c844
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Nov 28 15:01:58 2022 +0100

    [ME007] Removed log message in Xsns23()

commit 11f479d2ec9d3f4e7552c2f78cdc83914c5b8b94
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Nov 28 10:47:55 2022 +0100

    [ME007] Added GPIOs to tasmota_template_legacy.h and berry

commit 23aec8e5ff4e9fb8ef7d3b01a707641accc1e01e
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Sun Nov 27 20:10:53 2022 +0100

    [ME007] Initial ME007 driver API setup

* [ME007] Reverted change in .gitignore and platform.ini

* [ME007] Removed dependency to stdlib.h

* [ME007] Adjusted unit to cm

* [ME007] Reverted change in tasmota_template_legacy.h

* [ME007] Changed sensor message tag to three characters

* [ME007] Disabled sensor in my_user_config.h

* [ME007] Added driver code size into commente

Co-authored-by: Mathias Buder <mathias_buder@bose.com>
2022-12-14 11:52:26 +01:00
Jason2866 c0b695432a
enable `ETHERNET` in more esp32 env (#17391) 2022-12-14 11:26:09 +01:00
stefanbode 2902c93b29
functionality upgrade (#17380)
* functionality update see below:

- added shutterxxx0 command to change all shutters in parallel. Similar to power0 command
- added flexible ShutterMotorstop time to control the time between one relay OFF and the next ON. Now not blocking anymore other operations
- fix recent bug "shuttermode x" not working anymore
- changed autoconfig behavior to avoid SHORT CIRCUIT on missing interlock setting or wrong shuttermode

* Adding motorstop time for shutters

* Adding motorstop command for shutters

* func update

- added shutterxxx0 command to change all shutters in parallel. Similar to power0 command
- added flexible ShutterMotorstop time to control the time between one relay OFF and the next ON. Now not blocking anymore other operations
- fix recent bug "shuttermode x" not working anymore
- changed autoconfig behavior to avoid SHORT CIRCUIT on missing interlock setting or wrong shuttermode

* typo fix

* regression fix on "shutterposition stopclose"

* fix mulithread timing issue
2022-12-14 11:25:41 +01:00
s-hadinger ce0a0d05a9
MQTT now uses Tasmota's DNS resolver instead of LWIP (#17387) 2022-12-13 21:46:20 +01:00
s-hadinger 0a57545e11
Berry tcpclient uses Tasmota resolver (#17386) 2022-12-13 21:41:20 +01:00
s-hadinger b1fca09ad2
Ping use ip_addr_t (#17385)
* Ping use ip_addr_t

* Fix non-IPv6 compilation
2022-12-13 21:41:12 +01:00
s-hadinger f429d41a32
Fix IPv6 compilation for ESP8266 (#17374) 2022-12-13 09:31:43 +01:00
s-hadinger 7e27945e5a
ESP32 fix ``Ping`` (#17373) 2022-12-12 23:07:14 +01:00
mnowa 370debc0e2
Update xsns_53_sml.ino
Maximum bytes count for binary modbus CRC calculation in relation to SML_BSIZ value
2022-12-12 16:13:04 +01:00
Theo Arends 630987302a Fix Analog MQ exception
Fix Analog MQ exception (#17271)
2022-12-12 10:57:21 +01:00
Stephan Hadinger bde58105d0 More universal way to force IPv4 2022-12-11 16:31:14 +01:00
Stephan Hadinger 1bdb542e50 Fix IPv4 DNS resolution when IPv6 is enabled 2022-12-11 16:24:14 +01:00
Theo Arends 062a2e3a7e Fix RtcNtpServer induced exception on ESP32
Fix RtcNtpServer induced exception on ESP32 (#17338)
2022-12-11 12:19:03 +01:00
Theo Arends 4f70f4d33e
Merge pull request #17342 from stefanbode/shutterdev
Code optimizatons
2022-12-11 10:49:04 +01:00
Tim Lunn 2d64a00d12 Add ST7789 135x240 display 2022-12-11 17:21:03 +11:00
stefanbode c20d789fde
Update support.ino 2022-12-10 23:54:09 +01:00
stefanbode c4bb3366a2
Update xdrv_27_shutter.ino 2022-12-10 23:52:53 +01:00
Stephan Hadinger 32bfd2a27b Berry refactor webclient POST/PUT/PATCH/DELETE 2022-12-10 18:58:42 +01:00
Theo Arends 41d79183f3 Delete xdrv_90_dingtian_relay.ino 2022-12-10 16:56:12 +01:00
Theo Arends 5e23d78bf2 Update credits 2022-12-10 16:55:04 +01:00
Stephan Hadinger 4a32623a51 IPv6 improvements 2022-12-10 13:44:16 +01:00
gemu2015 742302c53f Makerfabs esp32-s3 p16 ili9488 2022-12-10 07:20:37 +01:00
Theo Arends 1098ec2098
Merge pull request #17184 from fightforlife/development_eb3ble_retries
BLE eQ3 - allow to set retries at runtime
2022-12-09 10:55:18 +01:00
Theo Arends b06a511a44
Merge pull request #17182 from fightforlife/development_eb3ble_hassmode
BLE eQ3 - fix hassmode, idle no longer supported
2022-12-09 10:54:37 +01:00
gemu2015 561f6fd480 fix text escape 2022-12-09 09:32:14 +01:00
Stephan Hadinger 20c8348654 Fix compilation 2022-12-08 19:42:04 +01:00
Stephan Hadinger 2f1b2ec5fd IPv6 support for Ethernet (ESP32) 2022-12-08 19:06:51 +01:00
stefanbode d2472ef56f
Update xdrv_27_shutter.ino 2022-12-08 18:54:45 +01:00
stefanbode c98164a400
Update xdrv_27_shutter.ino 2022-12-08 18:36:17 +01:00
stefanbode 27bbec0d40
Update xdrv_27_shutter.ino 2022-12-08 18:08:12 +01:00
stefanbode 8320a944d8
removed index from shuttermode 2022-12-08 12:55:34 +01:00
gemu2015 a83c45e3ad fix regression from latest commit 2022-12-08 06:43:26 +01:00
barbudor 5916d72598 add missing closing brace 2022-12-07 19:01:17 +01:00
bovirus aa19bbf970
Update italian language
Please check and merge, Thanks.
2022-12-07 09:20:25 +01:00
gemu2015 237695de22 fix recursion 2022-12-07 08:52:13 +01:00
Barbudor 513d6239b3
Fix HMC5883 sensor json
Fix https://github.com/arendst/Tasmota/issues/17295
2022-12-06 20:07:18 +01:00
stefanbode 35475d9353
Avoid ghost switching in position 0 and 100
confirming the position and setting the tilt in 0 and 100% causes ghost switching of the relays. #16435
2022-12-06 16:27:34 +01:00
stefanbode 687e38f6b5
Fix #17282
fix reboot on "shutter" command
2022-12-06 09:27:51 +01:00
s-hadinger e7d40b8d11
Merge pull request #17270 from s-hadinger/berry_crypto_def
Berry crypto module, with AES_GCM by default and EC_CC25519 optional
2022-12-04 19:43:27 +01:00
Stephan Hadinger ec17440662 Berry crypto module, with AES_GCM by default and EC_CC25519 optional 2022-12-04 19:20:11 +01:00
Stephan Hadinger 70f73edf9e Fix type for BinaryInValue 2022-12-04 19:15:42 +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 a7eaca59e6
Merge pull request #17267 from stefanbode/patch-3
Fix rounding error on tiltmovement
2022-12-04 15:13:01 +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
stefanbode 496aeeff07
Fix rounding error on tiltmovement
fix #17191
2022-12-04 14:41:38 +01:00
stefanbode 9be44131b9
Support Setoption13 1 on shutters to immediate feedback 2022-12-04 13:25:20 +01:00
Theo Arends 5f8ef0c5cb Fix LD2410 bad reception detection 2022-12-04 12:37:50 +01:00
Theo Arends fca19401b7 Increase user input energy max values (#15856) 2022-12-04 12:25:17 +01:00
Theo Arends bb88034669 Fix LD2410 Hardware Watchdogs 2022-12-04 10:50:58 +01:00
Theo Arends 186aef0ad4
Merge pull request #17256 from gemu2015/scripter_fix
fix google chart
2022-12-04 08:25:32 +01:00
gemu2015 0015b5fc04 fix google chart 2022-12-04 08:16:21 +01:00
gemu2015 1aeee69c08 optional TRX enable 2022-12-04 07:47:21 +01:00
Theo Arends 25ab45288b
Merge pull request #17249 from kurkav/development
Invalid processing of received value.
2022-12-03 12:46:38 +01:00
Theo Arends bbde894628 Add serial Modbus transmit enable GPIOs
Add serial Modbus transmit enable GPIOs to all modbus energy drivers and modbus bridge (#17247)
2022-12-03 12:33:42 +01:00
kurkav 6da636d685 Invalid processing of received value.
Int64 value was read from Float buffer.
Also units received were Wh, struct needs kWh.
2022-12-03 11:54:30 +01:00
Theo Arends 816fd78fbb Fix LD2410 using HardwareSerial on ESP8266 2022-12-01 16:18:38 +01:00
Stephan Hadinger d3be3dfe8f IPv6 preview for ESP32, also working for ESP8266 2022-11-30 19:40:58 +01:00
Theo Arends 7fab7bbf36
Merge pull request #17224 from enseitankado/development
Update en_GB.h
2022-11-30 09:42:07 +01:00
stefanbode 3569927403
Update ZeroCross Dimmer calibration on physical measurement
Alligned with physical measurement of 1KW heating
2022-11-30 09:15:34 +01:00
Özgür Koca 7ea813c778
Update en_GB.h
Writing mistake fixed.
2022-11-30 03:09:46 +03:00
Theo Arends af9f83e7e4 Bump version v12.2.0.6 2022-11-29 11:11:39 +01:00
Theo Arends 143373b0d3 Reduce LD2410 Hardware Watchdogs 2022-11-29 10:51:56 +01:00
gemu2015 fcf12e1adb sml_obis_line software flag 2022-11-28 07:41:37 +01:00
Theo Arends a1ffd88819
Merge pull request #17201 from stefanbode/patch-1
Bugfix for Zero-Cross Power correction
2022-11-27 18:39:27 +01:00
Stephan Hadinger a0ed383840 Berry add module `mdns` 2022-11-27 18:08:53 +01:00
stefanbode 3446b0b78c
bugfix 2022-11-27 17:14:51 +01:00
stefanbode fe8229ea30
bugfix zero cross 2022-11-27 17:13:23 +01:00
Theo Arends 220a03f043 Add LD2410 debugging info 2022-11-27 12:11:48 +01:00
bovirus ac52f67c7e
Update italian language 2022-11-27 08:52:45 +01:00
Theo Arends 53563d44d8 Add support for HLK-LD2410 24GHz smart wave motion sensor
Add support for HLK-LD2410 24GHz smart wave motion sensor
2022-11-26 17:49:25 +01:00
Theo Arends 18453eec97 Add config commands to POC LD2410 2022-11-26 17:17:59 +01:00
Theo Arends 244e3ed010
Merge pull request #17186 from stefanbode/patch-1
Allow to maintain venetian tilt also on end-position 0 and 100
2022-11-26 16:19:22 +01:00
Theo Arends 30f64d3c42 POC HLK-LD2410 2022-11-26 10:52:42 +01:00
stefanbode 46b0584282
Allow to maintain venetian tilt also on end-position 0 and 100
Requested by user
2022-11-25 17:04:57 +01:00
Frederik 075140e3b7
fix valve is closed condition 2022-11-24 18:33:13 +01:00
Frederik 339b8a0b96 fix hassmode, idle no longer supported 2022-11-24 18:19:12 +01:00
Frederik 1c29be8749 remove hassmoda changes to create seperate PR 2022-11-24 18:15:43 +01:00
Frederik e3cddc4208 introduce configurable retries and change hassmode 2022-11-24 18:05:00 +01:00
Theo Arends 430396832f Fix thermostat ramp-off time
Fix thermostat ramp-off time (#16424)
2022-11-24 15:09:39 +01:00
Theo Arends a381da3a39 Revert GUI file accept 2022-11-24 14:47:26 +01:00
Theo Arends f0f1a85984
Merge pull request #17177 from stefanbode/patch-1
AC-Dimmer Power lookup table
2022-11-24 14:35:29 +01:00
Theo Arends dc93d310c9
Merge pull request #17163 from hallard/teleinfo_fix
Teleinfo Fix BBR and EJP detection
2022-11-24 14:29:04 +01:00
stefanbode fce966800f
bugfix in comment 2022-11-24 14:09:56 +01:00
stefanbode e3f0445a5d
fix duplicate line 2022-11-24 13:56:34 +01:00
stefanbode b5448535b2
Update dimmer loockup table 2022-11-24 10:51:58 +01:00
stefanbode 8bc46aa0d9
AC-Dimmer update
change to linear power distribution on PWM
2022-11-24 09:39:46 +01:00
stefanbode 7dd0003617
Update AC-Dimmer power calculation
Power on AC-Dimmer is based on integral over the sinus. Implement mapping table to get a more linear power behavior.
2022-11-24 09:37:07 +01:00
Stephan Hadinger 5c3df72675 Disable MQTT_HOST_DISCOVERY by default 2022-11-23 21:57:40 +01:00
Stephan Hadinger 87de264146 Improve mdns logging 2022-11-23 21:41:35 +01:00
Charles 9b37690039 Fix BBR and EJP detection in historique 2022-11-22 23:29:52 +01:00
Theo Arends a93a94666f Fix LD2410 labels 2022-11-22 12:35:30 +01:00
Theo Arends 215a6ce027
Merge pull request #17160 from hallard/teleinfo_histo
Teleinfo new TEMPO (BBR) contract
2022-11-22 09:11:07 +01:00
Charles 200221acc2 Added TEMPO and status register decoding for standard mode 2022-11-22 00:41:58 +01:00
Charles aa4ff5cede Added Tempo/BBR contract, fixed display BASE bug 2022-11-21 20:06:50 +01:00
barbudor 743c162499 Adding PUT, PATCH and DELETE to Berry webclient 2022-11-21 19:42:46 +01:00
Theo Arends 21290de9c4 Prep HLK-LD2410 2022-11-21 14:07:25 +01:00
Theo Arends 06b6e31cad
Merge pull request #17147 from joba-1/rgx-fix-wifimanager-handling
don't touch AP_STA mode only if Rgx is up
2022-11-21 10:33:19 +01:00
Theo Arends 40294e13fc Fix Serial Bridge Skip count 2022-11-21 10:32:13 +01:00
Stephan Hadinger d40c24d6d3 Berry ArtNet implementation 2022-11-20 22:04:30 +01:00
Stephan Hadinger e4bae0cca6 Moved to uint16_t 2022-11-20 18:32:37 +01:00
Stephan Hadinger 923ef8202e Zigbee plugin mul/div extended to 16 bits 2022-11-20 18:21:46 +01:00
joba-1 4b52be6a5e don't touch AP_STA mode only if Rgx is up 2022-11-20 16:28:59 +01:00
Theo Arends f9138984bf Add accept filename extensions to GUI
Add accept filename extensions to GUI file upload input fields (#16875)
2022-11-20 15:07:38 +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
s-hadinger 7d1e5cf487
Merge pull request #17143 from s-hadinger/zigbee_fiw_aqara_syn
Zigbee fix attribute not reported
2022-11-19 15:14:47 +01:00
Stephan Hadinger 16b34963d5 Fix identaiton 2022-11-19 15:01:01 +01:00
Theo Arends 425f83bf85 Update Serial Bridge code size 2022-11-19 14:59:36 +01:00
Stephan Hadinger 82df1a9152 Zigbee fix attribute not reported 2022-11-19 14:59:07 +01:00
joba-1 4844209a3b rgx add port forward with ip and "dry" refactoring 2022-11-19 12:47:53 +01:00
Theo Arends 5662a3965c
Merge pull request #17113 from joba-1/rgx-port-forward-for-esp8266-too
Rgx port forward for esp8266 too
2022-11-19 10:06:36 +01:00
Theo Arends 215db46966
Merge pull request #17136 from Staars/mi_disco
MI32 legacy: hide BLE sensors from discovery to do this in Berry
2022-11-19 10:05:53 +01:00
Anton 52faed8c08
Bugfix: RfSend command to support bits>32 for decimal command format 2022-11-19 01:40:24 -05:00
Christian Baars 7129c64048 hide sensors from discovery to do this in Berry 2022-11-18 20:46:42 +01:00
Theo Arends 783631903d Add user control over Serial Bridge buffers
- Add optional define ``SERIAL_BRIDGE_BUFFER_SIZE`` to set Serial Bridge internal buffer size (Default ESP8266 = 256, ESP32 = 800)
- Add command ``SSerialBuffer 256..SERIAL_BRIDGE_BUFFER_SIZE`` to change serial bridge rx buffer size (#17120)
2022-11-18 16:21:54 +01:00
Theo Arends 69f903618d Fix intermittent wifi AP starts 2022-11-18 14:31:49 +01:00
Theo Arends 0674f9b0b6 Add command ``SSerialBuffer 64..256``
Add command ``SSerialBuffer 64..256`` to change software serial bridge receive buffer size from default (64) to max local buffer size (256) (#17120)
2022-11-18 13:00:59 +01:00
Stephan Hadinger 7e9e7b8e3e Zigbee add default plugin in flash 2022-11-18 00:21:01 +01:00
Stephan Hadinger d1c71ca91b Fix Zigbee auto-responder frame direction 2022-11-18 00:04:54 +01:00
Stephan Hadinger c607a67024 Include Wemo SSDP presentationURL in Unishox 2022-11-17 20:26:00 +01:00
Theo Arends 619c5431d7 Add Wemo SSDP presentationURL
Add Wemo SSDP presentationURL for easy access using Windows Networks Other Device device double click (#17084)
As implemented only works when USE_UNISHOX_COMPRESSION is disabled.
2022-11-17 17:54:42 +01:00
Theo Arends 16b796ccd5 Fix emulation regression from ArtNet implementation 2022-11-17 17:30:44 +01:00
joba-1 ffac19855b
Merge branch 'arendst:development' into rgx-port-forward-for-esp8266-too 2022-11-17 16:53:35 +01:00
Theo Arends 9e65dd51e9
Merge pull request #17114 from curzon01/modbus
Fix generic modbus single phase register output
2022-11-17 15:21:36 +01:00
Norbert Richter 0cd97d3890
Fix generic modbus single phase register output 2022-11-17 15:14:28 +01:00
Theo Arends d1c7ee882b Reset energy today at midnight (#16791) 2022-11-17 14:58:16 +01:00
Theo Arends d4bfd88256
Merge pull request #17112 from curzon01/DS18x20_ESP32_parasite_power
Add DS18x20 parasitic power usage on ESP32
2022-11-17 12:42:25 +01:00
joba-1 2df095d57a
Merge branch 'arendst:development' into rgx-port-forward-for-esp8266-too 2022-11-17 12:40:10 +01:00
Norbert Richter b149da46c6
Add DS18x20 parasitic power usage on ESP32 2022-11-17 12:24:11 +01:00
Theo Arends acca26f9cd
Merge pull request #17108 from curzon01/patch1
Fix linker error using #undef USE_WS2812 for ESP32
2022-11-17 12:06:36 +01:00
Theo Arends 34ededb9d8 Add comment for future use 2022-11-17 12:01:09 +01:00
Theo Arends 91953e2658
Merge pull request #17103 from joba-1/rgx-preserve-ap-connections-on-sta-reconnect
preserve AP connections if STA side reconnects
2022-11-17 11:50:26 +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
Norbert Richter be7581b377
Fix linker error using undef USE_WS2812 for ESP32 2022-11-17 11:13:40 +01:00
joba-1 b1ebda8524 Range extender port forwarding also for ESP8266 2022-11-16 23:51:54 +01:00
Stephan Hadinger 7344fd54dc Fix ArtNet crash 2022-11-16 21:24:57 +01:00
joba-1 552c44425b
Merge branch 'arendst:development' into rgx-preserve-ap-connections-on-sta-reconnect 2022-11-16 19:41:59 +01:00
Stephan Hadinger 5f0b92568e Add ArtNet to Tasmota32 precompiled 2022-11-16 18:41:07 +01:00
joba-1 4eb0bf80dc preserve AP connections if STA side reconnects 2022-11-16 17:28:03 +01:00
Theo Arends f044ccdeec Remove commands ArtNetStop and ArtNetStart 2022-11-16 16:26:12 +01:00
Theo Arends a0e7191d4e Add command ArtNet
- Fix ArtNetStop
2022-11-16 16:15:31 +01:00
Theo Arends 56a71c3ca9
Merge pull request #17092 from joba-1/rgx-portmap
add command RgxPort to setup port forwarding
2022-11-16 14:17:55 +01:00
s-hadinger 0f5a7e4a77
Merge pull request #17096 from s-hadinger/zigbee_doc
Zigbee doc
2022-11-16 14:03:21 +01:00
Stephan Hadinger 56e06b7fc5 Fix command name bug 2022-11-16 13:45:59 +01:00
Stephan Hadinger a26e634408 Doc is off by default 2022-11-16 13:44:06 +01:00
Stephan Hadinger 0b18c60ba2 Zigbee ZbProbe for unknown devices and doc helper 2022-11-16 13:43:36 +01:00
Theo Arends 229c2cce06 Revert Art-Net to ArtNet 2022-11-16 10:55:56 +01:00
Theo Arends b92d5ab12c Fix ArtNet compilation on ESP32 2022-11-16 10:47:55 +01:00
joba-1 8af22a1904 remove unneeded return 2022-11-15 20:12:07 +01:00
joba-1 e468cf53ee add command RgxPort to setup port forwarding 2022-11-15 18:53:38 +01:00
Theo Arends 5f3d504c30 Add support for HMC5883L
Add support for HMC5883L 3-Axis Digital Compass sensor by Andreas Achtzehn (#17069)
2022-11-15 11:11:32 +01:00
Theo Arends 5e61ee6086
Merge pull request #17069 from AndreasAchtzehn/pr-hmc5883l
Support for I2C device HMC5883L (3-axis magnetic sensor)
2022-11-15 10:38:30 +01:00
Theo Arends e88d1682e9 Add command ``SwitchMode 16``
Add command ``SwitchMode 16`` sending only MQTT message on inverted switch change (#17028)
2022-11-15 10:10:29 +01:00
Theo Arends 79c1bd2ae8
Merge branch 'development' into zigbee_aqara_plug 2022-11-15 09:27:40 +01:00
Theo Arends c7543ff963
Merge pull request #17076 from joba-1/rgx-esp8266
add RgxClients for ESP8266
2022-11-15 09:21:14 +01:00
joba-1 4f343fd7b7 add RgxClients for ESP8266 2022-11-14 23:56:38 +01:00
Stephan Hadinger d2d384dc72 Zigbee improved Aqara plug support and completed cluster 0x0702 2022-11-14 22:46:08 +01:00
Andreas Achtzehn 20d9975d6f Support for I2C device HMC5883L (3-axis magnetic sensor) 2022-11-14 20:20:04 +01:00
Cyril Pawelko 62c3a92ae7
Zigbee plugin to fix Moes-Tuya KCTW1Z Humidity
For device
Should work with TS0201:_TZ3000_itnrsufe , regarding https://zigbee.blakadder.com/Tuya_KCTW1Z.html
2022-11-14 18:42:57 +01:00
Theo Arends 5b1aff5141 Add RTC logging to energy 2022-11-14 17:11:38 +01:00
Theo Arends c92d51f050 Rename ArtNet to Art-Net 2022-11-14 14:20:41 +01:00
Theo Arends c63aad49c1
Merge pull request #17048 from joba-1/range-extender-clients-list
Range extender clients list
2022-11-14 13:55:30 +01:00
joba-1 aad82c027f change rgx client mac format in list as requested 2022-11-14 13:02:04 +01:00
joba-1 f48e86f0c7 ap sta list header esp_wifi.h is ESP32 only 2022-11-14 02:25:24 +01:00
joba-1 cc6f8840f9 add rssi for each entry of RgxClients list 2022-11-14 01:47:00 +01:00
joba-1 912574f8d7 unconditional RgxClients, ip dict with mac as key 2022-11-14 01:18:32 +01:00
Stephan Hadinger 2549203c13 Added WS2812 and Light ArtNet DMX control over UDP port 6454 2022-11-13 18:22:39 +01:00
s-hadinger 6846bee84d
Merge pull request #17056 from s-hadinger/leds_fix_setbytes
Fix to Leds set_bytes, and added persistance to ArtNet Berry
2022-11-13 18:20:53 +01:00
Stephan Hadinger 0e5f79da9c Fix to Leds set_bytes, and added persistance to ArtNet Berry 2022-11-13 18:05:13 +01:00
Stephan Hadinger 0cfa2aba74 WS2812 sends signal to only ``Pixels`` leds instead of sending to 512 leds 2022-11-13 18:00:49 +01:00
Theo Arends b2239b4dce Disable TUYA_MORE_DEBUG 2022-11-13 15:15:10 +01:00
Theo Arends 13c27194ec TuyaMcu rewrite by btsimonh (#17051) 2022-11-13 12:55:18 +01:00
joba-1 172ea9a80d add RgxClients command for range extenders 2022-11-12 23:15:57 +01:00
Theo Arends 4e5193fdad Remove SkipSleep() in favour of FUNC_SLEEP_LOOP 2022-11-12 15:57:46 +01:00
Theo Arends b0dbe32f22 Fix serial bridge tee not wanted resolve 2022-11-12 15:03:42 +01:00
Theo Arends 50b0a983b2 Add uart info 2022-11-11 16:10:39 +01:00
Theo Arends 9b64c4eb4c Refactor some logging 2022-11-11 14:34:58 +01:00
Theo Arends 9ef0f2aa09 Consolidate AddLogBuffer 2022-11-11 11:47:11 +01:00
Stephan Hadinger 0628d2f1a5 Use `XdrvXsnsCall` 2022-11-11 11:34:32 +01:00
Stephan Hadinger 3731894486 Added ``FUNC_NETWORK_UP`` and ``FUNC_NETWORK_DOWN`` events 2022-11-11 11:15:05 +01:00
Theo Arends c1ea8953cb Refactor uint8_t to uint32_t 2022-11-11 10:44:56 +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 b7f6a7b00a Clean up logging functions 2022-11-11 09:30:31 +01:00
bovirus c5963d6f27
Update italian language 2022-11-10 21:27:42 +01:00
Theo Arends 986a9d10ae Refactor serial raw data representation 2022-11-10 16:02:00 +01:00
Theo Arends e83882b655 Update changelogs 2022-11-10 13:54:05 +01:00
Theo Arends 0033766b93
Merge pull request #17033 from thomashargrove/s8
Fix for error on first command sent to S8 module
2022-11-10 09:50:15 +01:00
Theo Arends 41e44d0f9f
Merge pull request #16971 from thomashargrove/pmsx003t
Add support for Plantower PMSx003T AQI models with temperature and humidity
2022-11-10 09:42:28 +01:00
Theo Arends 7c6962cfef
Merge pull request #17032 from barbudor/dingtian_driver
Dingtian relay board driver
2022-11-10 09:18:22 +01:00
Thomas Hargrove b5ce17112f
Fix for error on first command sent to S8 module 2022-11-09 15:33:16 -08:00
barbudor 41c4af7dfe change mqtt DINGTIAN_CHG to STAT 2022-11-09 22:01:01 +01:00
Theo Arends dd1586fbfc Bump version to v12.2.0.4
- Reverted Flash Mode back from ``DIO`` to ``DOUT`` for ESP8266/ESP8285 (#17019)
2022-11-09 12:19:33 +01:00
Theo Arends 67c4b1be1f Fix VL53L1X compilation 2022-11-08 18:08:45 +01:00
Theo Arends 381bfbf5bd Redesign distance sensors VL53LXX, TOF10120, HRXL and DYP
Redesign distance sensors VL53LXX, TOF10120, HRXL and DYP to use cm instead of mm (#17021)
2022-11-08 16:59:46 +01:00
Theo Arends 64ed79debc Make distance floats with one decimal (#17021) 2022-11-08 16:16:15 +01:00
Theo Arends 05b43fb143 Redesign distance sensors HRXL and DYP
Redesign distance sensors HRXL and DYP to use cm instead of mm (#17021)
2022-11-08 15:27:40 +01:00
Theo Arends c14e50820b
Merge pull request #17003 from pkkrusty/patch-5
Add options to display section
2022-11-08 10:12:48 +01:00
Barbudor 83a07895f9 take care of Relay1 is not 1st power 2022-11-07 23:27:16 +01:00
Barbudor b03476ff6f Merge branch 'development' into dingtian_driver 2022-11-07 22:33:35 +01:00
pkkrusty 6c2cecf294
Fixed comment spacing 2022-11-07 12:03:36 -08:00
Theo Arends e8f24fdb6c Update ESP8285 processor detection 2022-11-07 15:02:03 +01:00
Theo Arends 7698178b90 Update ESP8285 device detection 2022-11-07 15:00:47 +01:00
Theo Arends 4ebd7a9cd3 Update ESP32 processor detection 2022-11-07 12:46:24 +01:00
Theo Arends 1c47744eeb Clean up 2022-11-07 11:56:27 +01:00
Theo Arends 18ec24b86b
Merge pull request #17016 from reimerp/deepsleepfix
fix for deepsleep first calculation #13955
2022-11-07 11:54:10 +01:00
Theo Arends a469b35f02 Bump version to v12.2.0.3 2022-11-07 11:06:17 +01:00
Theo Arends 45b48811af
Merge pull request #17011 from Cossid/bp1658cj
Add support for BP1658CJ LED Driver
2022-11-07 10:46:33 +01:00
Reimer Prochnow 479b8f4015 fix for #13955
Signed-off-by: Reimer Prochnow <reimer-github@ideenhal.de>
2022-11-06 18:38:40 +01:00
Theo Arends 8f920220db Fis default sserialconfig on new installs 2022-11-06 17:41:53 +01:00
Cossid 1e2e5c308c BP1658CJ - Add missing language translation for ca_AD. 2022-11-06 09:26:37 -06:00
Cossid 79928150cb BP1658CJ - Remove debugging define. 2022-11-06 09:18:52 -06:00
Cossid a600403d65
Merge branch 'arendst:development' into bp1658cj 2022-11-06 09:14:47 -06:00
Cossid 0e32763a4e BP1658CJ - Add support for BP1658CJ RGBCW led driver control as used in Orein OS0100411267 Bulb 2022-11-06 09:14:03 -06:00
Norbert Richter 050f2e7e61
Fix ModbusBridge buffer overflow (#16979) 2022-11-06 12:32:30 +01:00
Norbert Richter f76bed338b
Localize ModbusBridge global func/var names 2022-11-06 12:32:30 +01:00
Norbert Richter 31516f2d34
Add ModbusBridge malloc error notes 2022-11-06 12:32:30 +01:00
Theo Arends a69032d2a1
Merge pull request #16982 from hrandib/development
Add TM1637 driver written in Berry
2022-11-06 12:26:54 +01:00
pkkrusty 4bb9b86149
Add options to display section
Section was missing a few defines, and cleaned up the formatting.
2022-11-05 15:38:07 -07:00
s-hadinger d0cd3d3778
Merge pull request #16990 from s-hadinger/artnet_optimization
ESP32 DMX ArtNet optimization to avoid any object allocation and avoid garbage collector pauses
2022-11-03 22:18:18 +01:00
Stephan Hadinger e7ac249f8f Berry reduce detailed GC logs 2022-11-03 22:01:24 +01:00
Stephan Hadinger a5e7917704 ESP32 DMX ArtNet optimization to avoid any object allocation and avoid garbage collector pauses 2022-11-03 21:54:21 +01:00
Theo Arends 1caffb353c Add more SO47 info 2022-11-03 17:50:47 +01:00
Theo Arends 4e9cfc7629 Add command ``SetOption47 1..255``
Add command ``SetOption47 1..255`` to delay power on relay state in seconds reducing power surge
2022-11-03 17:26:54 +01:00
Dmytro Shestakov f3b6cd1d73 Add TM1637 driver written in Berry
It allows to use this type of display in addition to any standard
Tasmota display simultaneously
2022-11-03 10:25:14 +02:00
Stephan Hadinger b2e9001ca2 Support for DMX ArtNet Led matrix animations 2022-11-02 22:37:53 +01:00
Theo Arends 0632377192 Fix serial initialization
Fix serial initialization for baudrate and config (#16970)
2022-11-02 11:24:24 +01:00
Theo Arends da65c8798b Shelly Pro better light show 2022-11-01 17:19:42 +01:00
Thomas Hargrove 644f9da9af
Change define name to be more consistent with existing defines 2022-10-31 13:41:37 -07:00
Thomas Hargrove 2d3b5c5a76
Add comment to endif 2022-10-31 10:58:13 -07:00
Thomas Hargrove 0e5592fbff
Add support for PMSx003T modules that have temperature+humidity 2022-10-31 10:56:26 -07:00
md5sum-as a3391ddc2b Fixed a compilation error: added conditional compilation 2022-10-31 19:07:03 +03:00
md5sum-as ad484ad194 Saving the PN532 password and PACK in Settings 2022-10-31 18:37:46 +03:00
Theo Arends e9d99a088b Fix hardware watchdog at power on 2022-10-31 15:02:29 +01:00
Theo Arends 9db8a23401 Fix Shelly Pro detection when using buttons (#16733) 2022-10-31 14:01:15 +01:00
Theo Arends 817819e603 Add PN532 persistent slots (#16939) 2022-10-31 13:38:26 +01:00
s-hadinger 3f65ba4d4b
Merge pull request #16961 from Staars/ulp-riscv
Berry: Expose the ULP on ESP32S2 and ESP32S3 (RISCV version)
2022-10-31 10:22:09 +01:00
Theo Arends 214b3b2680
Merge pull request #16939 from md5sum-as/operate_16_bytes
xsns_40_pn532.ino small refactoring and add support for NTAG2xx tags
2022-10-31 09:49:27 +01:00
Christian Baars 87b403f10d
support RISCV ULP for ESP32S2 and ESP32S3 2022-10-30 18:40:32 +01:00
md5sum-as f1f8d27079 Added prefix to all functions 2022-10-30 20:09:52 +03:00
Theo Arends 7167eb2f46 Changed ADE7953 monitoring
Changed ADE7953 monitoring from instant power to accumulated energy (#16941)
2022-10-30 12:20:56 +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
bovirus 5711fe65a2
Update italian language 2022-10-30 10:17:01 +01:00
barbudor f861e8330a dingtian driver take 1 2022-10-29 21:38:22 +02:00
Christian Baars 1378d57377 allow webcam to reuse and share I2C bus 2 2022-10-29 20:13:00 +02:00
Theo Arends 314dbf5e6b Add support for second energy channel calibration 2022-10-29 19:08:06 +02:00
Theo Arends 644761e22b
Merge pull request #16938 from eeak/dali
DALI support for Tasmota
2022-10-29 15:29:25 +02:00
eeak 06350618b7 cleanup tasmota_template.h 2022-10-29 16:12:10 +03:00
eeak 4e98cbb387 moved D_CMND_xx to i18n.h 2022-10-29 16:09:09 +03:00
Theo Arends 5791645788
Merge pull request #16934 from barkow/development
Support SML modbus read coil messages
2022-10-29 14:30:21 +02:00
Theo Arends 2c114d3243
Merge pull request #16914 from cybermaus/Deduplicate-and-fix-%timerN%
Deduplicate and fix %timer n%
2022-10-29 14:21:41 +02:00
Theo Arends 8863d758e6
Merge pull request #16928 from hallard/tic_standard
Teleinfo standard mode bug fixes
2022-10-29 14:19:21 +02:00
eeak 6c0e38e38d Data struct rebuilded. Thanks barbudor for help 2022-10-29 12:50:41 +03:00
eeak 404db7965e Timer number is now declared in my_user_config.h 2022-10-28 21:57:40 +03:00
eeak 76c5be7634 Packed global variables into a struct 2022-10-28 20:16:45 +03:00
eeak c1c0b25c17 Clean up some comments and little refactor 2022-10-28 19:47:55 +03:00
eeak 1bf69fd310 dali 2022-10-28 17:08:02 +03:00
md5sum-as 25079bb86b Ready for PR 2022-10-28 01:26:24 +03:00
md5sum-as d152199aee Edit formats 2022-10-28 01:24:22 +03:00
md5sum-as 0d22a16240 Disable in default config 2022-10-28 01:13:27 +03:00
md5sum-as 116affb2fa 16 bytes operational 2022-10-28 01:12:33 +03:00
barkow 3cccdd9c4f
Change modbus rx message length check
Start evaluating messages already after message length information byte is received. Necessary to support read coil status messages.
2022-10-27 21:46:07 +02:00
md5sum-as b877c174b1 Ready fo test (32 bytes) 2022-10-27 19:23:11 +03:00
Theo Arends 90a9ebc3e1 Fix Shelly Pro ethernet stability 2022-10-27 17:52:44 +02:00
Charles 09b02b3325 standard mode bug fixes
Increase serial buffer size for standard mode
trimmed values for standard mode
fix (hopefully) negative total kWh counter
save energy on reset
update energy total every hour
fixed contract label display for Standard mode
2022-10-27 14:16:37 +02:00
md5sum-as cc7936bd7e Add password operations 2022-10-27 00:48:22 +03:00
md5sum-as 97230fe456 Removed the duplicated functionality 2022-10-26 19:21:50 +03: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 c5f7195d77 Add support for Shelly Pro 1/1PM and 2/2PM (#16773) 2022-10-26 17:16:36 +02:00
Theo Arends 0d45590ac4 Fix Shelly Pro led functionality 2022-10-26 12:45:06 +02:00
md5sum-as 0887ec31f5 Reduced 16 bytes 2022-10-26 01:29:10 +03:00
md5sum-as 9534838c19 renamed the commands Sensor40, increased recording to 32, stage 2 2022-10-26 00:56:44 +03:00
md5sum-as 0487cf9eaa renamed the commands Sensor40, increased recording to 32 2022-10-26 00:50:07 +03:00
md5sum-as 37df680a80 Refactoring mifare classic, stage 3 2022-10-26 00:15:04 +03:00
cybermaus a47f6baf2f
Deduplicate xdrv_09_timers.ino also
Turns out even TimerGetTimeOfDay was duplicate code from ApplyTimerOffsets
Did add a fix for the permanent day/night situation
2022-10-25 22:39:30 +02:00
cybermaus 0eebdf8620
Deduplicate code from xdrv_10_rules.ino
Turns out this code was already done in xdrv_09_timers.ino
2022-10-25 22:34:08 +02:00
md5sum-as b35479559d Delete #define USE_PN532_DATA_RAW 2022-10-25 23:15:58 +03:00
md5sum-as 3e3dfa35d3 refactoring mifare classic stage 2 2022-10-25 23:14:27 +03:00
md5sum-as 5db8fcd0d0 refactoring mifare classic 2022-10-25 22:38:59 +03:00
md5sum-as c10f53eb4e
Merge branch 'arendst:development' into development 2022-10-25 20:19:50 +03:00
md5sum-as b419e69759 Defines 2022-10-25 20:18:31 +03:00
md5sum-as e7600ac83a Add support NTAG21x and NTAG20x cards.
NTAG21x support password authentication
2022-10-25 20:16:23 +03:00
s-hadinger 07d07b896c
Merge pull request #16911 from s-hadinger/berry_gpio_fix
Fix Berry `gpio.INPUT` conflict
2022-10-25 12:07:33 +02:00
Stephan Hadinger 549f13f7a8 Fix Berry `gpio.INPUT` conflict 2022-10-25 11:49:39 +02:00
Stephan Hadinger 2bf7ea1154 Prepare for DMX Artnet support on ESP32 2022-10-24 23:05:23 +02:00
Theo Arends d173b93758 Fix shelly pro button double press 2022-10-24 12:21:25 +02:00
Theo Arends b4269d262c Add support for Shelly Pro 1/2
Add support for Shelly Pro 1/2 (#16773)
2022-10-24 11:32:10 +02:00
s-hadinger c0c8f922c3
Merge pull request #16891 from s-hadinger/fix_display_calibrate
Fix DisplayCalibrate
2022-10-23 18:47:54 +02:00
Stephan Hadinger 2692ef4486 Fix DisplayCalibrate 2022-10-23 18:47:04 +02:00
Norbert 9192e529a6
Fix typo 2022-10-23 18:21:12 +02:00
Charles cd44b262b8 fix current tariff display in standard mode 2022-10-22 16:04:47 +02:00
Charles a982c560dc fix contract in standard mode 2022-10-22 15:51:12 +02:00
barbudor 90eb8e0c70 allow DHT_MAX_SENSORS to be overridden 2022-10-21 21:25:57 +02:00
Theo Arends e347665148 Add 2 CSs 2022-10-21 15:10:21 +02:00
Theo Arends 47456a54ee Prep ADE7953 using SPI 2022-10-21 15:06:52 +02:00
Theo Arends 549e6d9c18 Add USE_SHIFT595 to tasmota32.bin 2022-10-21 13:40:01 +02:00
Norbert Richter b4dfd87912
Update NeoPool register desc 2022-10-19 10:46:08 +02:00
Norbert Richter 2fa0a6edf3
Add MBV_TIMER_OFFMB_TIMER_ENABLE countdown keys 2022-10-19 10:46:08 +02:00
Norbert Richter 3fb19a633a
Rework register const 2022-10-19 10:46:08 +02:00
Norbert Richter 720b3f7c9b
Change json unlocalized 2022-10-19 10:46:08 +02:00
Norbert Richter 1e2f2385b8
Add filtration toggle 2022-10-19 10:46:07 +02:00
Theo Arends 100e95f2cf Update xdrv_02_9_mqtt.ino 2022-10-19 10:44:08 +02:00
Theo Arends f5621b786d
Merge pull request #16858 from Staars/webcam_widget
MI32 legacy: add webcam widget to dashboard
2022-10-18 19:58:12 +02:00
Christian Baars 970f85037b add webcam widget to dashboard 2022-10-18 19:27:24 +02:00
Theo Arends 2104256b74 Add DS18x20 support on up to four GPIOs
Add DS18x20 support on up to four GPIOs by md5sum-as (#16833)
2022-10-18 16:36:45 +02:00
Theo Arends df24aef75c
Merge pull request #16833 from md5sum-as/development
Adding support multiple GPIO for DS18x20 sensors. Aliases of DS18x20 optimization.
2022-10-18 15:40:32 +02:00
Stephan Hadinger f87324f874 LVGL fix get text 2022-10-18 09:55:08 +02:00
Christian Karsch 4ba3b58ea8
Added stop-condition before start-condition
Bp5758d does not support repeated-start-condition.
Therefore it overwrite the next register ('current range setup' of red-channel)

A stop-condition is always needed before next start-condition
2022-10-17 21:01:25 +02:00
Theo Arends a9ba035474 refactor NTP fraction 2022-10-17 17:59:18 +02:00
Leon Poon 18fdc4a176 support nanos in rtc for sync from ntp
so that all tm1637 6-digit clocks tick simultaneously at real second boundary.
2022-10-17 21:45:29 +08:00
Theo Arends f998a457db Disable SspmPowerOnState for v1.0.0 main 2022-10-17 15:41:46 +02:00
Theo Arends 065396ff73 Bump version v12.2.0.1 2022-10-17 11:25:22 +02:00
Stephan Hadinger eb3de9c73a Support for Flash size 32/64/128 MB in Partition Wizard and auto-resize 2022-10-16 18:32:46 +02:00
Theo Arends 2cda2e2ce7
Merge pull request #16816 from Jason2866/webcam
rm Domoticz / ad Counter in `env: webcam`
2022-10-16 15:05:10 +02:00
Theo Arends f07a90bd4a
Merge pull request #16837 from barbudor/ina219_any_shunt_value
INA219 enhancement : any shunt value
2022-10-16 15:04:34 +02:00
Theo Arends 411a7f0788 Update xdrv_86_esp32_sonoff_spm.ino 2022-10-16 15:03:05 +02:00
Theo Arends 480fae6804 Add command ``SspmPowerOnState<relay> 0|1|2``
Add command ``SspmPowerOnState<relay> 0|1|2`` to set Sonoff SPM 4Relay module v1.2.0 power on state overruling tasmota  global power on state. 0 = Off, 1 = On, 2 = Saved state (#13447)
2022-10-16 12:57:17 +02:00
s-hadinger 0bd57a3787
Merge pull request #16838 from s-hadinger/resize_fr_bootcount_0
Resize FS to max at initial boot
2022-10-16 12:38:45 +02:00
Stephan Hadinger 5e03066883 Resize FS to max at initial boot 2022-10-16 11:49:30 +02:00
Barbudor 2921832912 spacing 2022-10-16 00:21:30 +02:00
Barbudor 8742770fb4 take 1 2022-10-16 00:03:07 +02:00
md5sum-as 1f8012482e Fix compilation error 2022-10-15 19:27:06 +03:00
md5sum-as fa649ec174 naming optimization 2022-10-15 19:05:35 +03:00
md5sum-as c7404049eb
Merge branch 'arendst:development' into development 2022-10-15 19:02:12 +03:00
md5sum-as d4f3bc732b ESP32 don't support dual pin mode 2022-10-15 18:57:29 +03:00
md5sum-as 4b2181482f Ready for test on esp8266 and esp32 2022-10-15 18:40:17 +03:00
md5sum-as c4ba1457a1 Ready for test on esp8266 and esp32 2022-10-15 18:39:37 +03:00
md5sum-as 61027810fa Ready for test on esp8266 and esp32 2022-10-15 18:38:47 +03:00
Jason2866 e1af7ba12a `USE_LIGHT` needed for flashlight 2022-10-15 16:26:02 +02:00
Theo Arends 90d6b7572d
Merge pull request #16822 from christiankarsch/development
[BP5758D] Fix Sleep
2022-10-15 14:38:34 +02:00
Theo Arends 169e65a922 Add ESP32 non-persistent phy selection 2022-10-15 14:33:21 +02:00
md5sum-as 5c9c7f2e26 Ready for test esp8266 2022-10-15 14:58:23 +03:00
md5sum-as 8c81ee7487 Ready for test esp8266 2022-10-15 14:52:45 +03:00
md5sum-as 59c7488e70 Corrections based on sensor sorting 2022-10-15 14:25:43 +03:00
md5sum-as d8a3560497 Ready fo tests 2022-10-15 12:06:07 +03:00
Christian Karsch ee55903e0d
[BP5758D] Fix Sleep
If all channels are set to 0, disable all channels on the driver and then set the driver into sleep-mode
Otherwise wake up the driver when it is sleeping and active all channels
2022-10-14 23:37:30 +02:00
md5sum-as eccccdad37
Merge branch 'arendst:development' into development 2022-10-15 00:00:23 +03:00
md5sum-as 1cdbb980f1 Add support DS18x20_MULTI_GPIOs for esp8266 2022-10-14 23:58:53 +03:00
Stephan Hadinger 6783a90ccc Add bootcount 2022-10-14 17:31:15 +02:00
Stephan Hadinger 65672b62ae Berry add access to `restart_flag` 2022-10-14 17:14:35 +02:00
Jason2866 8d59dd800f
rm Domoticz / ad Counter 2022-10-14 15:32:57 +02:00
Theo Arends 2456280139
Merge pull request #16810 from barbudor/fix_script_topic
get correct topic var
2022-10-14 15:02:51 +02:00
Theo Arends 2dec4ac057 Add clock change execution to webcam 2022-10-14 13:54:37 +02:00
barbudor a0de32e67d get correct topic var 2022-10-13 21:27:06 +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 3dd32a1ebd Update xdrv_10_rules.ino 2022-10-13 17:13:19 +02:00
Theo Arends 799dea913a
Merge pull request #16807 from cybermaus/Make-%timerN%-solar-aware
Fix %timerN% rule variables for SunRise/Sunset timers
2022-10-13 17:06:43 +02:00
Theo Arends 5e2eb016a5
Merge pull request #16806 from Jason2866/webcam_fix
abort webcam if no pin config
2022-10-13 15:57:50 +02:00
Theo Arends d307be0cf6 Refactor ADE7953 2022-10-13 15:48:23 +02:00
cybermaus deaba8471d
Update xdrv_10_rules.ino
Enhance %timerN% rule variables to also work for timers with SunRise/SunSet configuration
2022-10-13 14:59:51 +02:00
Theo Arends bf644d8052 Add Export Active report to Shelly EM (#16794) 2022-10-13 14:32:35 +02:00
Theo Arends cf5169b3ae Restore Shelly 2.5 low reactive power channels 2022-10-13 12:58:59 +02:00
Jason2866 7e12fbbb6d
abort webcam if no pin config
avoids crashing if no valid config is provided
2022-10-13 11:54:27 +02:00
Theo Arends 4471868580 Fix Shelly 2.5 low reactive power channels 2022-10-13 09:42:42 +02:00
Theo Arends 0768f5bc4f Clean up debugging 2022-10-12 17:18:27 +02:00
Theo Arends a856275c48 Fix ADE7953 VAr no load detection 2022-10-12 16:31:51 +02:00
Theo Arends 6202211c31 Fix Shelly EM polarity (#16486) 2022-10-12 15:46:33 +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 2f1eea2eaf Add more docu to energy modbus driver 2022-10-11 18:39:48 +02:00
Theo Arends 186566226b Remove debug from energy modbus 2022-10-11 11:15:25 +02:00
Theo Arends 0085e02a5b Fix possible buffer overflows with exception 2022-10-11 11:12:54 +02:00
Theo Arends 3c7a5ebfd3 Fix possible buffer overflows with exception 2022-10-11 11:10:47 +02:00
Theo Arends 7e67f33d76
Merge pull request #16786 from barbudor/ina3221
INA3221 3-channel DC voltage and current sensor
2022-10-11 09:59:54 +02:00
Barbudor 2105b318d2 saving 48 code bytes 2022-10-10 22:05:50 +02:00
Barbudor cd44be8a1f add code usage 2022-10-10 21:24:20 +02:00
Barbudor b63d925cf0 log clean up 2022-10-10 21:18:41 +02:00
Theo Arends ba1bf81764 Enlarge USB Serial RxBuffer from 256 to 800 2022-10-10 16:39:31 +02:00
Theo Arends 61113e6918 Fix serial on ESP32C3/S2/S3 using USB console 2022-10-10 14:21:25 +02:00
Theo Arends f505f7a034
Merge pull request #16762 from StoyanDimitrov/patch-1
Update bg_BG.h
2022-10-10 10:20:45 +02:00
s-hadinger b2f1cc2c55
Merge pull request #16778 from s-hadinger/zigbee_plugin_optim
Zigbee plugin optimize memory
2022-10-09 22:03:31 +02:00
Stephan Hadinger 8432ab1aec Zigbee plugin optimize memory 2022-10-09 21:52:56 +02:00
Barbudor 5f6d0f8310 Merge branch 'development' into ina3221 2022-10-09 20:02:27 +02:00
Barbudor fb6f7515eb my_user_config.h 2022-10-09 20:00:34 +02:00
Barbudor 5967d15320 Index should start at 1 + JSON array 2022-10-09 19:32:54 +02:00
Barbudor 746b5389be driver ina3221, take 1 2022-10-09 19:11:43 +02:00
Theo Arends 3c258f4e31 Try to fix energy modbus warchdogs 2022-10-09 18:38:30 +02:00
s-hadinger 058432c641
Merge pull request #16772 from sfromis/Epoch-in-Berry-time-map
Epoch in Berry time map
2022-10-09 18:21:43 +02:00
Theo Arends 98ae77037d Merge branch 'development' of https://github.com/arendst/Tasmota into development 2022-10-09 17:59:30 +02:00
Theo Arends 2d15697de4 Increase serial console fixed input buffer size from 520 to 800 2022-10-09 17:59:27 +02:00
sfromis 409c9888dd
Epoch in Berry map for time
Uses mktime to calculate the epoch value from the broken-down time structure, could potentially be tuned if deemed too inefficient in case of the caller already having the epoch value nearby.
2022-10-09 16:09:29 +02:00