Please use following page to obfuscate your login information if you use this outside your network;
https://www.javascriptobfuscator.com/Javascript-Obfuscator.aspx
Paste following code and generate;
var socket = io.connect('http://IP.ADDRESS.PIMATIC:8080/?username=USERNAME&password=PASSWORD', {
reconnection: true,
reconnectionDelay: 1000,
reconnectionDelayMax: 3000,
timeout: 20000,
forceNew: true
});
That will result in;
var _0xbe51=["\x68\x74\x74\x70\x3A\x2F\x2F\x38\x32\x2E\x37\x35\x2E\x38\x35\x2E\x35\x30\x3A\x38\x30\x38\x30\x2F\x3F\x75\x73\x65\x72\x6E\x61\x6D\x65\x3D\x55\x53\x45\x52\x4E\x41\x4D\x45\x26\x70\x61\x73\x73\x77\x6F\x72\x64\x3D\x50\x41\x53\x53\x57\x4F\x52\x44","\x63\x6F\x6E\x6E\x65\x63\x74"];var socket=io[_0xbe51[1]](_0xbe51[0],{reconnection:true,reconnectionDelay:1000,reconnectionDelayMax:3000,timeout:20000,forceNew:true})
Copy, paste, save, secured(mostly).