apatsufas / homebridge-tapo-p100

Homebridge TP-LINK Tapo P100 Platform Plugin
Apache License 2.0
64 stars 14 forks source link

command? #44

Open sudoWalker opened 1 year ago

sudoWalker commented 1 year ago

Describe Your Problem: Is it possible to trigger my tapo p110 with a curl command? Switching on/off in the homebridge UI is working. Logs:

Plugin Config:

{
    "name": "Tapo P110",
    "username": "walkerwhite@outlook.de",
    "password": "Passw0rd",
    "devices": [
        {
            "name": "TapoP110",
            "host": "192.168.178.42",
            "type": "Plug",
            "updateInterval": 30,
            "timeout": 2
        }
    ],
    "platform": "TapoP100"
}

Screenshots:

Environment: Homebridge-IP= http://192.168.178.100:8581/ no docker

apatsufas commented 10 months ago

@dukeluke not with an simple curl command. You would need to authenticate first in order to create the key pair needed for encrypting the request payload before using curl to talk to the REST API.