You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.3 KiB

```
mkdir -p ~/.mytb-data && sudo chown -R 799:799 ~/.mytb-data
mkdir -p ~/.mytb-logs && sudo chown -R 799:799 ~/.mytb-logs
docker run -it -p 9090:9090 -p 7070:7070 -p 1883:1883 -p 5683-5688:5683-5688/udp -v ~/.mytb-data:/data \
-v ~/.mytb-logs:/var/log/thingsboard --name mytb --restart always thingsboard/tb-postgres
```
# 官网教程
https://thingsboard.io/docs/getting-started-guides/helloworld/
tenant@thingsboard.org
tenant
ThingsBoard UI will be available using the URL: [http://localhost:8080](http://localhost:8080/). You may use username **tenant@thingsboard.org** and password **tenant** . More info about demo accounts is available [here](https://thingsboard.io/docs/samples/demo-account/).
SphDn4eHBputVhXSl5am
curl -v -X POST -d "{\"temperature\": 25}" http://192.168.31.249:9191/api/v1/SphDn4eHBputVhXSl5am/telemetry --header "Content-Type:application/json"
```
curl -v -X POST -d "{\"temperature\": 25}" https://thingsboard.windymuse.site/api/v1/SphDn4eHBputVhXSl5am/telemetry --header "Content-Type:application/json"
```
# 访问thingsboard内部的postgres数据库
https://blog.csdn.net/qq_38899062/article/details/127305731
# 开源物联网平台ThingsBoard数据库40张数据表设计一览
https://blog.csdn.net/qq_40657528/article/details/124430504