I just installed a new TP-Link HS200, configured it to the wi-fi and added it to Home Assistant without a problem.
I want to use Node Red flow to control the switch but it doesn’t show up in entity field of the Node. I’ve noticed an error in the Node Red logs;
TCP 192.168.86.131:9999 Error: connect ECONNREFUSED 192.168.86.131:9999
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1634:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '192.168.86.131',
port: 9999
}
Seems the new switch isn’t authenticating with Node Red.
I’ve restarted Node Red as well as Home assistant without success.
FYI: When adding the new switch, I was prompted to enter my TP-Link (Kasa) user account ID and P/W. I don’t recall doing that when the other 40 some odd devices were added some time ago.
What’s going on here? Why is there an Authentication error in Node Red?