pibeacon: 22 - Ruuvi Tag sensors

Posted on
Sat May 23, 2020 10:30 am
kw123 offline
User avatar
Posts: 7038
Joined: May 12, 2013
Location: Dallas, TX

pibeacon: 22 - Ruuvi Tag sensors

ruvvitag https://ruuvi.com has a piece of hardware that fits well w pibeacon:

1. it sends an ibeacon message every second,
2. battery should last > 1 year
3. it sends as part of its message Temp, humidity, pressure (using BME280) and x,y,z acceleration ( gravity sensor)

With this beacon you can sense
1. presences
2. movement ( LIS2DH12 accelerometer)
3. environmental info (TPH using Bosch BME280)

The plugin offers 2 devices for each ruuvitag:
1. regular ibeacon. It will have regular signal, position.. as well as battery level info
2. sensor for TPH, acceleration in mg (1g= normal gravity)
it also calculates total acceleration (gravity sqrt(x*x+y*y+z*z)) and accelerationTurn (delta acc.%: ( |x-xlast|+|y-ylast|+|z-zlast|)/3*100): when you turn the device the total acceleration stays roughly constant while the acceleration_Turn info clearly shows a large change

How to setup
You get the MAC number of the device using the ruuvi tag station phone app.
Screen Shot 2020-05-23 at 11.11.20.png
Screen Shot 2020-05-23 at 11.11.20.png (162.86 KiB) Viewed 91 times

show here also the option of having a color code for the state image, here for temperature. this does not work when you show more than one state in the state column (eg temp/humidity)

To add ibeacon type device you allow new sensors for 1 minute and pick the right one to keep: pick the right MAC number and the description field will show something like this "ruuviTag-xx:xx:xx:xx:xx-sensor" (xx:..=MAC number) (you could also just add an ibeacon device and add the mac number at the bottom of the edit screen, then you would need to to a manual push of config to the rpis, The TX- signal strength for distance calculation is ~ -63dBm (enter in the proper field in device edit)

To add the sensor device you add an indigo/pibeacon/ruuvitag device and enter the MAC number, configure some of the sensitivity parameters and which RPI should monitor the sensor, you could select all of them. Then save.
Screen Shot 2020-05-23 at 11.07.19.png
Screen Shot 2020-05-23 at 11.07.19.png (259.56 KiB) Viewed 91 times
Screen Shot 2020-05-24 at 11.35.11.png
Screen Shot 2020-05-24 at 11.35.11.png (86.84 KiB) Viewed 57 times

You then get the following states:
Screen Shot 2020-05-23 at 11.08.03.png
Screen Shot 2020-05-23 at 11.08.03.png (214.24 KiB) Viewed 91 times

With a very long battery life and frequent updates this sensors can be used anywhere in the house ( < 30m distance tot the nearest RPI) - do not expose to rain! to
- measure temperature, humidity, air pressure with high accuracy
- movement / tilt sensor on doors - windows, fridge, dogs
- regular ibeacon presence

There is no config option for the device itself, just power on and it is ready.

THE ONLY BAD NEWS: it is not small. It fits in my pocket, but not everyone would accept the size.
You can only get it directly from ruuvitag in Finland (at least in the US). I got mine in 4 days.


Page 1 of 1

Who is online

Users browsing this forum: No registered users and 0 guests