-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device Support Request - Sercomm / Telstra (SZ-ESW01-AU) Smart Plug #2496
Comments
Can you also please provide a screenshot from the simple metering cluster? And what was the load applied, would 58W fit in? Thanks. |
According to the multipliers and divisors, the power is 58 * 128 / 1000 = 7.4W; the voltage is 30941 * 8 / 1000 = 247.5V; and the current is 54 * 1 / 1000 = 0.0054A. That doesn't quite compute. Also note the difference is reported frequency 50Hz without load and 47Hz with. I have no clue what the Power Factor means. The lifetime (since last reset) consumption should be reported through the Simple Metering cluster, usually also including the current power. |
@user2202 Thanks, that's fine. Just wanted to be sure. @ebaauw Also thanks. Seen the divisors and multipliers, but just wanted to double check. First time I've seen it so detailed. Now for the current consumption, the value is already in Wh. For the instantaneous demand, division by 1000 would fit the picture, right? |
You might need to decipher the Summation Format (0x0303) and Demand Format (0x0304) to know how to scale the values for Current Summation Delivered and Instantaneous Demand. The format attributes consist of subfields, which the GUI cannot handle. See the ZCL spec for the details (I don't know them by heart). |
Ah yes, forgot about that. So 0xCE is 11001110 and 0x96 is 10010110. For both values, the spec says: Bits 0 to 2: Number of Digits to the right of the Decimal Point. In both cases, that would be 110 (starting the count from LSB), which is 6, resulting in 0,000661kWh -> 0,6Wh for current summation. That smells a bit fishy and kinda imply the device has just been put into use. @ebaauw Any mistake I made here? |
Just been reset. Maybe for pairing with deCONZ? |
Is it possible these powerplugs could be moved to a "switch" instead of a light? |
@meremortals70 Can you let me know on which deconz version you're running? Is your feedback based on checking the REST API? I also need to understand if that values you're referring to come from the ZHApower or ZHAconsumption sensor... I'd assume the ZHApower (how much power is consumed right now, not historically.) |
I’m not using ZHA, I am using the Deconz 2.05.75 integration to HA. |
I'm not referring to ZHA you mean. ZHApower or ZHAconsumption, that is the type of sensor created by deconz. I need to understand which one of them is producing the funny values. |
Ah sorry, ZHApower |
ok, thanks. That's weired. Can you provide just another screenshot from the electrical measurement cluster with the attributes read? The point is, the rules of calculation are given there by the power multiplier and divisor. That's why I don't understand it. |
Thanks. So the calculation based on the screenshot should be 0x050B * 0x0604 / 0x06045, so 8 * 128 / 1000 = 1W Would that make sense in that case? |
So we can be sure I have plugged an electric kettle into the power meter and then into the plug. 1st image is with the kettle on and not boiling. It is one of those fancy ones which provides current temperature etc of the water in the kettle. 228.9V The second image is with the kettle boiling |
For the 1st screenshot, the values result in 1,563W Also, the result cannot be negative, unless the plug reports some negative values here. You are aware that power is also exposed via the consumption sensor here? |
In that case could it be Phoscon causing the negative values? The current and voltage reported in Home Assistant is the same I am seeing in Deconz. However I think the current is missing the Current Divisor. Based on the power calculation above it can't be correct. If you multiple the voltage by the current and then divide by 1000 for the current divisor it sounds more accurate. |
So the values at the bottom indeed are correct. Voltage is provided in V and current is provided in mA, so it sould show around 91W power usage at that point in time. However, the datatype is signed integer, so negative values are allowed and valid in principle... There's also a consumption sensor created which should provide power. Does it look more reasonable? Eventually, you must apply the calculation as above. |
Whilst it looks more reasonable it is cumulative, ie Total consumption not instantaneous power. The calculation above doesn’t result in 91w 🤪 |
It should contain 2 values, power (again) and consumption. |
Not exposed in the Deconz integration in Home Assistant as a sensor however I can see it on the Consumption Graph in the location where current and voltage is shown on the Power Graph. However, it is showing less than the Power Sensor. At 90w multiplying current and voltage, the power sensor says 4w and the power reading under the consumption sensor is 2w. However when the power sensor goes -ve, the power reading under the Consumption sensor is showing positive but again not sure about true value. I will hook up the power meter tomorrow afternoon and check it out I see there is also power factor as an attribute, could it possibly be measuring true, reactive and apparent power and that is why we are seeing all this differing values? If I take the current x voltage x pf it’s pretty close to the power reading under the consumption sensor 😀 |
So that's pretty useless either. |
Just keeping this issue open until I get time on the weekend for some quality diagnostics |
Sure. However, I tried to peek at z2m and SmartThing and they both don't have a solution :/ |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Yep Deconz is not longer in my network due to the lack of support |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello, I would like to get this smart plug fully supported. I can currently turn it on and off. I would also like to also get the electrical measurements. Thank you
Basic Cluster
Node Info
Electrical Measurment - Power off
Electrical Measurment - Power on with device
The text was updated successfully, but these errors were encountered: