Sluit deze pagina af en ga terug naar de vorige pagina
24 maart 2017 | 1 reactie(s)

IOT: TGROW ESP32 sensorboard

Howto monitor your plants with Home Assistant, MQTT, gotify and espeasy. This blog explains how I did this, it aint an evaluation of the choosen solution(s) as sensor/board type, domotica server nor the choise of the esp firmware. It's just what I use and I always start from there and see where it gets me, based on: try the avoid too much divercity cause of the maintaince burden. In general I think it doesn't matter either, the story line would be the same for many other implementation except for specific configuration syntax and settings.

My Goals:

  • Get it too work and visible in Home Assistant
  • Keep it running for at least 3 month on the lipo accu
  • Send warnings (using gotify) when the plant needs water

  • The Ingredients

  • ESP 32 based lilygo T-GROW esp32, with case and BME260 sensor (and NOT the DTH sensor), lipo accu of 200mah
  • Home Assistant, the domotics server
  • Gotify, the messaging system for pushing messages from Home Assistant to my mobile
  • Mosquitto. the MQTT server
  • ESPeasy, used the stock version (aka ESPEasy-mega-20220328 ) and not a precompiled version.
  • Win10 Notebook and an Ubuntu VM with arduino. Had some issues using arduino directly under Win10 and switched to an linux ubuntu VM instead, but that's more a personal choice.

    Sensorboard overview You can find the needed value for the board on the lilygo github (check the source or schematic), we don't use their firmware but we need the settings.
  • analog ADC sensor for the battery level
  • analog ADC sensor for the soil/moist level
  • analog ADC sensor for the salt/nutrition level
  • I2C sensor for the BME260 on address 0x77 reporting Air Humidity/Pressure/Temperature
  • Light (lux) sensor

    Get the firmware for the board

  • I assume you got arduino running and setup to work for esp32 boards (the additional URL for the boardmanager under preferences). Just google a bit find the URL and where to put it in Arduino preferences.
  • Just get the espeasy firmware and follow the guide howto use it (mainly rename the src folder to ESPEasy, case sensitive)
  • Open ESPEasy/ESPeasy.ini in arduino
  • Modify the default settings, I like to have

  • Update op |9 jan 2017 | no comments


    Rose - Copyright © 2011, designed by teNijenhuis.net
    18|339