When new devices send positions to traccar, the devices are correctly added and I can see them in the web platform. The problem is that I don't receive these updates in the websocket, I need to restart the connection in order to receive positions.
If I manually I register a device before it sends positions, the problem doesn't occur. It only occurs when the device is registered automatically.
I use the following options in my configuration file:
<entry key='database.registerUnknown'>true</entry>
<entry key='database.registerUnknown.defaultGroupId'>1</entry
Yes, I believe it's a limitation currently.
Is this limitation present also with the forwarding option?
<entry key='forward.enable'>true</entry>
No, the issue with the user session. It doesn't get updated dynamically in this case. It shouldn't be a problem with forwarding.
When new devices send positions to traccar, the devices are correctly added and I can see them in the web platform. The problem is that I don't receive these updates in the websocket, I need to restart the connection in order to receive positions.
If I manually I register a device before it sends positions, the problem doesn't occur. It only occurs when the device is registered automatically.
I use the following options in my configuration file:
<entry key='database.registerUnknown'>true</entry> <entry key='database.registerUnknown.defaultGroupId'>1</entry