Using RuuviTag with Espruino following FW v3.31

Hello,

I think my issue actually targets the use of new RuuviTags with Espruino, when Espruino is no longer supported:

My RuuviTag used to work fine with Espruino, but at some point it would no longer get connected to the Espruino Web IDE. I wasn’t able to perform a DFU, but I used a DevShield and Nordic’s nRF Connect Programmer, and I could flash it with FW v3.30_full.hex. This worked fine with the Ruuvi Station on Android - I was able to see measured data and also to perform a DFU to v3.31. All fine.
But then I reflashed it, again using the DevShield, with espruino_2v06_ruuvitag. I can connect to it using nRF Connect general tool; the Espruino Web IDE also can pair with is, but it doesn’t connect - I just get a Connection Failed message. Same behavior with espruino_2v04_ruuvitag, 2v05 and 1v99.

My questions are:

  • If I buy new RuuviTags, which come with FW v.3.30, and I will want to use them with Espruino (flashed using DevShield), will this work?
  • Can this also be solved for my current RuuviTags? (I actually have two).
  • A side question: how can I find out the HW version of my RuuviTags? All I can see on them is STM-5, 94V-0, E207844, and 18 18. I bought them a few years ago.

Thank you,
Andrei

Hello,
for the question about the HW version:
When you open the RuuviTag, on the bottom PCB side there is small marking which tells you the hardware version.
All versions can be found here: GitHub - ruuvi/ruuvitag_hw: RuuviTag hardware projects

Thanks, Chris. So it’s B6.

Hello Chris,

We have updated sensors in new RuuviTags, B6 has BME280 for temperature, humidity and air pressure while B8 has SHTC3 for temperature and humidity and DPS310 for air pressure.

I do not know if Espruino would support the new sensors, and the default RuuviTag Espruino FW does not have the sensor support as far as I know so porting the new sensors would be needed.

The Bluetooth and accelerometer functionality should work on B8, but the unsupported sensors would draw a lot of power leading to a short battery life.

I don’t know why the Espruino Web IDE would fail with the connection if you can pair to the tag. Maybe the Web IDE needs some feature that is present only on later Espruino FW revisions?