OpenSprinkler Forums OpenSprinkler Mobile and Web App Mobile Web App with Screenshots (Updated)

  • This topic is empty.
Viewing 25 posts - 526 through 550 (of 559 total)
  • Author
    Posts
  • #24364

    nayr
    Participant

    this is an IPhone 4S running IOS 6.x I havent updated it to 7 yet… it was on every page; it’d stay the same width as vertical and not resize.

    you might try a simulator for this setup see if its because im on a dinosaur in apple world heh.

    #24365

    Samer
    Keymaster

    Ah okay I don’t even know how to run a simulator in ios 6 since I have the newer SDK. I’ll play with it but you might be right about ios version being the issue. Thanks for the additional information.

    Regardless I’ll try to find a way to address the issue.

    #24366

    nayr
    Participant

    thanks; it is pretty neat to have a native app.. tho I must say I am a big fan of running the web version locally w/the controller because it works on my Blackberry (the iPhone is my wife’s) and looks great embedded into my home automation web-interface.

    #24367

    Samer
    Keymaster

    Very good point and I’m almost done packaging the interface for the SD card of the OS. The JS UI as you noticed can be served from anywhere.

    Nice pictures forum wide by the way, thanks!

    #24368

    nayr
    Participant

    also wish list for features; I dug through your code and it looks like you could implement it very easy; I was planing on doing it with the new python api but it’d be better to have it in the gui and you already have the current temperature available when you do a weather check.

    I live in Colorado and we have random snow storms all the way into deep spring; I have to be prepared to bring stuff in past mothers day.. What would be very nice is a configurable minimum temperature to check for a weather delay; for example if its 3am and internet weather says its under 40 degrees then trigger a delay (which I have set to 17h) and try again in the evening and its been removed because its warmer than 40 degrees.. Weather can be sunny and clear but still near or below freezing. So far this week it worked great when the forecast said snow; was quite pleased with how smart it is.

    I am using a freeze sensor but thats kinda hardset and I like to think of it as redundancy just incase internet is down or the sensor fails… My whole story behind getting this was last September I was in oregon when an Ice storm hit Metro Denver and I had to call my house sitter over in the ice storm and have him shut off sprinklers… I’d like to avoid that automatically if possible, it’ll help those w/out freeze sensors and the redundancy will keep my mind at ease when im a thousand miles away without internet access.

    #24369

    Samer
    Keymaster

    I actually already do that against adverse weather codes. These can easily be extended within the PHP application. I will be honest with you though my focus has shifted towards the Javascript version of the app where I don’t get to run 24/7. These means working closer with the firmwares (interval program for OS and OSPi/Bo). The reason for this is introducing features in a mobile app that make essential decisions didn’t make sense. In the meantime, these features are slowly being incorporated to both firmwares as announced by Dan recently.

    I guess I would love to help you with the modification, and as you said the code already has many portions setup for you but I don’t know if I want to merge more features into master. I will take it under advisement.

    Also, good news: I am downloading the iOS 6 simulator now and should have a better idea soon into the rotation bug.

    Thanks!

    #24370

    nayr
    Participant

    i’ll do it in dan’s interval plugin-api then thats fine, it’ll definitely be easier to maintain since your trying to merge the Native/Mobile code.

    #24371

    Samer
    Keymaster

    I tracked down the bug in iOS 6 related to the display not adjusting to device rotation. This is a bug in PhoneGap and has been present since 1.9.0 with almost no progress. I tried some of the suggested fixes but none have helped. I understand the issue is related to the plist however currently I use the Build service to package my app since it’s easier. If issues like this keep coming up though I will just build locally.

    In the meantime, the best I can suggest is update to iOS 7 if you can or bare with me while I attempt to get assistance from the PhoneGap Build team. Thanks!

    #24372

    Zapp
    Participant

    Hi!

    So, today I updated to the latest version of the interval program, says Software version: 2.0 at bottom right.

    After a bit of a struggle I managed to get it right. My programs are there and it looks like it’s working. The Android native app also connects fine for all I can see. Last thing to check was the webapp… That did not work. It says System Disabled…

    Re installing it gives me a bit of a problem since I can’t get it to accept the configuration, says that I should check IP and port number but I’m quite sure that they are fine.

    Now, what I’m after is the automatic rain delay based on the weather forcast from Weather Underground. For all I can see it’s was/is connected to the webapp and the watcher.php script (I might be wrong here).

    Is there any functionality in the ‘new’ interval program or the native app that handles the automatic rain delay like it used to with the webapp?

    Is it possible to have both the webapp and the native app connected to the new interval program at the same time?

    What am I missing?

    /Jonas…

    #24373

    Samer
    Keymaster

    The native app is a replacement to the web app. As you mentioned, it lacks automatic rain delay and this feature will not make it to the native app (unable to run 24/7 and not ideal device for changes).

    The new UI hasn’t been tested against the web app as it’s no longer in active development. It most likely has issues since every iteration of OSPi causes issues. This is why I moved to the mobile_app plugin to get away from these issues. The web app does not use this plugin (hence the failure).

    Both can probably be run at the same time however they will fall out of sync. In other words, the apps assume one user at a time and don’t make frequent polls to the device to changes not done within the open app.

    Hope that helps.

    #24374

    Zapp
    Participant

    @salbahra wrote:

    The native app is a replacement to the web app. As you mentioned, it lacks automatic rain delay and this feature will not make it to the native app (unable to run 24/7 and not ideal device for changes).

    Ok, got it. Too bad. That was actually a feature that I really liked.

    /Jonas…

    #24375

    fsped09
    Member

    So I recently got my OSPi up and running. But the app that I downloaded from Google Play doesn’t look like the screenshots I see on this post, ie I don’t see the weather on the main screen. Did I not install something correctly? Sorry if this has already been answered, bit of a noob here. Any help would be appreciated, thanks!

    #24376

    Samer
    Keymaster

    Jonas, I agree the automatic rain delay is a nice feature however the mobile app performing this feature never made sense to me. I think this is a feature that should be included into the firmware. I know OSPi supports plugins now and am sure the automatic rain delay code I used in my PHP web app can be adapted to a Python plugin for OSPi.

    If anyone is interested I can probably do this however I can’t give any projected completion dates.

    #24377

    Samer
    Keymaster

    @fsped09 wrote:

    So I recently got my OSPi up and running. But the app that I downloaded from Google Play doesn’t look like the screenshots I see on this post, ie I don’t see the weather on the main screen. Did I not install something correctly? Sorry if this has already been answered, bit of a noob here. Any help would be appreciated, thanks!

    The issue here is you need to have a location specified in the device options. Let me know if you have done this and still not seeing the weather on the homepage.

    Thanks!

    #24378

    fsped09
    Member

    @salbahra wrote:

    @fsped09 wrote:

    So I recently got my OSPi up and running. But the app that I downloaded from Google Play doesn’t look like the screenshots I see on this post, ie I don’t see the weather on the main screen. Did I not install something correctly? Sorry if this has already been answered, bit of a noob here. Any help would be appreciated, thanks!

    The issue here is you need to have a location specified in the device options. Let me know if you have done this and still not seeing the weather on the homepage.

    Thanks!

    That was it Salbahra, thank you!

    #24379

    kewngen
    Member

    @salbahra wrote:

    Jonas, I agree the automatic rain delay is a nice feature however the mobile app performing this feature never made sense to me. I think this is a feature that should be included into the firmware. I know OSPi supports plugins now and am sure the automatic rain delay code I used in my PHP web app can be adapted to a Python plugin for OSPi.

    If anyone is interested I can probably do this however I can’t give any projected completion dates.

    +1

    Would love that feature! At least until I get some decent soil moisture sensors.

    Thanks for an awesome app btw! Works like a charm.

    #24380

    Michael
    Member

    Sadly since I updated to the latest 1.8.3 interval firmware (not 2.0) at https://github.com/Dan-in-CA/OSPi I was no longer able to see or modify any programs from within the web app. All other functions were OK and the interval program worked fine but the mobile app kept saying there are no programs even if they are available in the interval program.

    I even wiped my OSPi directory clean and tried to start from scratch.

    I had to revert to an old backup from last year so now sadly I can not use the new native apps and am stuck …. Has anybody had success with the latest version of the interval and the latest version of the web app (the one by Samer)?

    What are the minimum requirements for the latest web app? the native moblie app works with 2.0 but not the web app.

    #24381

    Michael
    Member

    or in summery should the mobile web app work with version 2.0 of the intervol program. It does not appear to do ? only the native mobie apps.

    #24382

    Samer
    Keymaster

    The web app is no longer being actively developed. The native apps are the only thing being worked on moving forward. This is because the web app has only one advantage, it works on desktop. However, OSPi recently got a new UI for desktop and the native apps offer everything else. As a result, I see no reason to develop both versions.

    Your welcome to add 2.0 support to the web app and I will merge the pull request, if you want.

    If there are any other reasons your using the web app please let me know.

    Thanks!

    #24383

    Michael
    Member

    Oh I liked the common interface across all platforms.

    The reason I like it still, for home automation (sprinklers are probably the exception) I like that a guest can just type my RPI’s name in their mobile browser and automatically get the tools they need without having to install an app.

    Samir.. Does the mobile app standalone and not need internet like the modification we made to the web app?

    #24384

    Samer
    Keymaster

    That’s correct. All the assets are bundled within the app. Furthermore, the native app can automatically detect an OpenSprinkler on your local network so no IP is needed (guided on first launch). The only thing you lose is the desktop interface with the native app.

    #24385

    Michael
    Member

    I can not find where you change the automatic rain delay in the new mobile app? I can not find automatic rain delay configuration in the interval program either?

    #24386

    Samer
    Keymaster

    Oh sorry that’s the one feature loss however I plan on incorporating this as a separate OSPi plugin down the road that will work with the mobile app. The only hold up is time but I should have more available soon.

    Thanks

    Update: Honestly it was a mistake to add features that require 24/7 monitoring into a mobile app. Since the native app lost it, it’s been the most requested missing feature next to logging. I finally added the logging thanks to Ray and Dan’s support. The automatic rain delay can come to OSPi with ease as a plugin.

    #24387

    Michael
    Member

    Oh I had assumed that was a function of the interval program?? No? How did the web app poll?

    Too bad there is not at least a frozen version of both the old (1.8.3) firmware version of the Interval program and the j-query app that work together even if they are no longer supported. It seems the only bug is the programs not viable. The only way I can make them work is an old backup and my backup is very old 🙁

    Is it easy to roll back commits to the interval program (perhaps I should ask Dan)

    #24388

    Samer
    Keymaster

    No he does merges in a different way that doesn’t allow this. This happened with every OSPi release before but I constantly updated. In OSPi 2, I added a plugin to get JSON data instead of parsing html. It works a lot better but porting that code to PHP takes time.

Viewing 25 posts - 526 through 550 (of 559 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums OpenSprinkler Mobile and Web App Mobile Web App with Screenshots (Updated)