Skip to content

dratasich/thingsboard-go-client-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

thingsboard-go-client-examples

Examples using the thingsboard-go-client-sdk.

Run

cd examples/rpc
go mod tidy
DEBUG=true TB_MQTT_SERVER_URL=mqtts://<host>:8883 TB_MQTT_USERNAME=<access token> go run .

gateway

When running the gateway-example be sure you connect to a device with gateway-mode enabled.

provision

Create a device profile and select Allow to create devices in the "Device Provisioning" tab.

DEBUG=true TB_MQTT_SERVER_URL=mqtts://<host>:8883 TB_MQTT_PROVISIONING_KEY=<key> TB_MQTT_PROVISIONING_SECRET=<secret> go run .

About

ThingsBoard golang examples

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published