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

Blitzwolf BW-SHP6 new pin for HLW8012_CF1_PIN? #2206

Closed
oscarsan1 opened this issue Apr 2, 2020 · 1 comment
Closed

Blitzwolf BW-SHP6 new pin for HLW8012_CF1_PIN? #2206

oscarsan1 opened this issue Apr 2, 2020 · 1 comment

Comments

@oscarsan1
Copy link

Hi,
I just bought a SHP6 and I have to change the HLW8012_CF1_PIN from 14 to 4 in order to get information for V and I.
I use BLITZWOLF_BWSHPX model in hardware.h
I don't know if it is a bug or a new version of SHP6.
After this change and calibration of V, I and P the measurements are correct.
Before calibration V was 270v instead 236v, and power was about 15% bigger thar real power.

@mcspr
Copy link
Collaborator

mcspr commented Apr 26, 2020

See

sensor->setSEL(getSetting("snsHlw8012SelGPIO", HLW8012_SEL_PIN));
sensor->setCF(getSetting("snsHlw8012CfGPIO", HLW8012_CF_PIN));
sensor->setCF1(getSetting("snsHlw8012Cf1GPIO", HLW8012_CF1_PIN));

You can set the runtime setting instead of rebuilding.

SHP-6 was mentioned here previously: #1998

@mcspr mcspr closed this as completed Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants