Installing Sonoff-Tasmota firmware
Sonoff is an ESP8266 based on/off switch that will let you control electrical devices around your home. Out of the box it can be only managed by the eWeLink app which is running on Chinese servers. If you want to take full control of the device you can flash the firmware and access it inside your local network.
ESP8266 battery level meter
In addition to the WeMos battery powered temperature server, it would be nice to know what the remaining level of the battery is, so we can recharge it in time. This is easily done using a voltage divider circuit and the analog input on the WeMos D1 mini module.
WeMos D1 Mini temperature server
WeMos D1 mini is an ESP8266 based board that can be programmed with Arduino IDE. In this blog I will describe how to make a simple WiFi based server that is being powered by a Li-Po battery and shows temperature and humidity inside your browser window.