Hello,
I am looking for some help regarding the following task:
I have a device that i can call wia JSON as follow:
The following command
http://192.168.X.Y/api/xdevices.json?cmd=10
returns:
{"product":"Eco-devices","T1_PTEC":"TH..","T1_PAPP":750,"T1_BASE":19202918," T2_PTEC":"----","T2_PAPP":0,"T2_BASE":0,"INDEX_C1":28015854,"INDEX_C2" :0}
I would like to make a simple script that I could call every X minutes that would return the T1_PAPP value (ex:750)
Could someone help me write this simple script (i am newbie...)
Thanks a lot
I am looking for some help regarding the following task:
I have a device that i can call wia JSON as follow:
The following command
http://192.168.X.Y/api/xdevices.json?cmd=10
returns:
{"product":"Eco-devices","T1_PTEC":"TH..","T1_PAPP":750,"T1_BASE":19202918," T2_PTEC":"----","T2_PAPP":0,"T2_BASE":0,"INDEX_C1":28015854,"INDEX_C2" :0}
I would like to make a simple script that I could call every X minutes that would return the T1_PAPP value (ex:750)
Could someone help me write this simple script (i am newbie...)
Thanks a lot
Comment