Traccar Server Integration

Hello,

I am fairly new to Home Assistant. It has been about 3 weeks since I switched from SmartThings. I am really loving how much better it works.

I installed using a Raspberry Pi 4 using the image downloaded from the website. I have version 0.115.3 installed.

I installed Traccar using the Supervisor addon and have it working on it’s own very well. I installed an ST-902 GPS device in my car and it communicates well with the Traccar server.

My problem is that I cannot get the HA integration to work. There is no mention of Traccar in the HA core logs. I have tried the following:

device_tracker:
  - platform: traccar
    host: 127.0.0.1
    port: 18682
    ssl: false
    verify_ssl: false
    username: !secret traccar_username
    password: !secret traccar_password
    event: ['all_events']
    new_device_defaults:
    track_new_devices: true
device_tracker:
  - platform: traccar
    host: 127.0.0.1
    port: 18682
    ssl: false
    verify_ssl: false
    username: !secret traccar_username
    password: !secret traccar_password

I have also tried changing the port to 8072, which is the port I use for the web access. I have also tried changing the host to the localhost, local hostname, and local IP. Nothing seems to work.

Try changing the ip adress to the real homeassistant one.

I have tried that. Nothing seems to work.

Have you also set the addon to “no ssl”?

this is mine:

device_tracker:
  - platform: traccar
    host: 127.0.0.1
    port: 18682
    ssl: false
    verify_ssl: false
    username: !secret TRACCAR_EMAIL_ADDRESS
    password: !secret TRACCAR_PASSWORD

I have tried with no ssl and with ssl. Still no trackers.

Where are you looking for the devices?

Have you created the devices inside traccar? Are you tracking any? Are they “green”?

I didn’t create any devices in HA. I assumed the integration automatically created them. Is that what I am missing? Do I need to manually create them? If so, how do I do that?

Yes, I have one device in Traccar being tracked so far. It is green and showing online.

No in ha they must appear.

Have you added the “integration” or have you configured in configuration.yaml?

Where are you looking and concluding not seeing them in ha? If I go to “entities” and search and type traccar I see my 3 tracked devices.

I have not added the integration. My understanding is that is only for use with the mobile Traccar apps.

I have configured in configuration.yaml as posted above. If I search entities, there is no traccar found.

Then I am out of options… fingers crossed for more expertise…

Still looking for a solution. Is anyone able to point me in the right direction?

Is there a way to force this? I don’t see traccar mentioned in the logs at all.

hi i am having the same problem did you had any solutions ?