thingsboard / thingsboard

Open-source IoT Platform - Device management, data collection, processing and visualization.
https://thingsboard.io
Apache License 2.0
17.4k stars 5.14k forks source link

Adding large quantities of devices? #11200

Open Havenfire opened 3 months ago

Havenfire commented 3 months ago

Component

Description How would I create a large number of devices and add them all at once? Assuming the number of devices is in the thousands?

Environment


Disclaimer

We appreciate your contribution whether it is a bug report, feature request, or pull request with improvement (hopefully). Please comply with the Community ethics policy, and do not expect us to answer your requests immediately. Also, do not treat GitHub issues as a support channel.

Backdraft007 commented 3 months ago

You can import devices from a CSV file.

Havenfire commented 3 months ago

Is there a way to assign devices to Groups or Customers through the csv import?

Backdraft007 commented 3 months ago

As I can see, it is not possible.

Backdraft007 commented 3 months ago

May you can use the API to import devices.

liotys commented 3 months ago

Is there a way to assign devices to Groups or Customers through the csv import?

I guess you can import devices as tenant owner with customer and groups in additional attributes. Then you can use a rule chain using "change owner" and "add to group" nodes according to these attributes.. image