Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32 Device Id for Traccar #1

Open
VaibhavPatelSW opened this issue Jan 21, 2023 · 5 comments
Open

ESP32 Device Id for Traccar #1

VaibhavPatelSW opened this issue Jan 21, 2023 · 5 comments

Comments

@VaibhavPatelSW
Copy link

Hi. I am working on the code and unable to figure out my ESP32 device id. Is it a MAC address of ESP32? Could you please guide me to find the ESP32 Unique device Id for Traccar server?

@onlinegill
Copy link
Owner

Hi. I am working on the code and unable to figure out my ESP32 device id. Is it a MAC address of ESP32? Could you please guide me to find the ESP32 Unique device Id for Traccar server?

It's id of your traccar server device. When you add a device on traccar server.

@VaibhavPatelSW
Copy link
Author

When we add device on Traccar Server, it asks Name and Identifier. Did you mean that I can use any custom Identifier to add the device in Traccar Server, and use same Identifier as a Device Id in the code you shared?

@onlinegill
Copy link
Owner

onlinegill commented Jan 21, 2023

yes, Identifier is device id. Also I would advise to use ttgo sim7000G so you can put sim card.

https://github.com/onlinegill/LILYGO-TTGO-T-SIM7000G-ESP32-Traccar-GPS-tracker

@VaibhavPatelSW
Copy link
Author

OK, I'll try ttgo sim7000G. I tried same identifier as Device id in code, still unable to receive gps data to server. Device is showing offline.I am getting message 'DATA SENT TO THE SERVER' but There is no update in Traccar Server log.

I am using Traccar server on Ubuntu VPS at port 8099, and Neom8n GPS receiver with ESP32

@onlinegill
Copy link
Owner

You need to open port 8099. For testing install traccar app on phone and see if your phone connects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants