-
Notifications
You must be signed in to change notification settings - Fork 638
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 cant calibrate power settings #194
Comments
Are the calibration settings the only ones that are not being saved? Does the wifi connection work even after a reset, for instance? |
Original comment by Trevor (Bitbucket: nightone, GitHub: Unknown): Yes its only the power settings that are not saving.... when I change MQTT it saves fine, when I change NTP it saves fine. I have uplugged and booted a few times and it comes up with the correct wifi/ntp/mqtt settings.... I have noticed that when I enable API (which i currenlty dont use) I cant get access to the api at all...it says forbidden. eg : http://192.168.1.105/api/relay/0?apikey=XXXXXXXXXXXXX returns forbidden. I am thinking that its maybe SPIFFS related and a file is corupt? PS.... reason I enabled API was to see if i can set the power calibration though the API? |
No, there is currently no way to change the calibration parameters via the API. And the API does not use SPIFFS, actually ESPurna does not use SPIFFS at all. Weird... |
Original comment by Trevor (Bitbucket: nightone, GitHub: Unknown): I will compile from source and reflash the SONOFF POW... will let you know how it goes |
Original comment by Trevor (Bitbucket: nightone, GitHub: Unknown): ...my votage is 240...so I assume I am not breaking some "out of bounds" limit |
Original comment by Trevor (Bitbucket: nightone, GitHub: Unknown): No joy... hate tried the following and the problem persists:
For interest: the values that I am trying to set as per the multimeter are 187w at 240v and 0.779A ? Can I change the code somewhere that the default voltage is 240 not 220? |
Original comment by Trevor (Bitbucket: nightone, GitHub: Unknown): Just rolled back to 1.8.3 and calibration worked first time! |
Web interface was resetting power calibration settings with every request. Introduced with 60e8446. Fixed on dev branch, will be released with 1.9.3. |
Fixed with 1.9.3 |
Removing milestone: 1.9.3 (automated comment) |
Same problem in 1.12.4 again! |
Originally reported by: Trevor (Bitbucket: nightone, GitHub: Unknown)
I have just upgraded from 1.8.3 to 1.9.1 and I can no longer set the calibration of the POWER sensor.... I have the numbers from a mulitimeter and after filling in the values and clicking update I get a popup box that says saved... when I click on status and check MQTT I still get the old values?
The only difference between the two firmware builds is that 1.8.3 i did from the arduino IDE and uploaded though serial... 1.9.1 i cheated a bit and just downloaded your bin file and updated though the web interface.... (it wiped all the settings and I have to reconfigure from scratch)... Would that make a difference to the ability to calibrate the power?
The text was updated successfully, but these errors were encountered: