-
Notifications
You must be signed in to change notification settings - Fork 83
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
Unmarked CB2S monitoring smart plug - looks like a LSPA9 #312
Comments
Despite looking nothing like it, this is a direct match with the As for monitoring, try inverting all 3 pins (sel/cf/cf1) |
Inverting the other pins worked, I still had to tune the voltage_divider value to match my multimeter readings (and just assuming for now that current is close enough with the 1 mOhm resistor setting):
|
After looking, it appears we had other people reporting they also had LSPA9s with BK7231N chips, but we hadn't had a dump. I have renamed the prior BK7231T to include it's version (1.0.3) and added this one as a Tuya Generic LSPA9 Plug v1.1.8 So yes, it appears this model can have either WB2S and CB2S modules inside. Users will have to match their firmware version to get the correct one. |
Hey i get pretty much the same issue, white branded 16A plug, i opened it and it's a CB2S inside, but i'm not able to successfully flash it, first step of flash successfully passed (with1.1.8 - BK7231N / oem_bk7231n_plug (Exploit run, saved device config too!)), but at the end that failed ([!] The profile you selected did not result in a successful exploit.). Thanks for help :) |
If your plug has v1.1.15, then you need to use a profile for v1.1.15. Profiles won't work for non-matching versions. Since there's no profile for v1.1.15 right now, Cloudcutter won't work. And since you've opened it already, you can try dumping the firmware using UART. |
Thanks for answering :) I take out the soldering iron this week end :) |
@zethis see #386 (comment) - 1.1.15 apparently is unexploitable. That means that serial flashing is your only option. |
Correct, 1.1.15 for plugs is patched and serial is your only option. |
2023-03-09_23-57-04_lightleak.zip
tuya-generic-lspa9-smart-plug.json
device to use theoem-bk7231n-plug-1.1.8-sdk-2.3.1-40.00.json
profile, but that didn't work for flashingoem-bk7231n-plug-1.1.8-sdk-2.3.1-40.00.json
I couldn't get the damn thing open, so I found this teardown video, but it looks it's glued so tight there's no chance (non-destructively): https://www.youtube.com/watch?v=mG4bAAHluMU
It also seems like the same device as https://zry.io/archives/799 which is an Elivco LSPA9 (potentially related issue: tuya-cloudcutter/lightleak#1).
Edit: not sure monitoring actually works correctly... too late to keep testing today thought
I edited their ESPHome config back from the ESP-12F they used to the CB2S pinout without much thought and everything (so the relay and monitoring power, voltage, current, energy) worked immediately after the first flash with cloudcutter! I don't know where the best place would be to post this, but I'll leave my config here for now just in case:
The text was updated successfully, but these errors were encountered: