Coder Social home page Coder Social logo

ediplug-py's People

Contributors

andreipop2005 avatar crzcrz avatar wendlers 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ediplug-py's Issues

Please provide setup.py

Hi,
it would be great if you could provide a setup.py file to properly install the package: I'm currently doing some experiments on a beaglebone black board with the buildroot distribution.

Thank you in advance
Davide

REST API, where is it?

Hello and thanks for this solution, I wonder if i can migrate your code to android and inlcuded on a app that works with several plugs and IoT devices, the idea is 1 app to rule them all XD.

I am new to python so i cant read the code as i want to but i looks like that you are using an API to send rest calls to the device. Where did you get that API? do you have any documentation i can look for?

Not compatible with firmware 2.08?

Hi,
I'm trying to control my Edimax SP 2101 W (Firmware 2.08 according to Edi life) and I get this error:
Exception: Failed to communicate with SmartPlug
The IP adress, the login and password are right as well...
I used exactly the same code for my SP 1101 and it was working perfectly...
Do you have any idea?
Thanks for your answer

Sample for reading the status of device and change status

Because I'm not into python it was cool if there was an example in that the script will read the status of the device and switch it then to off or on.
So it's possible to use Tasker and Tasker for Pebble to switch a plug's status with only one button.

NameError: global name 'requests' is not defined

I got this error, tested it on smartos (Solaris) and macOS 10.13:

Traceback (most recent call last):
File "smartplug.py", line 658, in
p = SmartPlug(options.host, (options.login, options.password))
File "smartplug.py", line 146, in init
res = requests.head(self.url)
NameError: global name 'requests' is not defined

requests is installed:

pip list

...
...
requests (2.18.4)

Too tired to find the problem :)...

Firmware 3.0

Did anyone try / succeed with firmware version 3.0 which is latest for the SP-2101W V2 devices?

Anyway to change the login / password from the api?

Just bought the EdiPlug 2101W today.
Unfortunately when I got home I've found that the app from Edimax does not work on my phone.

So I have this concern that the network is open:

  1. Can I make it secure?
  2. Is it possible to change the default login admin / 1234 to something else?

Anyway your script saved me life! 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.