fishbigger / TapoP100

A module for controlling the TP-Link Tapo P100 Plugs
MIT License
566 stars 138 forks source link

Remote end closed connection without response #120

Open Karbust opened 1 year ago

Karbust commented 1 year ago

Hello,

I started using this project today, I have it running inside a docker container, however I'm getting this error from time to time:

requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

Which will create gaps in the metrics (Yellow line is connected and in use, green line is connected but nothing plugged): image

It happens fairly regularly, the container is running on a raspberry pi on the same network.

Is there anything that can improve this?

I'm using this project to collect the metrics and send them to prometheus, which is using PyP100 to get the metrics from the devices: https://github.com/FergusInLondon/Tapo-P110-Prometheus-Exporter

Thank you