Is there a clean way to setup “global” configs for all devices associated with a driver? For example, I want to be able to manually enter an IP address and auth token for another hub/bridge before entering device discovery. This would let me discover devices on that other hub/bridge. In the past, I could have made a SmartApp to setup this sort of info before creating instances of the device. Where does that go now with Edge?
I have seen @TAustin handle this in a few of his drivers by creating a single bootstrap device by default on discovery, and then you can use that to create further devices.
Ideally, I would like to be able to create an entry in the devices menu that walks the user through device setup rather than “scanning” for it. Setup would include:
- Enter IP address of your bridge
- Pair to your bridge or enter an auth token (depending on model)
- Import devices associated with that bridge