Rekuperator Thessla, problem z modbusem

# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

automation:
  - alias: "Zapisz OKAP Nawiew"
    trigger:
      - platform: state
        entity_id: input_number.okap_nawiew_slider
    action:
      - service: modbus.write_register
        data:
          hub: reku
          unit: 10
          address: 4226
          value: "{{ 100 + (states('input_number.okap_nawiew_slider') | int) }}"

  - alias: "Zapisz OKAP Wywiew"
    trigger:
      - platform: state
        entity_id: input_number.okap_wywiew_slider
    action:
      - service: modbus.write_register
        data:
          hub: reku
          unit: 10
          address: 4227
          value: "{{ 100 + (states('input_number.okap_wywiew_slider') | int) }}"

script: !include scripts.yaml
scene: !include scenes.yaml


input_number:
  okap_nawiew_slider:
    name: "OKAP Nawiew"
    min: 0
    max: 50
    step: 1
    unit_of_measurement: "%"

  okap_wywiew_slider:
    name: "OKAP Wywiew"
    min: 0
    max: 50
    step: 1
    unit_of_measurement: "%"

modbus:
  - name: reku
    type: tcp
    host: 192.168.1.18
    port: 9999
    timeout: 5
    delay: 2

    sensors:
      - name: "Rekuperator Temperatura Czerpnia"
        slave: 10
        address: 16
        input_type: input
        scan_interval: 29
        data_type: int16
        unit_of_measurement: °C
        scale: 0.1
        precision: 1
      - name: "Rekuperator Temperatura Nawiew"
        slave: 10
        address: 17
        input_type: input
        scan_interval: 29
        data_type: int16
        unit_of_measurement: °C
        scale: 0.1
        precision: 1
      - name: "Rekuperator Temperatura Wywiew"
        slave: 10
        address: 18
        input_type: input
        scan_interval: 29
        data_type: int16
        unit_of_measurement: °C
        scale: 0.1
        precision: 1
      - name: "Rekuperator Temperatura za FPX"
        slave: 10
        address: 19
        input_type: input
        scan_interval: 29
        data_type: int16
        unit_of_measurement: °C
        scale: 0.1
        precision: 1
      - name: "Rekuperator Temperatura PCB"
        slave: 10
        address: 22
        input_type: input
        data_type: int16
        scan_interval: 59
        unit_of_measurement: °C
        scale: 0.1
        precision: 1
      - name: "Rekuperator Strumień nawiew"
        slave: 10
        address: 256
        input_type: holding
        scan_interval: 2
        data_type: int16
        unit_of_measurement: m3/h
        scale: 1
        precision: 1
      - name: "Rekuperator Strumień wywiew"
        slave: 10
        address: 257
        input_type: holding
        scan_interval: 2
        data_type: int16
        unit_of_measurement: m3/h
        scale: 1
        precision: 1
      - name: "Rekuperator lato zima"
        scan_interval: 11
        data_type: int16
        slave: 10
        address: 4209
        input_type: holding
      - name: "Rekuperator Bypass"
        scan_interval: 11
        data_type: int16
        slave: 10
        address: 4320
        input_type: holding
      - name: "Rekuperator tryb pracy"
        scan_interval: 6
        data_type: int16
        slave: 10
        address: 4208
        input_type: holding
      - name: "Rekuperator speedmanual"
        scan_interval: 5
        data_type: int16
        unit_of_measurement: '%'
        slave: 10
        address: 4210
        input_type: holding
      - name: "Rekuperator fpx flaga"
        scan_interval: 29
        data_type: int16
        unit_of_measurement: ''
        slave: 10
        address: 4192
        input_type: holding
      - name: "Rekuperator FPX tryb"
        scan_interval: 29
        data_type: int16
        unit_of_measurement: ''
        slave: 10
        address: 4198
        input_type: holding
      - name: "Rekuperator Alarm"
        scan_interval: 63
        slave: 10
        data_type: int16
        address: 8192
        input_type: holding
        unit_of_measurement: ''
      - name: "Rekuperator Error"
        scan_interval: 63
        slave: 10
        address: 8193
        data_type: int16
        input_type: holding
        unit_of_measurement: ''
      - name: "Rekuperator FPX zabezpieczenie termiczne"
        scan_interval: 63
        slave: 10
        address: 8208
        data_type: int16
        input_type: holding
        unit_of_measurement: ''
      - name: "Rekuperator Awaria Wentylatora Nawiewu"
        scan_interval: 63
        slave: 10
        address: 8222
        data_type: int16
        input_type: holding
        unit_of_measurement: ''
      - name: "Rekuperator Awaria Wentylatora Wywiewu"
        scan_interval: 63
        slave: 10
        address: 8223
        data_type: int16
        input_type: holding
        unit_of_measurement: ''
      - name: "Rekuperator Awaria CF Nawiewu"
        scan_interval: 63
        slave: 10
        address: 8330
        data_type: int16
        input_type: holding
        unit_of_measurement: ''
      - name: "Rekuperator Awaria CF Wywiewu"
        scan_interval: 63
        slave: 10
        address: 8331
        data_type: int16
        input_type: holding
        unit_of_measurement: ''
      - name: "Rekuperator Wymiana Filtrów"
        scan_interval: 63
        slave: 10
        address: 8444
        data_type: int16
        input_type: holding
        unit_of_measurement: ''
      - name: "OKAP Nawiew"
        address: 4226
        unit_of_measurement: "%"
        input_type: holding
        data_type: uint16
        slave: 10
        scan_interval: 5
      - name: "OKAP Wywiew"
        address: 4227
        unit_of_measurement: "%"
        input_type: holding
        data_type: uint16
        slave: 10
        scan_interval: 5

    binary_sensors:
      - name: "Rekuperator Silownik bypassu"
        scan_interval: 21
        slave: 10
        address: 9
      - name: "Rekuperator Potwierdzenie pracy"
        scan_interval: 1
        slave: 10
        address: 11

    switches:
      - name: "Rekuperator Wietrzenie"
        scan_interval: 1
        slave: 10
        address: 4224
        command_on: 7
        command_off: 0
        verify:
      - name: "Rekuperator Pusty Dom"
        scan_interval: 5
        slave: 10
        address: 4224
        command_on: 11
        command_off: 0
        verify:
      - name: "Rekuperator bypass"
        scan_interval: 7
        slave: 10
        address: 4320
        command_on: 0
        command_off: 1
        verify:
      - name: "Rekuperator Kominek"
        scan_interval: 5
        slave: 10
        address: 4224
        command_on: 2
        command_off: 0
        verify:
      - name: "Rekuperator Okap"
        scan_interval: 5
        slave: 10
        address: 4224
        command_on: 1
        command_off: 0
        verify:
      - name: "Rekuperator Okna"
        scan_interval: 5
        slave: 10
        address: 4224
        command_on: 10
        command_off: 0
        verify:
      - name: "Rekuperator ON/OFF"
        scan_interval: 5
        slave: 10
        address: 4387
        command_on: 1
        command_off: 0
        verify:
      - name: "Rekuperator mode"
        scan_interval: 1
        slave: 10
        address: 4208
        command_on: 0
        command_off: 1
        verify:
      - name: "Rekuperator zima"
        scan_interval: 7
        slave: 10
        address: 4209
        command_on: 1
        command_off: 0
        verify:

