>> Anyhow more searching and it looks like someone has figured it out and
>> ported Tasmota to it, and they call it a BL0937 (first line of text, not
>> second).
>
> Oops. I didn't think of that.
Well, for some reason the data sheet doesn't come up in Google, but here
it is:
<
https://github.com/xoseperez/espurna/files/1861834/BL0937_Datasheet_V1.01.pdf.zip>
or from the manufactorer's site:
<
http://www.belling.com.cn/en/product_info.html?id=138>
A differential input (across a 0.001R resistor), a voltage input, both
connected to ADCs and thence to voltage-to-frequency converters. There
are two frequency outputs, and a selector pin for voltage or current on
one of them. The other frequency indicates power; presumably closer to
instantaneous power whereas the I and V can't be read simultaneously.
That matches the pinout of the HLW8012 also, but the select polarity is
reversed or some such nonsense; the driver writer has worked it out
anyhow, see the thread at <
https://github.com/xoseperez/espurna/issues/737>.
> I don't think so. Looking at the circuitry around the chip, it looks
> like some kind of analog device, not a energy monitor, which usually
> has an SPI bus and talks digital. Googling for BL0937, I find an
> analog current regulator:
> <
https://lcsc.com/product-detail/PMIC-Current-Regulation_BL0937_C94616.html>
> If you zoom into the photo on the above page, it looks exactly like
> your two photos.
Nevertheless that's not it.
Thank you.
Clifford Heath.