caseyjhol / node-red-contrib-tplink

A collection of Node-RED nodes for TP-Link Smart Home devices
https://www.npmjs.com/package/node-red-contrib-tplink-iot
MIT License
16 stars 15 forks source link

Kasa node repeated error in debug log #43

Open rakgupta opened 3 years ago

rakgupta commented 3 years ago

I am seeing repeated errors in the debug log - "Polling error for 192.168.1.128: Error: TCP Socket Closed. segment:0 hadError:false". The node(s) and the device respond correctly and I can turn the plug on/off.

This is the only TP-Link device that I have and it is an HS-105 (Kasa Smart Wi-Fi Plug Mini).

To Reproduce I just installed the plug and was testing it - not sure why the error is being generated or how to replicate.

Expected behavior Debug log should be clean

Screenshots If applicable, add screenshots to help explain your problem

Screen Shot 2020-10-06 at 2 31 36 PM

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

hufftheweevil commented 3 years ago

That should only be displayed if Debug is selected in the config. In my experience, polling errors don't usually hamper control of the device. They do happen occasionally, sometimes in quick succession, but nothing to worry about. If it does become a problem affecting control, increase the poll intervals.