Internet of Things IoT

ESP32 multiple phase DIY energy monitor

Introduction

For months I've been looking for a non-intrusive energy monitoring solution for my home. The residence receives more than one phase from the utility company and because of that, the available solutions in the market based on open protocols are extremely expensive. Cheap alternatives always rely on cloud services and I don't believe any of them will remain online for too long.

Control Arduino via USB OTG from Android

This script allows Johnny-Five to run from a Termux terminal communicating with other Android apps or external devices by using the TCP protocol without root, without bluetooth and without the WiFi shield. The reason for the TCP protocol is that Termux still does not implement USB-OTG to Serial drivers and the vanilla Johnny-Five would hang right out the box because of this limitation.