Giter Site home page Giter Site logo

tannernelson16 / garden_sensor Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10 KB

Wireless multi-sensor for the garden

Python 100.00%
air-humidity air-temperature esp32 esp32-c3 garden garden-automation gardener gardening micropython micropython-esp32

garden_sensor's Introduction

This Garden Sensor developed by Intellidwell is one of a kind. I wanted to develop something completely customizable that uses smart home standards. It was important to me that this unit be completely wireless and low power. The sensors on this unit will include the following:

  • Soil Moisture Sensing

  • Soil Temperature Sensing

  • Light Sensing

  • Air Temperature Sensing

  • Air Humidity Sensing

The code is designed to allow the user to start up the device and connect to the device as an access point to setup credentials and configuration. When connected, the user will enter the info into the following fields:

  • WiFi SSID

  • WiFi Password

  • MQTT IP Address

  • MQTT Username

  • MQTT Password

  • Sleep Interval (in seconds)

  • Minimum Update Interval (in cycles)

This information is then stored in memory to allow the device to sleep and wake without any need for reconfiguration.

The intent is that the user will place the device with the probes in the desired soil and allow it to take measurements. Those measurements are then published to an MQTT server (ideally Home Assistant with Mosquitto). And then, for example, wait 30 minutes until the next measurement is taken. Currently the code is designed not to reconnect to wifi or the MQTT server unless there is a change of 3% or more in soil moisture. This allows the device to monitor condition, but only update when changes are signifcant. I believe this design will conserve ample power.

Eventually I plan to design a PCB and waterproof housing for this unit, but this is my progress so far.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.