Forum Replies Created
-
AuthorPosts
-
SamerKeymasterQuite frankly OSPi is very confusing. I don’t blame you or anyone for any confusion regarding any of the software. With that said, the May 4 announcement here is NOT regarding the new UI based python interval program. It is for the master branch of the OSPi software using the OLD UI. Furthermore, all changes related to the plugin system are happening on the master branch not the JM_UI branch.
The thread you linked by the way says beta in the post and is followed with many posts regarding issues with the branch. Again, I think it is being developed out still and would stick to the master branch for reliability purposes.
SamerKeymasterI found the issue. The way the device verifies identity seems odd. I will have to discuss with Johnathon more. Again, as I mentioned earlier, 1.9.0 isn’t officially released and is still being worked on as far as I know. The app only officially works with the master branch of OSPi.
SamerKeymasterYour PHP install lacks JSON extension. Try the following command on your Beagle: sudo apt-get install php5-json
SamerKeymasterSure, that’s a good idea!
SamerKeymasterYes, it can be used. The update is failing because you modified the local copy. You can fix this by doing: git stash
You can do a git pull after.
SamerKeymasterCan you use my app to export configuration (side panel), delete your OSPi setup, clone a fresh copy, and import the config back from the mobile app.
I know for a fact OSPi works with my mobile app on a clean install. I don’t know what config you might have that’s causing errors but I am hoping a clean install will fix things.
SamerKeymasterWhen they drop off the network can you still interact with them (eg. keyboard/monitor)? In other words, is it the network dying or the entire Raspberry Pi going down?
SamerKeymasterRight, but the webapp is no longer being actively developed. I am now favoring the native apps that are described here: http://albahra.com/sprinklers or http://rayshobby.net/phpBB3/viewtopic.php?f=33&t=520
SamerKeymasterFor each station a unique program has to be made to accommodate your specifications. However, the same program can be used for each station by using the interval to define your wait time. For example, program 1 can be only station 1, starts at 8:00AM and ends at 7:00PM. The program will only select station 1 and have a duration of 5 minutes. The interval will be 600 (minutes) which tells the program when to start again. You can repeat this for each station.
Hope this helps.
SamerKeymasterAre they on WiFi or wired?
SamerKeymasterWould you be willing to use the native apps instead? They are available on Android, BlackBerry QNX, iOS and Windows Phone 8.
SamerKeymasterYes it does 🙂
SamerKeymasterAh okay thanks for letting us know the problem! Glad it’s working now.
SamerKeymasterWell, is this issue only occurring with the mobile app? Is your program showing up on the controller’s main interface? Let’s remove the mobile app out of the equation if we can.
SamerKeymasterThe JSON replies still occur over HTTP GET. The difference is a trusted syntax over parsing random HTML (that changes from build to build). This way apps/services built on top of OpenSprinkler can reliably get controller data.
SamerKeymasterDelete the site from the mobile app (or better yet clear the config) and try to scan and add the device. I suspect a wrong port or IP is saved?
SamerKeymasterAh yes, the interval cannot be zero or the program won’t run. Also, make sure the program is marked as enabled and also make sure manual mode is off. If manual mode is enabled then no scheduled programs will run.
SamerKeymaster@pierantonio I just got word from @nayr that my app does in fact work with his guide on the wiki. So let’s assume the app works and try to figure out what’s going wrong with your setup.
Are you getting a specific error when you try to connect with auth and SSL?
Are you able to connect without the app (a desktop browser)?
SamerKeymasterAwesome, thank you for letting me know!
Update: Haha, well don’t bother until the next version (likely this weekend) because the one now uses user:pass@ip:port in the request however 1.0.12 (current Android version) just puts it in the header. This prevents double requests (first one denied) and multiplied by 5 caused timeout issues on iOS. This only happened on cellular networks but it was annoying until I figured it out.
SamerKeymasterThis seems to be working great, thanks! Also, you are correct regarding my app. Ignore rain support is out for all devices except iOS (pending App Store approval).
SamerKeymasterThe apps supporting the above features are out now and I am wondering if anyone has had any success connecting over a proxy using SSL and Basic Auth with the mobile app.
Thanks!
SamerKeymasterI am looking into this now and cannot recreate this problem. I have pulled the latest OSPi and mobile webapp. When saving settings, everything works fine. Can you try the latest OSPi and let me know?
SamerKeymasterI just checked Dan’s latest update against my iOS app and everything seems to work well. If you have grabbed Dan’s latest fix and still having iOS trouble can you please tell me what specifically isn’t working? When toggling a station in manual mode do you get an error? Does it show as running on the home page or status page?
Thanks!
SamerKeymasterThe gv.rs is rain sense bit which should reflect if the rain sensor is on/off. The gv.ps is station status in regard to programs. It is an array of all stations and each element is 2 numbers (first is program id and second is seconds left).
The program ID indicates a user program ID (1,2,3,etc), manual program (99 or 255) or a run-once program (98 or 254). A program ID of 0 means no programmed is scheduled to run on that station.
You can compare this information with the current status of each valve. This would allow to the discern between an open valve versus a scheduled valve opening.
SamerKeymasterDave,
Dan quickly took a look at this and got it fixed this morning. I will do a trial to confirm later today but I am certain it’s all good now.
Thanks!
-
AuthorPosts