SF MQTT API
Sometimes you need to send data without going through the SF Edge. This thing is possible by using the SF MQTT API Endpoint.
API Endpoint Structure
1. Topic
2. Payload
{
"events": [
{
"id": "8a4c6063-91ce-441e-a41a-eff33f6f5d66",
"timestamp": 1656597003349, //timestamp in miliseconds
"type": "mqttfx_example",
"data": {
"temperature": "35"
}
}
]
}MQTT client

Example of sending data



Frequently encountered problems
Timestamp format
Wrong usage of the Data property
Connect an MQTT client without a certificate
Last updated