dnpwwo / Domoticz-Pinger-Plugin

Python plugin that pings and shows response times for network devices
MIT License
4 stars 1 forks source link

Fix administration of icmpConn #3

Closed caspermeijn closed 4 years ago

caspermeijn commented 4 years ago

This fixes the previous commit dae945c. icmpConn was not set to None, which means onHeartbeat will mark the device as off and close the connection twice. This fixes that administration by clearing icmpConn after closing the connection.