---
# System prepended metadata

title: 智慧路燈環境設置

---

[toc]

# Overview

Thingsboard 智慧路燈環境設置。


## Prerequisites

You need to have a Thingsboard Server running

### steps

1. **you need to login as a tenant**

2. **Import device profile**
https://github.com/5giotlead/tb-assets/tree/smart_light/device_profiles

3. **Import asset profiles**
https://github.com/5giotlead/tb-assets/tree/smart_light/asset_profiles

4. **Import widgets**
https://github.com/5giotlead/tb-assets/tree/smart_light/widget_bundles

    Bundles:
      - 5giotlead sandbox
      - 5giotlead Menu Widgets Bundle
      - 5giotlead staging
      - 5giotlead custom widgets

5. Import dashboards
https://github.com/5giotlead/tb-assets/tree/smart_light/dashboards

6. Create Assets
   asset profile 請用 pole
   
7. Create Devices
   device profile 請用 SMART_LIGHT
   
8. Setup Relations of Assets and Devices
   在Asset頁面, 點取asset的Relation Settings
   Direction: FROM
   contains: Device: <your smart_light device>