Skip to content

GPS and xively #36

@Alecfoy

Description

@Alecfoy

If GPS is enabled, it´s not possible to upload to Xively ?

I get (coordinates anonymized):

_DEBUG:main: ERROR: Exception during output: 'Disposition'
DEBUG:main: GPS output (55.71072, 12.57942, -6.6, 'fixed', 'indoor')
INFO:main: Success: Data successfully obtained from all sensors.
DEBUG:main: Dataset to output to <outputs.csvoutput.CSVOutput object at 0xa646b150>:
DEBUG:main: [{'description': 'BOSCH combined temperature and pressure sensor.', 'symbol': 'C', 'value': 30.8, 'breach': False, 'readingtype': 'sample', 'sensor': 'BMP085-temp', 'unit': 'Celsius', 'name': 'Temperature-BMP'}, {'description': 'BOSCH combined temperature and pressure sensor.', 'symbol': 'hPa', 'value': 998.676351863236, 'breach': False, 'readingtype': 'sample', 'sensor': 'BMP085-pres', 'unit': 'Hectopascal', 'name': 'Pressure'}, {'description': 'A combined temperature and humidity sensor.', 'symbol': '%', 'value': 23.5, 'breach': False, 'readingtype': 'sample', 'sensor': 'DHT22-hum', 'unit': '% Relative Humidity', 'name': 'Relative_Humidity'}, {'description': 'A combined temperature and humidity sensor.', 'symbol': 'C', 'value': 31.0, 'breach': False, 'readingtype': 'sample', 'sensor': 'DHT22-temp', 'unit': 'Celsius', 'name': 'Temperature-DHT'}, {'description': 'A light dependent resistor', 'symbol': 'Ohms', 'value': 535.5303810504636, 'breach': False, 'readingtype': 'sample', 'sensor': 'LDR', 'unit': 'Ohms', 'name': 'Light_Level'}, {'description': 'A nitrogen dioxide sensor', 'symbol': 'Ohms', 'value': 32625.0, 'breach': False, 'readingtype': 'sample', 'sensor': 'MiCS-2710', 'unit': 'Ohms', 'name': 'Nitrogen_Dioxide'}, {'description': 'A carbon monoxide sensor', 'symbol': 'Ohms', 'value': 37500.0, 'breach': False, 'readingtype': 'sample', 'sensor': 'MiCS-5525', 'unit': 'Ohms', 'name': 'Carbon_Monoxide'}, {'description': 'A microphone to measure ambient noise', 'symbol': 'mV', 'value': 203.2258064516129, 'breach': False, 'readingtype': 'sample', 'sensor': 'Microphone', 'unit': 'millvolts', 'name': 'Volume'}, {'name': 'Location', 'altitude': -6.6, 'longitude': 12.xxxxx, 'disposition': 'fixed', 'latitude': 55.xxxxx, 'sensor': 'MTK3339', 'exposure': 'indoor'}]

DEBUG:main: Dataset to output to <outputs.xively.Xively object at 0xb591cc10>:
DEBUG:main: [{'description': 'BOSCH combined temperature and pressure sensor.', 'symbol': 'C', 'value': 30.8, 'breach': False, 'readingtype': 'sample', 'sensor': 'BMP085-temp', 'unit': 'Celsius', 'name': 'Temperature-BMP'}, {'description': 'BOSCH combined temperature and pressure sensor.', 'symbol': 'hPa', 'value': 998.676351863236, 'breach': False, 'readingtype': 'sample', 'sensor': 'BMP085-pres', 'unit': 'Hectopascal', 'name': 'Pressure'}, {'description': 'A combined temperature and humidity sensor.', 'symbol': '%', 'value': 23.5, 'breach': False, 'readingtype': 'sample', 'sensor': 'DHT22-hum', 'unit': '% Relative Humidity', 'name': 'Relative_Humidity'}, {'description': 'A combined temperature and humidity sensor.', 'symbol': 'C', 'value': 31.0, 'breach': False, 'readingtype': 'sample', 'sensor': 'DHT22-temp', 'unit': 'Celsius', 'name': 'Temperature-DHT'}, {'description': 'A light dependent resistor', 'symbol': 'Ohms', 'value': 535.5303810504636, 'breach': False, 'readingtype': 'sample', 'sensor': 'LDR', 'unit': 'Ohms', 'name': 'Light_Level'}, {'description': 'A nitrogen dioxide sensor', 'symbol': 'Ohms', 'value': 32625.0, 'breach': False, 'readingtype': 'sample', 'sensor': 'MiCS-2710', 'unit': 'Ohms', 'name': 'Nitrogen_Dioxide'}, {'description': 'A carbon monoxide sensor', 'symbol': 'Ohms', 'value': 37500.0, 'breach': False, 'readingtype': 'sample', 'sensor': 'MiCS-5525', 'unit': 'Ohms', 'name': 'Carbon_Monoxide'}, {'description': 'A microphone to measure ambient noise', 'symbol': 'mV', 'value': 203.2258064516129, 'breach': False, 'readingtype': 'sample', 'sensor': 'Microphone', 'unit': 'millvolts', 'name': 'Volume'}, {'name': 'Location', 'altitude': -6.6, 'longitude': 12.xxxxx, 'disposition': 'fixed', 'latitude': 55.xxxxx, 'sensor': 'MTK3339', 'exposure': 'indoor'}]
_

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions