-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[BUG][P076] calculation with multiplier values is broken #4893
Comments
Changes i found related to P076: |
A lot has been changed to that plugin since 20220722. |
My voltage multiplier is 462022.94 You could try to use the calibration command with only the voltage, just to see if that's working. |
It doesn´t
I have around 8 devices here (all gosund sp1 or sp111) |
another issue is, that the command 'hlwcalibrate' doesn´t seem to work.. at least the values in the plugin do not change... Edit: manually changing them works... |
Maybe there needs to be an actual floating point value? Can you try
|
I think I see what may be happening here.... |
Made a fix for it, can you please test it? |
The current value still doesn´t change |
"current" as in the last value, or the actual current as in amps? |
amps :) |
It still is only "current" that doesn´t work 😬 |
Just curious, what is the actual current being used the moment you try to perform the calibration? Like if you tell the unit there is some load like 100 Watt, you really should have it present and the task already must have it measured. So if you have the task interval set to 5 minutes and you apply some load, perform the calibration and disconnect the load, then it will fail as the measured current will still be 0. |
As always i use a 80w bulb, turn the plug on. See the measured values and enter the whole command ( Edit: my taskinterval for that is always 1s |
Since this is already an older bug, it doesn't really make a difference whether I will fix it today or tomorrow (and you will be perfectly capable to make your own builds ;) ) Deadline for a fix for this one to be included in the November build is ~20h today. |
I am totally fine with that. Make your release first 🙂 |
I hope I'm not bothering you too much. This is just a little reminder :) |
Makes me think about this Dutch commercial ;) |
That's a real classic, I don't think the language is a problem here 😛 🤣 |
🤣
definitely not... |
Todays build with p076 causes it to display nonsense. (last used/working build ESP_Easy_mega_20220722)
Seems to be an issue with the calculation of the multiplier values.
If i use the same values as before or try the recalibrate with
hlwcalibrate
the output is not as expected.e.g. with pure resistive load (80W):
hlwcalibrate,228,0.352,80
->The text was updated successfully, but these errors were encountered: