Collecting RuuviTag measurements and displaying them with Grafana


Battery voltage:





The battery voltage really varies with the temperature, so there is nothing to compensate.

Both humidity and pressure calculation use temperature when converting from raw ADC value to physical value.

Accelerometer is not temperature compensated, as STM does not provide any kind of compensation curve.


Is there a change log or something for the ruuviberry image? I got 2018-05 image without e.g. apache and trouble setting date and getting network via ethernet.

I am also not able to get the to work, the tags show up as e.g. ruuvi_measurements.mean {mac: E6034A5BF58D}


Also, I am not able to run hcitool lescan without Input/Output error
I have to run sudo hciconfig hci0 reset first to get it to work.


There’s no changelog, but you can find the description of image at .
What version of Raspberry Pi you’re running?

Grafana shows all tags by mac on default, you can configure the aliases if you want to.


For the name tags to work you need to add a GROUP BY clause as tag (name) in the panel configuration on the Metrics tab, because otherwise InfluxDB will not return the names to Grafana. The example planels have only tag (mac) as the GROUP BY. After that you can set ALIAS BY to $tag_name for example.


Is there a way to change the temperature measurement and display to Fahrenheit in the JSON file that you import into Grafana???

Thanx in Advance


You could configure the conversion with math operation in value field


I was never that good at math…How would I go about configuring it?


I think this should do the trick.


OK, Thanx a bunch!!!


I’ve got Raspberry pi 3


hey guys, could anyone please help me with a tickscript?

goal: get notificated when humidity of Ruuvi1 is lower than humidity of Ruuvi2.
my actual try after some fails:

var ruuvi1= stream
.where(lambda: “name” == ‘ruuvi1’)

var ruuvi2= stream
.where(lambda: “name” == ‘ruuvi2’)

.as(‘ruuvi1’, ‘ruuvi2’)
|eval(lambda: “ruuvi1” < “ruuvi2”)



how can I remove the wifi hotspot and connect to a router with the image? As it was before.

edit: got the br0 removed…



One more thing…How do you convert Pascals to Inches of Mercury (inHg) in Grafana???

Please lemme know.




You could use the math function to convert the value


I don’t know what values to enter…Enlighten me, please.



we’ll check the conversion factor from the Google

And then apply the conversion in value field of the query

You can then edit the header of graph in “General” tab


Thanx for responding.