Android - Ruuvitag scanner, datalogger/sender

The Android app created by @tmakinen (on Slack) and thanks also @jari.isohanni can be found now on

and also

https://lab.ruuvi.com/android-app

is updated.

It wonā€™t install on my phone with Android 5.1. I uninstalled the previous version but still the same. After I press Next it says ā€œapp not installedā€. Help!

I see that the humidity get changed, but should it not be with rawData[3]?, in
Ruuvitag.java.

     //   humidity = (rawData[3]) * 0.5;

        humidity = ((float) (rawData[1] & 0xFF)) / 2f;

I also see that it is 17 dayes since the RuuvitagScanner.apk is updatet.

Is there a dukoment somewhere, that explan how to make the apk?

@anon24749318, weā€™ll try to update APK during the weekend and fix that RawData Humidity too.
About signing, you can find good tutorials online. Basically you need to create your of certificate to sign the app.

@andersos I had the same problem with two different phones. Were you able to solve this?

Hi all, Android scanner is now in Ruuviā€™s repository. I made some heavy rebranding from Centria to Ruuvi inorder to make it feel more familiar to Ruuvi users (this doesnā€™t mean that Centria will no longer support/work with Ruuvi, we are still very happy and proud to use it in our projects and stundent works).

To get things running you can uninstall old scanners and install this new version, although it should install even with existing versions installed. (App not installed problems could be due from previous versions having invalid signature)

APK Url:
https://github.com/ruuvi/Android_RuuvitagScanner/blob/master/RuuvitagScanner.apk?raw=true

Sorry to bother you, but should the humidity not be:
ā€œhumidity = ((float) (rawData[3] & 0xFF)) / 2f;ā€.
Now I only see 2.0% humidity on all my sensors.
At the same time I would like the time to be in 24 hour format, like it is on the graphs.

Sorry, thats a copy-paste mistake =) also just started to write unit testing for the project to be sure that this ā€œneverā€ happens again. Will change that time format too

@anon24749318, thanksfor getting this caught. New code and APK now in Github, hope it works this time

Now it works.
Thanks.

Iā€™m going to buy an Android Wear smartwatch, probably before Christmas. Would it be possible to make an Android Wear 2 version of this app?

Firstly, thank you for this great app! Itā€™s just what I was looking for. I was just wondering am I doing something wrong? Iā€™ve setup the app to send the data to the backend URL (dweet.io) on 5 minutes interval. However when the phoneā€™s (Samsung Galaxy A3 2015) screen is off, the update interval seems to be something like three hours or so. Iā€™ve give all permissions to the app.

dweet.io is nice, thanks for the tip. But how do I get actual sensor data to show on the Visual tab at dweet.io? Now it only shows deviceId, eventId, tags and time rows. Tags row has [object Object],[object Object]. Maybe app output isnā€™t supported by dweet.io? Also woul dbe nice if the app could send all my three RuuviTags to dweet.io.

App should run as it is on Wear2 we have some cheap Chinese watches and it works on those

So you mean that app would collect data to one object and send it, now I think it sends scan events as single objects

Yes it does that now, and thatā€™s ok. I have three RuuviTags and it looks like the app sends the latest scan from any of them. When I create a dashboard (on freeboard.io) for the dweet I can pick out what data I want to show, so it works there. But when I check my dweeted thing on dweet.io it looks like I said.

You can look at my RuuviTag thing here: https://dweet.io/follow/Vallgrund-Ruuvi

This is the url I enterd in the app: https://dweet.io/dweet/for/Vallgrund-Ruuvi

And in my case when I have three RuuviTags that are scanned continuously, it would be nice if the app could send data from the different RuuviTags to their own dweet thing.

The current apps sending of data is flawed. It will spam the endpoint, so it does not work well with dweet. There will hopefully be a new apk uploaded today that has this bug fixed.

I like your idea of having the option to have different urlā€™s per tag, it would simplify capturing of the data.

Yes I really want that feature to send multiple RuuviTags to their own dweet things. Maybe it would be good to move the settings scan intervall, gateway url and device identifier to a new settings button on the RuuviTag panels. Or maybe put them under the existing Edit RuuviTag button (ā€¦). So we would have one gateway url per RuuviTag MAC.

There is a new version of the app uploaded here: https://github.com/ruuvi/Android_RuuvitagScanner/blob/master/RuuvitagScanner.apk

@jari.isohanni made it so that it now send tags individually. But there is still no individual gatway url so it does still not work very well with dweet.
(It works ok if there is only one tag added in ā€œMy RuuviTagsā€).

Btw, @andersos, we live on the same island :wink:

Hello all, Iā€™m new here.
At first I have to say that this Scanner is awesome! Thanks for great App for all contributors.
Secondly Iā€™m wondering if anyone has tried the gateway feature to Googleā€™s Firebase database?
ā€¦I already got my raspberry pi to upload data both dweet and firebase with python pyrobase and service account credentials ā€¦ but Iā€™m not that familiar with android coding. This app would suite my needs better than raspberry script.