Home Assistant Community Add-on: Traccar

:tada: Release v0.5.0

Full Changelog

:sparkles: This release adds support for Hass.io Ingress :tada:
:sparkles: This release adds support for storing your data in the MariaDB add-on :tada:

Besides this: major upgrades about every single thing inside this add-on :arrow_up:

:rotating_light:Breaking change

The addition of Ingress makes this add-on not accessible directly. If you have added Traccar via an iframe panel, this release will break that. However, you can simply toggle the “Show in side bar” switch now :tada:

You can enable direct access again by going into the add-on configuration. A section is visible: “Network”. Enter port 8072 (or anything else if you want) in the disabled field. Hit the “SAVE” followed by the “RESTART” button to make your iframe and others work as before.

Changed

  • :pencil2: Maintaince -> Maintenance
  • :arrow_up: Upgrades add-on base image to v4.0.1
  • :sparkles: Adds FUNDING.yml
  • :arrow_up: Upgrades nginx to 1.16.0-r2
  • :arrow_up: Upgrades nss to 3.44-r0
  • :arrow_up: Upgrades openjdk8-jre to 8.212.04-r0
  • :arrow_up: Upgrades Traccar to v4.5
  • :sparkles: Adds Ingress support
  • :hammer: Extends NGinx wait timeout for Traccar startup
  • :books: Documents the use of MySQL/MariaDB with this add-on
  • :art: Adds Ingress side bar icon
  • :fire: Removes obsolete iframe panel documentation

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

2 Likes

Thanks for your continuous great work, @frenck!
Is it possible, to integrate Traccar via the Integrations menu by using a webhook?

@Vayain Sure! But that takes a lot of time, which I currently do not have. Maybe in the future (or maybe somebody else can contribute it?)

Where can I find the location of the traccar files?

In the forum, https://www.traccar.org/forums/topic/how-to-remove-supported-language-other-than-english-and-bahasa/

the developer mentioned load.js file that contains the list of languages. I just can’t find this file on my HA server, please help! Thanks.

Do I still need to forward port 8072 in router for phone/gps to call in and update or is Ingress handling this to somehow?

2 Likes

Hi @uiguy

I haven’t been able to find the traccar under known devices. I tried to understand and follow the documentation but it is just not working for me.
I created this post also Link where I posted the configuration details. I request you to have a look at it and let me know what I am doing wrong.

I had a couple of teething issues with the addon-component so went back to hosting traccar in docker on my synology nas… Can you see the devices in the traccar ui?

Yes, I can see my device in the Traccar UI.

check in your dev state (YOUR_HASS_ADDRESS:8123/dev-state) for device_tracker

Not there as well under dev_states

Here is a snip from the Traccar add on log

Yea, you are getting the data, but you are having the same issue I was when running traccar with the addon component…

Why not try spinning up traccar elsewhere (outside of Hassio) and see then if your devices appear?

One final place you could look for your devices in Home Assistant is in the .storage folder in the device registry core…

@frenck May I request you to assist here. I am not able to see the device_tracker in hassio. Y

Well Traccar is receiving data… so it seems to be your config of Traccar integration of Home Assistant. You didn’t share any information on that part. No configuration, no logs. There is no way I can help. Hence me not responding.

Sorry @frenck , every detail you seek to help me was in the post above. I realise it was insensitive to me to expect you to scroll up and read through.My accept my apologies
Link to my config
Logs

please help!

  1. Have you setup a correct user and password in traccar?
  2. I assume that these are not your details?
    username: secret
    password: secret

The default username is admin/admin (WHICH YOU MUST CHANGE) you then need to plug in the corresponding username and password to your config.yaml…

Apologies if this has already been done, it is the only thing that jumps out at me from your config files…

Have you enabled the port you are connecting to? The addon uses ingreds now by default (as written in the last release notes)

@uiguy yes, password is changed… and same is config.yaml
@Frenk I removed the port 8072 from config.yaml now. Left the network section to default (disabled) Restarted but still tracker not showing.

:cry:

@frenck is the default port for config.yaml 8082 or 8072?

