Hi,
I can’t seem to get the value of a sensor from the API. I have a WS0002 which gives me both the humidity and the temperature. Here’s the result when I try to get the values:
phil@localhost:~ $ curl \
> -X GET \
> --user "admin:secret" \
> http://192.168.8.5:8001/api/variables/luftdruck
{
"success": false,
"message": "Cannot read property 'toJson' of null"
}%
phil@localhost:~ $
What am I doing wrong here?
Cheers
ituri