[TapoControl] - Control Tapo Smart WiFi-Devices with Openhab - Official Support Thread

It’s not necesarry to forward port to your local tapo-device.
Device must just be reachable from your obenhab server which should be in the same local network. Let Port in setting to port 80

Edit:
Okay i didn’t see that youre trying to use a openhab-server in a cloud to acces to your local network… Puuuh strange configuration. Most people use openhab so devices won’t talk to a cloud :stuck_out_tongue:
Binding is checking if device is online with InetAdress.isReachable() which may fail with this constellation. So i think it will not work as you want.

Hi Chris,
Appreciate your answer!
Yeah, this is kind of unusual case, but this is what I need - to remotely control if my device is online or offline (as we have systematically electricity outages and I need to control my UPS system). I have tried to use IFTTT but it just detects if on/off triggered, so I found openhab as a solution after that. Do you have any idea on your mind how I can achive my goal?
P.S. as I temporary solution I’ve set up cron to send requests to my smart-plug once per minute and if it gets 200 - we are fine, otherwise send Telegram message about electricity outage

Why not use the network binding and configure a ping device. Then you can check in a rule when it is marked offline.

In the other hand, what do you mean with „have to control my UPS“ ?
You could integrate it in openHAB and see if mains power is online or if running on battery.

Oh, this is interesting, thank you! I didn’t know about that feature, so did a similar but custom one :smiley:
I have UPS system (car battery and inverter connected) that I control manually for my flat. And I need to know when electricity has been restored, so I switch it back to use central electricity and recharge my battery.

Hi so fare everything is working by me, but i want to define the things in a file, but i dont know the syntax for devices on the hub. How i set the device ID of the T110 correctly in the thing file?

Bridge tapocontrol:bridge:tapoCloud     "Tapo Cloud"            [ username="xxx@xxx.net", password="xxxxxxxx", cloudDiscovery=true, udpDiscovery=true, pollingInterval=60, broadcastAddress="192.168.200.255" ] {
    Bridge H100 tapoHub                 "Tapo Hub"              [ ipAddress="192.168.200.67", pollingInterval=30, protocol="KLAP", backgroundDiscovery=true ] {
        Thing T110 contactWindow        "Contact Window"        [ deviceId="802EEAB8CFC5ED480E260EE1ABB332F221D9B1C6"]
     }
    Thing P110 plugMaster               "Plug Master"           [ ipAddress="192.168.200.60", pollingInterval=10, protocol="KLAP" ]
    Thing P100 plugLight            "Plug Light"       [ ipAddress="192.168.200.61", pollingInterval=10, protocol="KLAP" ]
}

What is the process for requesting support for new Tapo devices?

I honestly which we could just control the kasa device with the tapo binding since all kasa device are now in tapo apps. All new kasa device don’t even use the old way of communication from Kasa, they use the tapo communication layer with username/password and such. Which also scare me cause it seems they won’t work without internet

1 Like