Added disconnect method - to stop the reader thread and to exit cleanly
Counter packets are logged on debug level (as in the async version)
NoSocketAvailable is raised if the reader thread is not active (the connection can be and it is closed by the data logger periodically and on inactivity by the client).
The main functionality of PySolarmanV5 remains unchanged. Should fix #19 and #32 , or at least partially as there is no auto-reconnect at the moment and NoSocketAvailable will be raised sooner or later.
The main functionality of PySolarmanV5 remains unchanged. Should fix #19 and #32 ,
or at least partially as there is no auto-reconnect at the moment and NoSocketAvailable will be raised sooner or later.