-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 Pow R2 Energy Today jumping 100Wh in 10 sec #5789
Comments
Can confirm, same here with one of 5 Pow 2, energy value step sometimes x+100 Wh. Currently tested only v6.5.0 release and current dev 6.5.0.9 The issue is based on wrong data coming from the energy chip. The checksum of the data is correct but the data contains fantasy values (can be Seen with loglevel 4). I still couldn't decide if this is a communication issue on the serial line between the ESP and the cse7766 or it's an power supply issue of this single Sonoff Pow R2 or the cse7766 is bad. |
Sorry, seems to be just a hardware defect. Please, if you can, try with another POW R2 or with a PZEM. |
Ok, i need to order a new Pow R2 and will test it again. Thanks for the informations |
@rt400 As the PZEM is a dedicated energy monitor, device calibration in TASMOTA is currently not supported. |
@rt400 this issue here is specific to Sonoff Pow R2 having CSE7766 chip and where energy today value step only exceeded range, pls don't mix things. |
@curzon01 if possible could you provide some serial output of bad response from CSE7766. It might have something to do with low power detection I introduced some time ago. Default valid received code goes down to about 5W. Trickery makes power measurements down to 1W possible but there might be something wrong in processing on my side. |
Theo, I'd debug today where the problem occurs and unfortunately it seems the reason is not your assumtion. One of my Pow R2 realy delivers sometimes garbadge from CSE so it might be a CSE7766 quality issue. For example:
decoding the data you will see for the I'd made small change in CseEverySecond() preventing overload values which can only be from a load with more than 5kW which is out of operation range of the Pow. edit: The first example (2019-05-12T10:29:10 to 2019-05-12T10:29:30) shows the "garbadge" which occur sometimes. The many "Checksum failure" are a result of the memory move of CseSerialInput() to try resync the data stream: |
prevent invalid load delta steps even checksum of datastream from CSE is valid (issue arendst#5789)
…ring devices * Fix Sonoff Pow R2 / S31 invalid energy increments (#5789) * Add device OverTemp (>73 Celsius) detection to any Energy Monitoring device with temperature sensor powering off all outputs
Does the Sonoff S31 have overtemp circuitry like the POW? If so, does e472d32 also add overtemp detection to the S31? If not, nevermind 😉 Mike |
Both POW and S31 have NO OverTemp circuitry. Only Shelly 1PM and Shelly 2.5 have overtemp circuitry |
Thx. The mingling of the "CSE7766 Sensor (Sonoff S31/Pow R2)" and the reference to "Add device OverTemp (>73 Celsius) detection to selected Energy Monitoring devices" in this thread is what caused my confusion. |
I can report a probably related issue, the energy calculation is incorrect on the device I'm using:
I use the device to track energy usage of a robotic mower, the reported power and energy is plotted below (coming through the tele messages). As you can see the energy is a few orders of magnitude too large for the used power and makes very high jumps. |
BUG DESCRIPTION
Hello,
i use an Sonoff Pow R2 flashed with tasmota, to measure the energy production of my little photovoltaic system. My problem is that the value "Energy Today" is jumping 100Wh within 10 seconds.
REQUESTED INFORMATION
Make sure these boxes are checked before submitting your issue. Thank you
FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED
status 0
:(Please use
weblog 4
for more debug information)TO REPRODUCE
Steps to reproduce the behavior:
EXPECTED BEHAVIOUR
A small increase of the value "Energy Today" for about 1-5Wh, but not 100Wh.
SCREENSHOTS
Here is a screenshot out of grafana, which shows the problem.
At 12:55:10 the "Energy Today" value was 1.764 kWh.
At 12:55:20 the "Energy Today" value was 1.866 kWh.
That is an increase of 102 Wh. But the increase should be about 2 Wh.
ADDITIONAL CONTEXT
This problem occurs irregulary. On some days it occurs 3-4 times, on other days not once.
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: