Skip to content

fill devserver with predefined set of objects and data #28

@Garfonso

Description

@Garfonso

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions