ppyordanov / Dynamic-Noise-and-Pollution-Map

A dynamically generated University of Glasgow noise and pollution campus map via the innovative Smart Citizen Kit developed in Barcelona, Spain by FabLab.
0 stars 0 forks source link

SCK Data Transmission Problem #37

Closed ppyordanov closed 9 years ago

ppyordanov commented 9 years ago

The SCK transmits data to the smartcitizen.me server, but it does not seem to be displaying the information successfully on request and the _data_ dictionary is empty as seen in the JSON output below:

{
    "device": {
        "id": "1651",
        "user_id": "2282",
        "kit_version": "1.1",
        "macadress": "00:06:66:22:3c:2b",
        "title": "PP Yordanov's Kit",
        "description": "Testing kit.",
        "location": "Glasgow, United Kingdom",
        "city": "",
        "country": "",
        "exposure": "indoor",
        "position": "fixed",
        "elevation": "100.0",
        "geo_lat": "55.884310000000000",
        "geo_long": "-4.280606000000000",
        "created": "2014-10-01 19:13:03",
        "modified": "2014-10-04 20:25:03",
        "last_insert_datetime": "2014-11-05 21:45:15",
        "ro_co": "75000",
        "ro_no2": "10000",
        "status": "online"
    },
    "data": [
    ]
}

However, I would assume that this issue is not due to the firmware update as the serial monitor shows data transmitted successfully. Current data also seems to be visible when the kit is highlighted on the map, but a more broad view of the samples taken is not available as seen in the screenshot below:

issue

I have emailed the SCK team and will be updating this issue with the response.

ppyordanov commented 9 years ago

As seen in the last response by the SCK team in issue #35 the mentioned effect is due to some _smartcitizen.me_ server problem that I hope they will be resolving soon. This is not worrying as the test data acquired so far is enough to be used in the process of prototype development.

All in all, the Fab Lab developers have been extremely helpful so far and they even offered to organize a Skype conference call/ hangout in Google+ to help me tackle any difficulties I might encounter from now on. Very much appreciated and extremely professional attitude!

ppyordanov commented 9 years ago

SmartCitizen.me ( https://smartcitizen.me/ ) has just changed appearance. Although the issue is still there, things look promising as the whole user interface has been re-designed and probably the transmission issue is going to be addressed soon. The website seems to be much more responsive and the flow of control is extremely smooth. I do not think the API has changed.

ppyordanov commented 9 years ago

Update: this issue has been resolved. API requests were functioning normally although users did not have access to the .json files normally downloadable from their accounts.

ppyordanov commented 9 years ago

This task has been completed and can be closed now.