Bouni / python-luxtronik

python-luxtronik is a library that allow you to interact with a Luxtronik heatpump controller.
MIT License
37 stars 20 forks source link

Ipaddress.AddressValueError: 4466016928 (>= 2**32) #9

Closed Bouni closed 4 years ago

Bouni commented 4 years ago

Integers are not properly converted to IP adresses. 4466016928 should result in 10.50.2.160 but raises an exception. Subtracting 2**32 from the value shoud fix the issue.

remyderuysscher commented 4 years ago

Thanks!