This page last changed on Mar 07, 2014 by skogen75.

Hi,

I was wondering if anyone has been able to use parse a larger JSON or XML file withing rules, maybe using JSONpath or xPath, but I don't know if java supports these methods.

I am returning the forecast data from WeatherUnderground and would like to parse out the various day, tonight, tommorrow forecasts from the larger file without polling for each one. It seems like a good use of rules to grab the all the data from a sensor linked to a command with no parsing and parse out the data to different labels in a rule.

Anyone have any experience with this type of thing?

Thanks,
Erik

I do the polling on a local copy of Underground weatherdata as described in OpenRemote 2.0 How To - Use XML Data Sources.

Posted by pz1 at Mar 08, 2014 07:24
Document generated by Confluence on Jun 05, 2016 09:37