Hi,
I am using NodeRed to communicate between an MQTT broker and NodeRed. I am seeing the device connect in the Traccar server logs, however the device remains offline in the UI.
Can someone help get this working?
I have configured the nodes and can get the data into other applications over MQTT (Home Assistant) I am however battling with the nodered flows to get the data into my traccar instance.
I am seeing the node connect in the Traccar logs, but the device is still showing as offline. I am using the DevEui as the ID in Traccar, and this is the url I am using from within Nodered:
http://REDACTED:5055/?id=TRACKERID&lat=LATITUDE&lon=LONGITUDE×tamp=TIMESTAMP&gateway=GATEWAY&rssi=RSSI&bat=BATTERY&speed=SPEED
These are the corresponding log files in traccar
2022-12-20 09:42:25 INFO: [Te9fd53de] connected
2022-12-20 09:42:25 INFO: [Te9fd53de: osmand < REDACTED] 474554202f20485454502f312e310d0a757365722d6167656e743a20676f74202868747470733a2f2f6769746875622e636f6d2f73696e647265736f726875732f676f74290d0a417574686f72697a6174696f6e3a20426173696320616d6f755957356b5a584a7a623235416157393059326b755932387564577336526d6c75626a49324d5449794d44453149513d3d0d0a486f73743a203139322e3136382e312e3233383a353035350d0a436f6e6e656374696f6e3a20636c6f73650d0a0d0a
2022-12-20 09:42:25 INFO: [Te9fd53de: osmand > REDACTED] 485454502f312e31203430302042616420526571756573740d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2022-12-20 09:42:25 INFO: [Te9fd53de] disconnected
so I know it is connecting it is simply not activating the device
Have you tried decoding the HEX data you've received? The request is completely empty.
Another problem is that it disconnected immediately.
Hey Anton,
Thanks for getting back to me so fast as usual.
I got it working in the end. It was down to my lack of NodeRed Skills, as I had entered the URL into the ttp request box as well!
Thanks
Hi,
I am using NodeRed to communicate between an MQTT broker and NodeRed. I am seeing the device connect in the Traccar server logs, however the device remains offline in the UI.
Can someone help get this working?
I have configured the nodes and can get the data into other applications over MQTT (Home Assistant) I am however battling with the nodered flows to get the data into my traccar instance.
I am seeing the node connect in the Traccar logs, but the device is still showing as offline. I am using the DevEui as the ID in Traccar, and this is the url I am using from within Nodered:
These are the corresponding log files in traccar
so I know it is connecting it is simply not activating the device