Coder Social home page Coder Social logo

esphome-zeroconf's People

Contributors

thegroove avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

akalagov hedda syssi

esphome-zeroconf's Issues

External Components

Just wanted to drop a note here, I am looking at using this code and working with the ZHA devs to update discovery. no time table yet. But wanted to say thank you! Also letting you know the zeroconf code (and modified serial server) work with the new external components feature in esphome 1.18. For zeroconf I just had to rename the folder to zeroconf instead of esphome-zeroconf.

If you re-arrange your repo, the code can be pulled dynamically from the yaml.

Adding triggering parameters for HA/ZHA

I have not reading how its working but have seen tube0013 was added in HA and is triggering on some name parameters getting from the device / network.

I think it can being god putting in one "working name" for the serial ZBGW so HA can finding it and knowing how to using it.

Perhaps "ESPHomeZBGW-XXXX" then XXXX is the last part of the device MAC or some thing that is unique and also always being identified by HA and with the last part for adding more then one devices (or HA is doing that part in its side).

Perhaps also adding coordinator type EZSP/TI/Zigate and so on and baud rate and flow control to HA so it can using it hen adding ZHA.

If all is going well it can being possible triggering installation of ZHA with only clicking OK from the user and all is sett and done.

Template for passing settings parameters via DNS TXT records to to Home Assistant's ZHA integration config flow

Suggest maybe add template for passing settings parameters via DNS TXT record to Home Assistant's ZHA integration component.

@thegroove Follow up to the Zeroconf request in thegroove/esphome-zbbridge#1 and discussed with @tube0013 and yourself.

It would be great if this Zeroconf custom component for ESPHome could be used to pass along parameters to the ZHA integration.

Would especially be nice to pass along recommended device setting "config flow" needed for initial installation for ZHA integration.

As mention in thegroove/esphome-zbbridge#1 the information that the users need for ZHA config flow really needs provided at a minimum is; IP, tcp port serial gateway, radio type, baud rate, and type of data flow control to be used for the serial communication.

Example:

  • radio_type=ezsp
  • baud_rate=value
  • data_flow_control=software
  • tcp_port_serial_gateway=value

Second part would be to extend the ZHA integration to make use of those parameter values and set them as defaults in config flow.

FYI, Home Assistant's zeroconf maintainer/dev bdraco referred to this example for using TXT record to pass values to integrations:

https://github.com/home-assistant/core/blob/d4ed65e0f53fcab991b13061b1101470f24287a6/homeassistant/components/homekit_controller/config_flow.py#L199

By the way, have also seen related requests to get more information about the ESPHome device and the service that it is is providing.

That is, it would also be nice if also pass along additional information about the service that might not be used by ZHA config flow.

Such additional information could be displayed on the ESPHom,e device and include data on the hardware device, like example:

  • service_name=Tube_Zigbee_Gateway
  • service_type=serial_server_bridge
  • service_component=stream_server
  • gateway_manufacturer_website=www.tubeszb.com
  • gateway_products_model=EFR32_Series2_Ethernet_Gateway
  • gateway_connection=ethernet_and_not_wifi
  • gateway_platform=Espressif_ESP32
  • esp_board_type=ESP-WROVER-KIT
  • esp_board_version=V4.1
  • zigbee_chip_manufacturer=Silicon_Labs
  • zigbee_chip_model=MGM210PA32JIA2

PS: There is also a general Home Assistant community forum thread about Zeroconf support by the ZHA integration here:

https://community.home-assistant.io/t/zha-automatic-discovery-of-zigbee-coordinator-bridges-gateways-ethernet-wifi-network-devices-that-support-zeroconf-or-ssdp/293300/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.