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

Elvica LSPA9 support #1

Open
dj-fiorex opened this issue Dec 6, 2022 · 11 comments
Open

Elvica LSPA9 support #1

dj-fiorex opened this issue Dec 6, 2022 · 11 comments
Labels
bug Something isn't working question Further information is requested

Comments

@dj-fiorex
Copy link

Hell, i have a pair of cheap smart plug Elivca LSPA9 that seems based on BK7231S, i tried to install the app but i was only T and S version on the chip, i tried the first 10 profiles but the app seems stuck at Wait for CustomerAP termination and then gives an error "Timed out while scanning for SSID "LightleadIdle"". What can i do?
Thanks!

@kuba2k2
Copy link
Member

kuba2k2 commented Dec 7, 2022

How do you know they're based on BK7231S? Did you read the marking on the chip?

@dj-fiorex
Copy link
Author

dj-fiorex commented Dec 7, 2022

Yes, not me
https://zry.io/archives/799
I would like to install also cloudcutter
Please i need some help thanks

@kuba2k2
Copy link
Member

kuba2k2 commented Dec 7, 2022

The post you linked shows CB2S, which is BK7231N, not S. I have the same plug that is based on BK7231T, so you never know which one you have.

Try the "Lightleak - BK7231T" or N profiles; other profiles won't work anyway. Also, this is a pretty advanced method currently, so if you're not sure what you're doing, try cloudcutter first. It might already have a matching profile. Please read the instructions here.

@dj-fiorex
Copy link
Author

I'm a software engineer and i work daily with this type of microcontroller, this is why i want to use lightleak before using cloudcutter to help with a device dump.
I tried LightLeak T and N on the app, but it stops with this error: "Timed out while scanning for SSID "LightleakIdle"".

@kuba2k2
Copy link
Member

kuba2k2 commented Dec 7, 2022

Post the screenshot of the error, along with last successful lines in the log window above. If your device connected to the Lightleak CustomAP, you can try choosing state "Configured to join CustomAP" in the dialog at the start.

Also, pair the device with TuyaSmart/SmartLife and check its firmware version. This will help to determine if it's BK7231N or T. Then you can choose the correct Lightleak profile in the app.

@dj-fiorex
Copy link
Author

This is the screenshot
Screenshot_20221207_121729_Cloudcutter.jpg

@dj-fiorex
Copy link
Author

dj-fiorex commented Dec 7, 2022

My smart plug is in freezed state right now

Same error with the other two scripts

@kuba2k2
Copy link
Member

kuba2k2 commented Dec 7, 2022

What does it mean "in freezed state"? The app didn't run any exploit yet, so how can it be frozen?

What device are you using for customAP? Is it close enough to the smart plug?

@dj-fiorex
Copy link
Author

dj-fiorex commented Dec 7, 2022

Update:
Tried again with the T scripts and this time the error is different
Screenshot_20221207_124929_Cloudcutter.jpg
Of course same hardware, an esp32 that is really close to the smart plug

@dj-fiorex dj-fiorex changed the title Profiles for BK7231S ? Elvica LSPA9 support Dec 7, 2022
@dj-fiorex
Copy link
Author

What does it mean "in freezed state"? The app didn't run any exploit yet, so how can it be frozen?

You are right, it was not freezed.

What device are you using for customAP? Is it close enough to the smart plug?

When the app can't connect to LightLeakIdle i can see the network

@kuba2k2
Copy link
Member

kuba2k2 commented Dec 7, 2022

So the BK7231T profile you tried did freeze the device. Then you need to try the BK7231N profile and hopefully make it complete the "waiting for CustomAP termination" step. (as you see on the last screenshot, it does work sometimes)
Sometimes it helps to turn WiFi off and on, when it's "waiting for CustomAP termination".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants