Skip to content
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

No power consumption readings from Innr smart plug SP120? #34090

Closed
juhanjuku opened this issue Apr 12, 2020 · 20 comments
Closed

No power consumption readings from Innr smart plug SP120? #34090

juhanjuku opened this issue Apr 12, 2020 · 20 comments

Comments

@juhanjuku
Copy link

I have Innr smart plug SP120 which can measure power consumption in kwh, but in HA integration only electrical_measurement and on_off are working. Smartenergy_metering shows 'unknown'

Home Assistant release with the issue:

0.108.3

Last working Home Assistant release (if known):
n/a

Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io (32bit)
Raspberry PI 4 (4 GB version)
Aeotec stick Zigbee adapter
Integration:

https://www.home-assistant.io/integrations/zha/-->

Traceback/Error logs

Additional information

I have also Schwaiger ZHS15 plug with same behavior - no power consumption reading
screen

@ACrazyConcept
Copy link

For what it's worth they do work for me with deCONZ and HA 108.2.

@springstan
Copy link
Member

Please fill out the issue template, you can find it by clicking on New Issue and then selecting Report a bug with Home Assistant. Copy and paste the provided template into this already created issue, click preview to take a look at the empty template and then fill out as much as you can. Any additional information can be helpful!

Thanks for understanding :)

@juhanjuku
Copy link
Author

I dont' have ConBee, so I cant' use deCONZ

@juhanjuku
Copy link
Author

Please fill out the issue template, you can find it by clicking on New Issue and then selecting Report a bug with Home Assistant. Copy and paste the provided template into this already created issue, click preview to take a look at the empty template and then fill out as much as you can. Any additional information can be helpful!

Thanks for understanding :)

I used issue template, sorry if something went wrong, it's first time for me

@springstan
Copy link
Member

Please try to use it again with my instructions, it is rather difficult to read this issue in its current state, thanks.

@juhanjuku
Copy link
Author

Please fill out the issue template, you can find it by clicking on New Issue and then selecting Report a bug with Home Assistant. Copy and paste the provided template into this already created issue, click preview to take a look at the empty template and then fill out as much as you can. Any additional information can be helpful!
Thanks for understanding :)

I used issue template, sorry if something went wrong, it's first time for me

The problem
I have Innr smart plug SP120 which can measure power consumption in kwh, but in HA integration only electrical_measurement and on_off are working. Smartenergy_metering shows 'unknown'
Environment
Home Assistant Core release with the issue: 0.108.3
Last working Home Assistant Core release (if known): n/a
Operating environment (Home Assistant/Supervised/Docker/venv): Hass.io (32bit)
Raspberry PI 4 (32 GB version)
Aeotec stick Zigbee adapter
Integration causing this issue: ZHA
Link to integration documentation on our website: https://www.home-assistant.io/integrations/zha/-->
Problem-relevant configuration.yaml
Traceback/Error logs

Additional information
I have also Schwaiger ZHS15 plug with same behavior - no power consumption reading
screen

@probot-home-assistant
Copy link

Hey there @dmulcahey, @Adminiuga, mind taking a look at this issue as its been labeled with a integration (zha) you are listed as a codeowner for? Thanks!

@Adminiuga
Copy link
Contributor

ATM ZHA only supports instantaneous_demand attribute of the "smart energy" meter cluster. If Innr does not provide any values for the instantaneous_demand, then the sensor always going to be in "unavailable" state.

@juhanjuku
Copy link
Author

ATM ZHA only supports instantaneous_demand attribute of the "smart energy" meter cluster. If Innr does not provide any values for the instantaneous_demand, then the sensor always going to be in "unavailable" state.

What is difference between 'ElectricalMeasurement > active_power' and 'smart energy > instantaneous_demand' ? They seem very similar to me.
If only one attribute can be read from SmartEnergy, maybe then is more useful to read id:0x0000 'current_sum_delivered' which shows used power in kWh.
I checked that Innr SP120 and also Schwaiger ZHS15 provide power consumption in this attribute.

I see in HA forum that with deCONZ my plugs will show also power consumption, but for that I must replace my Zigbee stick.

@Adminiuga
Copy link
Contributor

smart energy > instantaneous_demand' -- kWh -- instantaneous measurement of what it would consume if it would run at same rate for one hour. Smart Energy could measure different metrics, but in this case measures power cunsumption

Electrical Measurement -> active power -- W -- current consumption in Watts, only electrical measurement.

@juhanjuku
Copy link
Author

smart energy > instantaneous_demand' -- kWh -- instantaneous measurement of what it would consume if it would run at same rate for one hour. Smart Energy could measure different metrics, but in this case measures power cunsumption

Electrical Measurement -> active power -- W -- current consumption in Watts, only electrical measurement.

Thank you for explanation.
I still like to know, is it possible to get also 'total consumption -kWh- from this integration?

@stale
Copy link

stale bot commented Jul 12, 2020

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 12, 2020
@stale stale bot closed this as completed Jul 20, 2020
@DeBelsch
Copy link

Hello, I would like to reopen this issue, because the issue is still there. I use the ZHA Integration and the same plug.
Screenshot 2020-12-16 100019

Thank you

@juhanjuku
Copy link
Author

I have now 3 different plugs, Shwaiger, Innr120, Lonshoto and all of them have same result - no consumption reading.
I planned to rise change request, to read correct cluster where is consumption value, but I'm too busy right now.

@Willy0611
Copy link

Having the same issue with Innr SP120 and Tuya TS0121 on a deCONZ controller.

@Serafean
Copy link

Same boat with Immax Plug-230V-ZB3.0 smart plug + Conbee II

@miklosbagi
Copy link

Blitzwolf SHP13 joins the group.
From what I'm reading in this thread, I'm unsure if more information is required or it is just time needed to raise a CR?

@Hedda
Copy link
Contributor

Hedda commented May 19, 2021

FYI, the limitation in ZHA that is the root cause this issue is also discussed in #50471 as well as in zigpy/zha-device-handlers#605

Report in #44539 confirmed issue on BlitzWolf BW-SHP13, Innr SP 120, Schwaiger ZHS15, Lonsonho 16A Energy Monitoring Plug.

@juhanjuku
Copy link
Author

Hello, I would like to reopen this issue, because the issue is still there. I use the ZHA Integration and the same plug. Screenshot 2020-12-16 100019

Thank you

Can you confirm now that smartenergy_metering_summation _delivered is working correctly now with Innr SP 120?
For me this sensor is read only once after restart, but not updating later. Electrical_measurement is updating correctly.
image

@erkr
Copy link

erkr commented Nov 4, 2021

Mine is also updated once during startup. The value reported is not correct, I guess to be divided by a factor of 10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests