Project for IoT class.
- Easy to connect to desired WiFi via ESPTouch,
- configurable MQTT with persistent config memory (broker ip, port, username, password, namespace),
- HTTP server for MQTT configuration (toggleable by physical pin for security reasons),
- Humidity / pressure / temperature measurements.
- Press Smart Config button and then reset the device via EN button,
- release the button when Smart Config diode is set,
- connect the device to WiFi via i.e Esptouch app,
- wait untill Smart Config diode is cleared and WiFi diode is set*.
* If this does not happen in like 20 seconds then try again.
- Click HTTP button and wait for blue diode to set,
- in web browser type <device-ip>/mqtt,
- enter all MQTT credentials and apply,
- click HTTP button again to close HTTP server,
- wait untill HTTP diode is cleared.
Measurements are available in following topics:
- Pressure: <namespace>/pressure
- Temperature: <namespace>/temperature
- Humidity: <namespace>/humidity