updated pilight.py to find host IP address to bind
code cleanup
Merge branch 'develop' of https://github.com/Kryten0807/pilight into develop