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

extract not working #3

Open
stepanov1975 opened this issue Apr 5, 2019 · 29 comments

Comments

@stepanov1975
Copy link

@stepanov1975 stepanov1975 commented Apr 5, 2019

Hi,

I have switcher v2 firmware 3.0
discover option works fine but extract option doesn't work
I am getting
[] Waiting for broadcast from Switcher device...
[
] Sending Login Packet to Switcher...
[+] Received SessionID: 00000000

Then the next stage fails with
[+] Press the "Enter" key to continue...
[*] Waiting for a valid Phone ID Packet...
[!] Failed to get data, Please try again!

Thank you

@danielbenzvi

This comment has been minimized.

Copy link

@danielbenzvi danielbenzvi commented Apr 11, 2019

I'm seeing the same issue here

@NightRang3r

This comment has been minimized.

Copy link
Owner

@NightRang3r NightRang3r commented Apr 11, 2019

I can’t debug the issue without an updated device, If one of you would like to give me remote access I can take a look and try to understand what was changed

@danielbenzvi

This comment has been minimized.

Copy link

@danielbenzvi danielbenzvi commented Apr 11, 2019

Sure. What do you need?

@NightRang3r

This comment has been minimized.

Copy link
Owner

@NightRang3r NightRang3r commented Apr 11, 2019

@danielbenzvi I need a team viewer session to a pc on the same network with the switcher device and the script so i can see the problem.

@stepanov1975

This comment has been minimized.

Copy link
Author

@stepanov1975 stepanov1975 commented Apr 11, 2019

Can do tomorrow let say 21:00 Israel time. But can't you update yours?:)

@NightRang3r

This comment has been minimized.

Copy link
Owner

@NightRang3r NightRang3r commented Apr 11, 2019

@stepanov1975 No, I don't want to lose control, in case that the company made changes that prevents external operation in this firmware.

I'm not sure about tomorrow but Ping me tomorrow at 21:00 anyway maybe I'll be available.

@stepanov1975

This comment has been minimized.

Copy link
Author

@stepanov1975 stepanov1975 commented Apr 11, 2019

ok

@dmatik

This comment has been minimized.

Copy link

@dmatik dmatik commented Apr 12, 2019

Hi,
I'm having the same issue, however, when I first bought the device it was on earlier version of the firmware and was able to successfully extract the data. Later on I have updated the firmware and yet I still was able to turn on and off the device from HA with the same data.
Today I had to reconnect the device from scratch to the Router and since then I have no control and not able to extract the data for the same reason explained above.
So this means that they did not close it completely, as I was still able to control until I have reset it.

@NightRang3r

This comment has been minimized.

Copy link
Owner

@NightRang3r NightRang3r commented Apr 12, 2019

@dmatik Thank you for the update, We are invesigating the issue, Hope we will be able to resolve it.

@dmatik

This comment has been minimized.

Copy link

@dmatik dmatik commented Apr 12, 2019

You can totally use my help if you need to connect to my device or let me know if I can check some logs and test changes you do.
Seem like the script is not getting the session id

@NightRang3r

This comment has been minimized.

Copy link
Owner

@NightRang3r NightRang3r commented Apr 12, 2019

@dmatik Thanks man, I will need help, I have the device and development boards but I don’t have the option to upgrade to the latest firmware mine still shows version 71.0 as the latest version.

I will let you know when I need assistance

@stepanov1975

This comment has been minimized.

Copy link
Author

@stepanov1975 stepanov1975 commented Apr 12, 2019

i am ready

@stepanov1975

This comment has been minimized.

Copy link
Author

@stepanov1975 stepanov1975 commented Apr 19, 2019

So what happens?

@stepanov1975

This comment has been minimized.

Copy link
Author

@stepanov1975 stepanov1975 commented Apr 24, 2019

Still waiting ;)
Before I am throwing out my Switcher and replacing by something I will be able to control :)

@BuSHari

This comment has been minimized.

Copy link

@BuSHari BuSHari commented May 2, 2019

I have the same problem, im using the Switch V3, i had that issue also on the V2

@BuSHari

This comment has been minimized.

Copy link

@BuSHari BuSHari commented May 18, 2019

is there any update regarding the issue?

@stepanov1975

This comment has been minimized.

Copy link
Author

@stepanov1975 stepanov1975 commented May 22, 2019

Update from my side. I will order this https://www.aliexpress.com/item/32984039564.html and flash it with tasmota. This will solve all my problems. Anyone want my switcher for half price?:)

@BuSHari

This comment has been minimized.

Copy link

@BuSHari BuSHari commented Jun 10, 2019

I've succeeded to retrieve the credentials of my switcher through the sqlite db.
I can see the state of the device through the script but i cant change the state and i dont get any error.
from the script everything looks fine, but it cant change anything in the switcher itself.

@dmatik

This comment has been minimized.

Copy link

@dmatik dmatik commented Jun 10, 2019

Try to retrieve the details again
The pass is wrong, that happens.
Try to add 1 to last digit of the pass

@BuSHari

This comment has been minimized.

Copy link

@BuSHari BuSHari commented Jun 10, 2019

Do i need to increase by one 1 or add another digit 1?
do i do that before or after the hex converting?

@BuSHari

This comment has been minimized.

Copy link

@BuSHari BuSHari commented Jun 10, 2019

I've succeeded!
it was my mistake i didnt saw that i need to retrieve the pass in binary mode...

so the only problem is with the Extract script

@galzil

This comment has been minimized.

Copy link

@galzil galzil commented Jun 12, 2019

Did you try adding the phone_id = "0000" when running it?
python extractV3.py 0000

@BuSHari

This comment has been minimized.

Copy link

@BuSHari BuSHari commented Jun 12, 2019

@galzil Yes i tried that, its not working

@chu11u

This comment has been minimized.

Copy link

@chu11u chu11u commented Jun 16, 2019

Update from my side. I will order this https://www.aliexpress.com/item/32984039564.html and flash it with tasmota. This will solve all my problems. Anyone want my switcher for half price?:)

Have you managed to flash the touch switch with tasmota?

@stepanov1975

This comment has been minimized.

Copy link
Author

@stepanov1975 stepanov1975 commented Jun 16, 2019

Update from my side. I will order this https://www.aliexpress.com/item/32984039564.html and flash it with tasmota. This will solve all my problems. Anyone want my switcher for half price?:)

Have you managed to flash the touch switch with tasmota?

Yes. Using tuya converter.

@chu11u

This comment has been minimized.

Copy link

@chu11u chu11u commented Jun 17, 2019

Great! thanks! do you know if the device can do power metering using the Tasmota code?

@naor1

This comment has been minimized.

Copy link

@naor1 naor1 commented Oct 8, 2019

Hi,

There is any update about this issue? still unable to extract data.

Thanks.

@macguru341

This comment has been minimized.

Copy link

@macguru341 macguru341 commented Oct 8, 2019

Me too in same situation, I can’t extract the switcher info for using it with home Assistant.
I really hope it will be fixed as this is the only device I have that isn’t connect to my smart home.
How the developer find a solution.
I have the switcher touch with version 1.51

@stepanov1975

This comment has been minimized.

Copy link
Author

@stepanov1975 stepanov1975 commented Oct 9, 2019

I don't think this code supported anymore. For now, AFAIK, the best solution if you want connection to HA is Selly1PM. Rated 16A and power metering. MQTT out of the box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
9 participants
You can’t perform that action at this time.