You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to save sent messages using addons (Influxdb) while using mqtt. My application works fine - the messages are sent and received, but when I try to read them, none are saved. I saw in one old example using http that I should add content type header, but mqtt doesn't have that option. I saw here something like having special topic "/ct" but I don't understand how to use this.
The mainflux I'm using is from April 29. this year. Writer and reader are installed successfully.
I'm trying to save sent messages using addons (Influxdb) while using mqtt. My application works fine - the messages are sent and received, but when I try to read them, none are saved. I saw in one old example using http that I should add content type header, but mqtt doesn't have that option. I saw here something like having special topic "/ct" but I don't understand how to use this.
The mainflux I'm using is from April 29. this year. Writer and reader are installed successfully.
My apps are in python, so I'm using paho library.
Here is my code:
app sending data
app showing data (partially):
app trying to read the messages from influxdb: