Aeon Home Energy Meter v1 -- Read Clamps Separately

@Omyn NICE! That’s a clean setup, especially the 4-port USB hub for powering the devices. :smiley:

@Danabw So I tried the DH code that Omyn provided and it worked for me, although I did get a ‘null’ error if I didn’t manually set each variable. For example, if I didn’t set a name, I got:

Once I set the line 1 and line 2 variables, it gave me this:

And finally after setting the cost per kWh (even though 0.16 was already there):

Granted there was some “weirdness” with the variable names but I believe this was because the device was previously being used with a different DH (it would randomly show ‘Dryer’ instead of ‘Light’). So you might want to fully remove your HEMv1 from the hub, login to the ST IDE and remove the other DH, re-add the HEMv1 to the hub and re-assign it to Omyn’s custom DH. Then manually set all of the variables within the app and see how it goes.

Also, based on your phone screenshots I assume you’re using Android, correct?

1 Like