Code Monkey home page Code Monkey logo

eusonlito / gps-tracker Goto Github PK

View Code? Open in Web Editor NEW
150.0 13.0 66.0 12.09 MB

GPS Tracker platform for Sinotrack, Coban, Teltonika, Concox, Jimilab, OsmAnd and Queclink devices built with Laravel 11 + PHP 8.2 and MySQL 8. Plataforma GPS Tracker para dispositivos Sinotrack Sinotrack, Coban, Teltonika, Concox, Jimilab, OsmAnd y Queclink creada con Laravel 11 + PHP 8.2 y MySQL 8.

Home Page: https://tracker-demo.lito.com.es/

License: MIT License

Shell 0.10% PHP 87.36% HTML 0.50% Blade 11.99% Dockerfile 0.04%
gps-tracker laravel sinotrack php concox osmand teltonika

gps-tracker's Introduction

Castellano

GPS Tracker (Laravel 11 + PHP 8.2 + MySQL 8)

Open source GPS device management platform developed using Laravel 11, PHP 8.2 and MySQL 8. This comprehensive GPS tracking solution is designed to offer robust performance and an intuitive user interface, suitable for both individual users and companies that need to manage multiple tracking devices. This platform is intended as a possible simple alternative to Traccar.

Supported Devices

  • Sinotrack: Confirmed ST-90X models using the Sinotrack protocol.
  • Coban: TK303G model confirmed using GP103 protocol.
  • Teltonika: By TCP using Teltonika protocol.
  • Concox and JimiLab: JM-LL01 model confirmed via GT06 protocol.
  • Queclink: Confirmed model GV500MA using Queclink protocol.
  • OsmAnd: Using HTTP OsmAnd protocol.

Features

  • Modern platform with user-friendly interface: The platform uses Laravel 11 to provide a smooth user experience and an attractive graphical interface.
  • PHP 8.2 compatibility: Leverages the latest features of PHP 8.2, including performance and security enhancements. It is also compatible with higher versions of PHP.
  • Data Management with MySQL 8: Uses MySQL 8.0.12 or higher for efficient and secure management of large volumes of tracking data, as well as extensive support for GIS functionality.
  • Real-Time Tracking: Allows users to track the location and status of their Sinotrack ST-90x devices in real time.
  • Detailed Reporting: Generates comprehensive reports that aid in decision making and data analysis.
  • Alarms and Notifications: Configure custom alarms (geofence, motion, speed, etc...) for specific events related to the tracking devices. Notifications can be configured via Telegram.
  • Multi-User Support: Supports the creation of multiple user accounts with different levels of access and permissions.
  • Public Environment: If you wish you can generate links for individual trips and share them publicly. You can also directly share a device where all its trips will be publicly visible.

Requirements

  • Linux SO
  • PHP 8.2 or higher (bcmath bz2 intl mbstring opcache pdo_mysql pcntl redis sockets xsl zip)
  • MySQL 8.0.12 or higher
  • Redis

Demo

You can test the demo version at https://tracker-demo.lito.com.es/

Documentation

Screenshots

Screenshots are in english, you can change the system language to spanish.

screencapture-tracker-2023-11-22-09_36_09 screencapture-tracker-2023-11-22-09_36_27 screencapture-tracker-trip-2023-11-22-09_36_37 screencapture-tracker-trip-59-2023-11-22-09_37_23 screencapture-tracker-trip-59-stat-2023-11-22-09_37_30 screencapture-tracker-trip-59-map-2023-11-22-09_37_38 screencapture-tracker-trip-59-position-2023-11-22-09_37_47 screencapture-tracker-trip-59-merge-2023-11-22-09_37_54 screencapture-tracker-refuel-2023-11-22-09_38_13 screencapture-tracker-refuel-58-2023-11-22-09_38_20 screencapture-tracker-maintenance-2023-11-22-09_38_25 screencapture-tracker-maintenance-2-2023-11-22-09_38_30 screencapture-tracker-maintenance-2-item-2023-11-22-09_38_35 screencapture-tracker-maintenance-item-2023-11-22-09_38_40 screencapture-tracker-vehicle-2023-11-22-09_38_45 screencapture-tracker-vehicle-1-2023-11-22-09_38_50 screencapture-tracker-vehicle-1-device-2023-11-22-09_38_56 screencapture-tracker-vehicle-1-alarm-2023-11-22-09_39_02 screencapture-tracker-device-2023-11-22-09_39_08 screencapture-tracker-device-1-2023-11-22-09_39_13 screencapture-tracker-device-1-transfer-2023-11-22-09_39_20 screencapture-tracker-device-map-2023-11-22-09_39_30 screencapture-tracker-alarm-2023-11-22-09_39_36 screencapture-tracker-alarm-2-2023-11-22-09_39_42 screencapture-tracker-alarm-create-2023-11-22-09_40_33 screencapture-tracker-profile-2023-11-22-09_40_39 screencapture-tracker-configuration-2023-11-22-09_40_49 screencapture-tracker-user-2023-11-22-09_40_55 screencapture-tracker-user-1-2023-11-22-09_41_03 screencapture-tracker-user-session-2023-11-22-09_41_09 screencapture-tracker-server-status-2023-11-22-09_41_58 screencapture-tracker-server-1-2023-11-22-09_42_07 screencapture-tracker-server-log-2023-11-22-09_42_13 screencapture-tracker-timezone-2023-11-22-09_42_22 screencapture-tracker-shared-trip-11da6b7b-88bd-11ee-b488-4cedfbcaec68-2023-11-22-09_42_50 screencapture-tracker-shared-device-066b1953-88bd-11ee-b488-4cedfbcaec68-2023-11-22-09_42_57

gps-tracker's People

Contributors

abosaad11 avatar eusonlito avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gps-tracker's Issues

Support Teltonika FMC003

Hi,

I Use Teltonika FMC003 Device but it not work, I get this warning:

deprecations-daily.WARNING: ErrorException: Invalid characters passed for attempted conversion, these have been ignored in /app/app/Services/Protocol/Teltonika/Parser/Locations.php:38

Stack trace:
#0 /app/vendor/laravel/framework/src/Illuminate/Support/helpers.php(470): Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(Object(Illuminate\Log\Logger))
#1 /app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(103): with(Object(Illuminate\Log\Logger), Object(Closure))
#2 /app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(72): Illuminate\Foundation\Bootstrap\HandleExceptions->handleDeprecationError('Invalid charact...', '/app/app/Servic...', 38, 8192)
#3 /app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(256): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Invalid charact...', '/app/app/Servic...', 38)
#4 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(8192, 'Invalid charact...', '/app/app/Servic...', 38)
#5 /app/app/Services/Protocol/Teltonika/Parser/Locations.php(38): hexdec('\x0F9999360')
#6 /app/app/Services/Protocol/Teltonika/Parser/Locations.php(29): App\Services\Protocol\Teltonika\Parser\Locations->bodyIsValidStart()
#7 /app/app/Services/Protocol/Teltonika/Parser/Locations.php(15): App\Services\Protocol\Teltonika\Parser\Locations->bodyIsValid()
#8 /app/app/Services/Protocol/ProtocolAbstract.php(50): App\Services\Protocol\Teltonika\Parser\Locations->resources()
#9 /app/app/Domains/Server/Action/StartPort.php(159): App\Services\Protocol\ProtocolAbstract->resources('\x0F99993606361274...', Array)
#10 /app/app/Services/Server/Socket/Client.php(121): App\Domains\Server\Action\StartPort->store('\x0F99993606361274...', Array)
#11 /app/app/Services/Server/Socket/Client.php(62): App\Services\Server\Socket\Client->readHandle('\x0F99993606361274...')
#12 /app/app/Services/Server/Socket/Server.php(237): App\Services\Server\Socket\Client->handle()
#13 /app/app/Services/Server/Socket/Server.php(223): App\Services\Server\Socket\Server->connectionReadHandle(Object(App\Services\Server\Connection), Object(Closure))
#14 /app/app/Services/Server/Socket/Server.php(158): App\Services\Server\Socket\Server->connectionRead(Object(App\Services\Server\Connection), Object(Closure))
#15 /app/app/Services/Server/Socket/Server.php(85): App\Services\Server\Socket\Server->read(Object(Closure))
#16 /app/app/Domains/Server/Action/StartPort.php(146): App\Services\Server\Socket\Server->accept(Object(Closure))
#17 /app/app/Domains/Server/Action/StartPort.php(48): App\Domains\Server\Action\StartPort->serve()
#18 /app/app/Domains/Core/Action/ActionFactoryAbstract.php(55): App\Domains\Server\Action\StartPort->handle()
#19 /app/app/Domains/Server/Action/ActionFactory.php(60): App\Domains\Core\Action\ActionFactoryAbstract->actionHandle('App\\Domains\\Ser...', Array)
#20 /app/app/Domains/Server/Command/StartPort.php(29): App\Domains\Server\Action\ActionFactory->startPort()
#21 /app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Domains\Server\Command\StartPort->handle()
#22 /app/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#23 /app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#24 /app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#25 /app/vendor/laravel/framework/src/Illuminate/Container/Container.php(662): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#26 /app/vendor/laravel/framework/src/Illuminate/Console/Command.php(212): Illuminate\Container\Container->call(Array)
#27 /app/vendor/symfony/console/Command/Command.php(279): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#28 /app/vendor/laravel/framework/src/Illuminate/Console/Command.php(181): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#29 /app/vendor/symfony/console/Application.php(1049): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#30 /app/vendor/symfony/console/Application.php(318): Symfony\Component\Console\Application->doRunCommand(Object(App\Domains\Server\Command\StartPort), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#31 /app/vendor/symfony/console/Application.php(169): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#32 /app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(196): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#33 /app/artisan(35): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#34 {main}  

Impossible to change profile preferences

Hi
I believe that this is not developed yet, I tried also a docker installation

Unsupported operand types: array + null

At this point in time I modified the record directly on then DB

OBD II Datas

Hello, I'm using GPS-tracker for a week now and it's realy nice and pleasant to use, but in the future i want to use it with something like 20 devices and I have noted that the parser doesn't seems to recognize OBD data, is that true or am I doing something wrong ?

Telegram Alert

Notifications do not work in TG Is there an example of what needs to be specified in these parameters?

TELEGRAM_BOT=
TELEGRAM_TOKEN=

Cannot change language

Hello

I spent a few hours trying to change the language to English without any luck, this is for a docker container.

I have a .env file in the root directory and in the /docker directory just to be sure. Both look like this:

APP_NAME="GPS Tracker"
APP_ENV=production
APP_KEY=
APP_DEBUG=false

# Configure this if you are using a web server as proxy
APP_URL=http://localhost:8092

# Configure the default language (es/en)
APP_LOCALE=en
...

I even made the following changes to /config/app.php:

'locale' => 'en',
'fallback_locale' => 'en',
...

I followed the README to the letter, but the container works in Spanish every single time. It won't change to English.

Please help, how am I supposed to change the language? Thank you

EDIT:

By complete accident I found http://192.168.1.10:8092/profile and I can change the language from there. Can I have the container boot into English by default?

concox GT08 is not connected to my site

i Active GT06 Protocol for my device and start server and next register my device imei to site

my device:
https://www.alibaba.com/product-detail/Concox-Motorcycle-GPS-Tracker-GT08-9_62064098811.html

but do not save any point for my gps device

2020-connection.log

[2024-02-27 06:45:59.475 +00:00] [INFO] [65dd84eb3a2e0] [READ] 797900789404414c4d313d44353b414c4d323d44353b414c4d333d35463b414c4d343d46303b535441313d43303b4459443d30313b534f533d2c2c3b43454e5445523d3b46454e43453d46656e63652c4f46462c302c302e3030303030302c302e3030303030302c3330302c494e206f72204f55542c313b0008338d0d0a
[2024-02-27 06:46:00.134 +00:00] [INFO] [65dd84eb3a2e0] [READ] null
[2024-02-27 06:46:04.470 +00:00] [INFO] [CONNECTIONS] 2
[2024-02-27 06:46:04.470 +00:00] [INFO] [65dd852c72ddb] [CONNECTED] {"id":"65dd852c72ddb","timestamp":1709016364,"server_port":2020,"client_ip":"5.119.227.254","client_port":52356,"valid":true}
[2024-02-27 06:46:04.518 +00:00] [INFO] [65dd852c72ddb] [READ] 78781101035174210198101922033201000949290d0a
[2024-02-27 06:46:04.519 +00:00] [INFO] [65dd852c72ddb] [WRITE] xx��
[2024-02-27 06:46:05.115 +00:00] [INFO] [65dd852c72ddb] [READ] 797900789404414c4d313d44353b414c4d323d44353b414c4d333d35463b414c4d343d46303b535441313d43303b4459443d30313b534f533d2c2c3b43454e5445523d3b46454e43453d46656e63652c4f46462c302c302e3030303030302c302e3030303030302c3330302c494e206f72204f55542c313b0008338d0d0a
[2024-02-27 06:46:05.697 +00:00] [INFO] [65dd852c72ddb] [READ] 78780a134506040002000b8d5b0d0a
[2024-02-27 06:46:06.271 +00:00] [INFO] [65dd852c72ddb] [READ] 7878222218021b062d29c9032d790805a2ae5000543a01b02357fe009c75000001000ae6940d0a
[2024-02-27 06:46:26.854 +00:00] [INFO] [65dd852c72ddb] [READ] 7878252618021b062e1aca032d78f805a2ae300055440901b02357fe009c755106040202000c922e0d0a
[2024-02-27 06:47:26.825 +00:00] [INFO] [65dd852c72ddb] [READ] null
[2024-02-27 06:47:30.476 +00:00] [INFO] [CONNECTIONS] 2
[2024-02-27 06:47:30.477 +00:00] [INFO] [65dd85827463a] [CONNECTED] {"id":"65dd85827463a","timestamp":1709016450,"server_port":2020,"client_ip":"5.120.254.122","client_port":35374,"valid":true}
[2024-02-27 06:47:30.513 +00:00] [INFO] [65dd85827463a] [READ] 78781101035174210198101922033201000d0f0d0d0a
[2024-02-27 06:47:30.513 +00:00] [INFO] [65dd85827463a] [WRITE] xx��
[2024-02-27 06:47:30.955 +00:00] [INFO] [65dd85827463a] [READ] 78780a134106040002000eb5800d0a
[2024-02-27 06:47:31.614 +00:00] [INFO] [65dd85827463a] [READ] 7878222218021b062d29c9032d790805a2ae5000543a01b02357fe009c75000001000fb1390d0a
[2024-02-27 06:48:06.797 +00:00] [INFO] [65dd85827463a] [READ] 797900789404414c4d313d44353b414c4d323d44353b414c4d333d35463b414c4d343d46303b535441313d34303b4459443d30313b534f533d2c2c3b43454e5445523d3b46454e43453d46656e63652c4f46462c302c302e3030303030302c302e3030303030302c3330302c494e206f72204f55542c313b0010c36f0d0a
[2024-02-27 06:48:36.656 +00:00] [INFO] [65dd85827463a] [READ] 7878252618021b063023cb032d78f805a2ae300055440901b02357fe009c754c060403020011fe360d0a
[2024-02-27 06:49:36.836 +00:00] [INFO] [65dd85827463a] [READ] 797900789404414c4d313d44353b414c4d323d44353b414c4d333d35463b414c4d343d46303b535441313d43303b4459443d30313b534f533d2c2c3b43454e5445523d3b46454e43453d46656e63652c4f46462c302c302e3030303030302c302e3030303030302c3330302c494e206f72204f55542c313b00128c560d0a
[2024-02-27 06:52:31.154 +00:00] [INFO] [65dd85827463a] [READ] 78780a134506040002001311920d0a
[2024-02-27 06:53:30.717 +00:00] [INFO] [65dd85827463a] [READ] null
[2024-02-27 06:53:34.474 +00:00] [INFO] [CONNECTIONS] 1
[2024-02-27 06:53:34.474 +00:00] [INFO] [65dd86ee73db7] [CONNECTED] {"id":"65dd86ee73db7","timestamp":1709016814,"server_port":2020,"client_ip":"5.120.47.16","client_port":44370,"valid":true}
[2024-02-27 06:53:34.529 +00:00] [INFO] [65dd86ee73db7] [READ] 787811010351742101981019220332010014824d0d0a
[2024-02-27 06:53:34.529 +00:00] [INFO] [65dd86ee73db7] [WRITE] xx��
[2024-02-27 06:53:34.979 +00:00] [INFO] [65dd86ee73db7] [READ] 78780a134506040002001574a40d0a
[2024-02-27 06:53:35.653 +00:00] [INFO] [65dd86ee73db7] [READ] 7878222218021b062d29c9032d790805a2ae5000543a01b02357fe009c7500000100163c790d0a

