Close

Build environment

A project log for AGI-ESP8266

WiFi accessible IoT plant monitoring system

hominidaehominidae 06/02/2017 at 22:520 Comments

Howdy all,

As per the post from yesterday, I've assembled the first test shelf. However, I need to get the AGI-ESP8266 sensor working to a state where I can push updates to it via Arduino OTA.

Currently, the AGI-ESP8266 will post updates to an MQTT broker running on one of my Raspberry Pi's via Mosquitto.

The instructions for setting that up are on the github repository. There are issues with such a setup. Namely, each time the Raspberry Pi is restarted; the client commands need to be run and the output piped into a text file. I have setup a batch file, but it's a less than ideal solution. It works as a proof of concept, as evidenced by the logs in the photo here:

The multiple values of 0.00 are from the DS18B20 sensor. I was comparing the two against each other when it was working, but I putting integrating it aside for the moment until I sort out the more nitty gritty stuff. The temperate difference when I had the i2c addressing setup properly was pretty insignificant, usually within half a degree difference at it's most extreme.

Note that these logs are from March when I was running long term testing on battery life with the deep sleep function. The deep sleep function on the Adafruit ESP8266 Huzzah with 4x AA NiMH rechargeable batteries was actually quite good. It ran for approximately a month and a several weeks, towards the end it got a little iffy. However, a month between battery changes seems reasonable for end users.

Next update will be on setting the system up with the proof of concept demonstrator AGI-ESP8266 with detailed instructions. Following that, I'm going to begin the process of fulfilling the 2017 Hackaday Internet of Useful Things contest requirements. This involves documenting the licensing issues from the various open source libraries I've used, to licensing any code I've written under similar/derivative open source licenses.


Discussions