Niestety nic nie działa. Tryb się uruchamia niby,a za chwilę wyłącza. Odczytów brak, a na moim panelu nie mam w nastwach opcji OKAP nawet,

Witam wszystkich,

Nie chciałem otwierać nowego tematu bo widzę tutaj sami specjaliści to pomyślałem zapytam.

Wszystko robione z filmiku (użytkownika dar3k)
https://www.youtube.com/watch?v=sGV05cCSBQY

Kabelek skrossowany / Zasilanie jest jednak nie dostaje żadnych danych …

Podłączone to jest pod port 10 (specjalnie wyjąłem żeby zrobić zdjęcie)

Macie jakieś pomysły może co poszło nie tak ?

Problem jest z połączeniem TCP - zupełna cisza. Coś powinno być w polu IP.
Dlatego po serial też.

Screeny:

HA:

Dlaczego tym razem 2 IP?
Próbuje coś wysyłać po serial do reku … ale czy z senesem?
Możliwe przyczyny:

  • zamienione A,B lub w ogóle źle podłączone;
  • złe parametry transmisji;
  • niewłaściwy adres modbus;
  • niezgodność protokołu - tcp, rtu over tcp

To co pokazujesz to już tylko skutek złej konfiguracji. Jeśli się nie postarasz to odpowiedzi nie otrzymasz.

