Community discussions

MikroTik App
 
Jonboy582
just joined
Topic Author
Posts: 5
Joined: Wed Apr 16, 2008 11:37 am

Web access map refreshing question

Thu Apr 17, 2008 3:43 pm

Hello

I am using the dude to display all the Wi-Fi hotspots of our company on a monitor in the corner of our office so we can tell if a site goes down. We had to do this using web access as we were having issues installing on a windows ME machine.

So yes its up and working fine (except we cant fit the map on one screen) and the issue I was hoping to resolve. When the map refreshes it refreshes the image as well as the site status. This takes like 2 second and is not asthetically pleasing. Is there any method to load just the hotspots rather than the map and hotspots.

We have reduced the filesize of the image as much as we can to about 100kb.

And even better if we could display JUST the map in the browser in a custom page we have put on our server that would be perfect.

Thanks Jon
 
talon63
Frequent Visitor
Frequent Visitor
Posts: 65
Joined: Tue Mar 25, 2008 2:31 pm
Location: Texas USA

Re: Web access map refreshing question

Thu Apr 17, 2008 6:32 pm

The dude treats the map and the objects as a single image when viewing through a web browser, so you can't really load just the hotspots, unless you remove the map image from the equation and just have the Dude display the hotspots on the default grid.

As to other part of the question, I am afraid I don't quite understand what you mean by displaying just the map in a custom page. Were you going to try and have the map there and have the Dude tray and overlay the hotspots, so that the two images are coming from different places?
"Technology is dominated by two types of people: those who understand what they do not manage, and those who manage what they do not understand." - Putt's Law
 
Jonboy582
just joined
Topic Author
Posts: 5
Joined: Wed Apr 16, 2008 11:37 am

Re: Web access map refreshing question

Thu Apr 17, 2008 7:20 pm

Ohh right I will make up some images to demonstrate what I would like. At the moment I see this
Image

but I would like to see this displayed on the screen.

Image

Hope this helps explain things. If I could remove this I would give a wider mapwhich would be much clearer.

To display it like this I was wondering if I could create my own webpage that refreshes every 5 sec and displays the picture that s generated by dude.

Thanks
Jon
 
talon63
Frequent Visitor
Frequent Visitor
Posts: 65
Joined: Tue Mar 25, 2008 2:31 pm
Location: Texas USA

Re: Web access map refreshing question

Thu Apr 17, 2008 8:35 pm

To display it like this I was wondering if I could create my own webpage that refreshes every 5 sec and displays the picture that s generated by dude.
Yes, you can. In your map view, there is another Settings button. Click it and got to the Export tab. Select the export file type (PNG or PDF), and the refresh interval. Then create your web page and have the image display from the directory where it is stored. You will need to create an autorefresh for your page, easy enough in the <HEAD> <META-REFRESH> tags, and you may need to write a small script to pick up the new image file name, as I believe they are incremented.
"Technology is dominated by two types of people: those who understand what they do not manage, and those who manage what they do not understand." - Putt's Law
 
Jonboy582
just joined
Topic Author
Posts: 5
Joined: Wed Apr 16, 2008 11:37 am

Re: Web access map refreshing question

Tue Apr 22, 2008 11:14 am

Thank you so much I will get right onto that
 
WiFiTech
Frequent Visitor
Frequent Visitor
Posts: 65
Joined: Mon Jun 12, 2006 2:24 am

Re: Web access map refreshing question

Wed Jul 02, 2008 9:28 pm

Okay, this just prompted more questions.
1) What are all the links in the white squares, as I don't get that on my interface v3.b8 (local to server)
2) Webserver in Las Vegas; Dude in Florida Not sure of proper setup for export to webserver
3) The ability to use a map background with the label over it didn't cross my mind.
I am running the Dude on Win XP Pro, I have not been able to get configure remote access to view the dude remotely and have been using Remote Desktop to access the Dude Server.
 
talon63
Frequent Visitor
Frequent Visitor
Posts: 65
Joined: Tue Mar 25, 2008 2:31 pm
Location: Texas USA

Re: Web access map refreshing question

Mon Jul 07, 2008 3:50 pm

1. What are all the links in the white squares, as I don't get that on my interface v3.b8 (local to server)

Are you talking about the RX/TX monitors? These are the only white boxes I have on my map.

2. Webserver in Las Vegas; Dude in Florida Not sure of proper setup for export to webserver.

Have The Dude export the file so that the webserver has access to the PNG in order to pull the file from. You will have to set this up from the Dudes' interface, not via the web. From within the map itself, click on Settings, then go to the Export tab. Select your type (PNG), and interval. It will likely place the PNG on the desktop - there is no way to specify a path for it - Feature Request?
From the web server, you will need to create the web page that will call the image from its location on the network, or create a script that will copy the PNG from its location to the web server. Then just have the have the web page call the image for display.
Ideally, you will want to keep the images so you can go back over a period of time to see when something occurs. Having the files named incrementally would be a plus.

3. I am running the Dude on Win XP Pro, I have not been able to get configure remote access to view the dude remotely.

From the Dude console, click on the Settings button in the upper Left (the one under Tools, not in the map view). Go to the Server tab. For Remote and Web Access, check the check boxes to enable them. In the Allowed Addresses boxes, fill in the addresses that you want to have access to The Dude remotely or via the web. You can use ranges or individual IP addresses to configure this.
Once this is set up you should be able to access it remotely via http://<ipaddress>/login.html
"Technology is dominated by two types of people: those who understand what they do not manage, and those who manage what they do not understand." - Putt's Law
 
samcarney
just joined
Posts: 17
Joined: Thu Sep 04, 2008 9:30 pm

Re: Web access map refreshing question

Wed Apr 22, 2009 3:47 pm

Has anyone been successful of exporting png and having it refresh on a webpage for public?

Who is online

Users browsing this forum: No registered users and 9 guests