custom sensor in graphs
Posted: Friday 11 January 2019 12:39
I am using json to retrieve historical data from the different sensors using:
<my-ip>:8080/json.htm?type=graph&sensor=<sensortype>&idx=<my-idx>&range=<my range>
This works fine for sensorstypes such as temp ,wind, counter and Percentage
I can't however find the correct sensortype for devices of type General and subType Custom Sensor
An example of such a sensor is the RaspberryPi Proces Usage sensor
It would be handy to have a complete list of usable sensor types for the graphs.
Maybe that's available, but I haven't found it.
It took me a long time to find-out that the Percentage type should have a uppercase P while all others I found are all lowercase
Thanks,
Vincent
<my-ip>:8080/json.htm?type=graph&sensor=<sensortype>&idx=<my-idx>&range=<my range>
This works fine for sensorstypes such as temp ,wind, counter and Percentage
I can't however find the correct sensortype for devices of type General and subType Custom Sensor
An example of such a sensor is the RaspberryPi Proces Usage sensor
It would be handy to have a complete list of usable sensor types for the graphs.
Maybe that's available, but I haven't found it.
It took me a long time to find-out that the Percentage type should have a uppercase P while all others I found are all lowercase
Thanks,
Vincent