Wanting to monitor house power with solar

It does not, Aeon confirmed to me that HEM1 only reports positive. They can be used to measure solar directly (production only), but not net.

Hi Brian,
Back with you after much futzing with it… I believe part of my issue was signal to/from the HEM… I’ve made some installation changes that are resulting in a lot more telemetry… here’s a snippet of log data now.

0410f66d-81dd-4b27-b534-d66a2c500287 9:52:14 AM: debug Parse returned Aeon HEM v2 amps one is 13.70 A A
0410f66d-81dd-4b27-b534-d66a2c500287 9:52:14 AM: debug Parse returned Aeon HEM v2 amps two is 9.62 A A
0410f66d-81dd-4b27-b534-d66a2c500287 9:52:14 AM: debug Parse returned Aeon HEM v2 amps is 23.32 A
0410f66d-81dd-4b27-b534-d66a2c500287 9:52:14 AM: debug Parse returned Aeon HEM v2 energy is 0.44 kWh
0410f66d-81dd-4b27-b534-d66a2c500287 9:52:14 AM: debug Energy Since Last Reset: 155.73
0410f66d-81dd-4b27-b534-d66a2c500287 9:52:14 AM: debug Parse returned Aeon HEM v2 volts is 122.86 V
0410f66d-81dd-4b27-b534-d66a2c500287 9:52:02 AM: debug Parse returned Aeon HEM v2 power is 2783 W
0410f66d-81dd-4b27-b534-d66a2c500287 9:52:02 AM: debug Parse returned Aeon HEM v2 power one is 1662 W W
0410f66d-81dd-4b27-b534-d66a2c500287 9:51:44 AM: debug Parse returned Aeon HEM v2 amps two is 9.55 A A
0410f66d-81dd-4b27-b534-d66a2c500287 9:51:44 AM: debug Parse returned Aeon HEM v2 amps is 22.7 A
0410f66d-81dd-4b27-b534-d66a2c500287 9:51:44 AM: debug Parse returned Aeon HEM v2 amps one is 13.16 A A
0410f66d-81dd-4b27-b534-d66a2c500287 9:51:38 AM: debug Parse returned Aeon HEM v2 power is 2706 W
0410f66d-81dd-4b27-b534-d66a2c500287 9:51:14 AM: debug Parse returned Aeon HEM v2 amps one is 12.97 A A
0410f66d-81dd-4b27-b534-d66a2c500287 9:51:14 AM: debug Parse returned Aeon HEM v2 energy is 0.40 kWh
0410f66d-81dd-4b27-b534-d66a2c500287 9:51:14 AM: debug Energy Since Last Reset: 155.73
0410f66d-81dd-4b27-b534-d66a2c500287 9:51:14 AM: debug Parse returned Aeon HEM v2 power is 2678 W
0410f66d-81dd-4b27-b534-d66a2c500287 9:51:14 AM: debug Parse returned Aeon HEM v2 volts is 122.76 V
0410f66d-81dd-4b27-b534-d66a2c500287 9:50:44 AM: debug Parse returned Aeon HEM v2 amps two is 9.39 A A
0410f66d-81dd-4b27-b534-d66a2c500287 9:50:44 AM: debug Parse returned Aeon HEM v2 amps one is 12.90 A A
0410f66d-81dd-4b27-b534-d66a2c500287 9:50:44 AM: debug Parse returned Aeon HEM v2 amps is 22.28 A
0410f66d-81dd-4b27-b534-d66a2c500287 9:50:38 AM: debug Parse returned Aeon HEM v2 power is 2657 W
0410f66d-81dd-4b27-b534-d66a2c500287 9:50:38 AM: debug Parse returned Aeon HEM v2 power one is 1563 W W
0410f66d-81dd-4b27-b534-d66a2c500287 9:50:32 AM: debug Parse returned Aeon HEM v2 power one is 746 W W
0410f66d-81dd-4b27-b534-d66a2c500287 9:50:32 AM: debug Parse returned Aeon HEM v2 power is 1841 W
0410f66d-81dd-4b27-b534-d66a2c500287 9:50:26 AM: debug Parse returned Aeon HEM v2 power one is 634 W W
0410f66d-81dd-4b27-b534-d66a2c500287 9:50:26 AM: debug Parse returned Aeon HEM v2 power is 1614 W
0410f66d-81dd-4b27-b534-d66a2c500287 9:50:20 AM: debug Parse returned Aeon HEM v2 power one is 746 W W
0410f66d-81dd-4b27-b534-d66a2c500287 9:50:14 AM: debug Parse returned Aeon HEM v2 amps two is 9.32 A A
0410f66d-81dd-4b27-b534-d66a2c500287 9:50:14 AM: debug Parse returned Aeon HEM v2 amps one is 6.42 A A
0410f66d-81dd-4b27-b534-d66a2c500287 9:50:14 AM: debug Parse returned Aeon HEM v2 energy is 0.36 kWh
0410f66d-81dd-4b27-b534-d66a2c500287 9:50:14 AM: debug Energy Since Last Reset: 155.73
0410f66d-81dd-4b27-b534-d66a2c500287 9:50:14 AM: debug Parse returned Aeon HEM v2 amps is 15.74 A
0410f66d-81dd-4b27-b534-d66a2c500287 9:50:14 AM: debug Parse returned Aeon HEM v2 volts is 122.8 V
0410f66d-81dd-4b27-b534-d66a2c500287 9:50:08 AM: debug Parse returned Aeon HEM v2 power is 1823 W

