I would recommend waiting for 5.2. There are some known issues in 5.1.
With version 5.2 I get the following error messages in ioBroker:
traccar.0
2022-07-20 08:15:45.170 info Connect to server over websocket connection.
traccar.0
2022-07-20 08:15:45.162 error device.geofenceIds is not iterable
traccar.0
2022-07-20 08:15:45.162 error TypeError: device.geofenceIds is not iterable at Traccar.getGeofencesState (/opt/iobroker/node_modules/iobroker.traccar/main.js:273:41) at Traccar.processData (/opt/iobroker/node_modules/iobroker.traccar/main.js:195:47) at Traccar.getTraccarDataOverAPI (/opt/iobroker/node_modules/iobroker.traccar/main.js:268:14) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Traccar.onReady (/opt/iobroker/node_modules/iobroker.traccar/main.js:61:13)
traccar.0
2022-07-20 08:15:45.161 error unhandled promise rejection: device.geofenceIds is not iterable
traccar.0
2022-07-20 08:15:45.160 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
traccar.0
2022-07-20 08:15:45.027 info starting. Version 0.0.11 (non-npm: o0shojo0o/ioBroker.traccar) in /opt/iobroker/node_modules/iobroker.traccar, node: v16.15.1, js-controller: 4.0.23
Looks like there's a bug in iobroker
. Parameter geofenceIds
should be nullable.
With the updated traccar-adapter 0.0.12 in iobroker now it works also with Traccar-Version 5.2
Hi,
has anything changed regarding the Geofence API between 5.0 and 5.1.
After installing 5.1 i get the following error on the iobroker side:
After reverting to 5.0 eveything connects fine again.
Thanks
Benjamin