Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 18 made on Friday September 4, 2020 at 04:47
Fischi
Long Time Member
Joined:
Posts:
January 2011
92
Hi,
I have a HomeSeer json request and the response is:

Name"HomeSeer Devices"
Version"1.0"
Devices
0
ref2011
name"YR Wetter für Pronto link Text"
location"Jon00 DataScraper"
location2"YR Wetter current"
value40
status"40"
device_type_string""
last_change"/Date(1599204401437+0200)/"
relationship0
hide_from_viewfalse
associated_devices[]
device_type
Device_API0
Device_API_Description"No API"
Device_Type0
Device_Type_Description"Type 0"
Device_SubType0
Device_SubType_Description""
device_type_valuesnull
UserNote""
UserAccess"Any"
status_image""
voice_command""
misc4352
interface_name""

Here are the raw data:

{"Name":"HomeSeer Devices","Version":"1.0","Devices":[{"ref":2011,"name":"YR Wetter für Pronto link Text","location":"Jon00 DataScraper","location2":"YR Wetter current","value":40.0,"status":"40","device_type_string":"","last_change":"\/Date(1599204401437+0200)\/","relationship":0,"hide_from_view":false,"associated_devices":[],"device_type":{"Device_API":0,"Device_API_Description":"No API","Device_Type":0,"Device_Type_Description":"Type 0","Device_SubType":0,"Device_SubType_Description":""},"device_type_values":null,"UserNote":"","UserAccess":"Any","status_image":"","voice_command":"","misc":4352,"interface_name":""}]}


I want to parse the value  (in that case 40)

How to do this ?

Regards,
Fischi


Hosting Services by ipHouse