Closed marionleborgne closed 7 years ago
In the /mqtt endpoint, add an option to enable / disable timestamps & sample number so that this information is added / removed from the sample transmitted via MQTT.
So the body of POST /mqtt would be:
POST /mqtt
{ "broker_address": "...", "username": "...", "password": "...", "enable_timestamp": true, "enable_sample_count": true }
done!
sample numbers now turned off by default and timestamps are on by default, will update swagger with how to set these on GET /mqtt
In the /mqtt endpoint, add an option to enable / disable timestamps & sample number so that this information is added / removed from the sample transmitted via MQTT.
So the body of
POST /mqtt
would be: