Skip to content
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.
Dennis German edited this page Jul 11, 2018 · 29 revisions

Welcome to the ruuvitag_fw wiki!

These are the firmware projects currently available under ruuvi_examples:

ruuvi_firmware

This includes the firmware LIKE that which is installed at the factory. It samples the temperature/humidity/air-pressure sensor and accelerometer. It immediately transmits bluetooth packets. The format, frequency and contents of the packets depends on if it is in highres (aka raw) or URL mode. Pressing the B button switches modes.

  • In URL mode (as indicated by a faint blinking green LED) a web browser URL is transmitted which invokes a page at the domain ruu.vi. This page interprets the page fragment (text following the '#') which contains encoded data and displays the temperature, humidity and air-pressure.

  • In raw mode (as indicated by a faint blinking red LED) packets are sent out which must be interpreted by one of several applications. One of which has been written to collect data in an Influx data base and presented by Grafana.

libraries/ruuvi_sensor_formats/sensortag.h creates the packet.

As of July 2018 (and the foreseeable future) format 03 is transmitted by the firmware loaded at the factory.

core frames:

  • UID unique, static ID with a 10-byte Namespace component and a 6-byte Instance component.
  • TLM Battery voltage, Temperature, Seconds since reset
  • URL max 17 encoded character URL
  • EID Ephemeral ID 8 byte
  • GATT service

ble_app_beacon

  • DGerman doesn't know what is is. If you do please update this wiki

test_drivers

  • DGerman doesn't know what is is. If you do please update this wiki

Not available

As of July 2018, there is no "well known" firmware which collects data and periodically (or on command) dumps the data.
However, as battery powered Raspberry Pi could be placed "in the field" within range of a tag to collect historical data. (This comment is here because several people have asked for this.)