2020-debug.log

[2024-02-27T06:45:59+00:00] 797900789404414c4d313d44353b414c4d323d44353b414c4d333d35463b414c4d343d46303b535441313d43303b4459443d30313b534f533d2c2c3b43454e5445523d3b46454e43453d46656e63652c4f46462c302c302e3030303030302c302e3030303030302c3330302c494e206f72204f55542c313b0008338d0d0a
[2024-02-27T06:46:04+00:00] 78781101035174210198101922033201000949290d0a
[2024-02-27T06:46:05+00:00] 797900789404414c4d313d44353b414c4d323d44353b414c4d333d35463b414c4d343d46303b535441313d43303b4459443d30313b534f533d2c2c3b43454e5445523d3b46454e43453d46656e63652c4f46462c302c302e3030303030302c302e3030303030302c3330302c494e206f72204f55542c313b0008338d0d0a
[2024-02-27T06:46:05+00:00] 78780a134506040002000b8d5b0d0a
[2024-02-27T06:46:06+00:00] 7878222218021b062d29c9032d790805a2ae5000543a01b02357fe009c75000001000ae6940d0a
[2024-02-27T06:46:26+00:00] 7878252618021b062e1aca032d78f805a2ae300055440901b02357fe009c755106040202000c922e0d0a
[2024-02-27T06:47:30+00:00] 78781101035174210198101922033201000d0f0d0d0a
[2024-02-27T06:47:30+00:00] 78780a134106040002000eb5800d0a
[2024-02-27T06:47:31+00:00] 7878222218021b062d29c9032d790805a2ae5000543a01b02357fe009c75000001000fb1390d0a
[2024-02-27T06:48:06+00:00] 797900789404414c4d313d44353b414c4d323d44353b414c4d333d35463b414c4d343d46303b535441313d34303b4459443d30313b534f533d2c2c3b43454e5445523d3b46454e43453d46656e63652c4f46462c302c302e3030303030302c302e3030303030302c3330302c494e206f72204f55542c313b0010c36f0d0a
[2024-02-27T06:48:36+00:00] 7878252618021b063023cb032d78f805a2ae300055440901b02357fe009c754c060403020011fe360d0a
[2024-02-27T06:49:36+00:00] 797900789404414c4d313d44353b414c4d323d44353b414c4d333d35463b414c4d343d46303b535441313d43303b4459443d30313b534f533d2c2c3b43454e5445523d3b46454e43453d46656e63652c4f46462c302c302e3030303030302c302e3030303030302c3330302c494e206f72204f55542c313b00128c560d0a
[2024-02-27T06:52:31+00:00] 78780a134506040002001311920d0a
[2024-02-27T06:53:34+00:00] 787811010351742101981019220332010014824d0d0a
[2024-02-27T06:53:34+00:00] 78780a134506040002001574a40d0a
[2024-02-27T06:53:35+00:00] 7878222218021b062d29c9032d790805a2ae5000543a01b02357fe009c7500000100163c790d0a

2020.log

[2024-02-27T06:46:04+00:00] 7878110103517421019810192203320100094929
[2024-02-27T06:47:30+00:00] 78781101035174210198101922033201000d0f0d
[2024-02-27T06:53:34+00:00] 787811010351742101981019220332010014824d

Consulta: Envío de comandos desde el panel

En primer lugar felicitaciones por el software y disculpen que me haya comunicado por este medio para hacer una consulta, pero es que desearia saber si mediante el software se puede enviar al dispositivo de gps un comando para desactivar el relay que controla la bomba de gasolina. Gracias

Adding additional data to trips

I'm interested in extending GPS Tracker to allow for arbitrary meta data to be attached to a trip. We have a use case where we need to track work/personal trips. At first I thought of just extending the database, but I'm wondering if we could come up with something more flexible that would allow for arbitrary meta data on and entity.

I've worked pretty extensively in Laravel so I'd be happy to help implement this feature.

error run local

I ran local, but the dashboard gives error 500, the ports the restart command gives error:
Captura de tela 2023-05-31 231356

ST-901 Current States, Alarms

Hi, first of all, awesome work, I really wanted some self hosting server, mainly for just fun with a tracker.

So I've got ST-01 and I've managed to connect it to the server.

Not sure If I don't understand how it works with ST-901, but for example, when I trigger shock alarm on the device, I get TEXT message but nothing on the server/web shows that device is in alarm. I've tried to set Vibration alarm, but it does not receive anything.

Similar to Main power off alarm. When I switch it off, I get Text with alert but nothing to show.
Is it just that this is not implemented ? I would be happy to work on some implementations for those.

Also it seems like on the map it does not show latest location, I mean time on the Pin on the map, only shows first connection ( I am stationary), while "last connection" on device page, shows later time. Does that mean position wasn't updated ?

Another question ;) - how messages work ? I only seem to get response for RCONF but for anything else it does not show response. Even for rconf it seems like sometimes it does get it sometimes it doesn't

