The following api :- ‘/emoncms/input/get’
Is giving this output
{
"emonth5": {
"temperature": {
"time": 1568270676,
"value": 29,
"processList": ""
},
"external temperature": {
"time": 1568270676,
"value": 29,
"processList": ""
},
"humidity": {
"time": 1568270676,
"value": 56.4,
"processList": ""
},
"battery": {
"time": 1568270676,
"value": 2.8,
"processList": ""
},
"pulsecount": {
"time": 1568270676,
"value": 1,
"processList": ""
},
"rssi": {
"time": 1568270676,
"value": -71,
"processList": ""
}
},
"emonpi": {
"power1": {
"time": 1568270693,
"value": 53,
"processList": ""
},
"power2": {
"time": 1568270693,
"value": 0,
"processList": ""
},
"power1pluspower2": {
"time": 1568270693,
"value": 53,
"processList": ""
},
"vrms": {
"time": 1568270693,
"value": 230,
"processList": ""
},
"t1": {
"time": 1568270693,
"value": 27.1,
"processList": ""
},
"t2": {
"time": 1568270693,
"value": 0,
"processList": ""
},
"t3": {
"time": 1568270693,
"value": 0,
"processList": ""
},
"t4": {
"time": 1568270693,
"value": 0,
"processList": ""
},
"t5": {
"time": 1568270693,
"value": 0,
"processList": ""
},
"t6": {
"time": 1568270693,
"value": 0,
"processList": ""
},
"pulsecount": {
"time": 1568270693,
"value": 0,
"processList": ""
},
"rssi": {
"time": null,
"value": null,
"processList": ""
}
}
}
Here I am getting 2 attributes one is “emonth5” and second is “emonpi”.
Now I have two questions to ask
- Can there be multiple “emonth” sensors in the api output like emonth1, emonth2…etc if the device is configured that way or the structure of the output will be different?
- The api output is having various attributes but I an not able to figure out what key is giving me wired temperature and which one is giving wireless temperature value?