I recently purchased a QCNX Plug because I thought they had an ESP chip, to find that they are using a BK7231N
Since I already had the UART interface soldered (trying to flash Tasmota and failing on the process), I checked the chip and found the BK7231N inscription so I downloaded the OpenBK firmware flashing firmware and decided to flash it.
And it flashed well.
Now I have configured it via MQTT with my HA installation, and it also works well.
Driver active says its BL0937
I copied the Pin settings for a similar device (Aubess Smart Plug LSPA9)
"pins": {
"6": "BL0937CF1;0",
"7": "BL0937CF;0",
"8": "LED_n;1",
"23": "Btn;1",
"24": "BL0937SEL;0",
"26": "Rel;1"
},
It also could be a ELIVCO LSPA9, which has the Button on Pin 10 instead of 23.
But I'm not sure if they are right. According to the Tasmota docs from Blakadder, these are the pins (at least for the ESP version, BASE 18)
{"NAME":"QNCX","GPIO":[0,0,0,32,2720,2656,0,0,2624,320,224,0,0,0],"FLAG":0,"BASE":18}
But here I find that this use a BASE28
My question:
How can I discover which is the right pin for each component:
- BL0937CF1
- BL0937CF
- LED
- Button
- BL0937SEL
- Relay
Note that the power meter is not reporting
Button in PIN 10 and LED in PIN 8 seem to be working though.
I'm not sure what are the CF1, CF and SEL, and also REL
I understand that CF1, CF and SEL are for the power metering and the REL is the relay for on/off capabilities through the web interface, so the REL seems to be also working
Then the only PINs I have not identified are CF1, CF and SEL in case they are the ones related to power metering as I say because I have this connected to a 800W device, and it doesn't report power.
Since I already had the UART interface soldered (trying to flash Tasmota and failing on the process), I checked the chip and found the BK7231N inscription so I downloaded the OpenBK firmware flashing firmware and decided to flash it.
![[BK7231N] QCNX Plug with Smartmeter: ESP Chip, MQTT, Tasmota, OpenBK Firmware & Pin Settings [BK7231N] QCNX Plug with Smartmeter: ESP Chip, MQTT, Tasmota, OpenBK Firmware & Pin Settings](https://obrazki.elektroda.pl/4297717300_1680080382_thumb.jpg)
And it flashed well.
Now I have configured it via MQTT with my HA installation, and it also works well.
Driver active says its BL0937
I copied the Pin settings for a similar device (Aubess Smart Plug LSPA9)
"pins": {
"6": "BL0937CF1;0",
"7": "BL0937CF;0",
"8": "LED_n;1",
"23": "Btn;1",
"24": "BL0937SEL;0",
"26": "Rel;1"
},
![[BK7231N] QCNX Plug with Smartmeter: ESP Chip, MQTT, Tasmota, OpenBK Firmware & Pin Settings [BK7231N] QCNX Plug with Smartmeter: ESP Chip, MQTT, Tasmota, OpenBK Firmware & Pin Settings](https://obrazki.elektroda.pl/8799033900_1680080297_thumb.jpg)
It also could be a ELIVCO LSPA9, which has the Button on Pin 10 instead of 23.
But I'm not sure if they are right. According to the Tasmota docs from Blakadder, these are the pins (at least for the ESP version, BASE 18)
{"NAME":"QNCX","GPIO":[0,0,0,32,2720,2656,0,0,2624,320,224,0,0,0],"FLAG":0,"BASE":18}
![[BK7231N] QCNX Plug with Smartmeter: ESP Chip, MQTT, Tasmota, OpenBK Firmware & Pin Settings [BK7231N] QCNX Plug with Smartmeter: ESP Chip, MQTT, Tasmota, OpenBK Firmware & Pin Settings](https://obrazki.elektroda.pl/8975932800_1680080315_thumb.jpg)
But here I find that this use a BASE28
My question:
How can I discover which is the right pin for each component:
- BL0937CF1
- BL0937CF
- LED
- Button
- BL0937SEL
- Relay
Note that the power meter is not reporting
![[BK7231N] QCNX Plug with Smartmeter: ESP Chip, MQTT, Tasmota, OpenBK Firmware & Pin Settings [BK7231N] QCNX Plug with Smartmeter: ESP Chip, MQTT, Tasmota, OpenBK Firmware & Pin Settings](https://obrazki.elektroda.pl/8039494400_1680081083_thumb.jpg)
Button in PIN 10 and LED in PIN 8 seem to be working though.
I'm not sure what are the CF1, CF and SEL, and also REL
I understand that CF1, CF and SEL are for the power metering and the REL is the relay for on/off capabilities through the web interface, so the REL seems to be also working
Then the only PINs I have not identified are CF1, CF and SEL in case they are the ones related to power metering as I say because I have this connected to a 800W device, and it doesn't report power.