Saturday 18 November 2017

Distributed Air Quality Monitoring (Using Taxis!)


Last month I put together a project on Hackster.io as part of an Android Things contest that Google was sponsoring.  Amazingly, I won!




I got some pretty good coverage here:


This has been a fantastic experience.  Also, a lot of work... 😏

I'm going to have to think carefully about what to do with this next.

5 comments :

  1. This comment has been removed by the author.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Hello,

    I tried to run the app from Android Studio to the Raspberry Pi after i have modified the script seccion with my version (heatmap.html in the script type="text/javascript" user configuration and setup.yaml with my project ID). After i have did it, i ran the app in my raspberry pi and then reboot as you said in hackster.io and reconnect it again to my computer using: adb connect . But when i execute:

    adb shell am startservice \ -a net.jpuderer.android.things.taxidatalogger.CONFIGURE \ -e project_id \ -e cloud_region \ -e registry_id \ -e device_id \ net.jpuderer.android.things.taxidatalogger/.cloud.CloudPublisherService

    Replacing; PROJECT_ID, REGION, REGISTRY_ID and DEVICE_ID with my own versions, it show me:

    Starting service: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] pkg= -a }
    Error: Not found; no service started.

    Do i have to modify other things in the app before run it again in my raspberry pi or what do you think could be the problem to fix it. Please need your help. I will appreciate so much. Thank you.

    ReplyDelete
  5. I would like to collaborate with you on building this and deploying in scale.

    ReplyDelete