Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Adding triggering parameters for HA/ZHA #1

Open
MattWestb opened this issue Apr 28, 2021 · 2 comments
Open

Adding triggering parameters for HA/ZHA #1

MattWestb opened this issue Apr 28, 2021 · 2 comments

Comments

@MattWestb
Copy link

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.

@thegroove
Copy link
Owner

thegroove commented Apr 28, 2021

Yes, this component is a step towards that, as we can now advertise in any way we want. For ZHA to identify a specific instance of a gateway, I think it makes the most sense, considering how zeroconf aims to work, to have HA/ZHA to store the .local name. It's technically always unique on a network, and is query-able over mDNS to get an IP-address. This is also how the ESPHome integration in Home Assistant works. The service name can reflect the protocol, 'ezsp', etc., and additional things like baud_rate, etc., would go into the txt block.

Making this component is part of the work in progress, my next step is to use it in an example configuration with the serial server, I will post that as soon as I have something.

@Hedda
Copy link

Hedda commented Sep 6, 2021

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants