From 2c60b0d0b2b15d0c2b9fb51c804326d112f0de2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Sat, 21 Jan 2017 20:53:27 +0100 Subject: [PATCH] describe database settings --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0cecc9f..7b0b247 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Connections LED (cathode) <-> board (all LED anodes are connected to the +3.3V r ESP8266 ------- -The ESP-01 WiFi module (based on the ESP8266 chip) is used to join the local network, connect to an influxDB database using HTTP, and store the measurement values gathered from the electricity meters. +The ESP-01 WiFi module (based on the ESP8266 chip) is used to join the local network, connect to an InfluxDB database using HTTP, and store the measurement values gathered from the electricity meters. AT firmware v0.51 from the espressif NONOS SDK 1.5.0 has been used for this project. Be sure to have configured the module to connect to the right access point beforehand using the following AT commands: @@ -53,6 +53,9 @@ Be sure to have configured the module to connect to the right access point befor When booting the micro-controller will reset the device and wait until the module connects to the access point and gets an IP. +Once all measurements from all meters have been collected, the firmware will connected to the InfluxDB database to submit the values using and HTTP POST request. +The hostname, port, database name, user name, and password are hard coded in `main.c`. + Connections ESP-01 <-> board: - GND, pin 1; ground