can I make NILM (or energy disaggregation) using ESP

hello
this is my best forum thank you so much for the time you are giving

I'm trying to build NILM system to read my electrical consumption using simply ESP32..
I have read so many researches and saw explanation about the NILM concept but I did not find yet how to build the system

I found some good codes like this GitHub - smakonin/SparseNILM: The super-state hidden Markov model disaggregator that uses a sparse Viterbi algorithm for decoding. This project contains the source code that was use for my IEEE Transactions on Smart Grid journal paper.
by Stephen Makonin

but I have no idea how to connect it to my ESP32 if they are connectable

any help please

Please explain as clearly as possible what you want to do. If you want to monitor energy consumption of individual appliances, post links to the sensors you will be using.

jremington:
Please explain as clearly as possible what you want to do. If you want to monitor energy consumption of individual appliances, post links to the sensors you will be using.

thank you

I am using PZEM004 energy meter for now ( PZEM-004T | Specification | Price | Arduino Library | Pinout ) .. with ESP32
its reading around 1 sample/second, it reads voltage, current, Active power and Energy... but in future I will upgrade to something faster dont know what yet

using 3 PZEMs to collect readings from 3 phase 110/220 V (line to neutral 110V and line to line 220V)

Now, the result I get from my system is simply the total energy consumption of my apartment / month
what I want, is using the NILM concept to read the individual appliances from my 3 phase readings

Do you have an Arduino question?

The code you linked runs on a Raspberry Pi 3, and ESP32 is not an Arduino.

quote:"Now, the result I get from my system is simply the total energy consumption of my apartment / month
what I want, is using the NILM concept to read the individual appliances from my 3 phase readings".

If you live in an apartment in North or South America, you have SINGLE PHASE electrical service, not three phase.

Paul

jremington:
Do you have an Arduino question?

The code you linked runs on a Raspberry Pi 3, and ESP32 is not an Arduino.

actually I'm using arduino IDE and I was using arduino mega instead of ESP32

if there is a way you know even by arduino not ESP32 please give me a hint I'm searching and reading as much as I could and couldn't find how to do it yet

There are web sites that describe using the PZEM-004 with Arduino. Studying those would be the place to start.

Hint: google "arduino pzem-004"

jremington:
There are web sites that describe using the PZEM-004 with Arduino. Studying those would be the place to start.

Hint: google "arduino pzem-004"

oh seriously ??

Yes, it is time for you to "get serious".

I can't see how it is not serious already :slight_smile:

if you don't like to help don't be a problem