Ruuvi Station Mobile Application

This topic is dedicated to comments and conversations about the following RuuviLab tutorial:

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

If you don’t see any comments yet, don’t be afraid to be the first one to contribute!

Ruuvi Station mobile app is coming:

I cannot find apk file right now. Am I need to compile from source?

Do you need APK file or app? App is available in Play Store - name Ruuvi Station.

https://lab.ruuvi.com/android-app/ page says "To try the app, look for the latest .APK file install. It’ll be available on Play Store later."
Anyway. Thanks for information :slight_smile:

First of all I have to thank you for making this, especially since it has the option to show the values in Fahrenheit. The graphing is great and combined with the new firmware the accuracy is much appreciated.
My problem: I’m not sure what contributed to it, but about a week ago it started to not re-acquire the tag information after it had been separated for a distance/time (I have one at home, one at work, etc.). It just shows the last results and the “Updated” ticker keeps counting and never seems to query the tag again. I’ve tried force stopping it with no success. The only thing that seems to fix it, is to reboot my phone. That is not an ideal solution. I wanted to give the team a chance to find the root problem before I take more drastic measures to resolve it (since their may be valuable troubleshooting info lost).
I’m on a Moto Z Play running Android 7.1.1 and the app version is 0.9.2-beta.
Thanks, Steve

@io53 any ideas on this one?

@stringy Can you try to see if you can see the tags with nrf connect and report here if this happens again? https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp&hl=en

I’ve had this happen (or at least the same symptom) to me once on my nexus 5x. Bluetooth completely stopped working, I could not get any apps to see low-energy devices. Restarting bluetooth did not help, but as for you restarting the phone did.
I’ve not been able to reproduce this and it was quite a while ago since I encountered it. My best bet this far is that androids bluetooth stack crashed :thinking:

1 Like

Hi,

I can’t find any instructions or data about how to use the weather station app as a gateway. There are two places where I can enter an URL but I don’t know what those URLs could mean.

Is there any documentation about this?

BR,

Hardy

Hello,

I think the documentation is still being worked on (@io53?). In the meanwhile, here’s a sample data:

// { deviceId: 'laurin-s8',
//   eventId: '591db9bc-32f0-4059-86e0-8e6cc808492c',
//   tags: 
//    [ { accelX: 0.019,
//        accelY: -0.003,
//        accelZ: 1.041,
//        defaultBackground: 0,
//        favorite: false,
//        humidity: 88,
//        id: 'F8:AC:76:59:5B:24',
//        name: 'Over Humidity',
//        pressure: 974.01,
//        rawDataBlob: [Object],
//        rssi: -45,
//        temperature: 27.25,
//        updateAt: 'Mar 6, 2018 11:21:46',
//        voltage: 2.989 } ],
//   time: 'Mar 6, 2018 11:21:46' }

the data gets HTTP POSTed to URL you specify at the background scan interval.

Thanks for your reply! Is that format accepted by any public cloud service? I need a way to demonstrate our system by presenting cloud data on a mobile phone. Or do you have alternate formats to facilitate e.g Thingspeak?

BR,

Hardy/VTT

You’ll probably have to implement your own parser for the data, for example https://github.com/ruuvi/ruuvi.streamrproxy.js listens in to data and formats it for Streamr backend.

I took a shot at making myself a Python API for receiving these POST-requests. It’s available at https://gitlab.com/tctovsli/ruuvi-gateway.
I’m not an experienced programmer, but it works.

One of the things I noticed is that the mobile app sends at a 5 minute interval (even though the text in-app seems to be referring to the background sync interval).
Edit: Disregard this last statement. When setting up a different android device as gateway, the interval was 15 seconds. Guess my first attempt got stuck somehow (a bug).

1 Like

I found that many times turning bluetooth off and leaving it off for several minutes would fix it and those times that it didn’t a reboot would normally fix it. About a month later the problem seemed to go away. I’m assuming that it could have been fixed by a OS update.
Thanks for the help, sorry for the delayed response

NEW RUUVI STATION incompatibility with old anrdoid phone.
I just found from the Ruuvi news, that there is a new Ruuvi Station. Thank you fellows for it!
BUT when I tried to install it from Play Store I found that my phone is not supported. What a pity. I would like to use my retired Huawei Honor Hol-U19/ android 4.4.2 as a gateway to IBM cloud / Nodered application, but it is no more possible.
My other similar phone runs the old Ruuvistation fine in this purpose, though there are some start-up problems for background scan or sending to IBM cloud. Anyway, it works fine once started.
If the new version can not support old android versions, could it be possible to keep also the old version available for older phones?

Even better, if there were just a gateway version for android without graphs and supporting multiple Ruuvitags.

Yes, we had to drop Android 4 support on Ruuvi Station 1.0.

It’s definitely possible to make the old APK package available for download. Here it is:

https://ruuvi.com/binaries/20180425-ruuvistation-0.9.2.apk

Hi, I got Ruuvi Station sw update into my Samsung Xcover 4 (Android version 8.1.0) few days ago. After that App doesn’t anymore receive data from raw mode enabled Ruuvitags. I have removed all tags and also reinstalled app without any success. In raw mode enabled, tag MAC-addresses are not discovered at all.

We have received a few similar feedbacks (all Samsung & Android 8.1) and are finding the root cause. A fix will be realeased as soon as possible.

Note for everyone: If you wish not to to be a beta tester, please leave the Ruuvi Station beta program on Google Play.

Hi everybody,

First of all, thank You for the excellent Android software!

I use it to send data from Ruuvitags to our own IoT platform. The gateway -mode seems to work very well in an old lenovo tablet and in nokia 7.1.

When testing our own server side code, I noticed that if the Dashboard is “front”, then the data is sent to server every second (even if the interval for sending was set 15 minutes for background service). For my case this is way too short cycle.

Is there a setting that forces the data sending to same value as in background reading/sending?

It would be very good feature if there was possibility to set the Dashboard to be shown all the time and the data sending would still have the same rule as in background mode.

I have pulled the source codes from git and installed Android studio. It has been a while from my last project with Java, so it takes a while to get to know the code.

I am planning to add the following feature to the software:

  1. To Settings page: Add ON/OFF setting to use the background sending schedule for data sending
  2. To scanner part: When updating the screen, the data is sent using back ground settings if setting is on.

Of course I will share the results and the changes I made to the code.

Sounds like a good feature. If it’ll be user-friendly enough, we’ll for sure consider to merge your future GitHub pull request to the master :metal: @io53