john30 / ebusd-esp32

Firmware for ESP32-C3 allowing eBUS communication for ebusd (https://github.com/john30/ebusd)
https://adapter.ebusd.eu/v5
23 stars 1 forks source link

eBus Adapter info into ebusd #29

Open Koky05 opened 8 months ago

Koky05 commented 8 months ago

Would it be possible to populate some eBus Adapeter info into ebusd and then read them in KNX / HA? For example WiFi strength or FW version?

john30 commented 8 months ago

firmware version is already reported to HA and reflected as device update check entity. wifi strength might be interesting to add indeed

JavanXD commented 2 months ago

For HA there is already the option to fetch the data via API request from your Adaper:

The in-built MQTT option which got recently released did not work unfortunately, as it does comes with a few bugs, so I helped myself:

sensor:
- platform: rest
  name: "eBUS Adapter JSON" 
  resource: http://192.168.178.XX/api/v1/status
  json_attributes_path: "ebus"
  value_template: "{{ value_json.ebus.signal }}"
  json_attributes:
    - on
    - connected
    - proto
    - host
    - signal
  headers:
    Content-Type: application/json
  scan_interval: 60

Other values can be fetched too, by changing the json_attributes_path.

john30 commented 2 months ago

being a bit more specific wrt "comes with a few bugs" would certainly be helpful...