Wmbusmeter Licznik wody Sensus iPerl

Trzymam kciuki!

Jeżeli zdjęcia powyżej są z Twojego licznika to jego id to 21007073.

Co do klucza to z dokumentacji, którą znalazłem w internecie wynika, ze liczniki standardowo dostarczane sa z tym domyslnym kluczem. Klucz zmienia się tylko jezeli kupujący (wodociągi) zażyczy sobie indywidualny klucz per urzadzenie.

2 polubienia

@wwrobel no powiem tak… KRÓLU ZŁOTY !!
co prawda poszedłem po najlepszym zasięgu i założyłem że to mój licznik… no i jednak nie…
Ale ważne jest to, że SĄ ODCZYTY !!


teraz podmieniłem wartości i myślę że to będzie to :slight_smile:

DZIĘKI WIELKIE !!

1 polubienie

3 posty zostały podzielonye na nowy temat: Odczyt z wmbusmeters do .json (bez HA) Debian

Postanowiłem ożywić temat. Zakupiłem od Szczepana Ultimatereader i miałem problem ze skonfigurowaniem - dzięki jego pomocy się udało.

Poniżej wklejam kod zupełnie przypadkowych wodomierzy system odczytu IZAR - nadaje co kilkanaście sekund dlatego był dobrym obiektem do testów oraz przypadkowych wodomierzy IPERL - czyli wodomierzy SENSUSA - z tego co zauważyłem to sterownik typ “iperl” czyta chyba wszystkie SENSUSY - bo zarówno Iperle (wodomierze elektromagnetyczne) jak i 640 (typ wodomierza objętościowego).

Informacyjnie wodomierze Sensusa zaprogramowane są fabrycznie z kluczem szyfrującym (wklejony w kodzie) oraz nadają w 2 systemach. Pierwszy system to system fabryczny Sensusa - “Sensus RF”, który jest zakodowany i nadaje co 15 sekund. Drugi sygnał to otwarty wmbus, który nadaje co 60 minut. Użytkownik wodomierza (wodociągi/zarządca) posiadający system, może zmienić nadawanie wmbus na bez klucza szyfrującego oraz zmniejszyć częstotliwość nadawania - w zależności od programu np. co 75 minut, 90 lub 1,2,3 godziny itp… niestety nie ma możliwości ustawienia częściej transmisji…

Co zauważyłem - w Iperlu musi być wpisany typ: iperl
w przypadku izara - nie musi.

Dodatkowo nie wiem dlaczego, ale czytnik się co jakiś czas zawiesza - pomimo, że na wyświetlaczu jest ok. i lecą odczyty to w HA urządzenie jest dostępne i online, ale encje nie za bardzo

tu widać kiedy się zawiesza - potem wskakuje normalnie.

# For more information please visit: https://github.com/SzczepanLeon/esphome-components
# If you want, you can buy me a coffee:
#     https://www.buymeacoffee.com/szczepan
#     https://buycoffee.to/szczepanleon

substitutions:
  name: ultimatereader-5a129c
  friendly_name: Ultimate Reader 5a129c


# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
esphome:
  name: ${name}
  friendly_name: ${friendly_name}
  name_add_mac_suffix: false
  platformio_options:
    board_build.f_flash: 80000000L
    board_build.arduino.ldscript: esp32s3_out.ld
    board_build.arduino.partitions: default.csv
    board_build.arduino.memory_type: qio_qspi
  project:
    name: wmbus.UltimateReader
    version: '1.2'


esp32:
  board: esp32-s3-devkitc-1
  variant: esp32s3
  framework:
    type: arduino


psram:


logger:
  id: component_logger
  level: DEBUG
  baud_rate: 115200


api:


ota:
- platform: esphome



wifi:
  ap:


captive_portal:


time:
- platform: homeassistant


# mqtt:
#  broker: 10.0.0.88
#  username: mqttUser
#  password: mqttPass
#  discovery: False   # disable entity discovery
#  discover_ip: False # disable device discovery


wmbus:
  id: my_wmbus
  led_blink_time: 123ms
  display_active: true
  all_drivers: true
  display_all: true
  sync_mode: true
  log_all: true

  # mqtt:
  #   broker: 10.0.0.88
  #   username: mqttUser
  #   password: mqttPass
  #   retain: True

  # clients:
  #   - name: "wmbusmeters"
  #     ip_address: "10.0.0.22"
  #     port: 7227
  #     format: rtlwMBus
  #     transport: UDP


sensor:
  - platform: uptime
    type: seconds
    name: Ultimate Reader uptime


# # add driver to compile list (will be available for autodetect), don't create sensor
#   - platform: wmbus
#     type: itron

# add sensor with defined type (driver will be also added to compile list)0x60f7319e
  - platform: wmbus
    meter_id: 0x60f7316f
#     type: izar
    sensors:
      - name: "my hot water RSSi"
        field: "rssi"
        accuracy_decimals: 0
        unit_of_measurement: "dBm"
        device_class: "signal_strength"
        state_class: "measurement"
        entity_category: "diagnostic"
      - name: "my hot water"
        field: "total"
        accuracy_decimals: 3
        unit_of_measurement: "m³"
        device_class: "water"
        state_class: "total_increasing"
        icon: "mdi:water"
  
 
# add sensor with defined type (driver will be also added to compile list)
  - platform: wmbus
    meter_id: 0x60f7316d
    sensors:
      - name: "1my hot water RSSi"
        field: "rssi"
        accuracy_decimals: 0
        unit_of_measurement: "dBm"
        device_class: "signal_strength"
        state_class: "measurement"
        entity_category: "diagnostic"
      - name: "1my hot water"
        field: "total"
        accuracy_decimals: 3
        unit_of_measurement: "m³"
        device_class: "water"
        state_class: "total_increasing"
        icon: "mdi:water"
     
  
# add sensor with defined type (driver will be also added to compile list)
  - platform: wmbus
    meter_id: 0x20711526
    type: iperl
    key: "E6C88800DEB868C0D6A84880CE982840"
    sensors:
      - name: "IPERL 1 RSSi"
        field: "rssi"
        accuracy_decimals: 0
        unit_of_measurement: "dBm"
        device_class: "signal_strength"
        state_class: "measurement"
        entity_category: "diagnostic"
      - name: "IPERL 1"
        field: "total"
        accuracy_decimals: 3
        unit_of_measurement: "m³"
        device_class: "water"
        state_class: "total_increasing"
        icon: "mdi:water"

# add sensor with defined type (driver will be also added to compile list)
  - platform: wmbus
    meter_id: 0x00038239
    type: iperl
    key: "E6C88800DEB868C0D6A84880CE982840"
    sensors:
      - name: "IPERL 2 RSSi"
        field: "rssi"
        accuracy_decimals: 0
        unit_of_measurement: "dBm"
        device_class: "signal_strength"
        state_class: "measurement"
        entity_category: "diagnostic"
      - name: "IPERL 2"
        field: "total"
        accuracy_decimals: 3
        unit_of_measurement: "m³"
        device_class: "water"
        state_class: "total_increasing"
        icon: "mdi:water"      

# add sensor with defined type (driver will be also added to compile list)
  - platform: wmbus
    meter_id: 0x20711518
    type: iperl
    key: "E6C88800DEB868C0D6A84880CE982840"
    sensors:
      - name: "IPERL 3 RSSi"
        field: "rssi"
        accuracy_decimals: 0
        unit_of_measurement: "dBm"
        device_class: "signal_strength"
        state_class: "measurement"
        entity_category: "diagnostic"
      - name: "IPERL 3"
        field: "total"
        accuracy_decimals: 3
        unit_of_measurement: "m³"
        device_class: "water"
        state_class: "total_increasing"
        icon: "mdi:water"             

# add sensor with defined type (driver will be also added to compile list)
  - platform: wmbus
    meter_id: 0x00034285
    type: iperl
    key: "E6C88800DEB868C0D6A84880CE982840"
    sensors:
      - name: "IPERL 4 RSSi"
        field: "rssi"
        accuracy_decimals: 0
        unit_of_measurement: "dBm"
        device_class: "signal_strength"
        state_class: "measurement"
        entity_category: "diagnostic"
      - name: "IPERL 4"
        field: "total"
        accuracy_decimals: 3
        unit_of_measurement: "m³"
        device_class: "water"
        state_class: "total_increasing"
        icon: "mdi:water"  

# add sensor with defined type (driver will be also added to compile list)
  - platform: wmbus
    meter_id: 0x00090224
    type: iperl
    key: "E6C88800DEB868C0D6A84880CE982840"
    sensors:
      - name: "IPERL 5 RSSi"
        field: "rssi"
        accuracy_decimals: 0
        unit_of_measurement: "dBm"
        device_class: "signal_strength"
        state_class: "measurement"
        entity_category: "diagnostic"
      - name: "IPERL 5"
        field: "total"
        accuracy_decimals: 3
        unit_of_measurement: "m³"
        device_class: "water"
        state_class: "total_increasing"
        icon: "mdi:water"  z lub wklej tutaj kod
1 polubienie

Gdzieś wycieka pamięć - i to ostro.
Fajnie ze masz tyle widocznych wodomierzy (będzie mi łatwiej złapać błąd).

Ciekawe jest to że u mnie Izarami Apatorem i Maddalenami nie widze tych wycieków.