HA Sterowanie Piecem Vaillant VC20CS/1-5 + VRC 720

Przepraszam w jaki sposób można zresetować liczniki zużycia gazu ?

https://blog-techniczny.pl/2023/10/22/resetowanie-rejestru-prenergysumhc1-i-pokrewnych/

lecz to chyba dotyczy klasycznego eBUSd działającego na Linuksie (np. Raspberry Pi) a ja mam ESP32-C6.

W dokumentacji dodatku jest:

Running ebusd and ebusctl directly

To run ebusctl and/or ebusd directly (as suggested on other forums for debugging purposses) you need to SSH into the Docker container. For this you need the Advanced SSH & Web Terminal (not the standard one).

After getting the addon, you need to set a password in the configuration of the SSH addon otherwise it will not start.

Last step in preparing the addon is to disable the ‘Protection mode’ on the Info page of the addon.

Afterwards, in the SSH you can type in

docker exec -it docker ps | grep ebusd | awk ‘{print $1}’ /bin/bash

and you are inside the docker container, where you can easily run ebusctl or ebusd.

Nie do końca było to takie proste ale się udało

Przepraszam że cię zawiodłem. Następnym razem przyjadę i zrobię to za ciebie. Wydaje je mi się że skoro już zdobyłeś się na odpowiedź to warto by było opisać z czym był problem i jak sobie z nim poradziłeś. Tak dla potomnych.

2 polubienia

Spoko nie musisz przyjeżdżać przynajmniej nie w tym celu aby mi pomóc twój ostatni post W dokumentacji dodatku jest:

Running ebusd and ebusctl directly

To run ebusctl and/or ebusd directly (as suggested on other forums for debugging purposses) you need to SSH into the Docker container. For this you need the Advanced SSH & Web Terminal (not the standard one).

After getting the addon, you need to set a password in the configuration of the SSH addon otherwise it will not start.

Last step in preparing the addon is to disable the ‘Protection mode’ on the Info page of the addon.

Afterwards, in the SSH you can type in

docker exec -it docker ps | grep ebusd | awk ‘{print $1}’ /bin/bash

and you are inside the docker container, where you can easily run ebusctl or ebusd. po prostu odniosłem się do niego i bardzo mi pomógł ale oczywiście mogę dokładnie opisać co zrobiłem dla innych

Przypuszczam że miałeś rejestry ustawione tylko do odczytu ale zachęcam żebyś to zrobił.

Krop po kroku dla początkujących takich jak ja:

1.Ustawienia > Dodatki > eBUSd ( Konfiguracja : Ustaw domyślny poziom dostępu na LEVEL (“*” dla wszystkiego, wiele poziomów oddzielone przecinkami ) i ustawiamy tutaj *
2. Ustawienia > Dodatki i instalujemy coś takiego jak Advanced SSH & Web Terminal.W konfiguracji dodatku ustawiamy w zakładce ssh username i password przed uruchmieniem WYŁACZAMY tryb ochrony
3. Włączamy Advanced SSH & Web Terminal i wydajemy komendę docker ps | grep ebusd i tutaj powinno nam pokazać coś w stylu ( addon_197a62d9_ebusd )
4. później komenda docker exec -it addon_197a62d9_ebusd /bin/bash
5. kolejny krok to komenda ebusctl write -c bai PrEnergySumHc1 0 gdzie 0 to stan licznika który nam ustawi.
6. komendy do poszczególnych liczników

ebusctl write -c bai PrEnergySumHc1 0
ebusctl write -c bai PrEnergySumHwc1 0
ebusctl write -c bai PrEnergyCountHc1 0
ebusctl write -c bai PrEnergyCountHwc1 0

I już. Można jeszcze potwierdzić operację przez odczyt komendami:

ebusctl read PrEnergySumHc1
ebusctl read PrEnergySumHwc1
ebusctl read PrEnergyCountHc1
ebusctl read PrEnergyCountHwc1

Przepraszam że w takiej formie ale dopiero się uczę i nie wszystko jest dla mnie super zrozumiałe opisałem tak jak potrafiłem powodzenia

3 polubienia