SK
Signal K5mo ago
Bram

Bram - I used to reset my sensesp with a HTTP G...

I used to reset my sensesp with a HTTP GET request to http://192.168.9.170/device/restart. I've moved the code from sensesp 2 to 3 and now it doesn't seem to work anymore (in the browser it returns Nothing matches the given URI. From the docs i understand it should still work https://signalk.org/SensESP/pages/internals/. Is there something i am doing wrong? thx
3 Replies
Matti Airas
Matti Airas5mo ago
Seems like the documentation is outdated! The new endpoint is /api/device/restart.
Bram
BramOP5mo ago
Thx, it works, but the device still returns Nothing matches the given URI.
doug kimmerly
doug kimmerly3d ago
I'm also seeing Nothing matches the given URI and can see in the log that it's been received but the handler does not restart the device. It restarts fine from the webUI I (260357) http_server.cpp: Handling request: /api/device/restart and then just on to the next thing with no restart D (307317) signalk_delta_queue.cpp: delta: {"updates":[{"source":{"label":"ChainCounter"} are there any further updates? i found it if anyone is looking it is POST not GET

Did you find this page helpful?