I’m creating a binding for a FAI box. One of the information I can fetch are the DHCP leases.
As does by the freebox binding, one of the useful thing to do with such information is to create a ping monitoring. But, instead of creating such feature myself, I imagined to reuse the network binding, creating NetworkHandler on the fly.
Is it possible? Is it a good idea?
If so, how should I do? How to express a dependency between my module and the network module? How can I (correctly, cleanly) create a Thing from an other module?
Thanks for any thoughts and suggestions.