Hello all,
I have been playing around with node-red for some time and created some flows to automate some stuff in our home.
As a next step I want to try my hand ad creating a module.
What I would like to do is create a module that provides a node that does the following:
Listens to MDNS (analog to the discovery node) and:
- Create configuration nodes based on what it discovers.
Background: I have a few switches that announce their IP, MAC and name via mdns. I need the MAC as that is the basis for the events they publish in the mqtt server. But I want to have configuration nodes for each of those that use the name and store the mac and IP. And I would like these to be generated automatically..
Is there a proper way of doing this?