Commit Graph

20097 Commits

Author SHA1 Message Date
s-hadinger efce07086c
Berry improve `persist` dirty data handling (#22246) 2024-10-06 22:09:18 +02:00
Theo Arends 0240da2bf7 Fix Dali received data decoding
- Add support for DALI 1 on ESP8266
2024-10-06 21:57:59 +02:00
s-hadinger b5b11d6227
HASPmota `delete` instead of `delete()` (#22245) 2024-10-06 21:09:19 +02:00
s-hadinger d9f246f0f0
LVGL port `colorwheel` from LVGL 8, HASPmota `cpicker` and `msgbox` (#22244) 2024-10-06 18:53:06 +02:00
Grzegorz ba687deaf5
Bridge Mitsubishi AC devices to Homebridge/Homekit locally (#22236)
* Update xdrv_44_miel_hvac.ino

Code structure cleanup,
Add Power, SetTemperature, Mode, SwingV, SwingH, FanSpeed to JSON StatusSNS MiElHVAC

* Update xdrv_44_miel_hvac.ino

* clesnup

* Revert "Update xdrv_44_miel_hvac.ino"

This reverts commit 45f813d32c.

* revert styling and format

* make operation and compressor indyvidual and remove unnecessary sep

* Update xdrv_44_miel_hvac.ino

* Update xdrv_44_miel_hvac.ino

* Use uppercase
2024-10-05 23:13:56 +02:00
Barbudor b09b3560b9
recreate 16044 (#22232) 2024-10-03 09:21:55 +02:00
Damian Wrobel bf0f7316b9
Avoid sending more then one Modbus TCP response (#22223)
Prevent from sending more then one Modbus TCP response
for a single request.

This might happen in the following scenario where,
shortly after the first response has been sent (4),
the second one will be send (8) (note the same
'TransactionId') triggered by the response to the
'ModbusSend' request issued by Berry (5).

The log excerpt from such a situation:

(1) 21:13:20.510 MBS: MBRTCP to Modbus TransactionId:520, deviceAddress:4, functionCode:3, startAddress:8193, count:1, recvCount:1, recvBytes:2
(2) 21:13:20.523 MBS: Serial Send: 04 03 20 01 00 01 DE 5F
(3) 21:13:20.647 MBS: Serial Received: 04 03 02 0A 28 72 FA
(4) 21:13:20.652 MBS: MBRTCP from Modbus TransactionId:520, deviceAddress:4, writing:11 bytes to client (error:0)
(5) 21:13:20.724 CMD: Grp 0, Cmd 'MODBUSSEND', Idx 1, Len 89, Pld -99, Data '{"deviceAddress":4, "functionCode":6, "startAddress":8192, "type":"uint16", "Values":[6]}'
(6) 21:13:20.743 MBS: Serial Send: 04 06 20 00 00 06 02 5D
(7) 21:13:21.009 MBS: Serial Received: 04 06 20 00 00 06 02 5D
(8) 21:13:21.014 MBS: MBRTCP from Modbus TransactionId:520, deviceAddress:4, writing:12 bytes to client (error:0)

Use 'tcp_transaction_id' field to denote that we already
sent a response.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2024-10-02 21:34:48 +02:00
Theo Arends 4cbb1b1c58 Update changelogs 2024-10-02 14:18:08 +02:00
Grzegorz 6fa38e4b83
Add heat/dry/cool isee operation mode to xdrv_44_miel_hvac.ino (#22216)
* Add heat/dry/cool isee operation mode to xdrv_44_miel_hvac.ino

This add heat, dry, and cool isle operation mode to support new AC devices. Closes also #10937

* remove duplicated wide vane mode
2024-09-30 11:21:12 +02:00
Theo Arends 69c19d95ae Update changelogs 2024-09-30 11:12:14 +02:00
Theo Arends 2d80f87fc9 Attempt 2 to fix Dali core 3 compilation (#22214) 2024-09-30 09:50:15 +02:00
s-hadinger 59c8d39724
uDisplay force cache writes to RGB display on ESP32S3 (#22222) 2024-09-29 23:04:24 +02:00
s-hadinger 75001a024d
HASPmota error when page '1' is not defined (#22220) 2024-09-29 21:58:24 +02:00
Theo Arends 5d4230d39b Attempt to fix Dali core 3 compilation (#22214) 2024-09-29 17:11:13 +02:00
Theo Arends 19d3984d6e Fix BL906 name (#22167) 2024-09-29 14:30:54 +02:00
Theo Arends b2b839fa83 Add support for Sonoff SPM v1.3.0 (#13447) 2024-09-28 17:57:31 +02:00
pharaocurt 5909eec188
fix compile error with core 3.0.0 for Range Extender driver xdrv_58_range_extender.ino (#22205)
* final ported range_extender

* removed #define USE_WIFI_RANGE_EXTENDER_PORTADD, because new framework-arduinoespressif32 @ 3.1.0+sha.22a3b096 is available with CONFIG_LWIP_IPV4_NAPT_PORTMAP=y
2024-09-27 20:16:28 +02:00
Theo Arends 452031fbbd Add Energy Export Active support to BL0906 (Athom EM2/EM6) 2024-09-27 18:08:22 +02:00
Theo Arends 692a0ca4b1 Bump version 14.2.0.6 2024-09-26 17:38:49 +02:00
Jason2866 1248bd138c
Tasmota Platform espressif32 2024.09.30 - Arduino Core 3.1.0.240926 (#22203)
* Update PULL_REQUEST_TEMPLATE.md

* Tasmota Platform espressif32 2024.09.30 - Arduino Core 3.1.0.240926
2024-09-26 17:25:48 +02:00
Theo Arends d716a275bf Tune BL0906 driver 2024-09-26 17:20:34 +02:00
Theo Arends 08d75a5fe3 Add Support for BL0906 up to 6 channel energy monitor as used in Athom EM2/EM6 (#22167) 2024-09-25 18:11:07 +02:00
Theo Arends 27a4ea0f70 Add Support for BL0906 up to 6 channel energy monitor as used in Athom EM2/EM6 (#22167) 2024-09-25 18:05:16 +02:00
Theo Arends 61aeea9132 Add ESP8266 support for one-wire M1601 temperature sensor on DS18x20 GPIO (#21376) 2024-09-25 15:01:19 +02:00
Theo Arends 622b8b10c0 SSPM show only if powered ON 2024-09-25 11:06:51 +02:00
s-hadinger a306d77a5e
Berry fix compilation error with some compiler options (#22200) 2024-09-24 22:58:49 +02:00
Theo Arends e3c47851b7 First fix SPM v1.3.0 report values (#13447) 2024-09-24 22:36:02 +02:00
s-hadinger ef1cbeae21
fix be_byteslib.c 2024-09-24 22:00:57 +02:00
Theo Arends 64de5497f4 Bump version v14.2.0.5
- Add ESP8266 support for I2C CLK on GPIO16 (#22199)
2024-09-24 17:44:15 +02:00
Jason2866 a6075b2855
Platform 2024.09.00 for esp8266 (#22199)
* Platform 2024.09.00 for esp8266

Core 2.7.8

* esp8266 core 2.7.8
2024-09-24 17:25:28 +02:00
s-hadinger 17cc9e18b4
HASPmota broken `changed` event (#22194)
* HASPmota broken `changed` event

* Avoid breaking compatibility
2024-09-23 23:09:31 +02:00
s-hadinger 2d5545997e
Berry fix index accessor for rean only bytes (#22193) 2024-09-23 22:43:33 +02:00
Theo Arends f3aed72f97 Update changelogs 2024-09-23 15:53:35 +02:00
s-hadinger 330cfe8b4d
LVGL compilation of lv_menu (#22188) 2024-09-23 10:26:23 +02:00
gemu 3707d4b239
Sml update (#22185)
* some refactoring

* refactoring, save some ram
2024-09-22 12:20:02 +02:00
s-hadinger 7ef93b20fd
Add commented #define BE_LV_WIDGET_MENU 2024-09-22 11:52:00 +02:00
Jason2866 6bb046726e
arduino idf compile prepare 2024-09-21 23:36:37 +02:00
Theo Arends 03b57179ac Final fix unknown/error 2024-09-21 13:23:14 +02:00
Theo Arends 8d7a27df76 Fix ESP8266 Exception 3 on tasmota-minimal caused by unaligned PROGMEM (#22169) 2024-09-20 18:20:09 +02:00
Theo Arends bf4d0d0890 Revert "Fix ESP8266 Exception 3 on tasmota-minimal caused by unaligned PROGMEM (#22169)"
This reverts commit b00d7fd0ac.
2024-09-20 18:14:53 +02:00
Theo Arends b00d7fd0ac Fix ESP8266 Exception 3 on tasmota-minimal caused by unaligned PROGMEM (#22169) 2024-09-20 18:13:38 +02:00
Theo Arends d5289e8ba9 Update changelogs 2024-09-20 12:09:34 +02:00
Tim Connors 694691e34a
Refactor and fix PID sensor (PID_USE_LOCAL_SENSOR) read race condition (#22162)
* Refactor and fix PID sensor (PID_USE_LOCAL_SENSOR) read race condition

Refactor PID since it was calling pid.tick willy-nilly upon demand
from MQTT and the web instead of on a periodic basis (and was being
called with time interval of 0 when those times lined up!).  Refactor
web/mqtt display because there was shared code (that code turned out
to be misguided and belonged in Every_Second loop, but now we are also
similar to 39 thermostat)

Logging revealed that the vast majority of the time the sensor JSON
was parsed to obtain current sensor data when using PID local sensor,
it was failing to parse (and it would typically only work for a second
around TELE_PERIOD, but even then, not reliably).  This bug almost
certainly affects xdrv_39_thermostat too, but using
xsns_75_prometheus.ino as a template, we are able to update PV once
per second, which allows us to be a lot more responsive.  There is no
danger of being "too responsive" because that's the point of PID, and
the PID loop already scales feedback by interval between ticks.

* Reduce logging of PID now that query side-effects removed

* Comment out all new logging, but leave present for next debugger
2024-09-20 12:06:41 +02:00
Theo Arends 83eb8aeaa7 Update changelogs 2024-09-20 12:01:15 +02:00
s-hadinger be46b95d62
MQTT add warning if trying to connect without TLS on a port that normally uses TLS (#22175) 2024-09-19 23:12:46 +02:00
s-hadinger f43d23e59a
Berry update Win binary (#22174) 2024-09-19 22:35:27 +02:00
s-hadinger a5b4490ba0
Matter small UI fixes (#22173) 2024-09-19 22:26:21 +02:00
s-hadinger 3f56ab68ad
Berry improve `int64` constructor (#22172) 2024-09-19 21:35:52 +02:00
Jason2866 5d0cc8144a
no exception when metrics not found (#22170) 2024-09-19 18:31:47 +02:00
Theo Arends 3b28542d9c Fix BMP second bus 2024-09-19 17:21:08 +02:00