Go to file
Mathieu Maret ca8799f7c7 Jardin config:
BMP on 12,14
DHT on 5
Dry sensor + power on 16
Relay on 13
Sampling every 5min
2017-04-08 14:42:21 +02:00
Esp8266-Arduino-Makefile@6ffd79de30 Fix MQTT publishing when mqtt is not configured 2016-10-28 00:21:12 +02:00
WiFiAccessPointConfigurator Do not need to be setup to play with gpio or OTA 2016-03-11 01:42:27 +01:00
WifiControlSensor Jardin config: 2017-04-08 14:42:21 +02:00
WiFiWebServer Complete documentation 2015-10-01 01:07:11 +02:00
.gitlab-ci.yml Use Adafruit_MQTT fork that support retains 2017-03-08 15:12:56 +01:00
.gitmodules Add Esp8266-Arduino-Makefile as a submodule 2016-06-22 00:44:25 +02:00
LICENSE Add license 2016-03-17 23:56:31 +01:00
Readme.md Update Readme.md to use mqtt fork 2017-03-08 15:28:46 +01:00
Updater.py OTA does not need a reboot anymore 2016-12-14 22:57:01 +01:00

Introduction

This is a bunch of project that aims to provide a reusable platform for different kind of project using ESP8266.

Start by looking at ESP8266 SDK integration in Arduino environment https://github.com/esp8266/Arduino

WiFiWebServer

Provide GPIO control by HTTP request

WiFiAccessPointConfigurator

Provide GPIO control by HTTP request.

To be able to configure the Wifi credentials without flashing the device, at first boot, the device will create a AP that will help to configure:

  • Wifi SSID to connect to
  • Wifi Passwd to use for SSID
  • A Mdns name to be accessible without IP address (e.g. under Linux : mydevice.local )

Settings can be reconfigured latter by web interface or by pulling down gpio 3

Device can also be put in OTA mode and will wait for OTA from the espota tool.

WifiControlSensor

Provide previous WiFiAccessPointConfigurator features and can also get measure from several sensors:

  • BMP180
  • DHT11/22
  • Any Analog sensor

Those measure can be shared by MQTT(s). MQTT details (server, username, passwd, port) can be configured by a web page.

To interface with BMP180, the following library should be installed into Arduino environment: https://github.com/mmaret/BMP180_Breakout_Arduino_Library/archive/master.zip

To use mqtt, a fork of the Adafruit Mqtt library should be installed (https://github.com/shmuelzon/Adafruit_MQTT_Library/tree/support_retain). This have been tested against a mosquitto server