Mycodo

Mycodo

open_source

Mycodo is a free, open-source environmental monitoring and automation system for Raspberry Pi. Control temperature, humidity, CO2, and more with a web-based UI.

About

Mycodo is a robust, open-source environmental monitoring and regulation platform that has been actively developed since 2013. Built to run on Raspberry Pi (and compatible Linux systems), it provides a web-based interface for configuring sensors, actuators, and automated control systems without requiring deep programming knowledge. At its core, Mycodo supports a wide variety of input sensors (temperature, humidity, CO2, pH, dissolved oxygen, light, pressure, and more) and output devices (relays, PWM controllers, pumps, heaters, fans). Users can define PID (Proportional-Integral-Derivative) controllers to maintain precise environmental setpoints automatically. Key use cases include mushroom cultivation (automating humidity, CO2, and temperature cycles), hydroponic systems (nutrient dosing, lighting schedules, climate control), apiary experimentation, terrarium management, laboratory environmental control, and general IoT automation projects. Mycodo features a fully responsive web dashboard for real-time monitoring, historical data graphing, customizable alerts, email/SMS notifications, and scheduling via cron-like triggers. It also exposes a REST API for integration with external systems. All data is stored locally, ensuring privacy and offline operation. Being completely free and open-source (MIT-licensed), Mycodo is ideal for hobbyists, researchers, engineers, and educators who want a powerful, self-hosted automation platform without subscription costs. A vibrant community forum and extensive GitHub documentation support new and advanced users alike.

Key Features

  • Multi-Sensor Input Support: Connects to a wide range of sensors measuring temperature, humidity, CO2, pH, light, pressure, and more for comprehensive environmental monitoring.
  • PID Automation Controllers: Built-in PID controllers automatically adjust outputs (heaters, fans, pumps) to maintain precise environmental setpoints with minimal overshoot.
  • Web-Based Dashboard: A fully responsive browser-based interface allows real-time monitoring, historical data graphing, and system configuration from any device on the network.
  • Scheduling & Triggers: Cron-like scheduling and conditional triggers let users automate lighting cycles, nutrient dosing, and other time- or sensor-based events.
  • REST API & Notifications: A built-in REST API enables external integrations, while email and SMS alerts notify users of threshold breaches or system events.

Use Cases

  • Automating humidity, temperature, and CO2 cycles for mushroom cultivation fruiting chambers.
  • Controlling nutrient dosing, lighting schedules, and climate in NFT hydroponic systems.
  • Maintaining stable environmental conditions in terrariums, vivariums, or aquariums.
  • Conducting laboratory experiments with precise environmental regulation, such as apiary or bat habitat studies.
  • Building custom IoT automation systems for home, greenhouse, or small-scale agricultural operations.

Pros

  • Completely Free & Open Source: MIT-licensed with no subscription fees, making it accessible to hobbyists, researchers, and educators with full access to source code for customization.
  • Highly Versatile: Supports dozens of sensor types and output devices, making it adaptable for mushroom farming, hydroponics, aquariums, labs, and more.
  • Local & Private: Runs entirely on-premises with no cloud dependency, ensuring data privacy and reliable offline operation.
  • Active Long-Term Development: Continuously maintained since 2013 with strong community support, regular updates, and thorough documentation.

Cons

  • Requires Hardware Setup: Initial setup demands a Raspberry Pi or compatible Linux device plus physical sensors and wiring, which may be a barrier for non-technical users.
  • Steep Learning Curve: The breadth of features and configuration options can be overwhelming for beginners unfamiliar with electronics or Linux systems.
  • No Managed Cloud Option: Being fully self-hosted means users are responsible for their own backups, security, and remote-access configuration.

Frequently Asked Questions

What hardware does Mycodo run on?

Mycodo is designed primarily for Raspberry Pi single-board computers running a Linux-based OS, but it can also run on other ARM or x86 Linux systems.

Is Mycodo free to use?

Yes, Mycodo is completely free and open-source under the MIT license. The source code is available on GitHub with no subscription or licensing fees.

What can I automate with Mycodo?

You can automate environmental conditions such as temperature, humidity, CO2 levels, lighting schedules, nutrient dosing, and more — common in mushroom cultivation, hydroponics, terrariums, and lab research.

Does Mycodo have a mobile-friendly interface?

Yes, Mycodo features a fully responsive web dashboard accessible from any browser, including smartphones and tablets, without requiring a dedicated mobile app.

Can Mycodo integrate with other software or services?

Mycodo provides a REST API for external integrations and supports alert notifications via email and SMS. It can also interface with InfluxDB for advanced data storage and Grafana for visualization.

Reviews

No reviews yet. Be the first to review this tool.

Alternatives

See all