Prior to pulling those logs, I did some measurements in my panel with my handheld current clamp ammeter in concurrence with the UI snapshots shown below.

First with power going out to the grid (generation greater than consumption)
Solar gen measured at insertion pt: Leg 1=14.5 amps Leg 2=14.5 amps Total = 29 amps
Current Measured next to clamps: Leg 1=3.4 amps Leg 2=9 amps Total = 12.4 amps (going to utility)

Second with power coming in from the grid (consumption greater than generation, I turned on the dryer)
Solar gen measured at insertion pt: Leg 1=15.4 amps Leg 2=15.4 amps Total = 30.8 amps
Current Measured next to clamps: Leg 1=21.2 amps Leg 2=12.6 amps Total = 33.8 amps (coming from utility)

Note solar production was slightly higher as it was a few minutes later and the sun is still rising toward apogee.
Note also the negative display in Watts yet positive display in Amps… is that the intention of how it should show opposite current flow?

Then I tried hitting your “Toggle” and this is what I get:

Which totally confuses me…
when I toggle again it goes back to the prior display content.

I can say a couple of things quickly, then review a bit more later.

  1. I don’t use the toggle, in fact I will probably remove it in the device type.
  2. Most people when using power, have the power number (watts) be positive. Solar production is negative. So if I read your numbers correctly, you are opposite of that. It should work, but it’s not what I typically see. I’d flip your calibration value.
  3. The weird fonts/texts after toggle look to be a temporary Android issue I see from time to time. They go away after a few minutes.

I’ll dig deeper later, short on time now. :smile:

Note also that amps and voltage are never negative. Only power using this device. It’s just a design choice in the device, the thinking being that those are absolute values of what is passing through the wires.

I just checked again and the kw/h finally updated and it shows as below:


which is impossible as I did a reset before taking the measurements above and it’s only been like 30 minutes or so… I only use 40kw/h per day for the house and another 35 to 40kwh for charging the car (depending on how far it’s driven that day)… not to mention now it shows kwh in all cells of the top row whereas before it showed “Since xx/xx/xx/ (reset time)” and kwh and “—”

Need your help if you can, could you do these steps?

  1. Verify you are using my devicetype with the last update in the header of the file of 10/30. Github here: https://raw.githubusercontent.com/bridaus/Aeontec-2nd-Gen-HEM/master/Aeontec%20Home%20Energy%20Meter
  2. Uninstall the device.
  3. Reinstall the device.
  4. Hit reset button once, wait 1 minute, hit the configure button once, wait 5 minutes. (I’m overdoing the time needed, but just for stability sake).
  5. Post your results.

Important: Don’t touch toggle after new install, I really don’t know why that exists, and meant to remove it from my device type.

Note: The device itself stores kwH, the devicetype resets that by “zeroing” out the number. Be careful thinking about kWH, usage is not constant per day. Sometimes I do most of my kWH during a very short period. Especially with solar.

I’ll try this after work today

sorry for the delay…
Ok… here’s what I did:

  1. deleted app associated with the HEM (your reset app)
  2. excluded the device from the network
  3. deleted the device type for the HEM
  4. created new device from code using the code at the link above
  5. included the device using that device type.
  6. sent a reset from the device UI on my Android
  7. after a minute sent a configure from the device UI on my Android
  8. waited a few minutes and took this screen shot:

Here’s some logging info…

24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:35:46 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:35:40 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 402
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:35:40 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:35:34 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:35:28 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:35:24 PM: debug Parse returned Aeon Labs Home Energy Meter amps is 12.51 A
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:35:22 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:35:16 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 416
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:35:16 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 291
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:35:16 PM: debug Parse returned Aeon Labs Home Energy Meter volts is 122.44 V
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:35:16 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:35:10 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:35:04 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:34:58 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:34:54 PM: debug Parse returned Aeon Labs Home Energy Meter amps is 12.83 A
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:34:52 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:34:46 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:34:40 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:34:34 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:34:28 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:34:24 PM: debug Parse returned Aeon Labs Home Energy Meter amps is 12.73 A
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:34:22 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:34:17 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 416
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:34:16 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:34:16 PM: debug Parse returned Aeon Labs Home Energy Meter volts is 122.5 V
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:34:16 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 291
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:34:10 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:34:04 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:58 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 474
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:58 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:55 PM: debug Parse returned Aeon Labs Home Energy Meter amps is 13.14 A
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:52 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:46 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:40 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:34 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:28 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 402
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:28 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:25 PM: debug Parse returned Aeon Labs Home Energy Meter amps is 17.28 A
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:23 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:23 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 402
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:17 PM: debug Parse returned Aeon Labs Home Energy Meter volts is 122.48 V
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:17 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 416
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:16 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 402
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:16 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 291
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:16 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:10 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:33:04 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:32:58 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:32:54 PM: debug Parse returned Aeon Labs Home Energy Meter amps is 13.29 A
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:32:52 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:32:46 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:32:40 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:32:34 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:32:28 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:32:23 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:32:17 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 291
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:32:17 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:32:16 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 416
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:32:16 PM: debug Parse returned Aeon Labs Home Energy Meter volts is 122.56 V
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:32:10 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 474
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:32:10 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:32:04 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:31:58 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:31:54 PM: debug Parse returned Aeon Labs Home Energy Meter amps is 13.17 A
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:31:52 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:31:46 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317
24e4c55f-55e0-4f1b-820c-f558d9b5beec 5:31:40 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 317

