[Sprzedam] Czytnik WMBUS CC1101 + ESP32 @ESPHome

Aktualizacja ogłoszenia w pierwszym poście :slight_smile:

Podziel się informacją co jest w środku.

WT32-ETH01 + radio E07

Czy zasilanie jest po POE ??

Oczywiście nie doczytałem, jak zwykle :slight_smile:

Dariusz, na samym początku pisze że na razie POE nie ma :slight_smile:

Myślisz, że ten sprzęt dałby się zmodyfikować?

1 polubienie

Pytanie jaka jest komunikacja pomiędzy ESP a układem ethernet. Jeśli SPI, to nie da rady, bo SPI jest potrzebne do radia i nie odpalisz obu. Jeśli RMII to tylko kwestia czy masz wolne piny w ESP:)

W obecnie produkowanej/dostępnej (bo nie wiem czy nadal jest w produkcji) wersji jest RMII na IP101 (stara wersja już niedostępna miała LAN8720) - to jest dokładnie ten sprzęt

raczej myślałem o bazie do twoich wypustów skoro jest zapotrzebowanie na PoE, moduł PoE jak nawet widać na zdjęciu montują tam ze swoich routerów, być może sama płytka PoE jest też dostępna luzem (możesz popytać sprzedawcy na Ali, bo to chyba oficjalny sklep producenta)

Dzięki. Przeglądam różne dostępne rozwiązania z Poe. Nawet mam same takie moduły zasilające, ale pod wt32 ich nie podepnę.Najprościej było by wziąć olimexa…

Może LilyGO TTGO ESP32 Ethernet Development Board (T-Internet-POE)?

Też oglądałem. Niby ok ale i tak trzeba dorzucić dodatkowy moduł do programowania, bo usb na głównej PCB nie programuje. Trzeba dorzucić jeszcze płytę z radiem i duże się robi:)

Jest też spoko płytka wt32-eth01-evo, z modułem POE, ale zmienili w nim moduł ethernet na SPI i doopa…

Nie analizowałem nigdy tych wypustów lilygo, ale przynajmniej niektóre olimexy mają za dużo zbędnych komponentów zamontowane (chociaż nie wiem czy wszystkie, pamiętam jak w jakimś wątku męczyliśmy jakiś bardziej rozbudowany moduł i ten osprzęt tylko przeszkadzał).

Cześć, mam problem z aktualizacją:

INFO ESPHome 2024.10.0
INFO Reading configuration /config/esphome/wmbus-reader-v2.yaml...
INFO Detected timezone 'Europe/Warsaw'
Failed config

sensor.wmbus: [source /config/esphome/wmbus-reader-v2.yaml:114]
  platform: wmbus
  meter_id: xxxxxxxx
  type: apator162
  
  [add_prefix] is an invalid option for [sensor.wmbus]. Please check the indentation.
  add_prefix: False
  key: 00000000000000000000000000000000
  
  [lqi] is an invalid option for [sensor.wmbus]. Please check the indentation.
  lqi: 
    name: My lqi
  
  [rssi] is an invalid option for [sensor.wmbus]. Please check the indentation.
  rssi: 
    name: My RSSI
  
  [total_water_m3] is an invalid option for [sensor.wmbus]. Please check the indentation.
  total_water_m3: 
    name: Licznik Główny
    force_update: True

Mój config:

#dashboard_import:
#  package_import_url: github://MariuszWoszczynski/wmbus-reader-v2/wmbus-reader-v2.yaml@main
#  import_full_config: true
 
substitutions:
  name: "wmbus-reader-v2"
  friendly_name: "wmbus reader v2"
  status_led: GPIO15
  
esphome:
  name: "${name}"
  friendly_name: "${friendly_name}"
  project:
    name: esphome.wmbus_reader_v2
    version: "1.0"
  # only for RPI 
  compile_process_limit: 1
  
esp32:
  board: lolin_s2_mini
  framework:
    type: arduino
 
external_components:
  - source: github://SzczepanLeon/esphome-components@main
    components: [ wmbus ]
#    refresh: 0d
 
 
time:
 - platform: sntp
   id: time_sntp
 
 
# Enable logging
logger:
  level: VERBOSE
 
# Enable Home Assistant API
api:
  encryption:
    key: "XXX"
 
ota:
- platform: esphome
 
wifi:
  ssid: "XXX"
  password: "XXX"
  power_save_mode: LIGHT
  fast_connect: true
  reboot_timeout: 10min
  output_power: 18dB
#  static IP configuration (instead of data from the secret file)
  manual_ip:
    static_ip: 192.168.1.207
    gateway: 192.168.1.1
    subnet: 255.255.255.0
 
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "WMBUS Reader v2"
#    password: "XXX"
 
# Status LED for connection
status_led:
  pin:
    # Blue LED
    number: ${status_led}

captive_portal:
 
web_server: 
  port: 80
 
wmbus:
  mosi_pin: GPIO35
  clk_pin:  GPIO36 
  miso_pin: GPIO37
  gdo2_pin: GPIO1 
  gdo0_pin: GPIO2
  cs_pin:   GPIO34
#  log_unknown: true
  sync_mode: true
 

text_sensor: 
    # For Apator16-2 water meter please add also text sensor (for debug purposes):
#  - platform: wmbus                       
#    name: "Text debug for Apator 16-2"
    #diagnostic info
  - platform: wifi_info                   
    ip_address:
      name: 'IP Address'
      icon: mdi:wifi
    ssid:
      name: 'Connected SSID'
      icon: mdi:wifi-strength-2
      
sensor:
    # Reports the WiFi signal strength/RSSI in dB
  - platform: wifi_signal 
    name: "WiFi Signal dB"
    id: wifi_signal_db
    update_interval: 60s
    entity_category: "diagnostic"
# first sensor (water)
  - platform: wmbus
    meter_id: 0xXXXXXXXX
    type: apator162
    add_prefix: false
    key: "00000000000000000000000000000000"
    lqi:
      name: "My lqi"
    rssi:
      name: "My RSSI"
    total_water_m3:
      name: "Licznik Główny"
      force_update: true
   #  filters:              #optional
   #    - offset: 123.4567  #the difference between the indications of the radio overlay and the counter (if you have a used overlay)

  # second sensor (water)
  - platform: wmbus
    meter_id: 0xXXXXXXXX
    type: apator162
    add_prefix: false
    key: "00000000000000000000000000000000"
    lqi:
      name: "My lqi 2"
    rssi:
      name: "My RSSI 2"
    total_water_m3:
      name: "Licznik Ogród"
      force_update: true
   #  filters:              #optional
   #    - offset: 123.4567  #the difference between the indications of the radio overlay and the counter (if you have a used overlay)


  # more options on https://github.com/SzczepanLeon/esphome-components

button:
  - platform: restart
    name: "Restart"

Jeśli chcesz pozostać z komponentem Szczepana na wersji 3.x czytaj tam

czyli to

external_components:
  - source: github://SzczepanLeon/esphome-components@3.2.3
    components: [ wmbus ]

oprócz tego sugeruję zmienić tu

ota:
- platform: esphome

tak (aby trzymać się zwyczajowej składni, mimo, że bez wcięcia pewnie też działa)

ota:
  - platform: esphome
1 polubienie