GithubHelp home page GithubHelp logo

matthoffman / gnomus-sensors Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 20 KB

Friendly garden-helping sensors, written in Micropython

Makefile 1.67% Python 98.33%
garden gardening micropython micropython-esp8266

gnomus-sensors's Introduction

Gnomus sensors

This is the code for sensors based around ESP8266 modules running Micropython. They're designed to communicate with a server running gnomus-server.

They're designed to help with various things around the garden. I enjoy gardening, but I'm not great at remembering to check on my seed trays every day, or remembering to water the various beds. So these are a simple(-ish) way to track things like soil moisture, temperature, humidity, light exposure, and so on, and make it easy to see.

This is particularly important for seedlings and tree cuttings, since in my current house they are stored out of my main living area, so they're easy to forget about for a bit too long.

It's also an excuse to play with sensors and Micropython, which is a lot of fun.

This is very much a work in progress. You'll notice, at this point in early development, that there's some excessively detailed design notes strewn about in files like this one. That's because I find time to work on this in small increments, so it helps me to be overly explicit with what I'm thinking so that I can pick it up again later when I have a bit of time.

Gnomus?

A word invented by Paracelsus in the 18th century to describe small earth-dwelling creatures; it became the English "gnome". The plan is for this server to manage sensors that are deployed in various places in the garden inside plastic garden gnomes, so the name seems appropriate.

TODO:

  • write first cut: something that stays connected, polls a thermometer and soil moisture sensor every hour, and sends the data to a given URL.
  • write a manage.py or similar that will pull in a non-source-controlled config.py (secret.py?) with network SSID and password (and any other private info) and then flash them to the board. Might want "manage.py flash seed_sensor", etc. to tell it which files to pull.
    • bonus points: open a REPL?
  • implement deep sleep between polls

It makes me sad to have sensor-reading code copied and pasted here, but some of the sensor code for ESP8266 isn't available in a repo. So here they are, for now.

gnomus-sensors's People

Contributors

matthoffman avatar

Watchers

 avatar  avatar

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.