1 polubienie

Proszę tutaj cała konfiguracja:

Końcówka do rekuperatora:

Końcówka do adaptera:

Konfiguracja adaptera (szczerze mówiąc nie mam pojęcia czemu tam są dwa IP w netp - adapter ma statycznie przypisane 192.168.1.66)

Yaml:

modbus.yaml (6,0 KB)

Jak mogę jeszcze coś podesłać co mogłem przeoczyć proszę daj znać. Kable Krosowane według:

Te dwa IP to urządenia z sieci, ktore się łączą. Powinien być tylko - ten od HA.
Wszysko wygląda prawidłowo, pozostają ustawienia w samym reku: adres slave i serial.

Dzięki za pomoc, szczerze nie wiem co się stało ale wyłączyłem rekuperator / restart home assitance i wszystko zaczęło działać jak należy

Hej a jak mam podłączony Air++ do portu 11 to jak moge podlaczyc ELFIN ?? przez gniazd 10 czyli MODBUSRTU nie mam zadnej komunikacji


Próbuje sterować reku w node-red.
Nie działają mi chyba w ogóle wentylatory bo wartości rejestrów 256 i 257 odczytuje jako 0. Wartość rejestru 11 jest false.
Konfigurację robię zdalnie i niestety nie mam dostępu do rekuperatora fizycznie. Podpowiecie dlaczego tak się dzieje?

Jak masz Tmeout to masz problem z połączeniem i trudno żeby coś było odczytane.

Ten timeout jest po restarcie konwertera. Połączenie działa prawidłowo.

Cześć, nie mogę dogadać konwertera USR-DR134 z rekuperatorem. Czy mógłby ktoś rzucić okiem na moją konfigurację? Możliwe, że przeoczam coś prostego.

Komunikacja z konwerterem działa (RS485 wysyła dane), ale nie ma odpowiedzi od reku. Używam trybu TCP → RTU.

Testuję za pomocą mbpoll

$ mbpoll -p 8899 -a 10 192.168.2.13
Protocol configuration: ModBus TCP
Slave configuration...: address = [10]
                        start reference = 1, count = 1
Communication.........: 192.168.2.13, port 8899, t/o 0.50 s, poll rate 1000 ms
Data type.............: 16-bit register, output (holding) register table

-- Polling slave 10... Ctrl-C to stop)
Read output (holding) register failed: Operation timed out

Większy timeout nie pomaga.
Próbowałem: skrzyżować RS485, odłączyć Air++, zmieniać tryby konwertera lecz nadal cisza.

Mbpool ustawiony jest na modbusTCP a reku modbusRTU. Albo zmień to ustawienie w mbpool na modbusRTU over TCP… albo ustaw konwerter na protokół modbus TCP.

Witam. Mam podobny problem u siebie. Co prawda próbuję sparować Reku z domoticzem ale nigdzie nie znalazlem odpowiedzi. Kable odpowiednio zarobione. Elfin Ew11 podłączony do portu 10 dla AirMobile/Modbus RTU.



Tak … potwierdzam , ze statusu wynika że nie działa. :wink:
Próbuje wysłać po RS ale odpowiedzi nie ma.
Pokaż jak masz zdefiniowany modbus w Domoticz i pozostałe karty konfiguracji EW11.

Grunt że się obaj zgadzamy że nie działa :slight_smile:

Reszta jest skonfigurowana jak na tym filmiku. Niestety narazie nie mam dostępu do EW11 żeby zrobic reszte screenów.

Dla Twojego przypadku te dwie karty i ustawienia są kluczowe :

Przy założeniu, że w Domotycz wybrałeś modbus type - TCP/IP.
To musi działać… chba ,że masz problem w połączeniach po RS485.
W oknie powinieneś zobaczyć IP domoticza.

Wszystko mam ustawione jak na twoich snipach oprócz buffer size i time out. Bo tam mam 512 i 0. IP domoticza widoczne jak na zalaczonym snipie. Wedlug Chata GPT komunikacja z Domo jest ale niby brak komunikacji z Reku. Już nawet na nowo zarabialem kable. Zamienialem pozycje A i B we wtyczce do Elfin EW11 i dalej to samo. Wysyla dane ale nie odbiera

Skąd wnioskujesz, że wysyła?