Moved the ip from member variable to db variable.
Ohops. Forgot to connect discovery signal to device tracker's device tracking, no wonder devices disappeared after one hour (disco thread sends one by default when starting).