Commit Graph

18241 Commits

Author SHA1 Message Date
s-hadinger 827c14e4bd
Increase solidify buffer (#18843) 2023-06-10 18:23:33 +02:00
Subhash Chandra 2f616eef2c
make IRHVAC send incremental changes. (#18310)
This change will allow mqtt messages simpler by allowing something like
`publish cmnd/ir-bridge/IRHVAC {"Power": "On"}`.
The simpler format is required for working with mqtt clients like
iotMQTTPanel or similar on android.

Limitations:
- Requires full message be sent at-least once. I work around this with
   a `system#boot` rule
- Gets messy with multiple devices. I have only one AC per room, and
  this doesn't doesn't interfere with other IR devices.

TODO:
- [ ] Change the build flag `INCREMENTAL_IRAC`to a `SetOption`
- [ ] Persist `irac_prev_state` across reboots.
- [ ] Support multiple devices.
2023-06-10 14:53:02 +02:00
btsimonh 63cc575c8b
Berry Webclient: Change StreamBytes to StreamBeBytesWriter, and improve wc_getbytes (#18837)
This reduces allocation to a single allocaiton, but also theroetically allows the Bytes object to grow if content-length was unset.

(cherry picked from commit 936477f5977dd1a4f899498cc7cc0baf05b34a89)
2023-06-10 11:28:31 +02:00
Barbudor 6aed929e17
fix #18817 http response for status with retain (#18819)
* fix http response for status with retain

* take 2

* add a failsafe when JSONlen reach zero
2023-06-09 07:59:24 +00:00
btsimonh fc92dc0995
Add wcclient.get_bytes() to Berry (#18829)
(cherry picked from commit 5903b21448a3f088b12bd47a04996ff84e467a3a)
2023-06-09 08:56:05 +02:00
s-hadinger 138b119c6d
Matter fix Illuminance to uint (#18830) 2023-06-09 08:55:43 +02:00
blakadder 676165f3f6
better way to support LSBJ (#18827) 2023-06-08 20:39:02 +02:00
blakadder ae67c6cfa1
Add support for INMP441 MEMS microphone (#18823)
* Add INMP441 MEMS mic support

* add I2S audio defines as preview
2023-06-08 16:24:44 +02:00
Jason2866 2ffd4311c3
Enable more esp32 libs by default (#18821) 2023-06-08 13:01:24 +02:00
s-hadinger 4ce3e5c544
Matter fix Illuminance for 0 lux (#18818) 2023-06-07 22:32:09 +02:00
s-hadinger f572d93ac6
Matter minor fixes (#18813) 2023-06-07 19:23:28 +02:00
blakadder 5a8f13d57f
Pdm_mic (#18807)
* add I2S LSB flag

* add support for PDM microphones
2023-06-07 12:34:44 +02:00
Ludovic BOUÉ 73c48ff5f0
Update be_matter_vendors.h - Adding Nabu Casa vendor id (#18804)
* Update be_matter_vendors.h

Adding Nabu Casa vendor id

* Update be_matter_vendors.h

Move it to the end of the list
2023-06-06 19:16:03 +02:00
s-hadinger 5c3a6d9170
Matter fix illuminance (#18806) 2023-06-06 18:28:49 +02:00
s-hadinger 18c2bc8320
Matter fix unchunked requests for OpenBK (#18803) 2023-06-06 15:13:13 +02:00
s-hadinger a0a1b89dfb Solidified Code updated 2023-06-06 08:22:56 +00:00
Norbert 8d8870a6ee
Fix spelling. (#18800) 2023-06-06 10:21:34 +02:00
Norbert a19079b2ec
Fix spelling. (#18799) 2023-06-06 10:21:12 +02:00
s-hadinger 31b93f8d48
Matter add controller's Vendor Name to logs and UI (#18794) 2023-06-04 23:05:52 +02:00
blakadder 24233924c5
add I2S LSB flag (#18793) 2023-06-04 23:01:46 +02:00
s-hadinger 844caf51f9
Fixed HASPmota event when value is non-integer (fixes #18229) (#18791) 2023-06-04 20:06:04 +02:00
s-hadinger e66439cb50
Matter ability to add or remove endpoint in bridge mode (code only) (#18790) 2023-06-04 19:35:36 +02:00
s-hadinger c09165c7b2
Matter fix saving config (#18786) 2023-06-03 19:47:10 +02:00
s-hadinger 6fdfdb8475
Matter Bridge mode always on (#18785) 2023-06-03 19:01:36 +02:00
s-hadinger 61f17221d0
Berry simplify I2S implementation (#18778) 2023-06-02 16:36:09 +02:00
Theo Arends 51286f2275 Update changelogs 2023-06-02 14:24:46 +02:00
s-hadinger f8df9e5f00
Berry `webclient.url_encode()` is now a static class method, no change required to existing code (#18775) 2023-06-02 13:29:57 +02:00
Theo Arends 4e7475dbd4 Bump version v12.5.0.4 2023-06-02 10:25:02 +02:00
s-hadinger 82895c53e3
Berry add `set_lsb_justified(bool)` to `AudioOutputI2S` (#18774) 2023-06-02 09:58:39 +02:00
s-hadinger 541da60ca6
Fix Matter Berry solidification (#18773) 2023-06-02 09:38:43 +02:00
Jason2866 55b109de68
esptool v4.6.1 (#18771) 2023-06-01 23:35:14 +02:00
jonschz 9d57a19be3
Fix interaction of `SO92`, `VirtualCT`, and `RGBWWTable` (#18768)
* remove unused variable

* Relocate SO92 implementation
This way, SO92 does not ignore SO106

* Relocate RGBWWTable implementation
This fixes a bug related to RGBWWTable and SO92.
Also, the code is tidier this way

* Cleanup: Reduce code duplication

* more consistent behaviour for SO92 and free_cw

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2023-06-01 22:12:57 +02:00
s-hadinger b9d855ef79
Berry RS256 crypto algorithm (RSASSA-MCKS1_v1-5 with SHA256) used for JWT (#18763) 2023-06-01 10:02:23 +02:00
Jason2866 74f9973b8b
Core 2.0.9 from 2023.05.31 (#18762) 2023-05-31 22:41:35 +02:00
Jason2866 10821b7e24
fix factory file not removed (#18761) 2023-05-31 21:54:59 +02:00
s-hadinger 87547657ec
Matter add 0300/400A for CT (#18757) 2023-05-30 22:25:59 +02:00
Ludovic BOUÉ 596482284c
Update CHANGELOG.md (#18748)
Replace Border Router by bridge
2023-05-29 23:12:55 +02:00
s-hadinger 3c75bc92a2
Zigbee Berry mapping fix attributes (#18747) 2023-05-29 23:05:45 +02:00
s-hadinger 83e47fa4a8
Matter support for Occupancy via Switch (experimental) (#18742) 2023-05-29 19:24:06 +02:00
s-hadinger 3f094c9be1
Display descriptor for ST7735 128x160 display (#18741) 2023-05-29 18:50:03 +02:00
Theo Arends 07b7a7ee9a Fix initial ESP32 Energy kWh total time 2023-05-29 16:19:55 +02:00
Theo Arends bf2982854b Fix #18737 2023-05-29 14:21:33 +02:00
Jason2866 8e741052b8
Core 2.0.9 from 2023.05.29 (#18736) 2023-05-29 13:04:23 +02:00
s-hadinger b053cf87ec
Berry safeguard when freeing null pointer (#18735) 2023-05-29 11:00:20 +02:00
s-hadinger fe570a1b26
Matter Border Router for ESP8266 (experimental) (#18734) 2023-05-29 10:40:24 +02:00
Jason2866 7b55e1aca2
Make `USE_DISPLAY_MODES1TO5` in firmware `LVGL` possible (#18729)
* Make `USE_DISPLAY_MODES1TO5` in firmware `LVGL` possible
2023-05-27 17:00:14 +02:00
Theo Arends d91e1e8bcc Fix berry scheme select 2023-05-27 12:33:50 +02:00
Jason2866 7f8f75d196
checkout not needed for trigger 2023-05-26 21:10:45 +02:00
Jason2866 175bde932f
checkout not needed for trigger 2023-05-26 21:09:35 +02:00
Theo Arends e87714dbcd Add TODO 2023-05-26 17:51:20 +02:00