Home monitoring system running on a NodeMCU ESP8266 ESP-12F.
The idea behind this project is to have a base system working on a standard microcontroller with communication capabilities, http/https, mqtt...
See the Nidus repository and the Sentinel Api Spec
- Configuration
- Wifi
- Access Point
- Configuration
- Auto-pairing
- Auto updates
- Wifi
- Protocols
- HTTP
- HTTPS
- MQTT
- Sensors
- BMP180
- DS18B20
- Security
- Configuration AP
- Key
- Tests
The hardware I currently use is a NodeMCU Lua Amica Module V2 ESP8266 ESP-12FCP2102 micro-controller, a temperature sensor DS18B20 and temperature and pressure sensor BMP180.
Open the Arduino Preferences Ctrl+, and in Additional Boards Manager Urls
add the following one:
https://arduino.esp8266.com/stable/package_esp8266com_index.json
Open the Arduino Library Manager Ctrl+Shift+I and install the following packages:
- ArduinoJson
- ArduinoMqttClient
- BMP180_Breakout_Arduino_Library
- WiFiManager
Upload the sketch
Connect the device to a power supply.
Connect your phone to the new access point created by the device. It should be
something like sentinel-xxx
.
Then access the device settings by navigating to http://192.168.4.1 and complete the setup.
The device then will restart and will pair automatically with the server.