Ruuvitag data collector for ESP32

Check my new data collector for ESP32. It has many functionalities including Influx and MQTT sending and low power consumption features.

5 Likes

Awesome project, thanks for sharing :slight_smile:
I moved this under Showcase-category so it’s easier to find in the future

Can you please include hardware used.

Basically any ESP32 development module should work. I have tested with this https://www.aliexpress.com/item/32994910429.html and this one https://www.aliexpress.com/item/32835656466.html. All of them are using ESP32 WROOM32 module which has 4MB flash memory. The remaining flash not used by the program is used as a storage for measurements.

No additional hardware is needed.

1 Like

Where do you find specifications/manuals for these?

This is good place to start https://www.espressif.com/en/products/hardware/esp32/overview

Datasheet and technical reference manual especially.

I managed to get this up and running on an ESP32 and reading values into node-red via Mosquitto mqtt broker.

I’m wondering if anyone has any suggestions for parsing this data out within node red, this is the payload I receive:

{"temperature":21.13,"humidity":51.495,"pressure":946.67,"battery":2.959,"accel_x":0.04,"accel_y":0,"accel_z":1.016,"epoch":1637785153,"txdbm":4,"move_count":242,"sequence":61988}

Edit, I got this sorted out by changing the MQTT subscribe node within node-red to parsed JSON object. A debug node can then be used to reference individual objects within the payload.

Hello, I am having an issue with this code using Ruuvi tag V5. It only works down to 0 degrees celsius. The tag is working 100% using android App. Anyone have this issue? I think it has something to do with not dealing with MSB 2’s complement in the temperature part of the code

Hi @tcaschy021 ,

I believe the fastest way to get an answer to your issue would be to open issue in the GitHub repository GitHub - hpirila/ESP32-Ruuvitag-Collector: Ruuvitag data collector for ESP32

Please also check that you’re running latest firmware on RuuviTag, we had a beta-release firmware that did not work in negative temperatures. You can use Ruuvi Station app to check the firmware version and update if necessary, latest release is 3.31.1