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? thx3 Replies
Seems like the documentation is outdated! The new endpoint is /api/device/restart.
Thx, it works, but the device still returns
Nothing matches the given URI.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