Help needed please. I can’t seem to get the hass.io integration working after installing the addon. The addon itself is working (i think) and is picking up the client from my android phone. There is some conflicting HASS config information between the docs and thr addon so it makes it difficult to troubleshoot.

I do not use SSl/HTTP and my hass.io, supervisor and host system are up to date.

EDIT: I receive this in the logs about a port conflict - not sure if this is mormal or not?

2019-07-06 18:53:48  INFO: Starting server...
2019-07-06 18:53:52  WARN: Port 5037 is disabled due to conflict
2019-07-06 18:53:52  INFO: jetty-9.4.18.v20190429; built: 2019-04-29T20:42:08.989Z; git: e1bc35120a6617ee3df052294e433f3a25ce7097; jvm 1.8.0_212-b04
2019-07-06 18:53:54  INFO: Started o.t.w.@22e0ef{/,null,AVAILABLE}
2019-07-06 18:53:54  INFO: DefaultSessionIdManager workerName=node0
2019-07-06 18:53:54  INFO: No SessionScavenger set, using defaults
2019-07-06 18:53:54  INFO: node0 Scavenging every 600000ms

Hass.io Config

  - platform: traccar
    host: '192.168.0.xx'
    username: myownemailaddress
    password: myownpassword

Addon Config

  "ssl": false,
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem"
}

Addon Logs

