whatisgithub

What is obi_energy_tracker_local_cloud?

atc1441/obi_energy_tracker_local_cloud — explained in plain English

Analysis updated 2026-05-18

57C++Audience · developerSetup · hard

In one sentence

A reverse engineering project and open source firmware replacement that lets owners of the OBI home energy tracker run it on their own server instead of the manufacturer's cloud.

Mindmap

mindmap
  root((OBI Energy Tracker))
    What it does
      Reverse engineers OBI energy system
      Documents meter to bridge to cloud protocols
      Enables self hosting
    Components
      LoRa meter reader
      ESP32-C3 bridge
      MQTT cloud link
    Open firmware
      Replaces vendor bridge
      Local web dashboard
      Home Assistant MQTT
    Use cases
      Own cloud hosting
      Custom ESP32 gateway
      Protocol study

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Point an owned OBI energy bridge at a self hosted MQTT server instead of the vendor cloud

USE CASE 2

Flash open source firmware onto the original OBI gateway hardware to remove cloud dependency entirely

USE CASE 3

Run the replacement firmware on generic ESP32 boards with a compatible LoRa radio to build a custom energy gateway

USE CASE 4

Study the documented LoRa and Bluetooth protocols to add Home Assistant integration for home energy monitoring

What is it built with?

C++ESP32LoRaMQTTPlatformIO

How does it compare?

atc1441/obi_energy_tracker_local_cloudamelieheinrich/agfxfeaturenab/air-sensor
Stars575858
LanguageC++C++C++
Setup difficultyhardmoderatemoderate
Complexity4/53/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires owning the physical OBI hardware plus setting up TLS certificates and an MQTT broker for self hosting.

So what is it?

This project is a full reverse engineering writeup and self hosting toolkit for the OBI energy tracking system, a commercial product sold under the heyOBI brand that reads your home electricity meter and sends the data to the manufacturer's cloud. The system has three parts: a small reader device that clips onto your meter and talks over LoRa radio, a WiFi and Bluetooth bridge that relays that data onward, and the vendor's cloud service that receives it. This repository documents exactly how those three parts talk to each other, so that owners of the hardware can point it at their own server instead of the vendor's. The repo explains the radio and network protocols involved: how the reader decodes standard electricity meter data formats, how it forwards readings to the bridge over 868 MHz LoRa radio, and how the bridge then sends everything to the cloud over an encrypted MQTT connection, the same kind of setup used by many commercial AWS-connected IoT devices. It also documents the Bluetooth protocol a phone app would use to configure the bridge. The main practical outcome offered is a complete open source replacement firmware for the bridge itself, found in a subfolder of the project. This firmware can be installed onto the original bridge hardware over the air, without opening the device or needing special tools, since the original bootloader is locked down. Once installed, it talks to the meter readers directly, decodes the energy data itself, and offers a local web dashboard showing live power usage plus history, along with MQTT support that integrates with Home Assistant, all without ever contacting the manufacturer's cloud. The same firmware also runs on generic, off the shelf ESP32 hardware paired with a compatible radio chip, not just the original device. The author is explicit that all example keys, certificates, and device IDs in the repository are placeholders, and that the project is meant only for use on hardware the reader already owns, not for targeting the vendor's live service.

Copy-paste prompts

Prompt 1
Walk me through the steps in OBI_Energy_Tracker_Local_Cloud to point my OBI bridge at my own MQTT server.
Prompt 2
Explain how the open source ESP32-C3 gateway firmware in this repo replaces the original OBI bridge.
Prompt 3
Help me understand the LoRa protocol between the meter reader and bridge as documented in this repo.
Prompt 4
Show me how to build and flash the obi_gateway_c3 firmware using PlatformIO.

Frequently asked questions

What is obi_energy_tracker_local_cloud?

A reverse engineering project and open source firmware replacement that lets owners of the OBI home energy tracker run it on their own server instead of the manufacturer's cloud.

What language is obi_energy_tracker_local_cloud written in?

Mainly C++. The stack also includes C++, ESP32, LoRa.

How hard is obi_energy_tracker_local_cloud to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is obi_energy_tracker_local_cloud for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.