This breaks for me now https://gist.github.com/petteraas/e9ac89ab1f2a80b4a0de it works when I move it back as a method under the class Events with 'self' param, and call it as self.__get_local_ip(), but yes, then pylint complains about it being a method. 

Should it really be under Events at all? perhaps it fits better into soco/core.py or a entirely separate helper class?