-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
Description
The idea is the following to also simplify adapter efforts and such:
If devices are discoverable using MDNS or UPNP we could add a section to io-package where adapters expose the relevant services/protocols for discovery.
Idea could be
"common": {
...
"discovery": {
"mdns": [
{
"service": "_googlecast",
"protocol": "tcp"
},
{
"serviceRegEx": "_matter[cd]",
"protocol": "udp"
],
"upnp": [
// whatever makes sense here
]
}
}
The discovery adapter then load the repository and parses out all such definitions and matchs the found things against them and if it matches then this adapter is proposed.
With this we can have "detailed fancy discovery logic" by adding code to discovery adapter, or simply configuring it in the adapters.
Garfonso and ldittmar81