i am trying to send two number to thingsboard iot platform. send one data is like this : curl -v POST --data "{"photoresistor":10}" https://thingsboard.cloud/api/v1/nIjlT58Xo81AdU2Pwymm/telemetry --header "Content-Type:application/json"
but i do not know how to send two data to thingsboard . in my search i saw this
curl -v -X POST --data "{"temperature":42,"humidity":73}" https://demo.thingsboard.io/api/v1/ABC123/telemetry --header "Content-Type:application/json"
form https://thingsboard.io/docs/reference/http-api/
but any device should have one $ACCESS_TOKEN . and i can not use above command with two data "{"temperature":42,"humidity":73}" . because every device need one ACCESS_TOKEN.
please help me to solve this problem. thanks.
If you're using Thingsboard CE then you will need to get creative if you don't want to use access tokens. Possibly look at AWS lambda functions to act as a middle-man to forward messages.
If you're using Thingsboard PE then instead of posting to the device directly using it's ACCESS_TOKEN, you can use Integrations & Data Converters.