Domotique/Readme.md

30 lines
1.3 KiB
Markdown
Raw Normal View History

2016-03-11 00:44:15 +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
2016-03-16 01:16:36 +01:00
Provide previous WiFiAccessPointConfigurator features and can also measure temperature and pressure from a BMP180.
Those measure can be shared by MQTT. MQTT details (server, username, passwd, port) can be configured by a web page.
2016-03-11 00:44:15 +01:00
To interface with BMP180, the following library should be installed into Arduino environment: https://github.com/mmaret/BMP180_Breakout_Arduino_Library/archive/master.zip
2016-03-11 01:31:03 +01:00
To use mqtt, the Adafruit Mqtt library should be installed.
2016-03-16 01:16:36 +01:00
This have been tested against a mosquitto server