Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Mobile Web App with Screenshots (Updated) #24163

    sjarvis
    Member

    @salbahra wrote:

    No problem and just to clarify the interval program and the web app DO run on different ports. In your example, the web app is on port 80 and the interval application is on port 8080.

    Sorry. I misspoke.

    During setup, it looks like you’re entering the IP and port for the mobile app not the interval app, so it looks like you’re putting them on the same IP. Maybe the language in the install screen could clarify that. Or, maybe it’s just me. 🙂

    Thanks again!

    in reply to: Mobile Web App with Screenshots (Updated) #24161

    sjarvis
    Member

    @salbahra wrote:

    @sjarvis The problem is you have the wrong port setup in my mobile app. I suggest deleting config.php and starting over but this time when putting in the IP add :8080 so it looks like this:

    10.0.1.24:8080

    @sjarvis wrote:

    I can run Dan interval program (on port 8080) and control my sprinklers just fine from that.
    …file_get_contents(http://10.0.1.24/sn0): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found

    The last part shows which IP:Port my mobile app tried to use. It doesn’t show the :8080 which your saying is the port used by interval application.

    That did it! Thanks! All appears to be working now.

    I just had it in my mind that the interval program and your mobile interface needed to be running on different ports. Not sure why I formed that assumption.

    Thanks again!

    Steven

    in reply to: Mobile Web App with Screenshots (Updated) #24149

    sjarvis
    Member

    I have a recently installed OSPi system. I can run Dan interval program (on port 8080) and control my sprinklers just fine from that. I have the latest version installed.

    I have install the web app, but I can do nothing more than login and view pages. I can’t see my stations. On the Current Status page, it reports the Device Time as Thu, 01 Jan 1970 00:00:00 (running date on my RPi returns Sun Jul 7 23:49:48 CDT 2013). It returns no data for Firmware version, and System Enabled says “No.”

    I had no crontab installed, so I did that manually.

    I tried to run watcher.php at the command line and got a series of PHP Error Notices (mostly about undefinded offsets and indexes), with 1 Warning: “PHP Warning: file_get_contents(http://10.0.1.24/sn0): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found” which seems to be an issue.

    Any advice for getting this running?

    Thanks,

    Steven

Viewing 3 posts - 1 through 3 (of 3 total)