Commit Graph

7751 Commits

Author SHA1 Message Date
Theo Arends d9be488885 Update comments 2022-12-29 16:10:41 +01:00
Theo Arends 4ee6aee35e Fix ESP8266 relay power on spikes
Fix ESP8266 set GPIO's to input on power on fixing relay spikes (#17531)
2022-12-29 14:46:34 +01:00
Theo Arends ff3d90c36d Fix teleperiod PUSH_IGNORE_INV
Fix teleperiod PUSH_IGNORE_INV (#17028)
2022-12-29 14:02:48 +01:00
Theo Arends 31a53148c6 Add NRG modbus features
- User JSON name needs to be different from embedded register names
- If no user GUI name is given it will only show in JSON
2022-12-28 17:45:13 +01:00
Theo Arends 35b4bfcb3f Fix initial user added modbus field:value pair 2022-12-28 17:06:54 +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 790b6feae6
Change NTP default servers to dual-stack (IPv4/IPv6) (#17525) 2022-12-27 20:59:56 +01:00
s-hadinger 1ae8b381ba
Fix warnings when compiling Zigbee (#17524) 2022-12-27 20:55:51 +01:00
Theo Arends 1f8a303faf Add SO177 for debugging (#17500) 2022-12-27 17:57:21 +01:00
Barbudor bd4fe78775
fix typo (#17511) 2022-12-27 12:07:37 +01:00
Theo Arends c1ce983bef Reduce code size by removing duplicate code 2022-12-24 15:59:29 +01:00
Barbudor 4a47514a25
PCF8574 input pin initialization fix (#17499)
* step1 - quick test patch

* mistake, pullup should be disabled

* 2nd test version

* refactoring

* final
2022-12-23 21:17:24 +01:00
Jason2866 9f23151f78
Fix tasmota32-zbbrdgpro compile with core 2.0.6 (#17496)
* Fix tasmota32-zbbrdgpro compile with core 2.0.6

* only ESP32
2022-12-23 20:03:58 +01:00
s-hadinger 1832c4b2f0
Berry crypto add ``SPAKE2P_Matter`` for Matter support (#17497) 2022-12-23 19:40:12 +01:00
s-hadinger f5f7ff4fb8
Minor changes to Berry crypto (#17494) 2022-12-23 18:31:19 +01:00
Theo Arends 234d6e20e0 Extent Generic Energy Modbus Driver
- Add support for up to 3 single phase modbus energy monitoring device using generic Energy Modbus driver
2022-12-23 16:56:18 +01:00
Theo Arends 940d2397fa Fix addressed register 1
- Add example for PZEM-0014
2022-12-23 14:26:25 +01:00
Theo Arends 0dc3b8d7e1 Add fieldpair "F" replacing "M" 2022-12-23 11:39:13 +01:00
StoyanDimitrov 768820061b
Update bg_BG.h (#17485) 2022-12-23 09:53:53 +01:00
stefanbode 0c588f2ff4
better fix on init (#17488)
try to avoid get  5000 if the init value is 65535. More focus on setting the standard of 500 on nearly any case
2022-12-23 09:53:10 +01:00
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