| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 20/07/2012 23:30:08
|
hairyballs
Initiate
Joined: 30/07/2011 06:44:19
Messages: 2
Offline
|
Hi,
I searched around in the forums - I couldn't find anything. Is there any easy way, to get datapoints out of JSON formatted data?
I have this data ---
I'm interested in S0->dio9, "1".
I've got a regex express to grab dio9, but what if I have more than 1 s0?
Anyone have any experience getting json data?
sean
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 21/07/2012 01:40:27
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1847
Offline
|
Have you looked at import/export?
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 21/07/2012 06:26:15
|
hairyballs
Initiate
Joined: 30/07/2011 06:44:19
Messages: 2
Offline
|
The data is on a webserver - I can sort of grab it via regex on a http retriever -
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 21/07/2012 16:54:09
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1847
Offline
|
Ah, when you said "datapoints" i thought you meant the creation of a point based upon external data. If you're just grabbing readings, http retriever should do it, yeah.
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 20/11/2012 07:28:22
|
craig
Initiate
Joined: 06/08/2007 16:50:46
Messages: 163
Offline
|
I want to pull data off an inverter, which replies to http GETS in JSON
Here is the manual for the device http://files.sma.de/dl/2585/SWebBoxRPC-BEN092713.pdf
I can see this could kind of work using the regex, but is there an easier way?
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 27/11/2012 02:50:09
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1847
Offline
|
Regex is the only way at the moment. Of course, a data source could be built probably easily.
|
Best regards,
Matthew Lohbihler |
|
|
 |
|
|