nightrang3r / switcher-v2-python Goto Github PK
View Code? Open in Web Editor NEWThis script will allow you to completely control the Switcher V2 device on your local network http://www.switcher.co.il/
This script will allow you to completely control the Switcher V2 device on your local network http://www.switcher.co.il/
When trying to Configure Switcher in Access Point Mode the local IP of the device is 192.168.4.1 and not 192.168.1.1
after changing the IP in the script the connection worked
please add this line in the code
elif (( ba.hexlify(data)[0:4] != "fef0" and len(data) != 165 )) or (( addr[0] != "192.168.4.1" )): print "[!] Not a switcher configuration broadcast message!"
Since integration with updated Switcher only requires the device_id, which is relatively easy to extract, is it possible to isolate just the code that extracts the device_id, maybe to a separate project?
It would significantly simplify the work for all new users.
Any plan to support the Switcher Plug?
I鈥檝e tried to use the same script to extract the plug data but with no luck...
Hi,
Thank you for that script, very useful!
My network is divided to multiple subnets, and my my devices (PC, NAS, HA...) and switcher are not on the same subnet.
So when i try to discover my ip of the switcher it doesn't recognise it.
Any chance that you can add an option to the extract that i can provide the ip of the switcher?
Hi,
I have two switcher touch devices. both version number is 1.53.
The discover are stuck on "Waiting for broadcast from Switcher device...(Press CTRL+C to abort)"
I tried to use "Packer capture" app but there are no any communication on port 9957.
someone can help?
Regards,
Hi.
Considering buying a Switcher, would like to do that only if supported by this repo.
Awesome work 馃帀
Hi, I've learned all the parameters (ip, phone_id, device_id and device_pass) using the extract option.
The get status option is working (switcher.py 2), I see the device name and on/off status, so the parameters are probably correct, but when I send commands the device is not doing anything.
I do not get any error from the script, and I see that I get session ID, but the device is not turning on or off.
I see a packet that is sent to the device IP from the PC IP, but it's not working.
I tried on (1), off (0) and on for X minutes (e.g. t5), all with the same result.
Any ideas?
讛讗诐 谞讬转谉 诇驻谞讜转 讗诇 讛住讜讜讬爪专 诇讗 诪讛专砖转 讛诇讜拽讗诇讬转 ?
讝讗转 讗讜诪专转 诇讛专讬诐 砖专转 讞讬爪讜谞讬 砖驻讜谞讛 注诇 讛住讜讜讬爪专 讜诪讘爪注 驻注讜诇讜转
转讜讚讛
Hi,
May you add support for the new switcher smart plug?
I extract the db with android root device and also have packet captures that I can send you by email.
The FW version is 1.41
Thanks,
Dan
I'm using switcher touch with firmware 1.51
discover is working and I'm able to retrieve the device id and the switcher IP.
working from windows 10 and python 2.7. Norton anti virus and firewall are disabled.
all other commands are failing to connect at:
s.connect((switcherIP, 9957))
I'm getting the following error. any idea why?
[!] Something went wrong...
[!] [Errno 10061] No connection could be made because the target machine actively refused it
Hi, any idea why the switcher sends broadcast packets to 255.255.255.255:20002?
Does this code can connect and interact with Switcher V4
devices as well?.
It could be that the calls are the same so did anybody tried to use this code to talk to V4 device?.
Since yesterday, without any changes to the network or host, the python script no longer detects switcher Touch device on the network.
So it is not possible to control the switcher anymore.
Do you know if there was some change from Switcher firmware side recently?
The Switcher Firmware is currently on version 5.15
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
Im running:
C:\Python27\python switcher.py extract
Only getting:
[*] Waiting for broadcast from Switcher device. . .
Stuck on that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google 鉂わ笍 Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.