Hi, I’m having trouble getting mqttitude to work reliably, but I’m also fairly new to this so I would like to do some further debugging before I feel confident enough to even post the right questions.
I would like to be able to simulate the Owntracks transition events by simply publishing to my MQTT broker the same message that would come from Owntracks, but I need the exact message format to publish.
Can someone help me with the syntax? Currently I receive Owntracks transition events like this using mosquitto_sub -
Hi, thanks for the reply, but I can see from the subscriber messages what the general data is, I was hoping to find out the exact syntax or format for sending the publish message.
Also, I’m trying to simulate a transition event, not a location event, the data/payload is different, at least it appears so from the subscriber messages I receive; there is more than just lat/lon.
The simplest method would be to duplicate the transition message I put in the initial post, what I really need help with is the syntax I can use to put that data into a publish message using mosquitto_pub so that its received exactly the same, as if it was owntracks that sent it, and triggers the command in openhab.