IoTaWatt and Stats were queried to find how much power was drawn from the house panel, and how much was stored in the battery. The 240V outlet and 120V outlet are very short runs from the Circuit Breaker box, minimizing power loss in the wiring. The 240V circuit is about 15' of AWG 6, and the 120V circuit is about about 5' of AWG 12. IoTaWatt is an open-source, open hardware project to produce an accurate, inexpensive and easy to use energy monitor. It can use any of dozens of common current transformers and will report the data locally via integrated web server. This post describes how to setup IotaWatt on a single-database (multi-tenant) arrangement in Influx. Previously I described single database setup for Influx, Grafana and IotaWatt. Much of that information is relevant, but changes are noted here. Setup database (once). My test confirms this, although I havnt accumulated many kwh, I still would see the ecompany meter saying I use more than what the iotawatt says I’m using if the ecompany meter actually reads the backfeed as power we pay for. But it’s not, if anything iotawatt is saying I’m using slightly more or I could say the same (only.8kwh. R/IoTaWatt: This subredit is designed to discuss and post questions about the Open Source energy monitor product along with other products Press J to jump to the feed. Press question mark to learn the rest of the keyboard shortcuts.
IotaWatttm is an open-hardware 14 channel WiFi connected electric power monitor. It’s based on the ESP8266 IoT platform using MCP3208 12 bit ADCs to sample AC voltage and current.
IoTaWatt can log data locally to on-board SD card and post directly to Emoncms.org via WiFi.
There are no plans to discontinue the emonTx. Both the IoTaWatt and emonTx have advantages in key areas which complement each other.
IoTaWatt is fully open-source and has been developed by Bob Lemaire @overeasy in partnership with OpenEnergyMonitor.
View in Shop → Setup IoTaWatt
Hardware
The IoTaWatt uses the WiFi enabled ESP8266 (ESP-12S) microprocessor. The ESP8266 is mounted using NodeMCU adaptor, the decision was made to use the NodeMCU form-factor to allow flexibility for customisation and future upgrades e.g ESP32.
The onboard SD card allows data to be saved locally with high resolution and network resilience. If the IoTaWatt is posting to an Emoncms server and loses network connectivity data logged to the SD card will be bulk uploaded to Emoncms when a network connection is restored.
An on-board real-time clock (RTC) ensure the time-stamp is always correct. The RTC is set using NTP. Using the IoTaWatt on a WiFi network with a reliable internet connection is highly recommended, however, the IoTaWatt can operate without an internet connection once the RTC has been initially set via NTP.
Firmware
The IoTaWatt is configured via a web interface served directly from the IoTaWatt ESP8266. See IoTaWatt.com for a live demo of the interface.
The IoTaWatt supports automatic over the air (OTA) firmware updates.
Security
IoTaWatt supports end-to-end encrypted connection to Emoncms using new Emoncms API transport layer encryption. Due to the limited resources of the ESP8266 microcontroller HTTPS connection is not possible. However, Emoncms offers an in-built transport layer encryption solution where the emoncms apikey is used as the pre-shared key for encrypting the data with AES-128-CBC.
Automatic OTA firmware updates ensure the IoTaWatt is always running the latest most secure version e.g a firmware update was released and automatically deployed to fix the KRACK WPA vulnerability. Firmware updates are digitally signed.
emonTx Vs. IoTaWatt
As I mentioned at the beginning of this post, there are no plans to discontinue the emonTx. The IoTaWatt is not designed to replace the emonTx, rather to complement it. Each unit has advantages in key areas:
emonTx Advantages
- Low power: battery power / single AC-AC adaptor
- No setup required
- Supports multiple DS18B20 temperature sensors
- Supports Optical Pulse sensor (interrupt input) to interface directly with utility meters
- Approximate 3-phase with firmware update
- Multiple emonTx’s can communicate with a single emonPi / emonBase
- WiFi connection not required
IoTaWatt Advantages
Iotawatt Pcb
- Large number of CT sensor inputs
- Flexible configuration (many different types of CT’s supported)
- On-board SD card logging
- OTA firmware updates
- Direct posting via WiFi to Emoncms.org
The obvious advantage of the IoTaWatt over the emonTx is the number of CT sensor inputs. Another key advantage is the flexibility of the IoTaWatt, each input channel (AC voltage & current) can be individually configured and calibrated. The IoTaWatt supports a number of different sizes of CT sensors with calibration presets for CT sensors e.g 20A, 100A (standard) and 200A.
It is possible to use an IoTaWatt together with an emonPi / emonBase, the IoTaWAtt can post to any Emoncms server including emonPi over a local network.
Iotawatt Influxdb
To engage in discussion regarding this post, please post on our Community Forum