Code Monkey home page Code Monkey logo

Comments (8)

cocohub avatar cocohub commented on September 18, 2024

Have you tried: python tplink-smartplug.py –t "10.0.0.127" –c "on"

from tplink-smartplug.

ChopOMatic avatar ChopOMatic commented on September 18, 2024

I've tried several commands, but not specifically "on." I've tried with and without quotes.

from tplink-smartplug.

cocohub avatar cocohub commented on September 18, 2024

I'm not quite sure what might be the issue, maybe it could be that your dash looks like "–" while my keyboard's dash looks like "-", so incorrect dash maybe? Try this: python tplink-smartplug.py -t 10.0.0.127 -c on

If that doesn't work, maybe you're target is incorrect? For example my smart plug's ip on the network is 192.168.0.28. You can find it if you connect to your router on 192.168.0.1. Try that and see if it helps.

from tplink-smartplug.

ChopOMatic avatar ChopOMatic commented on September 18, 2024

Standard hyphen to the right of the "0" key up top, no shift.

I'm positive on the IP address. In fact, I've tried it with two different of these switches, with and without prefacing the command with 'python.' Same error every time.

BTW, Kasa controls them fine. They respond to pings. Even the TP-Link module in Home Assistant controls them without a hitch.

Big thx for responding. I appreciate it.

from tplink-smartplug.

cocohub avatar cocohub commented on September 18, 2024

Ok. It's cool man!

Have you changed the code or something?

from tplink-smartplug.

ChopOMatic avatar ChopOMatic commented on September 18, 2024

Nope, using it exactly as downloaded from here. :(

from tplink-smartplug.

cocohub avatar cocohub commented on September 18, 2024

Which version of python are you using and which OS do you have?

from tplink-smartplug.

ChopOMatic avatar ChopOMatic commented on September 18, 2024

Win10-64, Python 2.7

from tplink-smartplug.

Related Issues (20)

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.