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

Sonoff S60 generally works but it loses overall energy consumption #1383

Open
guciopl opened this issue Apr 15, 2024 · 4 comments
Open

Sonoff S60 generally works but it loses overall energy consumption #1383

guciopl opened this issue Apr 15, 2024 · 4 comments
Labels
question Further information is requested

Comments

@guciopl
Copy link

guciopl commented Apr 15, 2024

On/Off control works ok, Daily and Month energy meters are correct.
Volts, Amps, Watts I did not exactly check but looks that this is correct as well.

Only thing malfunctioning is overall energy used. It keeps resetting, no idea why. I have 3 of them and on all 3 overall consumption regularly disappears (1st picture in batch of 3). Therefore when I use sensor.sonoff_1002XXXXX_energy in Energy dashboard it shows total bullshit (2nd picture in batch of 3). For example S60TPF is desk LED lamp using 9W, and in Energy dashboard daily energy consumption shows 0,88kWh, while the true one is 0,04. All other readings are ok (3rd picture in batch of 3) and they match ewelink readings (last picture). Let me know if I can assist somehow by sending some more logs or sharing device to Your account.

led
led2
led3
lod
lod2
lod3
pc
pc2
pc3
Screenshot_20240415_142538_eWeLink

@AlexxIT AlexxIT added the question Further information is requested label Apr 15, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Apr 15, 2024

Energy should have history for last 30 days. Check attributes of your sensor
https://github.com/AlexxIT/SonoffLAN?tab=readme-ov-file#sonoff-pow

@guciopl
Copy link
Author

guciopl commented Apr 17, 2024

I don't think this is matter of history settings. I don't set them at all and I have 20+ sonoff devices (mostly POW) and they all work well. Definitely something is wrong on HA side with calculating actual power to energy usage. I bought another S60 and added it to HA to double check it.

Daily/monthly usage from app is correct (I verified that with independent power meter):
Screenshot_20240417_104627_eWeLink

Those 2 attrubites are passed to HA correctly and visible there:
12

However actual power usage readings are somehow incorrect, and when I link it with power meter entity by this:

- platform: integration
  name: energy_spent_S60chlod
  source: sensor.sonoff_100223XXXX_power
  unit_prefix: k
  round: 2

This is what I see in Energy dashboard after adding sensor.energy_spent_S60chlod there:
11

All needed entities like
- sensor.sonoff_100223XXXX_power
- sensor.energy_spent_S60chlod
are of course added to recorder in configuration.yaml

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 17, 2024

The component just requests data from the cloud. I've never seen this data. I don't have any of these devices.

@tpehant
Copy link

tpehant commented Apr 22, 2024

Hi!
I am also having problems in Energy dashboard when adding S60 devices.
Data in Individual devices usage is not shown correctly as seen on next two screenshots.
I shows negative Energy when it should be positive. I think there is problem with data timestamp.
Any ideas?
Screenshot_2024-04-22_08-17-42
Screenshot_2024-04-22_08-19-34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants