Pi Zero Ruuvi Gateway implementations

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.

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…


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…


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

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.

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.

What size SD card do you plan to use?

I think I go with 16Gb card. Sure 8Gb would be enough I think, but at local stores seemed that there was only “brand” Silicon Power card at 8Gb. That sure would be cheap (2€) but better choose something with good quality. What card would you suggest?

btw. what method do you suggest to write ready configured system from card to image, in case I sometime end up trying that also?

SD card performance (in my experience with Pi Zero) is important.

More than you wanted to know!

More analysis than you want to know
https://elinux.org/RPi_SD_cards and http://www.pidramble.com/wiki/benchmarks/microsd-cards

Too many choices. I go with a well known memory manufacture like Kingston, PNY SanDIsk and check the analysis.

Write the card with https://www.balena.io/etcher/ it is easy (takes gz) safe(finds SD card) and free

Image of running RuuviCollector on a Raspberry Pi Zero W, with grafana for a 16GB SD and IMPORTANT notes at http://MyBeacons.info/RuuviCollectorSD.html . Let me know if it works for you (or if it doesn’t)

Thanks, just downloading image. I bought Sandisk Ultra SDHC as originally planned and seems like that’s sold also with officially preflashed rasbian. My Zero W is on it’s way but seems it wil take longer for it until arrives. Will test and report when posible to do so.

Thanks again.