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

Background and compatibility #2

Open
vswee opened this issue Oct 30, 2017 · 1 comment
Open

Background and compatibility #2

vswee opened this issue Oct 30, 2017 · 1 comment

Comments

@vswee
Copy link

vswee commented Oct 30, 2017

@suborb

Your git is very comprehensive and offers a lot of insight into the way these generic wifi outlets work.
I've not had much luck trying your methods on a Peralng Wifi Plug (US-type) - My only clue that corresponds to your guide is the single open port 7681 on the device.

I am particularly interested in the method you used to derive all the information on your README. It may help me to figure out a similar interfacing method for my kit.

Great work.

Cheers.

@suborb
Copy link
Owner

suborb commented Oct 30, 2017

Thanks. I normally start off by sniffing using tcpdump on my wifi router - capturing the traffic and seeing what it looks like. After that it depends on the protocol, but dedex/jadx is usually very handy.

If it is the same protocol then you can capture the strings from the dump and feed them into the decode option of the hfswitch.py program to find out what the commands are.

Having said that, I don't think this plug does support the same protocol. It may be susceptible to replaying commands which will allow you some degree of control.

It does look like the same case as the Sonoff switches so you might be able to solder some headers on and flash an open source firmware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants