Commit Graph

1065 Commits

Author SHA1 Message Date
Theo Arends 1abaf146b5 Fix ESP32 PWM activity on unconfigured PWM GPIOs (#20732) 2024-02-17 15:19:12 +01:00
Theo Arends 7216db339e Final fix 2024-02-16 20:10:55 +01:00
Theo Arends 733b9254a5 Workaround core3 2024-02-16 20:04:46 +01:00
Theo Arends 0faef8e4dd Fix PWM channels after restart (#20732) 2024-02-16 18:57:03 +01:00
s-hadinger d3093a13c2
HASPmota more attributes (#20744) 2024-02-16 17:23:24 +01:00
s-hadinger a51b08b36c
typicons font to LVGL and HASPmota (#20742) 2024-02-16 12:42:11 +01:00
s-hadinger b91f93062a
HASPmota `p<x>b<y>.delete` to delete an object (#20735) 2024-02-15 23:16:12 +01:00
s-hadinger 036723ddb5
Berry class `int64` made immutable (#20727) 2024-02-14 18:24:59 +01:00
Benjamin Nestler f98c66fa81
Show ARG_HINT as tooltip for Web UI configuration of Matter endpoints (#20723)
* ADD: Show the argument hint(s) as tooltip of input box.

* CHG: MATTER_ADD_ENDPOINT_HINTS_JS to change the tooltip relating to endpoint argument hint

* CHG: Show the enpoint number in confirmation of deletion dialog.

* CHG: Too reduce the number of used bytes for this JS

* ADD: solidificated file
2024-02-14 15:48:46 +01:00
s-hadinger c73133b10a
LVGL simplification of custom widgets (#20711) 2024-02-12 13:50:58 +01:00
s-hadinger fa7e225d5b
Matter minor fix to logs (#20708) 2024-02-11 17:53:06 +01:00
s-hadinger 3a44d19e8b
Matter implement auto-attributes (#20694) 2024-02-10 18:13:56 +01:00
Benjamin Nestler d015ee4679
Fixes redirects for Advanced Matter configuration UI (#20690)
* CHG: Reload the advanced page after deletion of fabrics.

* CHG: Redirect to Matter configuration page from advanced Matter configuration page
2024-02-09 18:36:35 +01:00
Christian Baars b02de6de6f
add BLE.info() (#20682) 2024-02-08 11:31:48 +01:00
s-hadinger 57cf29c2fd
Matter improve `MtrInfo` (#20686) 2024-02-07 18:09:22 -08:00
s-hadinger a5e3391ca8
Matter fix introspect.contains (#20685) 2024-02-08 02:42:21 +01:00
s-hadinger 5e4a1d7b32
Matter fix configuration loading (#20677) 2024-02-07 05:25:51 +01:00
s-hadinger 22581b0f7e
Matter fix exception when calling remove_fabric (#20674) 2024-02-06 16:02:49 +01:00
arendst 2dc46394dc Solidified Code updated 2024-02-05 15:00:31 +00:00
Theo Arends f88a8a6765 Add berry divider 2024-02-05 15:59:37 +01:00
s-hadinger ff6be70ce1
LVGL library updated to v9.0.0, some small breaking changes in C, none in HASPmota (#20659)
* LVGL library updated to v9.0.0, some small breaking changes in C, none in HASPmota

* fix compilation

* Move lvgl_berry to LVGL_assets
2024-02-05 12:07:41 +01:00
s-hadinger 2a4c59dc68
Matter fix exception when fabrics is not initialized (#20667) 2024-02-05 11:48:07 +01:00
s-hadinger fd52aaee14
Matter add human readable names for TimeSync cluster (#20666) 2024-02-05 11:47:37 +01:00
s-hadinger 26f469f766
Fix UpdateFabricLabel (#20665) 2024-02-04 23:13:17 +01:00
s-hadinger 08ac7541aa
Matter fix Google Home removal of device (#20663)
* Matter fix fabrics id type

* Fix session removal

* add to changelog
2024-02-04 22:54:57 +01:00
s-hadinger 34553f0812
Matter fix endpoint adjusment (#20657) 2024-02-04 12:50:53 +01:00
s-hadinger 110c88e8e1
Matter aggregator relocated to endpoint 1 for Google compatibility, may break existing associations (#20654) 2024-02-03 19:56:29 +01:00
s-hadinger 6c16a5122a
Berry add `introspect.contains` and `bytes.addfloat` (#20635) 2024-02-01 09:52:24 +01:00
s-hadinger 9454336f3c
Berry allow mapping within module (#20606) 2024-01-27 13:01:28 +01:00
s-hadinger 19b9960168
Berry C mapping, raise an error if too many arguments are sent (#20604) 2024-01-27 11:59:45 +01:00
gemu 04bb28bc20
fix email32 file system (#20603)
* fix file system

* fix email attachments

* Update MB_FS.h
2024-01-27 09:06:41 +01:00
s-hadinger 559789b4ec
HASPmota support for `min` and `max` attribute in `slider` (#20582) 2024-01-24 23:27:01 +01:00
s-hadinger d531583721
Clean solidified animate (#20574) 2024-01-23 23:16:24 +01:00
s-hadinger 6d0c2fa9bc
Matter fix support for Alexa (#20545) 2024-01-19 20:06:06 +01:00
s-hadinger 6b4254a014
Berry syntax coloring for Notepad++ (by FransO) (#20541) 2024-01-18 23:24:18 +01:00
s-hadinger 06c2d78d5f
Berry assigment to list with negative index (#20537) 2024-01-18 22:01:39 +01:00
s-hadinger a2c4123d79
Berry add solidification of strings longer than 255 bytes (#20529) 2024-01-18 12:31:47 +01:00
s-hadinger 9045a7da83
IP stack compatible with new Core3 IPv6 implementation (#20509)
* IP stack compatible with new Core3 IPv6 implementation

* Fix compilation

* Forece CI
2024-01-15 21:05:40 +01:00
s-hadinger 08a14ccc9e
LVGL add `lv.str_arr` (#20480) 2024-01-12 19:48:33 +01:00
s-hadinger b0f4542707
Berry `debug.caller` (#20470) 2024-01-12 08:29:14 +01:00
s-hadinger edda5ddc33
Berry `tasmota.webcolor` (#20454) 2024-01-10 09:08:11 +01:00
s-hadinger 69d4e323d6
Berry provide lightweight options for `tasmota.wifi/eth/memory/rtc` (#20448) 2024-01-09 19:49:30 +01:00
s-hadinger 85fb54fe8d
Berry `webserver.header` to read browser sent headers (#20447) 2024-01-09 19:34:19 +01:00
Christian Baars 81fac80859
MI32 legacy: add optional argument to BLE.run() (#20431)
* add optional argument to BLE.run()

* set default of scan response to NO
2024-01-09 09:10:45 +01:00
s-hadinger 298ee22ebf
Berry add `string` to `bytes()` (#20420) 2024-01-07 15:38:29 +01:00
Theo Arends 0d300aebff Update GPIOViewer
- Add ESP8266 PWM state logging
- Add ADC state functions
2024-01-07 15:10:19 +01:00
s-hadinger bd9a99caff
Berry `gpio.get_pin_type` and `gpio.ger_pin_type_index` (#20415) 2024-01-06 22:20:22 +01:00
s-hadinger 324689ee53
Berry `gpio.read_pwm` and `gpio.read_pwm_resolution` (#20414) 2024-01-06 21:22:45 +01:00
s-hadinger ea6b191378
Berry add `tasmota.urlbecload(url:string) -> bool` (#20412) 2024-01-06 17:32:50 +01:00
s-hadinger 15b40801d4
Fixes for tcpasync (#20411) 2024-01-06 17:03:51 +01:00
s-hadinger af2b90caac
Berry add support for `tcpclientasync` in `tcpserver` (#20401) 2024-01-05 09:54:18 +01:00
Theo Arends b56e8bb014 Revert "Add libs"
This reverts commit 7042b8344c.
2024-01-04 22:50:33 +01:00
Theo Arends 7042b8344c Add libs 2024-01-04 18:31:04 +01:00
s-hadinger 6768ebc2ac
Berry fix static allocation when superclass is a member (#20385) 2024-01-03 16:12:47 +01:00
s-hadinger 54e88c2926
HASPmota type `chart` (#20372) 2024-01-02 12:16:50 +01:00
s-hadinger 6a8435b731
Berry added `introspect.set()` for class attributes (#20339) 2023-12-29 10:17:10 +01:00
s-hadinger 1f662a6dad
HASPmota added `haspmota.page_show()` to change page (#20333) 2023-12-28 22:19:58 +01:00
s-hadinger 67b36030dc
Berry sync upstream #369 (#20330) 2023-12-28 17:00:35 +01:00
s-hadinger 3415453620
Berry Improve error message when constructor returns NULL (#20314) 2023-12-26 12:29:50 +01:00
s-hadinger 2808653ad9
Moved Berry animate to its own `berry_animate` lib (#20309)
* Moved Berry animate to its own `berry_animate` lib

* Fix solidification

* fix compilation

* Fix compilation
2023-12-25 11:01:19 +01:00
s-hadinger 6c0028de4e
Matter improve read sensors (#20302)
* Matter improve read_sensors scheduling

* Imprtove logging

* add scheduler call

* remove unwanted print

* fix
2023-12-24 09:31:53 +01:00
s-hadinger fb90a34b0a
Matter support for password for remote Tasmota devices (#20296) 2023-12-23 10:54:22 +01:00
s-hadinger fbc827d11d
Berry fix leds brightness (#20292) 2023-12-22 18:10:34 +01:00
Christian Baars 0e87096bad
allow Berry fast_loop for BLE module (#20281) 2023-12-21 20:28:08 +01:00
s-hadinger 5fd8faa633
Add animate palettes (#20256) 2023-12-17 21:23:43 +01:00
s-hadinger dc98f6e190
Simplify animate (#20254)
* Simplify animate

* make add_ methods idempotent
2023-12-17 20:47:18 +01:00
s-hadinger cc5eb732ea
Fix animation (#20250) 2023-12-16 22:38:04 +01:00
s-hadinger 3f4b69f91c
Improve animation (#20246) 2023-12-16 17:26:58 +01:00
s-hadinger d6bf19190f
Small fixes to animate module (#20238) 2023-12-14 23:09:40 +01:00
s-hadinger c1f8ee5dbb
Refactoring of Berry `animate` module for WS2812 Leds (#20236) 2023-12-14 20:13:17 +01:00
s-hadinger 5102dbf1d2
Matter Contact sensor was not triggering any update (#20232) 2023-12-13 20:07:12 +01:00
s-hadinger f796915fd1
HASPmota `bar` fixed `val` attribute (#20208) 2023-12-11 22:13:24 +01:00
Christian Baars 864a99d887
Berry ULP - API changes for IDF5.x (#20198)
* remove pointless dependencies

* add API changes for IDF5.x
2023-12-09 13:32:02 +01:00
s-hadinger 15d72e9f33
Fix solidification of leds (#20199)
* Fix solidification of leds

* Fix includes
2023-12-08 22:41:44 +01:00
s-hadinger d61adb0b0c
Leds animation refactoring stage 1 (#20197) 2023-12-08 21:13:44 +01:00
s-hadinger fd0a2fdaa5
Update berry.exe (#20186) 2023-12-07 22:07:11 +01:00
s-hadinger 40ed8aa10f
Bring back `invalidate_spiffs()` (#20184) 2023-12-06 21:39:52 +01:00
s-hadinger 1c60527099
Berry `scale_int`, equivalent of `scale_uint` for signed integers (#20090) 2023-11-23 11:31:26 +01:00
s-hadinger 1b0454f6bc
Fix AES CBC (#20078) 2023-11-21 17:12:01 +01:00
s-hadinger f1fe32b541 Solidified Code updated 2023-11-19 16:16:50 +00:00
s-hadinger e3b151c756
Fix Berry parser error in specific cases (#20059)
* Fix Berry parser error in specific cases

* fix typo

* Fix last bug (hopefully)
2023-11-19 17:16:03 +01:00
s-hadinger de1b5929b8
Partition Wizard can be loaded dynamically (#19980)
* Partition Wizard can be loaded dynamically

* Centralize config

* Don't display duplicate buttons

* Fix test
2023-11-11 23:52:41 +01:00
Christian Baars cf6de0ce31
add AES_CBC to crypto module (#19964) 2023-11-09 14:27:17 +01:00
s-hadinger b04d26a7a3 Solidified Code updated 2023-11-08 20:40:15 +00:00
Ludovic BOUÉ 0303cca1db
Fix for Matter flow sensor (#19961)
* Update Matter_Plugin_4_Bridge_Sensor_Flow.be

MeasuredValue represents 10 x flow in m3/h

* Update Matter_Plugin_3_Sensor_Flow.be

MeasuredValue represents 10 x flow in m3/h

* Update Matter_Plugin_4_Bridge_Sensor_Flow.be

MinMeasuredValue comment
2023-11-08 21:39:20 +01:00
s-hadinger ceda8782c8
Berry fix bytes getter for 3-bytes big-endian (#19945) 2023-11-06 17:48:24 +01:00
s-hadinger 625b204cb2
Berry ``debug.gcdebug()`` to enable GC debugging (#19936) 2023-11-05 18:40:28 +01:00
s-hadinger dcbb22a256
Matter improve virtual plugins (#19918)
* Matter improve virtual plugins

* Disable sensor probing for virtual

* solidify
2023-11-03 23:12:04 +01:00
s-hadinger 8e6a8b6cff
Matter solidify map of plugins (#19917) 2023-11-03 21:50:55 +01:00
s-hadinger ec039a8390
Matter update hierarchy of plugins (#19915) 2023-11-03 14:21:13 +01:00
s-hadinger 2791087f3c Solidified Code updated 2023-11-03 10:10:03 +00:00
Ludovic BOUÉ 8c40d77664
Adding Matter Flow sensor support (#19852)
* Create Matter_Plugin_3_Sensor_Flow.be

* Create Matter_Plugin_Bridge_Sensor_Flow.be

* Create Matter_Plugin_9_Virt_Sensor_Flow.be

* Update Matter_Plugin_3_Sensor_Flow.be

0x0404 Flow Measurement cluster

* Rename Matter_Plugin_Bridge_Sensor_Flow.be to Matter_Plugin_4_Bridge_Sensor_Flow.be

* Update Matter_UI.be

* Update be_matter_module.c

* Update be_matter_module.c

* Fixes

* Update be_matter_module.c

* Update Matter_Plugin_9_Virt_Sensor_Flow.be

* Update Matter_Plugin_3_Sensor_Flow.be

* Update be_matter_module.c

* Update solidified_Matter_Plugin_9_Virt_Sensor_Flow.h
2023-11-03 11:08:38 +01:00
s-hadinger 217c568301
HASPmota add styling properties (#19912) 2023-11-02 22:11:48 +01:00
s-hadinger 86e777eaad
Fix python coc warning (#19895) 2023-11-01 12:09:10 +01:00
s-hadinger 0cd1ae965c
Berry fix warning in be_lexer (#19892) 2023-10-31 22:11:18 +01:00
Andreas Ziemer dfa6f9a771
Update be_lexer.c (#19856)
Added check for unterminated block comments
2023-10-28 11:43:35 +02:00
s-hadinger d2b370ab44
Fix Berry on old ESP32 (#19830) 2023-10-24 18:01:14 +02:00
s-hadinger 59be99991c
Matter Light0 now accept a Relay number (#19809) 2023-10-20 18:20:31 +02:00
Ludovic BOUÉ 6844bb606d
Create Matter_Plugin_9_Virt_Sensor_Occupancy.h (#19786)
* Create Matter_Plugin_9_Virt_Sensor_Occupancy.h

* Create Matter_Plugin_9_Virt_Sensor_Occupancy.be

Implements the behavior for a Virtual Occupancy Sensor

* Update be_matter_module.c

Enable Virt_Sensor_Occupancy

* Create solidified_Matter_Plugin_9_Virt_Sensor_Occupancy.h

* Update Matter_UI.be

Add missing v_occupancy and v_onoff

* Update solidified_Matter_UI.h

* Update be_matter_module.c

* Update be_matter_module.c

* Update Matter_Plugin_9_Virt_Sensor_Occupancy.be

* Delete lib/libesp32/berry_matter/src/solidify/Matter_Plugin_9_Virt_Sensor_Occupancy.h

Remove undeeded file

* Update solidified_Matter_Plugin_9_Virt_Sensor_Occupancy.h

Fix case

* Update solidified_Matter_UI.h

Fix case

* Update be_matter_module.c

Update

* Update Matter_UI.be

remove v_onoff

* Update solidified_Matter_UI.h

update

---------

Co-authored-by: s-hadinger <49731213+s-hadinger@users.noreply.github.com>
2023-10-19 22:55:29 +02:00
s-hadinger 385408dcfd
Berry fix bool side effect (#19790) 2023-10-18 20:02:47 +02:00