I've gotten all of the points that you included working. Now my only question is how to poll forecast data. Because in the XML the forecast reads the same with the day changing every day obviously. So what would I write to be able to grab the day name, day high, and day low for the 5 day forecast?
Latest posts made by jfisher
-
RE: Weather Forecast
-
RE: Weather Forecast
So just looking at the code I added the data source that was at the beginning of your code, ran the script again and it added all of the data points. The points aren't actually getting any data though. Ideas?
-
RE: Weather Forecast
I received the following errors when I tried to import the code.
Data source 'DS_734545': Invalid event code 'POLL_ABORTED'. Valid codes are [DATA_RETRIEVAL_FAILURE, PARSE_EXCEPTION, SET_POINT_FAILURE]
Data point with XID 'DP_343373' does not already exist and references a data source that does not exist. Ignored.
Data point with XID 'DP_057256' does not already exist and references a data source that does not exist. Ignored.
Data point with XID 'DP_189378' does not already exist and references a data source that does not exist. Ignored.
Data point with XID 'DP_721519' does not already exist and references a data source that does not exist. Ignored.
Data point with XID 'DP_781473' does not already exist and references a data source that does not exist. Ignored.
Data point with XID 'DP_324257' does not already exist and references a data source that does not exist. Ignored.
Data point with XID 'DP_442553' does not already exist and references a data source that does not exist. Ignored.
Import complete -
Weather Forecast
Hi guys,
I've got the M2M core software running on my machine. So far everything looks great, still doing a lot of testing. I have been searching the forums and so far haven't found anything that has helped me yet so here goes. What would be the simplest way to pull data from a website like weather underground and create points for the forecast weather temperatures high and low? I have been trying to use the HTTP retriever and gave the data source the api key that I have for the site. When I press the green button to test to get a value, after setting up my first point, it pulls up 81.0 for Day 1 high temperature but after I finish creating the point it says that there is currently no data. The regex I'm using is extremely simple as I haven't had any experience with regex thus far and is as follows, <fahrenheit>(.*?)</fahrenheit> This pulls up the first point that uses this particular nomenclature but if I wanted to pull more days I would need something else to pull the data correctly for each day. I know this is maybe a lot to ask but I'm really interested in purchasing this software and just need to test to make sure that it can do the things that are 100% vital in my installs.
-
RE: Weather Forecast
Hi guys,
I've got the M2M core software running on my machine. So far everything looks great, still doing a lot of testing. I have been searching the forums and so far haven't found anything that has helped me yet so here goes. What would be the simplest way to pull data from a website like weather underground and create points for the forecast weather temperatures high and low? I have been trying to use the HTTP retriever and gave the data source the api key that I have for the site. When I press the green button to test to get a value, after setting up my first point, it pulls up 81.0 for Day 1 high temperature but after I finish creating the point it says that there is currently no data. The regex I'm using is extremely simple as I haven't had any experience with regex thus far and is as follows, <fahrenheit>(.*?)</fahrenheit> This pulls up the first point that uses this particular nomenclature but if I wanted to pull more days I would need something else to pull the data correctly for each day. I know this is maybe a lot to ask but I'm really interested in purchasing this software and just need to test to make sure that it can do the things that are 100% vital in my installs.
-
RE: Can't add data points
Thank you so much for the update, this works properly for me.
-
RE: Can't add data points
I have added data sources. I have attached another screenshot. Is there anything that I may be missing here? Did you have to create a 'server' folder in your java\bin? That's the only part of the process that I had to read up online to get the software running, but maybe it's the wrong dll file?
Attachment: download link
-
RE: Can't add data points
I have attached a screenshot. Version number 2.4.2
Attachment: download link
-
Can't add data points
I was following the getting started PDF, but on the data points tab, there is no green button to actually add data points. Has anyone else experienced this issue? I just installed it today and tested on IE, Chrome, and Firefox, the button does not exist. Please help.
-
RE: Can't add data points
I was following the getting started PDF, but on the data points tab, there is no green button to actually add data points. Has anyone else experienced this issue? I just installed it today and tested on IE, Chrome, and Firefox, the button does not exist. Please help.