no se puede iniciar servidor desde web

hola @eusonlito e estado probando el soft y no se puede inicializar los servidores desde la web pero si desde comado con
php artisan server:start:all --reset

a continuacion el error que se muestra en la web al tratar de arrancar un servidor

[/app/Services/Command/Artisan.php - 109] file_put_contents(): open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/Gps/.composer:/home/Gps/web/gpstrack.mercabamba.com/public_html:/home/Gps/web/gpstrack.mercabamba.com/private:/home/Gps/web/gpstrack.mercabamba.com/public_shtml:/home/Gps/tmp:/tmp:/var/www/html:/bin:/usr/bin:/usr/local/bin:/usr/share:/opt) » /app/Services/Command/Artisan.php - 109 » /app/Services/Command/Artisan.php - 59 » /app/Domains/Server/Action/StartPorts.php - 49 » /app/Domains/Server/Action/StartPorts.php - 27 » /app/Domains/Server/Action/StartPorts.php - 17 » /app/Domains/Shared/Action/ActionFactoryAbstract.php - 52 » /app/Domains/Server/Action/ActionFactory.php - 76 » /app/Domains/Server/Controller/Status.php - 43 » /app/Domains/Shared/Controller/ControllerWebAbstract.php - 141

Puede funcionar sin REDIS

tengo un host en internet pero no tiene redis, el software puede funcionar sin redis. y tambien me preguntaba como podria un cliente de traccar (android apk) enviar las coordenadas al software

Problem with coban protocol

Hi,
Thanks for your hard work.

Coban devices sometimes send multiple data together. I don't know why but sometimes it happens and only the first one is considered and result is jump in location on the map.

Only one data is sent:

[2024-01-06T11:13:20+00:00] imei:868166056076334,001,240106144319,,F,111319.000,A,3530.66277,N,04610.23361,E,17.52,204.23,,1,1,0.00%,,;

Multiple data is sent:

[2024-01-06T11:09:07+00:00] ##,imei:868166056076334,A;imei:868166056076334,001,240106143749,,F,110749.000,A,3531.00191,N,04610.22611,E,9.91,188.51,,1,1,0.00%,,;imei:868166056076334,001,240106143759,,F,110759.000,A,3530.97760,N,04610.22360,E,8.37,180.87,,1,1,0.00%,,;imei:868166056076334,001,240106143809,,F,110809.000,A,3530.95149,N,04610.22457,E,8.21,173.89,,1,1,0.00%,,;imei:868166056076334,001,240106143819,,F,110819.000,A,3530.92937,N,04610.22475,E,9.13,186.42,,1,1,0.00%,,;imei:868166056076334,001,240106143829,,F,110829.000,A,3530.90256,N,04610.22213,E,10.71,189.00,,1,1,0.00%,,;imei:868166056076334,001,240106143839,,F,110839.000,A,3530.87432,N,04610.21685,E,9.33,184.25,,1,1,0.00%,,;imei:868166056076334,001,240106143849,,F,110849.000,A,3530.84773,N,04610.21385,E,10.30,186.39,,1,1,0.00%,,;imei:868166056076334,acc off,240106143858,,F,110858.000,A,3530.83202,N,04610.21109,E,0.00,200.63,,0,1,0.00%,,;imei:868166056076334,001,240106143859,,F,110859.000,A,3530.83196,N,04610.21114,E,0.00,200.63,,0,1,0.00%,,;
[2024-01-06T11:07:06+00:00] ##,imei:868166056076334,A;imei:868166056076334,acc on,240106143539,,F,110539.000,A,3531.17871,N,04610.08326,E,0.00,111.86,,1,1,0.00%,,;imei:868166056076334,001,240106143539,,F,110539.000,A,3531.17871,N,04610.08326,E,0.00,111.86,,1,1,0.00%,,;imei:868166056076334,001,240106143549,,F,110549.000,A,3531.17935,N,04610.08511,E,2.70,72.30,,1,1,0.00%,,;imei:868166056076334,001,240106143549,,F,110549.000,A,3531.17935,N,04610.08511,E,2.70,72.30,,1,1,0.00%,,;imei:868166056076334,001,240106143559,,F,110559.000,A,3531.17765,N,04610.11152,E,10.30,98.63,,1,1,0.00%,,;imei:868166056076334,001,240106143609,,F,110609.000,A,3531.17297,N,04610.14989,E,12.26,99.44,,1,1,0.00%,,;imei:868166056076334,001,240106143619,,F,110619.000,A,3531.16713,N,04610.19253,E,12.92,102.61,,1,1,0.00%,,;imei:868166056076334,001,240106143629,,F,110629.000,A,3531.16211,N,04610.23589,E,11.80,98.17,,1,1,0.00%,,;imei:868166056076334,001,240106143634,,F,110634.000,A,3531.15897,N,04610.24923,E,5.47,134.39,,1,1,0.00%,,;imei:868166056076334,001,240106143636,,F,110636.000,A,3531.15629,N,04610.25175,E,7.35,158.41,,1,1,0.00%,,;imei:868166056076334,001,240106143639,,F,110639.000,A,3531.15047,N,04610.25191,E,7.38,188.68,,1,1,0.00%,,;imei:868166056076334,001,240106143649,,F,110649.000,A,3531.13199,N,04610.24797,E,6.54,188.91,,1,1,0.00%,,;imei:868166056076334,001,240106143659,,F,110659.000,A,3531.11248,N,04610.24535,E,6.99,186.17,,1,1,0.00%,,;
image

location jump during driving

Hi,
There's a problem when I come out of the parking, GPS hasn't locked yet and there's some wired location jumps.
Is it possible to ignore locations that are not logical? for example car speed is 0 but next location is far from the previous one.
Thanks.

https://tracker.lito.com.es/trip/1842/map
(I think in this one car went into the parking and came out.)
telegram-cloud-photo-size-4-5884027946694459841-y

https://tracker.lito.com.es/?trip_id=1850
I found a location jump when I was driving. do you have any idea why this has happened and is it possible to fix it? (Could it be cloud and snowing?)
image

Docker Build fail

failed to solve: process "/bin/sh -c ./composer install --no-dev --optimize-autoloader --classmap-authoritative" did not complete successfully: exit code: 1

teltonika fmb120

hi my teltonika fmb120 has this log

[2024-03-31 09:29:47.358 +00:00] [INFO] [CONNECTIONS] 1
[2024-03-31 09:29:47.358 +00:00] [INFO] [66092d0b56758] [CONNECTED] {"id":"66092d0b56758","timestamp":1711877387,"server_port":8082,"client_ip":"198.199.111.173","client_port":36984,"valid":true}
[2024-03-31 09:29:47.369 +00:00] [INFO] [66092d0b56758] [READ] GET / HTTP/1.1
Host: 188.213.199.124:8082
User-Agent: Mozilla/5.0 zgrab/0.x
Accept: */*
Accept-Encoding: gzip
[2024-03-31 19:41:07.984 +00:00] [INFO] [CONNECTIONS] 1
[2024-03-31 19:41:07.985 +00:00] [INFO] [6609bc53f0354] [CONNECTED] {"id":"6609bc53f0354","timestamp":1711914067,"server_port":8082,"client_ip":"183.90.48.177","client_port":51093,"valid":true}
[2024-03-31 19:41:09.895 +00:00] [INFO] [6609bc53f0354] [READ] GET / HTTP/1.0
Host: 188.213.199.124
Accept: text/plain,text/html

and dont save on server?

how can i save this teltonika?

Syntax error or access violation: 1305 FUNCTION gpstracker.ST_Longitude does not exist

Deployed your system on raspberry pi, all seems to work even in logs have seen my sinotrack 906 was sending gps coords.

But having problem on main and notification screen:

SQLSTATE[42000]: Syntax error or access violation: 1305 FUNCTION gpstracker.ST_Longitude does not exist (Connection: mysql, SQL: select
`id`, `name`, `type`, `config`, `closed_at`, `sent_at`, `created_at`, `updated_at`,
`telegram`, `date_at`, `date_utc_at`,
`alarm_id`, `position_id`, `trip_id`, `vehicle_id`,
ROUND(ST_Longitude(`point`), 5) AS `longitude`, ROUND(ST_Latitude(`point`), 5) AS `latitude`
from `alarm_notification` where `vehicle_id` = 1 and `closed_at` is null order by `alarm_notification`.`id` desc)

in [/var/www/html/gps/vendor/laravel/framework/src/Illuminate/Database/Connection.php ](http://192.168.2.15/)(line 795)
in [/var/www/html/gps/vendor/laravel/framework/src/Illuminate/Database/Connection.php ](http://192.168.2.15/)-> runQueryCallback (line 755)
in [/var/www/html/gps/vendor/laravel/framework/src/Illuminate/Database/Connection.php ](http://192.168.2.15/)-> run (line 424)
in [/var/www/html/gps/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php ](http://192.168.2.15/)-> select (line 2736)
in [/var/www/html/gps/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php ](http://192.168.2.15/)-> runSelect (line 2724)
in [/var/www/html/gps/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php ](http://192.168.2.15/)-> Illuminate\Database\Query\{closure} (line 3278)
in [/var/www/html/gps/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php ](http://192.168.2.15/)-> onceWithColumns (line 2725)
in [/var/www/html/gps/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php ](http://192.168.2.15/)-> get (line 717)
in [/var/www/html/gps/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php ](http://192.168.2.15/)-> getModels (line 701)
Builder->get()
in [/var/www/html/gps/app/Domains/Dashboard/Service/Controller/Index.php ](http://192.168.2.15/)(line 225)
            ->withAlarm()            ->withVehicle()            ->withPosition()            ->withTrip()            ->list()            ->get();    }}

Can you help me ?

Also is there a way to add new commands ?, i have 906 model which has a possibility to switch off engine, i would like to add it to system.

Aplicación de Tracking GPS para móviles

Hola @kikearcos9999, muevo el mensaje para un issue ya que es más sencillo de realizar seguimiento.

Saludos;

Gracias por tu respuesta

Estoy instalando tu aplicacion en digitalocean, veo muy interesante tu aporte, encontre en amazon este dispositivo lo estoy trayendo para hacer pruebas:

https://www.amazon.com/SinoTrack-4G-ST-901L-Waterproof-Motorcycle/dp/B09QYG17S8/ref=psdc_617650011_t2_B0C4P5PW6C

De lo que me comentaste en el anterior correo, OSMAND es una app mobil, segun entiendo con ella puedo hacer seguimiento en linea sin necesidad de un dispositivos gps, estoy en lo correcto.......utilizaria solo mi telefono movil...verdad....?

(Si deseas integrar la conexión con un móvil, por ejemplo OsmAnd es el más sencillo, ya que es un JSON con la latitud, longitud, tiempo y velocidad.)

Los equipos que te detallo a continuación los tengo en mi poder uno de cada uno, esperaba hacer algo con ellos, estos equipos entiendo que estan homologados para mi pais. por que aqui los utilice ya con (https://github.com/traccar/traccar) , pero mi intencion es hacer algo personalizado y tu proyecto tiene lo que necesito, de ser factible un manual donde pueda yo integrar la trama de estos dispositivo, claro todo trabajo implicaría un pago y con gusto pagaría

equipos que en este momento los tengo

https://www.amazon.com/Magnetic-Vehicle-Tracker-Tracking-Positioning/dp/B0BHJ21ZB3?pd_rd_w=WXw5d&content-id=amzn1.sym.c388ca75-4c14-4d9d-947d-5dcde63263f5&pf_rd_p=c388ca75-4c14-4d9d-947d-5dcde63263f5&pf_rd_r=PTGX4CDQZR93AWNH2JS1&pd_rd_wg=q5Tr2&pd_rd_r=eb9b8640-bae5-40e4-9745-83fc9bd17355&pd_rd_i=B0BHJ21ZB3&psc=1&ref_=pd_bap_d_csi_prsubs_2_i

https://www.amazon.com/BAANOOL-2G-Intelligent-Subscription-BAANOOL-303F/dp/B0C4P5PW6C/ref=sr_1_1?crid=2CVS0UG3OCVL7&keywords=coban%2Bcar%2Bgps%2Btracker%2B303f&qid=1695826452&sprefix=coban%2Bgps%2B303%2Caps%2C160&sr=8-1&th=1

Trabajo para una entidad publica aca en mi pais Municipio pequeño en la provincia de cotopaxi- ecuador el canton se llama San Miguel de Salcedo, actualmente me dieron cambio administrativo al terminal terrestre llevo aca un mes, el proyecto que quiero presentar es en el area de TRANSPORTE PUBLICO, quiero enlazar tu proyecto hasta una app mobil personalizada donde estudiantes pueden rastrear el tranporte publico y asi poder estar atento a las paradas. eso basicamente quiero hacer un prototipo a ver como va esto. se algo de laravel, vengo de php puro no al nivel que tu tienes, tengo un nivel basico de laravel, el proyecto es el ambito de mi trabajo.

Saludos;

OsmAnd es una app para telefonos móbiles, funciona como un dispositivo gps en linea, si entiendo bien puedo utilizar OsmAnd para simular un dispositivo GPS, estoy bien o entendi mal.

Add Hebrew Translation

Hi,

I like to add hebrew translation to the system.
Can you please advise how to do it,
including adjusting the direction from right to left of all pages.

10x

Instalacion fallida

Excelente desarrollo quisiera su ayuda al instalar en local y ejecutar el comando
php artisan migrate --path=database/migrations me sale el error y no puedo avanzar espero su respuesta gracias
**The command "mysql --user="${:LARAVEL_LOAD_USER}" --password="${:LARAVEL_LOAD_PASSWORD}" --host="${:LARAVEL_LOAD_HOST}" --port="${:LARAVEL_LOAD_PORT}" --da
tabase="${:LARAVEL_LOAD_DATABASE}" < "${:LARAVEL_LOAD_PATH}"" failed.
Working directory: C:\xampp\htdocs\GPS-Tracker

Output:

Error Output:

ERROR 1901 (HY000) at line 30: Function or expression 'st_latitude()' cannot be used in the GENERATED ALWAYS AS clause of latitude**

Redis issue

I am finally getting around to setthing this up. I pulled the repo and the Code is working, I added my car, etc.

I havent setup my tracker yet, but I noticed in the Logs I see

[2023-01-31 16:01:31] develop.ERROR: No such file or directory {"exception":"[object] (RedisException(code: 0): No such file or directory at /home/forge/myDomain.com/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php:161)

Repeated over and over again. Have you seen this before?

Problem with server

Hi,
Thank you for your hard work.
When I create a server, should I run it manually or not? It seems the server stops after a few hour. what is --reset ?
It seems when server is running on port 6001, it tries to run it again and I seen port is occupied error.
I sent **,imei:868166054696190,111 command and this is the response. It wasn't like this before.
1603010200010001fc03031700b78a6d6662ced60d428f8f9b4246cec7b333fe99a1a95a03da66c1ce084d20ce2447bece88dfab3f3597b592ac39288494fca50f6e38e811ca101b166ac31b0026baba130113021303c02bc02fcca9cca8c02cc030c009c013c00ac014009c009d002f0035000a0100018d3a3a0000000000180016000013747261636b696e67322e617261646f782e697200170000ff01000100000a000a00085a5a001d00170018000b0002010000230000000500050100000000000d00140012040308040401050308050501080606010201001200000033002b00295a5a000100001d002069ef802ec43f54220685733302b453c4a0ca6d1a94d59db4142c2314d4a8ff71002d00020101002b000b0a7a7a03040303030203016a6a000100001500da0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000


In Server.php line 111:

  socket_bind(): Unable to bind address [98]: Address already in use
01-01T23:24:02+00:00] production.ERROR: socket_bind(): Unable to bind address [98]: Address already in use {"url":"http://localhost","method":"GET","exception":"[object] (ErrorException(code: 0): socket_bind(): Unable to bind address [98]: Address already in use at /var/www/html/GPS-Tracker/app/Services/Server/Socket/Server.php:111)

[Feature] Allow to set a device as shared

Allow to set a device as shared will generate all trips as shared.

  • Add shared option to device form
  • Set new trips as shared if device is set to shared
  • Add a shared device panel with all shared related trips

Coban not save my data

this is coban device log


[2024-03-30T17:25:04+00:00] ##,imei:864893035975666,A
[2024-03-30T17:25:15+00:00] imei:864893035975666,tracker,240330205512,,F,172512.00,A,2937.16612,N,05231.38756,E,3.664,105.51,,1,0,0.00%,,
[2024-03-30T17:25:19+00:00] imei:864893035975666,tracker,240330205514,,F,172514.00,A,2937.16434,N,05231.38844,E,4.429,158.61,,1,0,0.00%,,
[2024-03-30T17:25:20+00:00] imei:864893035975666,tracker,240330205516,,F,172516.00,A,2937.16167,N,05231.38764,E,5.604,195.15,,1,0,0.00%,,
[2024-03-30T17:26:04+00:00] 864893035975666
[2024-03-30T17:27:04+00:00] 864893035975666
[2024-03-30T17:28:04+00:00] 864893035975666
[2024-03-30T17:29:04+00:00] 864893035975666
[2024-03-30T17:30:04+00:00] 864893035975666
[2024-03-30T17:30:29+00:00] imei:864893035975666,tracker,240330210027,,F,173027.00,A,2936.49700,N,05231.37515,E,2.796,164.96,,1,0,0.00%,,
[2024-03-30T17:31:05+00:00] 864893035975666
[2024-03-30T17:32:04+00:00] 864893035975666
[2024-03-30T17:33:04+00:00] 864893035975666
[2024-03-30T17:34:04+00:00] 864893035975666
[2024-03-30T17:34:29+00:00] imei:864893035975666,tracker,240330210427,,F,173427.00,A,2936.29039,N,05230.86648,E,14.946,0.87,,1,0,0.00%,,
[2024-03-30T17:35:04+00:00] 864893035975666
[2024-03-30T17:36:04+00:00] 864893035975666
[2024-03-30T17:36:58+00:00] imei:864893035975666,tracker,240330210655,,F,173655.00,A,2935.76635,N,05230.55519,E,11.485,10.55,,1,0,0.00%,,
[2024-03-30T17:37:04+00:00] 864893035975666
[2024-03-30T17:38:04+00:00] 864893035975666
[2024-03-30T17:39:04+00:00] 864893035975666
[2024-03-30T17:40:04+00:00] 864893035975666
[2024-03-30T17:41:04+00:00] 864893035975666
[2024-03-30T17:41:08+00:00] imei:864893035975666,tracker,240330211106,,F,174106.00,A,2935.39023,N,05231.33674,E,3.262,143.24,,1,0,0.00%,,
[2024-03-30T17:42:04+00:00] 864893035975666
[2024-03-30T17:42:31+00:00] imei:864893035975666,acc off,240330211229,,F,174229.00,A,2935.38717,N,05231.34096,E,0.027,0,,0,0,0.00%,,
[2024-03-30T17:43:04+00:00] 864893035975666
[2024-03-30T17:44:04+00:00] 864893035975666
[2024-03-30T17:45:04+00:00] 864893035975666
[2024-03-30T17:46:04+00:00] 864893035975666
[2024-03-30T17:47:04+00:00] 864893035975666
[2024-03-30T17:48:04+00:00] 864893035975666
[2024-03-30T17:48:14+00:00] imei:864893035975666,acc on,240330211812,,F,174812.00,A,2935.38715,N,05231.34092,E,0.121,0,,1,0,0.00%,,
[2024-03-30T17:48:29+00:00] imei:864893035975666,acc off,240330211827,,F,174827.00,A,2935.38730,N,05231.34103,E,0.059,0,,0,0,0.00%,,
[2024-03-30T17:49:04+00:00] 864893035975666
[2024-03-30T17:50:04+00:00] 864893035975666
[2024-03-30T17:51:04+00:00] 864893035975666
[2024-03-30T17:51:59+00:00] imei:864893035975666,acc on,240330212158,,F,175158.00,A,2935.38760,N,05231.34051,E,0.112,0,,1,0,0.00%,,
[2024-03-30T17:52:04+00:00] 864893035975666
[2024-03-30T17:52:05+00:00] imei:864893035975666,acc off,240330212202,,F,175202.00,A,2935.38750,N,05231.34041,E,0.063,0,,0,0,0.00%,,
[2024-03-30T17:52:21+00:00] imei:864893035975666,acc off,240330212219,,F,175219.00,A,2935.38711,N,05231.33995,E,0.060,0,,0,0,0.00%,,
[2024-03-30T17:53:04+00:00] 864893035975666
[2024-03-30T17:54:10+00:00] 864893035975666
[2024-03-30T17:55:04+00:00] 864893035975666
[2024-03-30T17:56:04+00:00] 864893035975666
[2024-03-30T17:57:04+00:00] 864893035975666
[2024-03-30T17:58:05+00:00] 864893035975666
[2024-03-30T18:21:04+00:00] 864893035975666
[2024-03-30T18:22:04+00:00] 864893035975666
[2024-03-30T20:41:05+00:00] 864893035975666
[2024-03-30T20:42:04+00:00] 864893035975666
[2024-03-30T20:46:45+00:00] ##,imei:864893035975666,A
[2024-03-30T20:47:45+00:00] 864893035975666
[2024-03-30T20:48:45+00:00] 864893035975666
[2024-03-30T20:49:45+00:00] 864893035975666
[2024-03-30T20:50:45+00:00] 864893035975666


this device save with serial number = 0864893035975666 on my database
but dont have save any data!

Application doesn't start

Hello again, i have installed the app in a VM in VirtualBox, Xubuntu 22.04. PHP 8.2, Mysql 8, REDIS, and everything seem to work fine, no problems on instalation, but when i try to start only appears the screen ERROR 500, System error, and in the log of Apache appears this lines, thank you in advanced for your great work

127.0.0.1 - - [17/May/2024:17:50:14 +0200] "GET / HTTP/1.1" 500 2425 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
127.0.0.1 - - [17/May/2024:17:50:14 +0200] "GET /build/css/main.min.css?v1715958684 HTTP/1.1" 200 17419 "http://127.0.0.1/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
127.0.0.1 - - [17/May/2024:17:50:14 +0200] "GET /build/images/error-illustration.svg?v1715958684 HTTP/1.1" 304 250 "http://127.0.0.1/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
127.0.0.1 - - [17/May/2024:17:50:14 +0200] "GET /build/js/main.min.js?v1715958684 HTTP/1.1" 200 181454 "http://127.0.0.1/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
127.0.0.1 - - [17/May/2024:17:50:14 +0200] "GET /build/images/bg-main.svg HTTP/1.1" 304 248 "http://127.0.0.1/build/css/main.min.css?v1715958684" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
127.0.0.1 - - [17/May/2024:17:50:15 +0200] "GET /service-worker.js HTTP/1.1" 200 1167 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
127.0.0.1 - - [17/May/2024:17:50:15 +0200] "GET /service-worker.js HTTP/1.1" 200 1167 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"

Error al Iniciar Servidor

Buenas amigo me sale este error al crear un servidor quiero conectar mi celular a la aplicacion con app traccar Client y quiero crear el puerto pero me sale ese error al guardar
image

Can't Seed database

Hello, I have the same issue, and i'm using Windows.
Appears this error:

In Container.php line 906:
Target class [Database\Seeders\Database] does not exist.
In Container.php line 904:
Class "Database\Seeders\Database" does not exist

Thank you for your work, is great

Issue with seeding the database

In Container.php line 914:

Target class [DatabaseSeeder] does not exist.

In Container.php line 912:

Class "DatabaseSeeder" does not exist

When I seed the database this occurs

Error in socket

Hi,
Server stopped working and I saw this error in the logs and didn't work till the next day.
PS. I wasn't on the latest commit
Updating 57d26a0..4960411

[2024-01-09T07:37:55+00:00] production.ERROR: ErrorException: socket_read(): unable to read from socket [104]: Connection reset by peer in /var/www/html/GPS-Tracker/app/Services/Server/Socket/Client.php:93
Stack trace:
#0 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#2 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Client.php(93): socket_read()
#3 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Client.php(55): App\Services\Server\Socket\Client->readBuffer()
#4 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Server.php(228): App\Services\Server\Socket\Client->handle()
#5 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Server.php(214): App\Services\Server\Socket\Server->connectionReadHandle()
#6 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Server.php(155): App\Services\Server\Socket\Server->connectionRead()
#7 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Server.php(85): App\Services\Server\Socket\Server->read()
#8 /var/www/html/GPS-Tracker/app/Domains/Server/Action/StartPort.php(146): App\Services\Server\Socket\Server->accept()
#9 /var/www/html/GPS-Tracker/app/Domains/Server/Action/StartPort.php(48): App\Domains\Server\Action\StartPort->serve()
#10 /var/www/html/GPS-Tracker/app/Domains/Core/Action/ActionFactoryAbstract.php(55): App\Domains\Server\Action\StartPort->handle()
#11 /var/www/html/GPS-Tracker/app/Domains/Server/Action/ActionFactory.php(68): App\Domains\Core\Action\ActionFactoryAbstract->actionHandle()
#12 /var/www/html/GPS-Tracker/app/Domains/Server/Command/StartPort.php(29): App\Domains\Server\Action\ActionFactory->startPort()
#13 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Domains\Server\Command\StartPort->handle()
#14 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#15 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#16 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod()
#17 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/Container.php(662): Illuminate\Container\BoundMethod::call()
#18 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\Container\Container->call()
#19 /var/www/html/GPS-Tracker/vendor/symfony/console/Command/Command.php(326): Illuminate\Console\Command->execute()
#20 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\Component\Console\Command\Command->run()
#21 /var/www/html/GPS-Tracker/vendor/symfony/console/Application.php(1096): Illuminate\Console\Command->run()
#22 /var/www/html/GPS-Tracker/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand()
#23 /var/www/html/GPS-Tracker/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun()
#24 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(201): Symfony\Component\Console\Application->run()
#25 /var/www/html/GPS-Tracker/artisan(35): Illuminate\Foundation\Console\Kernel->handle()
#26 {main}  
[2024-01-09T07:37:59+00:00] production.ERROR: ErrorException: socket_read(): unable to read from socket [104]: Connection reset by peer in /var/www/html/GPS-Tracker/app/Services/Server/Socket/Client.php:93
Stack trace:
#0 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#2 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Client.php(93): socket_read()
#3 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Client.php(55): App\Services\Server\Socket\Client->readBuffer()
#4 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Server.php(228): App\Services\Server\Socket\Client->handle()
#5 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Server.php(214): App\Services\Server\Socket\Server->connectionReadHandle()
#6 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Server.php(155): App\Services\Server\Socket\Server->connectionRead()
#7 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Server.php(85): App\Services\Server\Socket\Server->read()
#8 /var/www/html/GPS-Tracker/app/Domains/Server/Action/StartPort.php(146): App\Services\Server\Socket\Server->accept()
#9 /var/www/html/GPS-Tracker/app/Domains/Server/Action/StartPort.php(48): App\Domains\Server\Action\StartPort->serve()
#10 /var/www/html/GPS-Tracker/app/Domains/Core/Action/ActionFactoryAbstract.php(55): App\Domains\Server\Action\StartPort->handle()
#11 /var/www/html/GPS-Tracker/app/Domains/Server/Action/ActionFactory.php(68): App\Domains\Core\Action\ActionFactoryAbstract->actionHandle()
#12 /var/www/html/GPS-Tracker/app/Domains/Server/Command/StartPort.php(29): App\Domains\Server\Action\ActionFactory->startPort()
#13 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Domains\Server\Command\StartPort->handle()
#14 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#15 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#16 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod()
#17 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/Container.php(662): Illuminate\Container\BoundMethod::call()
#18 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\Container\Container->call()
#19 /var/www/html/GPS-Tracker/vendor/symfony/console/Command/Command.php(326): Illuminate\Console\Command->execute()
#20 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\Component\Console\Command\Command->run()
#21 /var/www/html/GPS-Tracker/vendor/symfony/console/Application.php(1096): Illuminate\Console\Command->run()
#22 /var/www/html/GPS-Tracker/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand()
#23 /var/www/html/GPS-Tracker/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun()
#24 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(201): Symfony\Component\Console\Application->run()
#25 /var/www/html/GPS-Tracker/artisan(35): Illuminate\Foundation\Console\Kernel->handle()
#26 {main}  

[2024-01-09T07:38:08+00:00] production.ERROR: ErrorException: socket_getpeername(): unable to retrieve peer name [107]: Transport endpoint is not connected in /var/www/html/GPS-Tracker/app/Services/Server/Connection.php:83
Stack trace:
#0 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#2 /var/www/html/GPS-Tracker/app/Services/Server/Connection.php(83): socket_getpeername()
#3 /var/www/html/GPS-Tracker/app/Services/Server/Connection.php(44): App\Services\Server\Connection->setClient()
#4 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Server.php(200): App\Services\Server\Connection->__construct()
#5 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Server.php(181): App\Services\Server\Socket\Server->connectionAccept()
#6 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Server.php(149): App\Services\Server\Socket\Server->connectionAdd()
#7 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Server.php(85): App\Services\Server\Socket\Server->read()
#8 /var/www/html/GPS-Tracker/app/Domains/Server/Action/StartPort.php(146): App\Services\Server\Socket\Server->accept()
#9 /var/www/html/GPS-Tracker/app/Domains/Server/Action/StartPort.php(48): App\Domains\Server\Action\StartPort->serve()
#10 /var/www/html/GPS-Tracker/app/Domains/Core/Action/ActionFactoryAbstract.php(55): App\Domains\Server\Action\StartPort->handle()
#11 /var/www/html/GPS-Tracker/app/Domains/Server/Action/ActionFactory.php(68): App\Domains\Core\Action\ActionFactoryAbstract->actionHandle()
#12 /var/www/html/GPS-Tracker/app/Domains/Server/Command/StartPort.php(29): App\Domains\Server\Action\ActionFactory->startPort()
#13 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Domains\Server\Command\StartPort->handle()
#14 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#15 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#16 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod()
#17 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/Container.php(662): Illuminate\Container\BoundMethod::call()
#18 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\Container\Container->call()
#19 /var/www/html/GPS-Tracker/vendor/symfony/console/Command/Command.php(326): Illuminate\Console\Command->execute()
#20 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\Component\Console\Command\Command->run()
#21 /var/www/html/GPS-Tracker/vendor/symfony/console/Application.php(1096): Illuminate\Console\Command->run()
#22 /var/www/html/GPS-Tracker/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand()
#23 /var/www/html/GPS-Tracker/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun()
#24 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(201): Symfony\Component\Console\Application->run()
#25 /var/www/html/GPS-Tracker/artisan(35): Illuminate\Foundation\Console\Kernel->handle()
#26 {main}  
[2024-01-09T07:38:08+00:00] production.ERROR: socket_getpeername(): unable to retrieve peer name [107]: Transport endpoint is not connected {"url":"http://localhost","method":"GET","exception":"[object] (ErrorException(code: 0): socket_getpeername(): unable to retrieve peer name [107]: Transport endpoint is not connected at /var/www/html/GPS-Tracker/app/Services/Server/Connection.php:83)
[stacktrace]
#0 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#1 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#2 /var/www/html/GPS-Tracker/app/Services/Server/Connection.php(83): socket_getpeername()
#3 /var/www/html/GPS-Tracker/app/Services/Server/Connection.php(44): App\\Services\\Server\\Connection->setClient()
#4 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Server.php(200): App\\Services\\Server\\Connection->__construct()
#5 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Server.php(181): App\\Services\\Server\\Socket\\Server->connectionAccept()
#6 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Server.php(149): App\\Services\\Server\\Socket\\Server->connectionAdd()
#7 /var/www/html/GPS-Tracker/app/Services/Server/Socket/Server.php(85): App\\Services\\Server\\Socket\\Server->read()
#8 /var/www/html/GPS-Tracker/app/Domains/Server/Action/StartPort.php(146): App\\Services\\Server\\Socket\\Server->accept()
#9 /var/www/html/GPS-Tracker/app/Domains/Server/Action/StartPort.php(48): App\\Domains\\Server\\Action\\StartPort->serve()
#10 /var/www/html/GPS-Tracker/app/Domains/Core/Action/ActionFactoryAbstract.php(55): App\\Domains\\Server\\Action\\StartPort->handle()
#11 /var/www/html/GPS-Tracker/app/Domains/Server/Action/ActionFactory.php(68): App\\Domains\\Core\\Action\\ActionFactoryAbstract->actionHandle()
#12 /var/www/html/GPS-Tracker/app/Domains/Server/Command/StartPort.php(29): App\\Domains\\Server\\Action\\ActionFactory->startPort()
#13 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\\Domains\\Server\\Command\\StartPort->handle()
#14 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#15 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#16 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod()
#17 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Container/Container.php(662): Illuminate\\Container\\BoundMethod::call()
#18 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call()
#19 /var/www/html/GPS-Tracker/vendor/symfony/console/Command/Command.php(326): Illuminate\\Console\\Command->execute()
#20 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run()
#21 /var/www/html/GPS-Tracker/vendor/symfony/console/Application.php(1096): Illuminate\\Console\\Command->run()
#22 /var/www/html/GPS-Tracker/vendor/symfony/console/Application.php(324): Symfony\\Component\\Console\\Application->doRunCommand()
#23 /var/www/html/GPS-Tracker/vendor/symfony/console/Application.php(175): Symfony\\Component\\Console\\Application->doRun()
#24 /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(201): Symfony\\Component\\Console\\Application->run()
#25 /var/www/html/GPS-Tracker/artisan(35): Illuminate\\Foundation\\Console\\Kernel->handle()
#26 {main}
"}

response for coban devices

Hi,
When I send this to the device:
**,imei:868166054696190,111
device will send this response: (it will be shown in the server log file.)
imei:868166054696190,111,240112185257,,F,152257.000,A,3531.37056,N,04610.27195,E,,,,0,0,0.00%,,;
But it doesn't show in response for the request.
Thanks.

Alarm Not Working

i set alarm liked this
Screenshot from 2024-03-31 13-22-29

and set my alarm start with 00:01 until the 23:59

i set maximum speed area entry,exit and geofence entry and exit in my admin panel
I also connected the alarms to a vehicle which is my car And this connection is registered in the database

As you can see in the map, I entered and exited these coordinates, but no alarm was registered for me in the system!
I wanted to see what the problem is?

ERROR: SQLSTATE[22S03]: <>: 3617 Latitude 122.232690 is out of range in function st_pointfromtext.

[2023-04-26 09:01:41] production.ERROR: SQLSTATE[22S03]: <>: 3617 Latitude 122.232690 is out of range in function st_pointfromtext. It must be within [-90.000000, 90.000000]. (Connection: mysql, SQL: insert into position (point, speed, direction, signal, date_at, date_utc_at, device_id, timezone_id, trip_id, user_id, vehicle_id) values (ST_PointFromText("POINT(122.232690 10.647180)", 4326), 0, 0, 1, 2023-04-26 17:01:38, 2023-04-26 09:01:38, 1, 259, 1, 1, 1)) {"exception":"[object] (Illuminate\Database\QueryException(code: 22S03): SQLSTATE[22S03]: <>: 3617 Latitude 122.232690 is out of range in function st_pointfromtext. It must be within [-90.000000, 90.000000]. (Connection: mysql, SQL: insert into position (point, speed, direction, signal, date_at, date_utc_at, device_id, timezone_id, trip_id, user_id, vehicle_id) values (ST_PointFromText("POINT(122.232690 10.647180)", 4326), 0, 0, 1, 2023-04-26 17:01:38, 2023-04-26 09:01:38, 1, 259, 1, 1, 1)) at /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:793)

Theme issue: can't read texts

Hi,
Thank you for your hard work.
I'm facing a problem with panel theme. I can't read texts. could you change text colors to white?
Thanks.
2024-01-18 21 28 51

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.