Do you want me to correlate with actual measurements? I’ll have to do that another day as it’s dark out now and dinner time. :wink:

Click configure and reset one more time. Do nothing else, just wait. The null problem could be an initial install issue. I had similar problems when I first installed the original device. Once you get some readings and the device accepts a configuration, its smooth sailing.

Tried that a bunch of times and I still get no Watt values (or Kw/H) and still get a bunch of :

24e4c55f-55e0-4f1b-820c-f558d9b5beec 6:47:26 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 416

errors spewing rapidly.

I’ll try removing and re-adding again. pretty weird all of a sudden since I grabbed your latest code.

I’m going to look at the code, I don’t like this not working, and I don’t like that error.

BTW, if I caught you in time, do a configure first, then reset. Maybe the order there matters, but it shouldn’t.

EDIT: I’m thinking maybe you forgot (I didn’t specify, so my bad maybe) to edit the device and set the settings for cost and calibration value. I think ST is bad at setting default values.

Also can you go to this page: https://graph.api.smartthings.com/device/list

Then click on your device, and screenshot the state values here?

Edit2: I’m convinced the issue is the device settings. ST doesn’t set defaults like it claims to, you have to set them once by editing the device.

I put a new version up that should install more nicely. Please publish the new device code, then reinstall the device.

Or just edit those device values first if you want to try that quickly. It should result in the same effect.

Aeon told me v2 wasn’t directional! I bought an effergy for my solar and rewrote apps to add loads based on production rather than shed based on consumption. Oh well, guess I’m getting the Aeon now for my import/export on the mains.

Hi Brian I am hoping you can help me.

I have the HEMv2 on a subpanel dedicated only to solar. I have both string and micro inverters so I am using the HEM to get totals and peak production for the entire system. I have parameter 2 set to 1 so I am getting negative values both in the day during production and at night when the inverters are drawing power which isn’t much but still adds up over time. I was wondering if there is a way for your controller to automatically reset totals at sunrise which is generally around when power starts generating. I want to be able to compare what my inverters are reporting against what the hem is reporting during the day as sometimes I have issues where the inverter doesn’t report the energy generated due to communication errors.

Thank you for your help.

I use a reset once a day app. Will try to find where I got that from, but a search should net you something. Let me know if not, it’s possible I created it. I can publish it in that case.

Or use Rule Machine. It can do it too.

I reset mine at 11:58pm every night.

Found my app: https://github.com/bridaus/Aeontec-2nd-Gen-HEM/blob/master/ResetOnceaDay.groovy

1 Like

Any ideas for creating a virtual power tile that shows the delta between power meter and PV system? Currently my grid clamps show net and the solor clamps show production so it should be relatively easy it seems to calculate house consumption. I would need it in a virtual power tile so smarttiles can show it.

Anyone else have issues in the last month or so where the device stop started reporting all negative or all positive values and no longer flip depending on generation vs consumption? I had a tile that flipped colors (green for over production pushing to grid, red for underproduction pulling from grid, based on <0 or >0) and now it’s just positive or negative 100% of the time depending on the orientation of the MTU’s (or the bit in the smart app).

I’ve power-cycled the device several times, rebooted the hub, reloaded the device code.

Stops responding, yes twice in the past month or so. Value flip, no.

I have to cycle the power to fix it. Seems like the device just gives up after a period of time.

Interesting, the issue went away on it’s own, but I still have the issue where at least weekly one of the two stops reporting and I have to go reset it.

It’s frequent enough that I actually toyed with attaching it to a zwave plug and writing a smart app to power cycle it when it stops reporting… i’ll never do that but got a good laugh out of the thought. Wish I could figure out why it does that.

Just wondering if anyone figured this out. Im installing a sunny boy grid tied inverter which has its own "connection for an extra $250 which isn’t wifi. The wiring set up is the inverter back feeds the panel thru a double pole breaker. The inverter has their own cloud service called sunny portal which I cant find any API info on.

I am wondering if I could just use two energy meters… one that show all watts coming (back feeding will show 0) on the mains then a 2nd one on the wires going to the back feed breaker. Also does anyone have a DH that would show a graph of todays usage?