invert logic cutoff register
Some checks failed
CI and deploy / migration-check (push) Failing after 14s
CI and deploy / deploy (push) Has been skipped

This commit is contained in:
Dusan Vojacek
2026-04-29 13:24:28 +02:00
parent 9aceb628aa
commit 342483b885
6 changed files with 14 additions and 12 deletions

View File

@@ -64,8 +64,8 @@ Režim **CHARGE_CHEAP** nastaví oba setpointy na stejný kladný výkon (min. 1
### BA81: GEN port cut-off (reg 179) z plánu
Pro instalace s AC coupling na GEN portu (mikroinvertory) může solver uložit do `planning_interval` flag **`deye_gen_cutoff_enabled`**.\n
- `true` → exporter nastaví reg **179** bits01 na **2** (`10b`, disable = cut-off ON)
- `false` → exporter nastaví bits01 na **3** (`11b`, enable = cut-off OFF)
- `true` → exporter nastaví reg **179** bits01 na **3** (`11b`, enable = cut-off ON / export blokován)
- `false` → exporter nastaví bits01 na **2** (`10b`, disable = cut-off OFF / export povolen)
Zápis do reg. 179 se v praxi provádí jako **„clean write“** hodnoty **2** nebo **3** (bez read-modify-write),
protože některé firmware/UI varianty nevyhodnocují jen bity 01 maskou, ale očekávají přímo hodnotu 2/3.