Hi @Syrius
Thanks for doing a fine step to step instruction
It has taken me a while to get into this and I’ve tried almost everything discussed in the discussion - still I’m running into some troubles stopping me from getting this right.
Kind regards
Morten
When I’m trying to get the map I’m getting the following output to the log - this is an improvement after I disabled the iRobot Roomba and Braava integration, but I cannot see what causes the problem. The BLID and Password are the same used for connecting through the integration, so that should be in order:
Configuration:
nginx part:
NGINX_WEBROOT: /config/vacuum
Rest980:
BLID: iRobot-36414DD9835444168243407EE03603A0
PASSWORD: 1:1578504700:aDSFkZ27ca3vWQ6k
ROBOT_IP: 192.168.1.53
FIRMWARE_VERSION: 2
Log from running the robot: first with the iRobot integration turned on - it seems to work, but I get an empty log file then with integration turned of - the error occurs
…
GET /api/local/info/state 200 102.032 ms - 2
GET /api/local/info/state 200 105.332 ms - 2
GET /api/local/info/state 200 102.934 ms - 2
GET /api/local/info/state 200 102.159 ms - 2
GET /api/local/info/state 200 102.101 ms - 2
GET /api/local/info/state 200 105.762 ms - 2
GET /api/local/info/state 200 100.585 ms - 2
GET /api/local/info/state 200 101.609 ms - 2
GET /api/local/info/state 200 101.898 ms - 2
GET /api/local/info/state 200 107.285 ms - 2
GET /api/local/info/state 200 101.914 ms - 2
GET /api/local/info/state 200 102.297 ms - 2
GET /api/local/info/state 200 101.826 ms - 2
GET /api/local/info/state 200 118.384 ms - 2
GET /api/local/info/state 200 101.141 ms - 2
GET /api/local/info/state 200 101.647 ms - 2
GET /api/local/info/state 200 129.996 ms - 2
GET /api/local/info/state 200 101.673 ms - 2
GET /api/local/info/state 200 111.283 ms - 2
GET /api/local/info/state 200 101.971 ms - 2
GET /api/local/info/state 200 101.606 ms - 2
GET /api/local/info/state 200 100.841 ms - 2
GET /api/local/info/state 200 102.153 ms - 2
GET /api/local/info/state 200 101.354 ms - 2
GET /api/local/info/state 200 102.007 ms - 2
GET /api/local/info/state 200 102.912 ms - 2
GET /api/local/info/state 200 108.148 ms - 2
GET /api/local/info/state 200 103.050 ms - 2
GET /api/local/info/state 200 100.987 ms - 2
GET /api/local/info/state 200 102.211 ms - 2
GET /api/local/info/state 200 101.748 ms - 2
GET /api/local/info/state 200 103.804 ms - 2
GET /api/local/info/state 200 102.009 ms - 2
GET /api/local/info/state 200 101.531 ms - 2
GET /api/local/info/state 200 101.979 ms - 2
GET /api/local/info/state 200 101.384 ms - 2
GET /api/local/info/state 200 101.764 ms - 2
GET /api/local/info/state 200 103.127 ms - 2
GET /api/local/info/state 200 101.833 ms - 2
GET /api/local/info/state 200 101.592 ms - 2
GET /api/local/info/state 200 101.839 ms - 2
GET /api/local/info/state 200 101.682 ms - 2
GET /api/local/info/state 200 102.470 ms - 2
GET /api/local/info/state 200 104.912 ms - 2
GET /api/local/info/state 200 101.771 ms - 2
GET /api/local/info/state 200 106.288 ms - 2
GET /api/local/info/state 200 101.948 ms - 2
GET /api/local/info/state 200 102.266 ms - 2
GET /api/local/info/state 200 102.789 ms - 2
GET /api/local/info/state 304 117.520 ms - -
GET /favicon.ico 200 28.780 ms - 15406
GET /api/local/info/state 200 102.210 ms - 2
GET /api/local/info/state 200 103.092 ms - 2
GET /api/local/info/state 200 102.350 ms - 2
GET /api/local/info/state 200 102.332 ms - 2
GET /api/local/info/state 200 101.856 ms - 2
GET /api/local/info/state 200 100.760 ms - 2
GET /api/local/info/state 200 101.676 ms - 2
GET /api/local/info/state 200 101.792 ms - 2
“— the following occurs after I remove the iRobot integration —”
/usr/src/app/node_modules/dorita980/lib/v2/local.js:33
throw e;
^
Error: Connection refused: Identifier rejected
at MqttClient._handleConnack (/usr/src/app/node_modules/mqtt/lib/client.js:920:15)
at MqttClient._handlePacket (/usr/src/app/node_modules/mqtt/lib/client.js:350:12)
at work (/usr/src/app/node_modules/mqtt/lib/client.js:292:12)
at Writable.writable._write (/usr/src/app/node_modules/mqtt/lib/client.js:302:5)
at doWrite (/usr/src/app/node_modules/readable-stream/lib/_stream_writable.js:428:64)
at writeOrBuffer (/usr/src/app/node_modules/readable-stream/lib/_stream_writable.js:417:5)
at Writable.write (/usr/src/app/node_modules/readable-stream/lib/_stream_writable.js:334:11)
at TLSSocket.ondata (_stream_readable.js:558:20)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at TLSSocket.Readable.push (_stream_readable.js:134:10)
at TLSWrap.onread (net.js:559:20)
npm ERR! Linux 5.10.63-v7l
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “start”
npm ERR! node v6.17.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: node ./bin/www
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script ‘node ./bin/www’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the rest980 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./bin/www
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs rest980
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls rest980
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /usr/src/app/npm-debug.log