Getting status of TP-Link (Kasa) HS-105 Plug

Hello - I'm trying to get the current status (whether on/off) of the plug using node-red-contrib-tplink but I can't seem to be able to get it. I can control the plug and turn it on/off but I want to check if the plug is on before the flow tries to turn it off. The getInfo command has a bunch of information but it does not appear to have the current state of the plug.

Does anyone know what I might be missing?

Thanks

Figured it out - it's returned in getQuickInfo ->sysInfo as "relay_state" (0 = Off, 1 = On). Hope this helps someone down the line...

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.