🧠 SuperGreenOS provides most features used when growing cannabis, all in one package, and controllable from your smartphone, pc, mac, linux, toaster, plumbus, whatnot...
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets added reddit button Jan 11, 2019
html_app style.css Feb 8, 2019
main tighter memory management Feb 14, 2019
spiffs_fs OTA subdirectory, is_changed fixed in kv_helpers Feb 10, 2019
templates first compiling version Jan 22, 2019
.gitignore config.yml.gz generation Feb 6, 2019
LICENSE switched repositories, changed license to gplv3 Sep 13, 2018
Makefile changed project name Jan 6, 2019
README.md README Jan 24, 2019
config.yml OTA subdirectory, is_changed fixed in kv_helpers Feb 10, 2019
gdbinit back to c source May 9, 2018
partitions.csv spiffs support works Feb 5, 2019
sdkconfig OTA subdirectory, is_changed fixed in kv_helpers Feb 10, 2019
sdkconfig.defaults
templates.sh updated SuperGreenOSBoilerplate, re-enabled i2c devices Jan 10, 2019
update_config.json.sh working on the builtin webapp Feb 7, 2019
update_firmware.sh OTA subdirectory, is_changed fixed in kv_helpers Feb 10, 2019
update_htmlapp.sh OTA subdirectory, is_changed fixed in kv_helpers Feb 10, 2019
update_template.sh updated SuperGreenOSBoilerplate, re-enabled i2c devices Jan 10, 2019
write_spiffs.sh OTA subdirectory, is_changed fixed in kv_helpers Feb 10, 2019

README.md

SuperGreenLab

SuperGreenLab

Table of Contents

WeedAppPic

SuperGreenOS

SuperGreenOS provides most features used when growing cannabis, all in one package, and controllable from your smartphone, pc, mac, linux, toaster, plumbus, whatnot...

Who is this document for

Features

Here's what it can (or will) do:

  • Lights on and off schedules
  • Up to 6 separate led channels (you can put multiple leds behind one channel)
  • Up to 3 separate timers, for full-cycle setups (veg + flo)
  • Monitoring a wide range of sensors
  • Data sent to a private cloud
  • Produce alerts based on sensor values
  • Allows remote control (TODO)
  • Manual ventilation control
  • Automatic ventilation control based on temperature and humidity (TODO)
  • Stretch mode, allows to choose how much you want your plant to stretch or thicken
  • Sunglass mode, so you don't burn your eyes when you work on your plants
  • More to come..

This is the firmware that runs the SuperGreenDriver.

Quickstart

This quickstart will get you through the first step required

Workspace setup

Esp-idf setup

Clone repo, build and run

Connect to wifi

Basic concept

Key / value

Available keys

Core keys

  • WIFI_STATUS
  • WIFI_SSID
  • WIFI_PASSWORD
  • TIME
  • N_RESTARTS
  • OTA_TIMESTAMP
  • OTA_SERVER_IP
  • OTA_SERVER_HOSTNAME
  • OTA_SERVER_PORT
  • OTA_VERSION_FILENAME
  • OTA_FILENAME
  • BROKER_URL
  • I2C_X_SDA
  • I2C_X_SCL
  • I2C_X_ENABLED

Controller keys

  • STATE
  • DEVICE_NAME

Box keys

  • BOX_X_ENABLED
  • BOX_X_TIMER_TYPE
  • BOX_X_TIMER_OUTPUT
  • BOX_X_STARTED_AT
  • BOX_X_ON_HOUR
  • BOX_X_ON_MIN
  • BOX_X_OFF_HOUR
  • BOX_X_OFF_MIN
  • BOX_X_STRETCH
  • BOX_X_LED_DIM
  • BOX_X_BLOWER
  • BOX_X_BLOWER_MODE
  • BOX_X_BLOWER_GPIO
  • BOX_X_SHT
  • BOX_X_SHT
  • BOX_X_SHT
  • BOX_X_ARDUINO_CO
  • BOX_X_DUST_GPY
  • BOX_X_LED_INFO

Led keys

  • LED_X_DUTY
  • LED_X_GPIO
  • LED_X_X
  • LED_X_Y
  • LED_X_Z
  • LED_X_ENABLED
  • LED_X_BOX
  • LED_X_DIM