Simple IOT Initialisation

What is the recommended method of initialising the state of a simple iot device/endpoint? Can a default sqlite db be provided? Does this cause issues with identical node ids across devices? or must the device run “siot import” with a .yml file on initial load?

The .yml import is recommended as it creates new device IDs. Otherwise, you run into the problem of duplicate IDs if you simply copy the db, like you said.

It would probably be useful to be able to create the DB without SIOT running – perhaps siot import should automatically handle both scenarios.

Ideas on how to improve this are welcome, as we haven’t used this feature extensively yet.