-
Notifications
You must be signed in to change notification settings - Fork 7
Quick Start
The fastest way to get from "I have boards in hand" to "the hub is online and shows my tank level."
No toolchain install required. Flashing happens entirely in your browser via WebSerial.
- An assembled RX hub (ESP32 DevKit on the carrier board) and at least one TX node
- A USB-C cable for the hub
- A short USB-C cable for the TX (only needed once, for the initial flash)
- A laptop / desktop running Chrome or Edge (Firefox + Safari do NOT support WebSerial)
- 2.4 GHz Wi-Fi credentials for your home network
- Open tanksync.smartghar.org/firmware in Chrome / Edge.
- Plug the hub into your computer.
- Click Install on the Receiver Hub card → browser asks which serial port → pick the CP210x device → click Connect.
- Wait ~60 s. The button turns green when done.
- Unplug the hub, plug in the TX node, click Install on the Transmitter card, repeat.
Step-by-step walkthrough with screenshots: Browser Flasher. If you'd rather use the IDF toolchain or a .bin you built yourself, see Manual Flashing.
Plug the hub into a 5 V USB-C wall adapter. Within a few seconds the OLED shows:
TankSync
Setup mode
SSID: TankSync-Setup-XXXX
IP: 192.168.4.1
The hub is now broadcasting its own Wi-Fi network.
- On your phone or laptop, join the
TankSync-Setup-XXXXnetwork. Password is on the OLED. - A captive-portal page should open automatically. If it doesn't, browse to http://192.168.4.1.
- Enter your home Wi-Fi credentials.
- Choose your MQTT path:
-
Cloud (default) — pre-filled with
mqtt.smartghar.org:8883. Free tier covers up to 3 hubs. - Local broker — point at your own Mosquitto / HA broker. Works fully offline once set.
-
Cloud (default) — pre-filled with
- Save. The hub reboots and joins your Wi-Fi within ~10 s. The OLED switches to:
My Tank
Wi-Fi: TopFloor 2.4GHZ
IP: 192.168.0.56
0 tanks paired
- Power the TX (turn on its switch, or plug in its solar panel + cell).
- Hold the BOOT button on the TX for 5 seconds until its WS2812 LED pulses cyan.
- On the hub, the OLED prints
Pairing…for ~10 s. When done it shows1 tank paired. - Open the hub's local web UI at the IP shown on the OLED. The new tank appears under Tanks with a level reading.
Repeat for additional tanks. You can pair up to 6 transmitters to one hub.
If you chose the cloud path in step 3:
- Sign in (or sign up) at tanksync.smartghar.org.
-
Add Hub → scan the QR sticker on your hub OR enter the Device ID shown on the hub's
Cloudtab. - Within a few seconds the hub goes from
unclaimed→linked. All your tanks show up in the PWA, on every device you sign in to.
If you chose the local path in step 3, skip the PWA — point your Home Assistant at your broker and follow HACS Integration.
You should see:
- OLED on the hub showing the tank count and current Wi-Fi IP.
- A tank-level reading in the web UI / PWA within ~30 s of power-on.
- The transmitter's WS2812 blinks green once per wake cycle (default every 5 minutes).
If any of those are missing, jump to Troubleshooting.
Start here
Build it
Flash it
Use it
Reference