mhvis / solar

Retrieve model and status data for Samil Power SolarRiver TL, SolarRiver TL-D and SolarLake TL inverters
MIT License
22 stars 11 forks source link

Gracefully close TCP server and inverter sockets #1

Closed mhvis closed 8 years ago

mhvis commented 8 years ago

The TCP server and additional inverter sockets are left bound to port 1200 when the program is stopped. This should be changed to something which uses the with syntax. (with solar as s: with s.Inverter() as inverter: ...).

mhvis commented 8 years ago

Implemented but not experimentally checked with Wireshark.

mhvis commented 8 years ago

Seems not to work

mhvis commented 8 years ago

Fixed