Commit Graph
34 Commits
Author SHA1 Message Date
proddy fb8edfb6a7 change year 2025 to 2026 2026-09-25 08:44:57 +02:00
Jaano RosinandClaude Opus 5 5cc45b97bc fix: add 12 kW and 15 kW steps to enum_maxHeat
The heat limit registers on heat pumps using EMS_DEVICE_FLAG_HEATPUMP
(product 172/173) are bytes 2/3/4 of telegram 0x0492, read as a direct
index into enum_maxHeat. That table has only six entries, so any unit
whose auxiliary electric heater goes above 9 kW reports an index the
table cannot resolve.

Nothing bounds-checks the raw byte on the way in, and every render path
guards on `value < options_size`, so an out-of-range index is dropped
silently: no value is published to MQTT, the API omits the field, Home
Assistant shows `unknown`, and nothing appears in the log. Helpers::
value2enum stops at the same boundary, so the value cannot be written
back from EMS-ESP either, leaving the entity permanently stuck.

Measured on a Bosch Compress 7000i AW (CS7000iAW 13 OR-T, product 172)
with a 15 kW auxiliary heater, by setting each limit from the unit's own
display and reading telegram 0x0492 back:

    display 12 / 9 / 6 kW  ->  0x0492 data: 03 00 06 05 04

    raw  kW   note
      0   0   agrees with the existing table
      1   2   not offered by this heater
      2   3   not offered by this heater
      3   4   not offered by this heater
      4   6   agrees with the existing table
      5   9   agrees with the existing table
      6  12   new
      7  15   new

Indices 0, 4 and 5 match what EMS-ESP already decodes, which confirms the
existing entries and their ordering; the table was correct, just short.
The 2 kW and 4 kW entries belong to the 4-stufig (2/4/6/9 kW) heater
variant described in the HPC 410 service manual section 4.2.2, so a
3 kW-stepped heater simply skips them and walks 0, 3, 6, 9, 12, 15 kW,
i.e. raw 0, 2, 4, 5, 6, 7. The same sparse pattern is already encoded for
CS6800 devices in Boiler::process_HpHeaterConfig, which maps raw
{0, 2, 4, 5} onto {0, 3, 6, 9} kW.

Only devices carrying EMS_DEVICE_FLAG_HEATPUMP are affected; CS6800
devices use enum_maxHeat1/enum_maxHeat2 and are unchanged. Verified with
the standalone build: `test entity_dump` differs from the committed
docs/dump_entities.csv in exactly the six maxheat rows of products 172
and 173, and nowhere else.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 13:17:37 +03:00
MichaelDvP 0a7e0dc1a3 Merge remote-tracking branch 'emsesp/core3' into core3 2026-05-29 07:08:12 +02:00
MichaelDvP e989891652 Merge branch 'dev' into core3 2026-05-27 11:16:19 +02:00
MichaelDvP 6dc8072106 FLAG UI800, no poll-ack on id 0x0D 2026-05-25 16:59:41 +02:00
proddy 7409c7286f https://github.com/emsesp/EMS-ESP32/issues/3089 2026-05-24 21:34:49 +02:00
proddy 33fda705c0 Feature: Make RGB LED (preset colors) accessible via API/etc #3039
Fixes #3063
2026-05-15 10:07:17 +02:00
MichaelDvP 459270e035 rename sendmail and add security list instead of checkbox 2026-05-10 11:10:53 +02:00
proddy 5e1b47707f rename mail -> email 2026-05-05 21:56:55 +02:00
proddy 751c540cb3 refactor network code 2026-05-01 08:07:05 +02:00
proddy fb09e10f19 sync with core3 features 2026-03-30 23:26:04 +02:00
MichaelDvP 0fe45a2405 use ESP_SSLClient for mqtt, add sendmail command (using readymail) 2026-03-17 18:53:37 +01:00
MichaelDvP 2037bc3a10 add reset of HP errors #2933, dev9 2026-03-07 12:02:09 +01:00
proddy 8ee0789dad emsesp.org ownership 2026-01-11 14:17:49 +01:00
proddy 8a7a1383a7 added comment reference to HA 2026-01-10 19:00:15 +01:00
MichaelDvP 978c738f27 add hp entities, +2883 2026-01-05 17:32:49 +01:00
proddy 9fbed47617 txenabled to txpause 2025-12-27 17:34:19 +01:00
proddy 05baec85b7 implement txenabled system command - #2850 2025-12-26 10:10:27 +01:00
proddy c4a43183b3 GPIOs not checked when board profile is adjusted
#2841
2025-12-22 17:18:37 +01:00
proddy da3ac1794e add telnet command show gpio 2025-12-14 21:10:45 +01:00
Jakob 8af7cde2d6 feat: add api/metrics endpoint 2025-11-30 10:35:19 +01:00
proddy 5957300c4e change (c) date to 2025 2025-11-24 23:27:01 +01:00
MichaelDvP 91b78f9a23 pumpmode enum for HT3 boilers #2721, add commands manual defrost, chimneysweeper 2025-11-10 09:54:33 +01:00
MichaelDvP 766281d8d2 add dhw modetype #2659 2025-10-15 14:32:44 +02:00
MichaelDvP 11782eef8b SRC #2636, add childlock, icons, fix long names 2025-10-09 13:25:09 +02:00
MichaelDvP d88513d789 SRC thermostat test, update1 2025-09-30 08:48:56 +02:00
MichaelDvP 4cfcba18ee analogsensors pulse output #2624 and frequncy input #2631 2025-09-26 08:47:31 +02:00
MichaelDvP 3b4e09208e CR11 mode setting, FW200 display settings 2025-08-28 09:12:55 +02:00
MichaelDvP b3320c3e48 ha optimistic, cs6800 changes, custom entity hide 2025-05-10 16:14:54 +02:00
MichaelDvP c5dbd7452e add auxHeaterSource #2489 2025-03-27 17:23:42 +01:00
MichaelDvP 3796fb8027 add analog sensor NTC and RGB-Led, dev29 2025-03-22 11:41:37 +01:00
proddy 3836610d81 typo 2025-03-03 15:12:07 +01:00
proddy cfbd0168c3 new command 'set admin password' 2025-02-25 20:46:43 +01:00
proddy eb87651c47 merge #2108 2025-01-04 13:41:39 +01:00