Pi Zero Ruuvi Gateway implementations

If you use the Android gateway, the app will restore itā€™s functionality automatically once the phone boots. No intervention is needed.

If you use the Raspberry Pi gateway, you need to edit the configs yourself to make it start at boot. But that basically means adding one line to the configs. I will write more Raspberry Pi configuration tips to our blog in the coming weeks.

By the way the IMP004m Gateway implementation will return to its working state after the power is restored due to the impCentral infrastructure. Also, I tested this.

Yes communig8 the Imp devices are good that way.
On the measurem app, do Icewood plan to use push notifications to phone as well as sms going forward ?

Iā€™m not sure if I understood your question correctly. Both push notifications and SMS alerts are supported, as well as email. You can select the alert type yourself.

ok I understand. I guess push alerts and email are standard on all subscription packages.
3 sms per month for middle package sounds small ā€¦

We might experiment with other options for SMS. Such as buying SMS alerts separately. Itā€™s just that they are pretty expensive to us (for example, one SMS to Finland is up to 0,16ā‚¬ each). For some other countries, itā€™s even more.

Quote
So we could make Zero W + official Pi Foundation casing available on Ruuvi Shop.

Im in for that.

IMP004m based RuuviTag Gateway now mounted in a boxā€¦

open

1 Like

Hello everybody,

Has anyone checked Pycom modules? Any thoughts?

Pycom has a script that detects Ruuvitags in the surroundings

I wonder if someone could point out a process for the Ruuvitags to login individually to e.g. AWS or IBM Cloud through the above script?

Thank you.

Hi Cirobr,

The Pycom modules do seem promising and have some awesome development behind them, the only issue you may find is that they are based on an ESP32 module with a shared antenna between WiFi and BLE this may cause issue on performance as it does on standard ESP32 dev boards.

In regards to your question about connecting the tags to AWS for example, this is not possible with this script. To connect to AWS look into MQTT and how you could use this to send data to them. The script you mentioned would be used to collect the ruuvi tag data and then it would be sent via MQTT.

You could also look into Particle boards, almost the same as a PYCOM board but doesnā€™t use the integrated BLE instead replaces it with a nRF52840 with the ability to connect an external antenna to both WiFi and BLE.

Hi Anthony, thanks for feedback and insights. Will definitely take a look at Particle boards/Nordic chipset.

In fact I already did that, and it works smoothly. Problem is that Cloud Service misinterprets the data received as being generated by a single device, therefore further logic is needed as to segregate the data each sensor is actually sending. I wanted to avoid such logic by just logging in each sensor individually.

what happens when gateway experiences some disruption like power blackout ?
https://tutuapp.uno/ , https://9apps.ooo/ , https://showbox.kim/

There are some industry grade SDCards designed for harsh weather conditions. These should perform better. Still, not sure how much better.

Just decided to Order Raspberry Pi Zero W, itā€™s been long time since I stopped to bang my head to the wall wit C.H.I.P. and checked that thread also and after last time been there saw tht others have had similar problems as I did, also possible solutionā€¦

BUTā€¦

To stay in the topic I decided to go with Pi Zero W at this point, maybe official gateway later. But before My Pi will arrive I was thinking it might be good to ask if you have gateway image for Pi Zero W available like for Pi 3? Didnā€™t see any mentions by quick glanse but decided to ask since there was also preflahed version under considerations, and maybe for once plugā€™n play option sounds nice also. :smiley: Sure no problem to install those myself either, but if that time could be saved, why not.

We do not have a tested image for Zero W, but the latest version might work anyway. As far as I know the RPi images are pretty well compatible across different CPU versions.

1 Like

Depends on what you mean by ā€œgatewayā€, network accessibility, how industrial strength you need to be and what your skill set is. This thread covers lot of various requirements.

Iā€™ve been running several Zero Ws at different locations successfully for a long time, running ruuviCollector, influxdb and grafana on them. I send data ā€œregularlyā€, invoked by cron, using very low bandwidth approach with syslog protocol to send data to a more powerful (Raspberry Pi 3 !) The Pi3 analyzes the data and generates web pages and email warnings as necessary.

Warning: Last time I tried to upgrade Raspian Operating System distribution from stretch to buster I ran intro trouble since the java virtual machine distributed with buster does not run on PiZeroā€™s feebler cpu.

I have tailored the retention period in the influxdb and reduced the update frequency in the collector because with 7 or 8 ruuvis the Zero otherwise gets stuck for a couple of minutes about once or twice a day although it continues on.

I can make an image available if youā€™re interested. Itā€™s kinda download, write to SD, plugin, fix wifi address and youā€™re got to go.

1 Like

Thanks, I appreciate if you make image available. Sure itā€™s nice to do it on own from scratch too (probably do that too at some point), but right now thereā€™s lot other things in life so time little short. And it doesnā€™t need to be industrial strenght in my case, now focus is just at ā€œget it doneā€ part.

Sure on the other hand using ready image feels almost like cheating. :smiley: But main focus is just to get it working and play more with some other things + I suppose image would be helpful for all, especially since in my experience itā€™s quite easy to get sd card corrupted (one reason why i liked C.H.I.P. so much) and you need to do it all againā€¦ This would remove part of that pain and is also part of why I originally asked & that would make starting at same level with RPi 3 which has itā€™s own images.

Itā€™s nice to have a working system to start with.
What desktop.laptop do you use?
Did you get a ethernet-USB adapter or are you going wifi?
What level of expertise do you have with Raspberry ?

Biggest recommendation is get a GOOD 16GB SD card .

Important information and the download link is at
http://MyBeacons.info/RuuviCollectorSD.html

You should be about to connect HDMI to monitor(or TV) add USB keyboard and login, run sudo rapsi-config ; network options change wifi SSID : Password then you can ssh to it.

1 Like

post removed

What level of expertise do you have with Raspberry ?

Actually not so much, I bought the first version, used it as samba share NAS and media server for a while. Then bought some newer and smaller model (A something?) and set that up as security camera, both using raspbian and later with motioneye, but with both cases that jusy freezed and seemed that after writing sd card again it worked for a while. cards was Sandisk branded so should be good brand. Played lot more with 2 C.H.I.P. but bluetooth was problem with NodeRed.

You should be about to connect HDMI to monitor(or TV) add USB keyboard and login, run sudo rapsi-config ; network options change wifi SSID : Password then you can ssh to it.

Yep familiar with this. This was where C.H.I.P shines, you could easilly connect to it headless via USB using screen command (canā€™t this really not been done with Raspberry?). This used to work in a time but now with manjaro canā€™t get this working, but itā€™s offtopic so no more of that. those and following just describes bit more of what level of expertise I haveā€¦ (I like to think Iā€™m kind of forever newbie, but on the otherhand not quite)

What desktop.laptop do you use?

Currently Iā€™m using old thinkpad with Manjaro Cinnamon. Previously mostly debian based distributions, before manjaro I used bunsenlabs linux which is still one of my favourite, but just like to have fresh packages. :slight_smile:

Did you get a ethernet-USB adapter or are you going wifi?

Iā€™m going wifi.

Oops just tried swamp.190806 N G. with for update Friday afternoon EDT (sorry)

Not sure if I understood this correctly. Noticed that image at the link is not available and you will upload new updated image at afternoon? Anyway, no problem at all, it will take probably over week before I get my Zero W so take your time. Thanks anyway.