This cloud-connected energy meter works in conjunction with the regular household power meter to provide detailed information about the electricity usage at home.
Modern power meters have a LED blinking every time a watt-hour is used, the IEM detects these flashes using a interrupt, counts them, then the data is stored to the cloud. Usually power companies provide very rough electricity usage data, the IEM provides data with a minute resolution. Knowing the household electricity usage allows to extrapolate statistics and can give precise numbers about the costs.
IoT Energy Meter
Internet has made it quite easy for computers to synchronize their clocks to an accurate clock value generated by a remote server. In the United States, the National Institute of Standards and Technology (NIST) provides official time. NIST disseminates the time using several methods, which include broadcasting over short-wave and long-wave radio, telephone dial-in services (ACTS), and Network Time Service (NTS) over the internet. This article describes a ESP8266-based clock project that utilizes NIST’s NTS service to retrieve accurate time information and display it on a 4-digit seven segment LED display. The time is synchronized to the NIST server after every 2-minute interval. The display also contains a colon that blinks every second.
ESP8266 seven segment LED clock