ESP32 Recreates Island Weather Inside A Gecko Terrarium

An ESP32-based terrarium controller recreates the weather of New Caledonia using historical climate data for a pet crested gecko.

Inside the canopy: the controller on the left, the misting pump and its water tank on the right, standing in a small 20 × 30 cm Euro container that catches any leaks.
Inside the canopy: the controller on the left, the misting pump and its water tank on the right, standing in a small 20 × 30 cm Euro container that catches any leaks.

German Hobbyist Andreas Frisch, known as Fraxinas, built a terrarium controller to replicate the changing weather conditions of his gecko’s natural habitat. The controller uses historical weather records from Île des Pins in New Caledonia. For matching the island’s seasonal patterns with those in Germany he uses the data from Open-Meteo and shifts records by 182 days. Heater is controlled by temperature data, rainfall determines misting duration, solar radiation dims and brightens grow-light, and wind data controls an 80mm fan. Weather codes also trigger simulated clouds and lightning.

Lighting set up is driven by the island’s natural day cycle, including an 18-minute sunrise and green moonlight. The core of the build is a custom KiCad-designed PCB connecting a 150W halogen lamp, a 50W ceramic heat emitter, a 24V LED grow strip, a misting pump, a fogger and an 80mm fan. A separate ESP32-DevKitC used for the 2.4-inch touchscreen console. A load cell is connected under the gecko’s coconut nest, connected through an NAU7802 converter, measures its weight and helps track activity.

The firmware combines ESPHome, Home Assistant and a custom historic_weather component. If the weather service or Home Assistant becomes unavailable, the controller switches to fixed temperature and humidity settings. However, detailed reliability results and long-term measurements of temperature, humidity and light have not been published.

The PCB carries a 230V mains voltage, requiring handling cautiously. Makers could adapt the software to local weather data but a complete bill of materials and build cost have not been provided. The design files are released under the CC BY-SA-NC 4.0 licence.

For more information, click here.

Loading form…
Ananthu Ashok
Ananthu Ashok
Ananthu Ashok is a tech journalist and has a deep interest in embedded systems, open source, IoT, robotics and emerging tech.

SHARE YOUR THOUGHTS & COMMENTS

Latest DIY Projects

Electronics News

Truly Innovative Electronics

Electronics Components

Electronics Jobs