TypeError: Cannot set property 'callback' of undefined

self is instantiated with this, which is undefined. getVolume interval is also running when you haven't configured an IP address yet.