bugfix: Device init self argument
bugfixes: wrong variable name for accessing ipaddr when creating a socket