Zigbee Energy Reporting Switch Jasco 45856 / GE 45856GE

@asj - sorry for the long delay in responding. Both switches are using your driver but behave differently. The reporting frequency seems to have slowed down likely after pressing "configure" once or more times during my troubleshooting. One difference that has remained, however, is that the Upstairs HVAC reports wattage values anywhere between 8,000 and 11,000 W. This remained true even when switching to the HE driver... but as soon as I did that it started spamming my logs with a zillion updates so I switched back to your driver. I will try to remove and completely reset the switch to see if it fixes the weird 9-11kW readings.

Not sure where to find debug logs... I only found the events or general logs.

Hmm, strange. Here's how you enable debug logs:

Wow, several months went by like it was yesterday. I have not done any troubleshooting yet and the issue is still there. I just turned on debug logs and will report back.

Right now my upstairs HVAC unit says it is using nearly 1 MW of power (757kW) LOL and in one case that it was generating 210kW (the negative number so current flowing in opposite direction)! Of course none of this is even remotely possible...

The Downstairs HVAC is also reporting weird numbers... at nearly 5kW, that would be 40A @ 120V.

I can't believe both switches are bad... so either there is something strange with software or something I am not seeing from an wiring perspective.

The 2 HVAC units are powered by 12 AWG wire and have regular 15A cut off switches so I think it is safe to say that the bulk of the AC power consumption is drawn from the outdoor compressors where there are massive cables.

From what I recall when I did the switch install, it appears that the builder used a single cable with 2 lives, 1 neutral and 1 ground to bring power to the HVAC units. It appeared to me that each unit was getting one of the 120V legs (so not 240V power) and neutral/ground were shared. The feed that goes to the outside compressors is at 240V and it comes from the outdoor panel. not the same subpanel as the one the units in the attic are pulling from.

Hopefully this makes sense...

This is the breaker that powers both HVACs in the attic.

What am I missing?

@aruffell It's probably a bug in my code. The number comes in as say 1234 and I have to look at 3 more values to find out that mean 120watts. There's a multipler/diviser and count of decimal places. Since it seemed simple I figured they must be hard coded. Maybe they aren't? Though that doesn't explain negative, unless I'm going out of range.

Can you turn on debug mode? It'll be too vebose, but if we can capture the raw data from Zigbee we can fix it. (or ignore glitches)

I did enable debug mode but it keeps turning itself off. Not sure why other than maybe a bug in the hubitat hub software?

I also joined the switches to the ST system and got the same readings... unless some setting (parameter) is being stored in the device or your DTH uses some of the ST's DTH code, then it might be an install issue. One thing I still need to do is to put a clamp amp meter on the live wire and compare readings.

Debugging appears to only stay on for 30 minutes. Below is the log for the "Downstairs HVAC" switch.

dev:3782020-03-11 13:26:20.875 infoDownstairs HVAC energy is 1395.0403kWh
dev:3782020-03-11 13:22:57.091 infoDownstairs HVAC power is 48.4W
dev:3782020-03-11 13:22:52.121 infoDownstairs HVAC power is 3663.9W
dev:3782020-03-11 13:18:03.073 infoDownstairs HVAC power is 4679.2W
dev:3782020-03-11 13:17:58.041 infoDownstairs HVAC power is 6638.9W
dev:3782020-03-11 13:17:53.057 infoDownstairs HVAC power is 1109.2W
dev:3782020-03-11 13:00:06.592 warndebug logging disabled...
dev:3782020-03-11 12:52:53.025 infoDownstairs HVAC power is 198.9W
dev:3782020-03-11 12:52:53.021 debugdescMap:[raw:D9220107020C00042AC50700, dni:D922, endpoint:01, cluster:0702, size:0C, attrId:0400, encoding:2A, command:0A, value:0007C5, clusterInt:1794, attrInt:1024]
dev:3782020-03-11 12:52:53.014 debugdescription is read attr - raw: D9220107020C00042AC50700, dni: D922, endpoint: 01, cluster: 0702, size: 0C, attrId: 0400, encoding: 2A, command: 0A, value: C50700
dev:3782020-03-11 12:48:04.022 infoDownstairs HVAC power is 4679.2W
dev:3782020-03-11 12:48:04.018 debugdescMap:[raw:D9220107020C00042AC8B600, dni:D922, endpoint:01, cluster:0702, size:0C, attrId:0400, encoding:2A, command:0A, value:00B6C8, clusterInt:1794, attrInt:1024]
dev:3782020-03-11 12:48:04.014 debugdescription is read attr - raw: D9220107020C00042AC8B600, dni: D922, endpoint: 01, cluster: 0702, size: 0C, attrId: 0400, encoding: 2A, command: 0A, value: C8B600
dev:3782020-03-11 12:47:59.022 infoDownstairs HVAC power is 5837.4W
dev:3782020-03-11 12:47:59.016 debugdescMap:[raw:D9220107020C00042A06E400, dni:D922, endpoint:01, cluster:0702, size:0C, attrId:0400, encoding:2A, command:0A, value:00E406, clusterInt:1794, attrInt:1024]
dev:3782020-03-11 12:47:59.012 debugdescription is read attr - raw: D9220107020C00042A06E400, dni: D922, endpoint: 01, cluster: 0702, size: 0C, attrId: 0400, encoding: 2A, command: 0A, value: 06E400
dev:3782020-03-11 12:47:54.019 infoDownstairs HVAC power is 6639.4W
dev:3782020-03-11 12:47:54.016 debugdescMap:[raw:D9220107020C00042A5A0301, dni:D922, endpoint:01, cluster:0702, size:0C, attrId:0400, encoding:2A, command:0A, value:01035A, clusterInt:1794, attrInt:1024]
dev:3782020-03-11 12:47:54.012 debugdescription is read attr - raw: D9220107020C00042A5A0301, dni: D922, endpoint: 01, cluster: 0702, size: 0C, attrId: 0400, encoding: 2A, command: 0A, value: 5A0301
dev:3782020-03-11 12:30:06.535 warndescription logging is: true
dev:3782020-03-11 12:30:06.531 warndebug logging is: true
dev:3782020-03-11 12:30:06.527 traceenergyReportvalue: 3600
dev:3782020-03-11 12:30:06.522 traceenergyChangeValue: 1
dev:3782020-03-11 12:30:06.518 tracepowerReportvalue: 1800
dev:3782020-03-11 12:30:06.514 tracepowerChangeValue: 500
dev:3782020-03-11 12:30:06.504 traceUpdated()

Is there a chance that the decimal point is one digit too far to the right? Meaning that the 6638.9W is actually 663.89W? This would jive as the max consumption of the unit in the attic should be around 6 amps. The other out of whack readings might be the result of out of bounds variables or something along those lines.

I have 3 other identical switches controlling regular LED bulbs and the power reported by those seems accurate.

1 Like

@aruffell could be, let me decode the value later today. I can't remember which bits are bits at the moment.

Debug turns off after 30 mins on purpose. Since it's so verbose it automatically shuts off. (this seems to exist in a ton of sample code but it's broken/not implemented and I did)

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.