Giter Club home page Giter Club logo

ttgo-higrow-mqtt's Introduction

TTGO-HiGrow-MQTT

This is my contribution to the many TTGO HiGrow implementations. Code is based on the TTGO HiGrow 19-8-22 v1.1 model with the BME280 sensor and without the DHT.

The mqtt topic is structured like: plant/<mac-id>/<sensorkind>.

Sensors are:

  • plant/id/temperature (float)
  • plant/id/pressure (float)
  • plant/id/lumen (float)
  • plant/id/battery (float)
  • plant/id/soil (int)
  • plant/id/salt (int)
  • plant/id/meta (json)

The meta data contains:

{  
    "mac":"C4:4F:33:7F:FF:F5",  
    "ip":"192.168.0.190",       
    "bootcount":637,            
    "firmware":"1.0.3"          
}

Building

Use Visual Studio Code with the PlatformIO plugin. Connect with USB. From the PlatformIO plugin choose : Build, Upload and/or Monitor

Configuration options

In the file include\user-variables.h, you can specify:

  • a list of ssid's and their passwords
  • static ip => (recommended => less time, less power)
  • mqtt server settings
  • duration of the deep sleep (frequentie of updates)

DHT

If you do have a DHT11/12/22 attached, you wont have much troubles re-enabling this functionality. Most code is commented.

Acknowledge

This code was based on the work of

https://github.com/Xinyuan-LilyGO/TTGO-HiGrow

https://github.com/pesor/TTGO-T-HIGrow

ttgo-higrow-mqtt's People

Contributors

voslucas avatar

Watchers

James Cloos avatar  avatar

Forkers

bukazoid

ttgo-higrow-mqtt's Issues

Setup

I installed everything with the code from pesor. Except that I just used the .ino file and did not install the whole repository... Now if I want to include your part, where do I have to put which files?
Thanks for this integration!

Regards,
Stashy

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.