-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Devserver is great for testing adapters that "fill" iobroker, i.e. create devices based on hardware devices or pull data from some external source.
But for testing / developing adapters that show what is already inside iobroker (for example an UI adapter) it can be tedious to (re-)create all the objects and states in ioBroker using the admin interface. For this kind of adapters (especially with automatic device creation moving forward) it would be nice to create a predefined set of objects (and states?) on setup and maybe have a way to reset this predefined state (i.e. delete all objects and import the predefined ones - or is delete too much?).
The object definition could be as simple as a JSON file (admin exports objects as { id: ioBrokerObject } JSON).