Closed S54Mpower closed 1 year ago
AFAIK there is no /metrics endpoint defined in rest980 - where did this come from?
If you are trying to get the password for your robot - try the steps outlined here if you have a newer model like the j7 then this may not work as the cipher has changed
bump
Not sure if this is still alive,
I have setup the rest980, running it as host, getting correct response from roomba when checking for password with 'npm run getpassword', I am running it on port 3001. But when going to http://myip:3001/metrics I am getting following error:
Error: Endpoint not found. at /home/ubuntu/rest980/app.js:62:13 at Layer.handle [as handle_request] (/home/ubuntu/rest980/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:328:13) at /home/ubuntu/rest980/node_modules/express/lib/router/index.js:286:9 at Function.process_params (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:346:12) at next (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:280:10) at /home/ubuntu/rest980/node_modules/express/lib/router/index.js:646:15 at next (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:265:14) at jsonParser (/home/ubuntu/rest980/node_modules/body-parser/lib/types/json.js:110:7) at Layer.handle [as handle_request] (/home/ubuntu/rest980/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:328:13) at /home/ubuntu/rest980/node_modules/express/lib/router/index.js:286:9 at Function.process_params (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:346:12) at next (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:280:10) at Function.handle (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:175:3) at router (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:47:12) at Layer.handle [as handle_request] (/home/ubuntu/rest980/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:328:13) at /home/ubuntu/rest980/node_modules/express/lib/router/index.js:286:9 at Function.process_params (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:346:12) at next (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:280:10) at authHandler (/home/ubuntu/rest980/app.js:23:48)
Can anyone guide me in the right direction?