[06/Jul/2019:17:05:39 +0100] 200 149.254.234.133, 172.30.32.1(172.30.32.2) GET /api/attributes/computed?_dc=1562429134115&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Linux; Android 9; ONEPLUS A5010) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36)
[06/Jul/2019:17:05:40 +0100] 200 149.254.234.133, 172.30.32.1(172.30.32.2) GET /api/commands/types?_dc=1562429134117&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Linux; Android 9; ONEPLUS A5010) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36)
[06/Jul/2019:17:05:43 +0100] 200 149.254.234.133, 172.30.32.1(172.30.32.2) GET /api/commands?_dc=1562429134118&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Linux; Android 9; ONEPLUS A5010) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36)
[06/Jul/2019:17:05:45 +0100] 200 149.254.234.133, 172.30.32.1(172.30.32.2) GET /api/notifications/types?_dc=1562429134120&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Linux; Android 9; ONEPLUS A5010) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36)
[06/Jul/2019:17:05:45 +0100] 200 149.254.234.133, 172.30.32.1(172.30.32.2) GET /api/notifications/notificators?_dc=1562429134121&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Linux; Android 9; ONEPLUS A5010) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36)
[06/Jul/2019:17:05:46 +0100] 200 149.254.234.133, 172.30.32.1(172.30.32.2) GET /api/notifications?_dc=1562429134123&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Linux; Android 9; ONEPLUS A5010) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36)
[06/Jul/2019:17:05:46 +0100] 200 149.254.234.133, 172.30.32.1(172.30.32.2) GET /api/devices?_dc=1562429134126&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Linux; Android 9; ONEPLUS A5010) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36)
[06/Jul/2019:17:05:56 +0100] 101 149.254.234.133, 172.30.32.1(172.30.32.2) GET /api/socket HTTP/1.1 (Mozilla/5.0 (Linux; Android 9; ONEPLUS A5010) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36)
2019-07-06 17:11:32  INFO: [b848edcb] connected
2019-07-06 17:11:32  INFO: [b848edcb: osmand < 149.254.234.133] HEX: 504f5354202f3f69643d45656565656564696f742674696d657374616d703d31353632343239343839266c61743d35352e38373238383932266c6f6e3d2d342e313337313131352673706565643d302e302662656172696e673d302e3026616c7469747564653d3134372e34303030303931353532373334342661636375726163793d32322e36323839393937313030383330303826626174743d34302e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420393b204f4e45504c5553204135303130204275696c642f504b51312e3138303731362e303031290d0a486f73743a2065656565656564696f742e6475636b646e732e6f72673a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2019-07-06 17:11:32  INFO: [b848edcb: osmand > 149.254.234.133] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2019-07-06 17:11:32  INFO: [b848edcb] id: Eeeeeediot, time: 2019-07-06 17:11:29, lat: 55.87289, lon: -4.13711, course: 0.0, accuracy: 22.6
2019-07-06 17:11:37  INFO: [b848edcb] disconnected
2019-07-06 17:18:46  INFO: [07e2d143] connected
2019-07-06 17:18:46  INFO: [07e2d143: osmand < 149.254.234.133] HEX: 504f5354202f3f69643d45656565656564696f742674696d657374616d703d31353632343239393235266c61743d35352e38373238383737266c6f6e3d2d342e313337303338392673706565643d302e302662656172696e673d302e3026616c7469747564653d3134372e34303030303931353532373334342661636375726163793d31362e373339303030333230343334353726626174743d33382e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420393b204f4e45504c5553204135303130204275696c642f504b51312e3138303731362e303031290d0a486f73743a2065656565656564696f742e6475636b646e732e6f72673a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2019-07-06 17:18:46  INFO: [07e2d143: osmand > 149.254.234.133] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2019-07-06 17:18:46  INFO: [07e2d143] id: Eeeeeediot, time: 2019-07-06 17:18:45, lat: 55.87289, lon: -4.13704, course: 0.0, accuracy: 16.7
2019-07-06 17:20:24  INFO: [07e2d143] disconnected
2019-07-06 17:27:38  INFO: [7b9c3b23] connected
2019-07-06 17:27:38  INFO: [7b9c3b23: osmand < 149.254.234.133] HEX: 504f5354202f3f69643d45656565656564696f742674696d657374616d703d31353632343330343536266c61743d35352e383639383439266c6f6e3d2d342e313336313636342673706565643d302e302662656172696e673d302e3026616c7469747564653d3134342e36303030303631303335313536322661636375726163793d31372e313838393939313736303235333926626174743d33362e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420393b204f4e45504c5553204135303130204275696c642f504b51312e3138303731362e303031290d0a486f73743a2065656565656564696f742e6475636b646e732e6f72673a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2019-07-06 17:27:38  INFO: [7b9c3b23: osmand > 149.254.234.133] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2019-07-06 17:27:38  INFO: [7b9c3b23] id: Eeeeeediot, time: 2019-07-06 17:27:36, lat: 55.86985, lon: -4.13617, course: 0.0, accuracy: 17.2
2019-07-06 17:28:14  INFO: [7b9c3b23] disconnected
2019-07-06 17:28:19  INFO: [9dfb0da6] connected
2019-07-06 17:28:19  INFO: [9dfb0da6: osmand < 149.254.234.133] HEX: 504f5354202f3f69643d45656565656564696f742674696d657374616d703d31353632343330343536266c61743d35352e383639383439266c6f6e3d2d342e313336313636342673706565643d302e302662656172696e673d302e3026616c7469747564653d3134342e36303030303631303335313536322661636375726163793d31372e313838393939313736303235333926626174743d33352e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420393b204f4e45504c5553204135303130204275696c642f504b51312e3138303731362e303031290d0a486f73743a2065656565656564696f742e6475636b646e732e6f72673a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2019-07-06 17:28:19  INFO: [9dfb0da6: osmand > 149.254.234.133] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2019-07-06 17:28:19  INFO: [9dfb0da6] id: Eeeeeediot, time: 2019-07-06 17:27:36, lat: 55.86985, lon: -4.13617, course: 0.0, accuracy: 17.2
2019-07-06 17:28:21  INFO: [9dfb0da6] disconnected
2019-07-06 17:36:05  INFO: [63b1e458] connected
2019-07-06 17:36:05  INFO: [63b1e458: osmand < 149.254.234.133] HEX: 504f5354202f3f69643d45656565656564696f742674696d657374616d703d31353632343330383833266c61743d35352e38363734373737266c6f6e3d2d342e313332363839332673706565643d302e302662656172696e673d302e3026616c7469747564653d302e302661636375726163793d3639392e3939393032333433373526626174743d33342e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420393b204f4e45504c5553204135303130204275696c642f504b51312e3138303731362e303031290d0a486f73743a2065656565656564696f742e6475636b646e732e6f72673a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2019-07-06 17:36:05  INFO: [63b1e458: osmand > 149.254.234.133] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2019-07-06 17:36:05  INFO: [63b1e458] id: Eeeeeediot, time: 2019-07-06 17:34:43, lat: 55.86748, lon: -4.13269, course: 0.0, accuracy: 700.0
2019-07-06 17:36:07  INFO: [63b1e458] disconnected
2019-07-06 17:39:52  INFO: [a8ceff81] connected
2019-07-06 17:39:52  INFO: [a8ceff81: osmand < 149.254.234.133] HEX: 504f5354202f3f69643d45656565656564696f742674696d657374616d703d31353632343331313930266c61743d35352e383031393738266c6f6e3d2d342e303439383139382673706565643d302e302662656172696e673d302e3026616c7469747564653d302e302661636375726163793d313339392e3939393032333433373526626174743d33342e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420393b204f4e45504c5553204135303130204275696c642f504b51312e3138303731362e303031290d0a486f73743a2065656565656564696f742e6475636b646e732e6f72673a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2019-07-06 17:39:52  INFO: [a8ceff81: osmand > 149.254.234.133] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2019-07-06 17:39:52  INFO: [a8ceff81] id: Eeeeeediot, time: 2019-07-06 17:39:50, lat: 55.80198, lon: -4.04982, course: 0.0, accuracy: 1400.0
2019-07-06 17:39:54  INFO: [a8ceff81] disconnected
2019-07-06 17:45:30  INFO: [6102b507] connected
2019-07-06 17:45:30  INFO: [6102b507: osmand < 149.254.234.133] HEX: 504f5354202f3f69643d45656565656564696f742674696d657374616d703d31353632343331353239266c61743d35352e37363433323234266c6f6e3d2d342e303432373231392673706565643d302e302662656172696e673d302e3026616c7469747564653d3135332e32303030313232303730333132352661636375726163793d35302e303330393938323239393830343726626174743d33332e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420393b204f4e45504c5553204135303130204275696c642f504b51312e3138303731362e303031290d0a486f73743a2065656565656564696f742e6475636b646e732e6f72673a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2019-07-06 17:45:30  INFO: [6102b507: osmand > 149.254.234.133] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2019-07-06 17:45:31  INFO: [6102b507] id: Eeeeeediot, time: 2019-07-06 17:45:29, lat: 55.76432, lon: -4.04272, course: 0.0, accuracy: 50.0
2019-07-06 17:45:33  INFO: [6102b507] disconnected
2019-07-06 17:48:22  INFO: [37f3d976] connected
2019-07-06 17:48:22  INFO: [37f3d976: osmand < 149.254.234.133] HEX: 504f5354202f3f69643d45656565656564696f742674696d657374616d703d31353632343331363939266c61743d35352e373537323233266c6f6e3d2d342e303534383634362673706565643d302e302662656172696e673d302e3026616c7469747564653d3138382e31303030303631303335313536322661636375726163793d3633332e3235343032383332303331323526626174743d33332e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420393b204f4e45504c5553204135303130204275696c642f504b51312e3138303731362e303031290d0a486f73743a2065656565656564696f742e6475636b646e732e6f72673a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2019-07-06 17:48:22  INFO: [37f3d976: osmand > 149.254.234.133] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2019-07-06 17:48:22  INFO: [37f3d976] id: Eeeeeediot, time: 2019-07-06 17:48:19, lat: 55.75722, lon: -4.05486, course: 0.0, accuracy: 633.3
2019-07-06 17:48:24  INFO: [37f3d976] disconnected
2019-07-06 17:53:57  INFO: [5054cef0] connected
2019-07-06 17:53:57  INFO: [5054cef0: osmand < 86.159.172.20] HEX: 504f5354202f3f69643d45656565656564696f742674696d657374616d703d31353632343332303336266c61743d35352e37353631373538266c6f6e3d2d342e303732303938382673706565643d302e302662656172696e673d302e3026616c7469747564653d302e302661636375726163793d31362e3026626174743d33332e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420393b204f4e45504c5553204135303130204275696c642f504b51312e3138303731362e303031290d0a486f73743a2065656565656564696f742e6475636b646e732e6f72673a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2019-07-06 17:53:57  INFO: [5054cef0: osmand > 86.159.172.20] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2019-07-06 17:53:57  INFO: [5054cef0] id: Eeeeeediot, time: 2019-07-06 17:53:56, lat: 55.75618, lon: -4.07210, course: 0.0, accuracy: 16.0
[06/Jul/2019:17:57:19 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET / HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:19 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /app.css HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:19 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /load.js HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:19 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/arrow.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:19 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/bicycle.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/default.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/animal.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/boat.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/crane.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/car.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/bus.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/helicopter.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/motorcycle.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/person.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/offroad.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/pickup.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/plane.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/ship.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/tractor.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/train.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/tram.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/scooter.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/trolleybus.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/van.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /images/truck.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 200 192.168.0.100, 172.30.32.1(172.30.32.2) GET /l10n/en.json?_dc=1562432237880 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:20 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /app.min.js HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:21 +0100] 200 192.168.0.100, 172.30.32.1(172.30.32.2) GET /api/server?_dc=1562432238343 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:21 +0100] 404 192.168.0.100, 172.30.32.1(172.30.32.2) GET /api/session?_dc=1562432238490 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:21 +0100] 304 192.168.0.100, 172.30.32.1(172.30.32.2) GET /logo.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:29 +0100] 404 192.168.0.100, 172.30.32.1(172.30.32.2) POST /fake-login.html HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:31 +0100] 401 192.168.0.100, 172.30.32.1(172.30.32.2) POST /api/session HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:38 +0100] 404 192.168.0.100, 172.30.32.1(172.30.32.2) POST /fake-login.html HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
2019-07-06 17:57:40  INFO: user: 1, action: login
[06/Jul/2019:17:57:40 +0100] 200 192.168.0.100, 172.30.32.1(172.30.32.2) POST /api/session HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:41 +0100] 200 192.168.0.100, 172.30.32.1(172.30.32.2) GET /api/groups?_dc=1562432258239&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:41 +0100] 200 192.168.0.100, 172.30.32.1(172.30.32.2) GET /api/drivers?_dc=1562432258241&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:41 +0100] 200 192.168.0.100, 172.30.32.1(172.30.32.2) GET /api/geofences?_dc=1562432258243&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:41 +0100] 200 192.168.0.100, 172.30.32.1(172.30.32.2) GET /api/calendars?_dc=1562432258245&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:41 +0100] 200 192.168.0.100, 172.30.32.1(172.30.32.2) GET /api/maintenance?_dc=1562432258247&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:41 +0100] 200 192.168.0.100, 172.30.32.1(172.30.32.2) GET /api/attributes/computed?_dc=1562432258249&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:41 +0100] 200 192.168.0.100, 172.30.32.1(172.30.32.2) GET /api/commands/types?_dc=1562432258252&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:41 +0100] 200 192.168.0.100, 172.30.32.1(172.30.32.2) GET /api/commands?_dc=1562432258253&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:41 +0100] 200 192.168.0.100, 172.30.32.1(172.30.32.2) GET /api/notifications/types?_dc=1562432258255&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:41 +0100] 200 192.168.0.100, 172.30.32.1(172.30.32.2) GET /api/notifications?_dc=1562432258258&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:41 +0100] 200 192.168.0.100, 172.30.32.1(172.30.32.2) GET /api/notifications/notificators?_dc=1562432258256&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:57:41 +0100] 200 192.168.0.100, 172.30.32.1(172.30.32.2) GET /api/devices?_dc=1562432258298&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)
[06/Jul/2019:17:58:27 +0100] 101 192.168.0.100, 172.30.32.1(172.30.32.2) GET /api/socket HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36)

It should work on port 8072 which differs from traccar’s default one.

Due to a conflict with a port of motionEye, was changed:

https://github.com/hassio-addons/addon-traccar/issues/1