
A solar Zigbee weather station you build yourself: wind, gusts, direction, rain, temperature, humidity and pressure, plus optional UV, lightning and frost sensors. A Seeed XIAO ESP32-C6, a Misol wind and rain kit and a set of 3D-printed parts, ready for Zigbee2MQTT and Home Assistant.
Commercial stations push your garden's weather through an app and somebody else's server, and often on a WiFi link that drops at the bottom of the garden. This one talks Zigbee to the house and nothing else.
One 18650 and a small 6 V panel. About four months on the battery alone, so it goes where the readings are right: in the open.
Joins the mesh your other sensors already use. No passwords, no IP, no account, and it sleeps at 15 µA between reports.
Wind speed, gust and direction, rain, temperature, humidity and pressure. Optional modules are found at boot: solder only what you want.
Radiation shield, sealed box, panel bracket, pole saddles and rain gauge plate, in OpenSCAD and sized for a 220 × 220 mm bed.
Seven readings out of the box, four more with optional modules. Each one shows up as its own entity in Home Assistant.
5-minute average and the strongest 3 s gust, in km/h and Beaufort.
Vector average weighted by speed, 16 points.
Every 0.28 mm tip, rain rate, today, month and year.
SHT45 (±0.1 °C) in a ventilated radiation shield. Dew point and feels-like.
BME280, converted to sea level for your altitude.
LTR390 under a PTFE window in the shield's cap.
AS3935: strikes and distance, up to about 40 km.
Two DS18B20 probes: grass level and 10 cm deep.
Everything bolts to printed saddles held by stainless hose clamps, so nothing needs drilling. These are renders of the real printed parts.


The ESP32-C6 sleeps in deep sleep, wakes for each rain tip, samples the wind for 3 s every minute, and sends everything over Zigbee every 5 minutes. That is how one 18650 lasts months without sun.
Each step links to the file you need and to the detailed guide. Bench-test before you print or drill anything.
About €170–200 including the pole and the filament. The wind and rain kit must be the reed-switch type with RJ11 plugs, not a set with a wireless console. Order the electronics from one shop so you can bench-test while the kit ships.
Batches differ. With a multimeter, find the anemometer pair (one beep per turn), the vane pair (688 Ω to 120 kΩ as it turns) and the rain pair (a beep per tip).
Flash the XIAO, wire the kit, the SHT45 and the BME280 on a breadboard, press RESET and watch the serial monitor: modules found, Zigbee joined, a first report. Spin the cups and tip the bucket.
Twelve part types, about 600 g of PETG in a light colour (not PLA: it softens in summer sun). Print one saddle and the box lid first to check your pole and your inserts.
XIAO, resistors, capacitors and the two RJ11 jacks on a 70 × 50 mm perfboard. Charger, cell holder and BME280 next to it, the NTC taped to the cell. Four PG7 glands and the vent plug underneath, silicone cord in the lid groove.
Three M5 rods through the base, then spacer, plate, spacer, plate… nine times, and the cap. The SHT45 sits in the perforated cage in the middle of the stack, out of the sun and the rain.
Copy the converter to Z2M's external_converters/, restart Z2M, open Permit join and press RESET. The station stays awake 2 minutes for the interview. Name it weather_station.
A 3 m pole in the open, at least 3 m from walls. Wind arm at the top, shield at 1.5 m on the north side, panel facing south, box glands down, rain gauge level on its own post.
Copy the package to /config/packages/, restart and set your altitude. You get rain today/month/year, rain rate, dew point, feels-like, Beaufort, and alerts for gusts, lightning, frost, low battery and a silent station.
Charger first. Connect the bq24074 to the cell and the panel and check the cell charges in the sun before you connect the XIAO. The charger refuses to charge below 0 °C on purpose: Li-ion must never charge when frozen.
PETG at 235–245 °C, bed 75–80 °C, 0.2 mm layers, no supports. Want another pole diameter or panel size? Change one line in the OpenSCAD file and render again.












Plug the XIAO ESP32-C6 into your computer and flash the latest firmware straight from this page. Prefer to build it yourself? It's a single pio run.
Works in Chrome and Edge on desktop (Web Serial). On the first install, choose Erase device so the Zigbee stack starts clean. Later updates keep the rain total if you don't erase.
weather_station.mjs into Zigbee2MQTT's external_converters/ folder and restart it.The ready-made package turns raw readings into the things you actually use, and warns you when the weather, or the station, needs attention.
Gust of 62 km/h from the WSW.
-1.8 °C at grass level. Cover the seedlings.
Rough 2026 prices. AliExpress is cheapest but slow; order the electronics from one faster shop to start bench-testing early.
| Part | Why | Approx. |
|---|---|---|
| Seeed XIAO ESP32-C6 + U.FL antenna | Zigbee radio + MCU, 15 µA in deep sleep | €9 |
| Misol / Fine Offset weather meter kit (SparkFun SEN-15901) | Anemometer, vane, rain gauge, with RJ11 cables | €35–45 |
| SHT45 + BME280 | Temperature, humidity, pressure | €19 |
| bq24074 charger + NTC, 6 V 1–2 W panel, NCR18650B + holder | Solar power that stops charging below 0 °C | €34–38 |
| Perfboard, 2 × RJ11 jacks, resistors, capacitors, wire | The board in the box | €13 |
| 4 × PG7 glands, M12 vent plug, silicone cord | A sealed box that breathes | €13 |
| Pole Ø 32–40 mm, hose clamps, M4/M5 hardware, inserts | Mounting | €29–39 |
| PETG, about 600 g | All printed parts | €20 |
| Optional: LTR390, 2 × DS18B20, AS3935 | UV and light, frost and soil, lightning | €30–45 |
A WiFi report costs several times the energy of a Zigbee one, and garden WiFi is often the weakest link. As a sleepy Zigbee end device the station reports through the nearest router, needs no credentials and lives on a small cell and a palm-sized panel. The trade-off is firmware updates over USB and a small Z2M converter.
The 18650 alone covers about four months with no sun at all, and a 1 W panel already covers December in northern France. The charger stops charging below 0 °C to protect the cell; the cell carries the station through cold spells and charges again once it warms up.
The SHT45 is rated ±0.1 °C and ±1 %RH; in practice the radiation shield and its siting matter more than the sensor. Wind is sampled 3 s every minute, which gives a good 5-minute picture but can miss a short gust between two windows. The rain gauge's 0.28 mm per tip is nominal: compare with a manual gauge and adjust it if needed.
No. The firmware detects what is connected at power-on and only exposes those readings. You can add a module later: press RESET, then run Interview and Reconfigure in Zigbee2MQTT during the 2 awake minutes.
Any printer with a 220 × 220 mm bed that prints PETG. The parts were designed on an Ender 3 V2 Neo with its stock PTFE-lined hotend. ASA works too if your hotend handles about 250 °C. Avoid PLA outdoors.
Every commit runs host unit tests (vane decoding, wind average, gust and direction, rain bounce guard, the clock across deep sleep), builds the firmware with PlatformIO and Arduino CLI, tests the converter against zigbee-herdsman-converters, validates the Home Assistant package and renders every 3D part.
Wiring diagrams, the power budget, a bench-first build, flashing, pairing and the Home Assistant package.
Your garden, your readings, your Home Assistant. Nothing leaves your house.