-
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
How is POW calibration working? #223
Comments
Just had a quick look in source - I think the answer is: The default scaling value is So, if sonoff is reporting 220v for an actual 235 the scaling would therefore be (1950*235/22) that answers to 2082. And yes, it would be great to start a page on the wiki |
Thanks @khcnz , it's a good hint. |
@jdpiguet yes feel free to update the wiki with your valued information. I've updated the wiki too with default and (future - released in next version) minimum values. To prevent further exceptions I'll update the minimal values for |
4.0.7 20170319 * Increased Sonoff Led PWM frequency from 432 to 1000 * Fix possible watch dog reboot after changing module type on web page * Fix reporting of GPIO usage from web page * Fix Sonoff Led blank during firmware upgrade * Fix Sonoff Led flicker and possible flash corruption by using latest Arduino-esp8266 versions * of pwm core files included in sonoff library (#211) * Add PWM output control with commands PWM1 to PWM5 using user selectable GPIOs (#211) * Fix exceptions due to low values of commands HlwPCal (10000), HlwUCal (1000) and HlwICal (2500) (#223) * Add Switch state to sensor status (#227, #233) * Add user configuarble GPIO to module Sonoff Touch (#228) * Add define WEB_PORT to user_config.h to change default web server port from 80 (#232) * Fix failed Ota Firmware upgrade started from Web page (#235)
4.0.7 20170319 * Increased Sonoff Led PWM frequency from 432 to 1000 * Fix possible watch dog reboot after changing module type on web page * Fix reporting of GPIO usage from web page * Fix Sonoff Led blank during firmware upgrade * Fix Sonoff Led flicker and possible flash corruption by using latest Arduino-esp8266 versions * of pwm core files included in sonoff library (arendst#211) * Add PWM output control with commands PWM1 to PWM5 using user selectable GPIOs (arendst#211) * Fix exceptions due to low values of commands HlwPCal (10000), HlwUCal (1000) and HlwICal (2500) (arendst#223) * Add Switch state to sensor status (arendst#227, arendst#233) * Add user configuarble GPIO to module Sonoff Touch (arendst#228) * Add define WEB_PORT to user_config.h to change default web server port from 80 (arendst#232) * Fix failed Ota Firmware upgrade started from Web page (arendst#235)
Hi all,
I'm using Tasmota rev. 4.0.6
I have read the wiki about the POW calibration.
The indicated voltage was 220 Volts, the measured one (multimeter) was 235.
I have send the command:
mosquitto_pub -h domoticz.lan -i testPublish -t cmnd/powe8a718/HlwUcal, -m '10'
Now the console log is showing:tele/powe8a718/INFO3 {"Started":"Fatal exception:0 flag:2 (EXCEPTION) epc1:0x40107345 epc2:0x00000000 epc3:0x00000000 excvaddr:0x00000000 depc:0x000
What should be the value for the HlwUcal in my case?
How to calculate the other calibration values?
Is it possible to reset the configuration to "factory defaults"?
Regards, Jacques-D.
PS1: After try and test I have use the value "2050" which gives now a voltage value near the measured one (< 1 Volt difference), but to get it by calculation?
PS2: @arendst if you need I could help updating the wiki...
The text was updated successfully, but these errors were encountered: