Monitor memory usage - curl command results in "401 Unauthorized"
Posted: Wednesday 18 October 2017 20:52
I'm trying to follow this guide:
https://www.domoticz.com/wiki/Monitor_memory_usage
It didn't work but after replacing "grep telegram-cli" with "grep domoticz" I at least got it to print out the current memory usage in the terminal. But when I execute the following command:
I get:
<html><head><title>Unauthorized</title></head><body><h1>401 Unauthorized</h1></body></html>
Any ideas what I've done wrong?
https://www.domoticz.com/wiki/Monitor_memory_usage
It didn't work but after replacing "grep telegram-cli" with "grep domoticz" I at least got it to print out the current memory usage in the terminal. But when I execute the following command:
Code: Select all
curl "http://192.168.1.243:8080/json.htm?type=command¶m=udevice&idx=128&nvalue=0&svalue=2.5"
<html><head><title>Unauthorized</title></head><body><h1>401 Unauthorized</h1></body></html>
Any ideas what I've done wrong?