LogoLogo
  • Ruuvi Developer Documentation
  • Ruuvi Hardware
    • RuuviTag B
    • RuuviTag Pro
    • Ruuvi Gateway
    • Ruuvi DevShield
    • Ruuvi Connector Kit
    • TMP 117 External Sensor
  • Ruuvi Connector System
    • Introduction
    • Expansion boards
    • Cables
    • Connectors
  • Ruuvi Sensor Firmware
    • 1.2.12
    • 2.5.9
    • 3.X
      • 3.x Sensors
      • 3.x Heartbeat
    • Device Firmware Update (DFU)
  • Ruuvi Gateway Firmware
    • GW Getting Started
    • GW Web-UI
      • Greeting window
      • Internet connection settings
        • Connection via Wi-Fi
        • Connection via Ethernet
      • Software update
      • Automatic configuration download
      • Automatic updates
      • Access Settings from LAN
      • Cloud Options
        • Backend: HTTP(s)
        • Backend: MQTT(s)
        • Backend: Statistics
      • Time Synchronisation Options
      • Bluetooth Scanning Settings
      • Configuration completion
      • Authentication when accessing from LAN
    • GW Install custom firmware
    • GW nRF52811 Firmware
      • GW nRF52811 selftest
      • GW nRF52811 scanning
      • GW nRF52811 repeating
      • GW nRF52811 UART communication
  • GW ESP32 Firmware
    • GW ESP32 WiFi Hotspot
    • GW ESP32 Button
    • GW ESP32 LED
    • GW ESP32 HTTP Client
    • GW ESP32 MQTT client
  • GW Data formats
    • HTTP: Time-stamped data from Bluetooth-sensors
    • HTTP: Data from Bluetooth-sensors without timestamps
    • MQTT: Time-stamped data from Bluetooth-sensors
    • MQTT: Data from Bluetooth-sensors without timestamps
    • HTTP GET /history (with timestamps) and decoding
    • HTTP: Gateway status
    • Gateway configuration
  • GW Examples
    • Polling mode
    • Poll endpoint "/metrics"
    • Configuration update via API
    • Firmware update via API
    • Configuration download from a remote server via API
    • MQTT examples
    • Home Assistant
    • MQTT+AWS IoT Core
  • Communicate with RuuviTag devices via Bluetooth
    • Bluetooth advertisements
      • Data format 3 (RAWv1)
      • Data format 4 (URL)
      • Data format 5 (RAWv2)
      • Data format C5 (Cut-RAWv2)
      • Data format 8 (Encrypted environmental)
    • Bluetooth connection
      • DIS (Device Information Service)
      • NUS (Nordic UART Service)
        • Heartbeat transmissions
        • Read logged history
    • Real Time Transfer (RTT)
  • Communicate with Ruuvi Cloud
    • Ruuvi Cloud
      • User API
      • Gateway API
      • Internal API
      • Alerts
      • Cloud stored app settings
  • Ruuvi Community projects
    • Integrations
Powered by GitBook
On this page
  • GW Install previous firmware releases
  • GW Install custom firmware
Edit on GitHub
  1. Ruuvi Gateway Firmware

GW Install custom firmware

If you want to install a custom firmware or a previous version of Ruuvi Gateway firmware, you can do this using Web-UI.

PreviousAuthentication when accessing from LANNextGW nRF52811 Firmware

Last updated 1 year ago

GW Install previous firmware releases

Open Web-UI, go to "Software Update" page, expand "Advanced Settings" and enable the checkbox "Don't use the software update provided by Ruuvi but download binary files from URL address instead":

In the URL input field change the version number to the desired one, then press "UPDATE" button.

GW Install custom firmware

You need to prepare firmware binaries and put them on your HTTP server.

1. First, you need to build firmware:

idf.py build

2. Next, copy the firmware binaries to some folder (gw_fw):

mkdir gw_fw
cd build
cp ruuvi_gateway_esp.bin fatfs_gwui.bin fatfs_nrf52.bin ../gw_fw

3. Run local HTTP server on port 7000 in the folder with the firmware binaries:

cd ../gw_fw
python3 -m http.server 7000

Or instead of steps 2 and 3 you can simply run the local HTTP server in the "build" folder:

cd build
python3 -m http.server 7000

Then open Web-UI, go to "Software Update" page, expand "Advanced Settings", enable checkbox "Don't use the software update provided by Ruuvi but download binary files from URL address instead" and in the URL input field set the address of your local HTTP server, then press "UPDATE" button:

The list of released versions can be found here:

https://github.com/ruuvi/ruuvi.gateway_esp.c/releases/