Menu

Web control capability

Anonymous
2010-11-01
2015-10-07
  • Anonymous

    Anonymous - 2010-11-01

    Hi,

    I have an android phone, and now an iPad. It would be great if I could integrate these devices into the dashboard so I can log time and control my activities while I am not at my desk (which is most of the time). The easiest way to do this, I would think, is exposing the current control application functionality on a web page. I know you can call start and stop from the local machine through an http GET.

    Is there any such we interface that provides a light version of the control capabilities of the desktop app?

     
  • Pablo Casado

    Pablo Casado - 2010-11-01

    Write a simple app that connects to laptop or pc making http gets to the dashboard

    Ways to connect would be bluetooth, range is generally about 5-10 meters, or wifi which is probably the best.

    You would then configure the app with your laptop/pc's ip address then make the following calls

    http://<ip address>:2468/control/startTiming.class
    http://<ip address>:2468/control/stopTiming.class
    http:/<ip address>:2468/Non+Project/foo//control/setPath.class

    I downloaded the android sdk for this exact reason, it's on my todo list :)  No plans to support apple products as I don't have a macbook which is required to install their dev environment and to buy their $99 dev license.

     
  • Pablo Casado

    Pablo Casado - 2010-11-04

    I just found the following link to dashboard which does what you need:

    http://<ip address>:2468//dash/hier.class

    You can navigate the hierarchy and it displays a "start timing" icon on leaf items which switches the dashboard to that item and starts the timer when clicked

    Then to stop timing you can use

    http://<ip address>:2468/control/stopTiming.class

    I bookmarked these two links in my android web browser and it worked great over wifi :)

     
  • Pablo Casado

    Pablo Casado - 2010-11-05

    Also if you want to bypass the "security" feature built into dashboard then on linux you can use port-forwarding

    ssh -L 3579:localhost:2468 localhost

    on windows use putty to forward or if you have a webserver installed write a script to forward the requests.  I wrote one in php, PM me if you would like it.

     
  • Jose G FLores R

    Jose G FLores R - 2015-10-07

    Hi Pablo, you can send me the script?? please

    Thanks

     

    Last edit: Jose G FLores R 2015-10-07

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.