- This topic has 3 replies, 2 voices, and was last updated 11 years ago by
uRADMonitor.
-
AuthorPosts
-
February 25, 2015 at 8:11 am #1437
Bjorn Roesbeke
ParticipantA PHP/GD generated graph is shown for each monitor on the map.
For example, one of the graphs for my unit is: https://www.uradmonitor.com/data/0.1/public.php?id=1200003F¶m=temp1.
Out of curiosity i tried to change these variables to other values and i also tried to guess at some other arguments to retrieve graphs of other durations etc.
“What if i try temp2?”, “what will happen if i type in a random id?”, “can i change the language?”, “can i change the time to last week?”,…Most of the results were empty charts.
However, i did notice that values such as id seem to be drawn on the graph as-is. There’s no error message displayed, seemingly no multibyte support and not too surprising, characters such as a nullbyte are interpreted as a control character. I’m far from an expert on PHP or security but you might want to look into it.Is there a page where all possible arguments and functions are documented? Better yet, is the source code available?
Lastly, can i request static HTML pages for each unit instead of having to load and process the Google maps? Believe it or not, sometimes it locks up my browser and on mobile devices it’s not the best thing either.I’m not trying to demand anything or complain, i am curious and excited about the project. That’s all.
February 26, 2015 at 8:32 pm #1440uRADMonitor
KeymasterThanks Bjorn,
There’s some documentation on the parameters used for this simple initial API, here: http://www.pocketmagic.net/uradmonitor-online-remote-radiation-monitoring-station/#details
You’ll just need to change the URL.
The entire solution is moving to an RESTful API as we speak, the upload is done, and so will be the data query, hopefully also closing the security issues. I am taking everything one step at a time.
There is also a script for accessing minute resolution data, let me know if you are interested in that as well. About the static HTML pages, I’m not quite sure what would you like to see, please detail.
-
This reply was modified 11 years ago by
uRADMonitor. Reason: typo
February 27, 2015 at 8:11 am #1453Bjorn Roesbeke
ParticipantAs i said before, Google maps with many pins sometimes pegges a CPU and the current detailed view is _inside_ of the Google maps.
The static webpages i spoke of might be something like the attached image.Attachments:
February 27, 2015 at 7:23 pm #1456uRADMonitor
KeymasterIt looks good, we will have something like that soon.
-
This reply was modified 11 years ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
