laravel-thingsboard icon indicating copy to clipboard operation
laravel-thingsboard copied to clipboard

Implementation of Thingsboard MQTT commands

Open jalallinux opened this issue 1 year ago • 1 comments

Hints: Php MQTT package: php-mqtt/client Thingsbard Documentation: https://thingsboard.io/docs/reference/mqtt-api/

  • [x] 1. PUB v1/devices/me/telemetry Publish telemetry data to ThingsBoard server node.

  • [x] 2. PUB v1/devices/me/attributes Publish client-side device attributes to ThingsBoard server node.

  • [ ] 3. SUB v1/devices/me/attributes Subscribe to shared device attribute changes.

  • [ ] 4. PUB v1/devices/me/attributes/request/$request_id Request client-side or shared device attributes to ThingsBoard server node

  • [ ] 5. SUB v1/devices/me/attributes/response/+ Subscribe to client-side or shared device attribute changes.

  • [ ] 6. SUB v1/devices/me/rpc/request/+ Subscribe to RPC commands from the server.

  • [ ] 7. PUB v1/devices/me/rpc/request/$request_id Publish RPC commands to ThingsBoard server node.

  • [ ] 8. PUB v1/devices/me/rpc/response/$request_id The client (Device) should publish the response to this topic.

  • [ ] 9. PUB v1/devices/me/claim Initiate claiming device.

  • [ ] 10. PUB /provision Initiate device provisioning.

  • [ ] 11. PUB v2/fw/request/${requestId}/chunk/${chunkIndex} Ddevice firmware update, it sets the fw_title, fw_version, fw_checksum, fw_checksum_algorithm shared attributes.

  • [ ] 12. SUB v2/fw/response/+/chunk/+ Receive the device updates for fw_title and fw_version shared attributes.

jalallinux avatar Jun 03 '23 11:06 jalallinux