GithubHelp home page GithubHelp logo

nightrang3r / switcher-v2-python Goto Github PK

View Code? Open in Web Editor NEW
36.0 36.0 13.0 2.06 MB

This script will allow you to completely control the Switcher V2 device on your local network http://www.switcher.co.il/

Python 100.00%

switcher-v2-python's People

Contributors

nightrang3r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

switcher-v2-python's Issues

Switcher Touch different IP in AP mode

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!"

Latest firmware requires only the "device_id"

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.

Switcher Plug

Any plan to support the Switcher Plug?
I鈥檝e tried to use the same script to extract the plug data but with no luck...

Can't discover ip when in different subnet

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?

switcher.py discover command are stuck

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,

Which versions are supported?

Hi.
Considering buying a Switcher, would like to do that only if supported by this repo.

  1. Are both V2 and V3 (touch) supported?
  2. Should I worry about firmware versions?
    I saw that some parameter extractions are hard, but that those parameters are not needed, so I'm confused whether this is a concern or not.

Awesome work 馃帀

Commands not working

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?

砖讗诇讛

讛讗诐 谞讬转谉 诇驻谞讜转 讗诇 讛住讜讜讬爪专 诇讗 诪讛专砖转 讛诇讜拽讗诇讬转 ?
讝讗转 讗讜诪专转 诇讛专讬诐 砖专转 讞讬爪讜谞讬 砖驻讜谞讛 注诇 讛住讜讜讬爪专 讜诪讘爪注 驻注讜诇讜转

转讜讚讛

switcher touch commands not working - Errno 10061

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

Support Switcher V4?

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?.

python script no longer detects Switcher Touch

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

extract not working

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google 鉂わ笍 Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.