-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Seems that the script has a problem with the delyed sent.
after start the script sends the data to the traccar server, but afterwards it only shows me the data on the console and never more on the server.
my config.yml file:
<?xml version="1.0"?> <ScannerSettings> <ScannerIDNumber>xxxxxxxxxxxxxxx</ScannerIDNumber> <GT06ClientSettings> <Hostname>xaz.xyz.domain.net</Hostname> <Port>5023</Port> <UpdateDelay>30</UpdateDelay> </GT06ClientSettings> <GPSSettings> <Port>/dev/ttyACM1</Port> <Baud>4800</Baud> </GPSSettings> </ScannerSettings>
Output on console:
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Namespace(config='config.xml', gps_baud=None, gps_port=None, id=None, maps_url=None, server_address=None, server_port=None, update_delay=None)
Scanning . . .
{}
Scanning . . .
{'latitude': nnnnnnnnnnnnn, 'latitudeDir': 'N', 'longitude': nnnnnnnnnnnn, 'longitudeDir': 'E', 'groundSpeedKnots': 0.098, 'altitude': 177.1, 'altitudeUnits': 'M', 'time': '19:27:47', 'timestamp': '192747.00', 'satellitesInView': '12'}
Scanning . . .
{'latitude': nnnnnnnnnnnnnn, 'latitudeDir': 'N', 'longitude': nnnnnnnnnnnnnn, 'longitudeDir': 'E', 'groundSpeedKnots': 0.069, 'altitude': 175.8, 'altitudeUnits': 'M', 'time': '19:28:48', 'timestamp': '192848.00', 'satellitesInView': '11'}
Scanning . . .
{'latitude': nnnnnnnnnnnnnn, 'latitudeDir': 'N', 'longitude': nnnnnnnnnnnnnn, 'longitudeDir': 'E', 'groundSpeedKnots': 0.061, 'altitude': 175.0, 'altitudeUnits': 'M', 'time': '19:29:48', 'timestamp': '192948.00', 'satellitesInView': '11'}
nnnnnnnnnnnnnn=mask latitude/longitude