For better or worse, pets often serve as inspiration and test subjects for hardware hacks: smarten up that hamster wheel, tweet the squirrel hunting adventures from a dog’s point of view, or automate and remote control a reptile enclosure. [TheYOSH], a gecko breeder from the Netherlands, chose the latter and wrote TerrariumPi for the Raspberry Pi to control and monitor his exotic companion’s home through a convenient web interface.
The right ecosystem is crucial to the health and happiness of any animal that isn’t native to its involuntarily chosen surroundings. Simulating temperature, humidity and lighting of its natural habitat should therefore be the number one priority for any pet owner. The more that simulation process is reliably automated, the less anyone needs to worry.
TerrariumPi supports all the common temperature/humidity sensors and relay boards you will find for the Raspberry Pi out of the box, and can utilize heating and cooling, watering and spraying, as well as lighting based on fixed time intervals or sensor feedback. It even supports location based sunrise and sunset simulation — your critter might just think it never left Madagascar, New Caledonia or Brazil. All the configuration and monitoring happens in the browser, as demonstrated in [TheYOSH]’s live system with public read access (in Dutch).
It only seems natural that Python was the language of choice for a reptile-related system. On the other hand, it doesn’t have to be strictly used for reptiles or even terrariums; TerrariumPi will take care of aquariums and any other type of vivarium equally well. After all, we have seen the Raspberry Pi handling greenhouses and automating mushroom cultivation before.
8 thoughts on “Python Keeps A Gecko Happy: Terrarium Automation With Raspberry Pi”
I found this a few months ago and set it up. It does work well but sometimes has issues on startup that prevent the program from working. I had to stop using it in favor of some simple scripts because i couldn’t ensure that it would recover from a failure.
Hi! Been a few years I know but: Would you be willing to share these scripts for a beginner like me? Looking into gecko care and some simple scripts for humidity etc seems like a good option
“For better or worse, pets often serve as inspiration and test subjects for hardware hacks: smarten up that hamster wheel, tweet the squirrel hunting adventures from a dog’s point of view, or automate and remote control a reptile enclosure.”
Where’s that “…with laser beam” when you want it?
I would have thought that a python would be the last thing that you would want to take care of your gecko.
That’s who wrote the interpreter one character at a time. And he’s taking two weeks off soon. To shed his skin.
Next post: Firefox takes care of a snake.
You can save hundreds of dollars insuring with a Gecko!
Please be kind and respectful to help make the comments section excellent. (Comment Policy)