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 just installed v2.6.13 today which fixed a problem reading from the OBD device - thanks!
I am trying to use the MQTT plugin, and it seems to be working, apart from the fact that it sends the same data over and over.
Looking at the code in MqttPlugin, I can't see anywhere that it removes the sent data from valueMap after publishing it. Am I correct? (I am viewing it on Github, rather than in an IDE, so might be missing something).
Also, I am thinking of adding an HttpPlugin, to submit data to a configurable POST endpoint - any thoughts/advice? My plan is to take the MqttPlugin and use that as the template.
I'm thinking of submitting as a JSON payload, but might just submit it as something simpler if JSON makes it too complicated in Android and leave deserialising and interpretting to the server side.
The text was updated successfully, but these errors were encountered:
Indeed, the plugin runs as long as the APP does. So the plugin re-published the last seen data readings.
Since data retrieval (AndrOBD) and data publishing (plugin) run asynchronously, it would contradict any data updating rules to clear data after send update. Worst case you get published empty data values sporadically. (which is a hassle to diagnose).
I could imagine to send an empty value list towards any publishing plugin in a "NO data" condition of the vehicle communication.
Hi @fr3ts0n
I just installed v2.6.13 today which fixed a problem reading from the OBD device - thanks!
I am trying to use the MQTT plugin, and it seems to be working, apart from the fact that it sends the same data over and over.
Looking at the code in MqttPlugin, I can't see anywhere that it removes the sent data from valueMap after publishing it. Am I correct? (I am viewing it on Github, rather than in an IDE, so might be missing something).
Also, I am thinking of adding an HttpPlugin, to submit data to a configurable POST endpoint - any thoughts/advice? My plan is to take the MqttPlugin and use that as the template.
I'm thinking of submitting as a JSON payload, but might just submit it as something simpler if JSON makes it too complicated in Android and leave deserialising and interpretting to the server side.
The text was updated successfully, but these errors were encountered: