Forum Replies Created
-
AuthorPosts
-
SamerKeymasterIf you navigate directly to the OSPI without using my mobile app, does the software work?
In other words, removing the mobile app from the equation do things work normally?
SamerKeymasterJust to be clear: everything works without the mobile app?
SamerKeymasterIn my experience, the controller doesn’t handle a flood of requests well. In fact, more than one device is pretty much to many.
After a reboot, try to limit interaction (sounds odd but isn’t a problem unless playing/testing).
Ray knows about the issue and no real solution has presented itself yet.
If that doesn’t help I am not sure. You said wired so probably not but make sure you aren’t using wireless (for now).
SamerKeymasterYes I did, sorry for the confusion. I test the software on my Mac (easier/quicker) and also I don’t have a Raspberry Pi :P.
My intention is to test against my mobile app (make sure everything works).
Thanks!
SamerKeymasterI wanted to try this out and did a git clone of your repo as it is now (85ea9aedd79770c65916e895cdd0a32a9d238da1). This is the error I am getting on first run:
No GPIO module was loaded from GPIO Pins module
Ignoring exception while loading the auto_program plug-in.
name 'sched' is not defined
Setting water level to 100%
Ignoring exception while loading the wx_settings plug-in.
[Errno 2] No such file or directory: './data/auto_settings.json'
Ignoring exception while loading the zone_settings plug-in.
name 'sched' is not defined
plugins loaded:
http://0.0.0.0:8080/
Starting timing loop
SamerKeymasterGlad it worked.
In regard to your questions, the first one means the day of the month being odd/even. I believe you can also further classify the program by picking which days of the week you want (or check all).
For the second, this is a feature that is coming soon. Currently, you must do what you described (one program per station) but in the future the firmware will support per station durations.
SamerKeymasterThe interval cannot be 0 or the program won’t run. What you can do is set it to the max, 1439.
Basically, the interval is the gap to repeat the program. If you set it higher than the program duration (start to end time) it will only run once.
SamerKeymasterThomas,
Sorry to hear about your problems. Are you using the app within the same network or over the Internet? I ask due to the intermittent nature of the issue. Also, are you getting a specific error message? Is it just not responding? What exactly is it doing?
As for the iPhone and the white screen. Which version iPhone are you referring to? The app never gets past the splash screen?
SamerKeymasterI am honestly not sure (not the hardware guy). Ray is at Maker Faire this weekend but hopefully someone can help you out soon. I know the AC to DC can cause a similar issue hence my suggestion but clearly that isn’t the issue.
SamerKeymasterAre you using DC solenoids by any chance?
SamerKeymasterIf it is in fact the self-signed certificate that’s causing the problem you can try installing it on your iPhone.
Also, you might want to try startssl once more. Although it has a confusing UI it isn’t too bad once you get started.
SamerKeymasterI can definitely replicate this. Let me try to pin down the issue and I will let you know once a fix has been made.
Thanks for the detailed report!
Update: Found it and will be pushing this fix out soon.
Update 2: I found a bug in OSPi I will have to report. The start day byte, days0, is slightly off. Ticket has been submitted here: https://github.com/Dan-in-CA/OSPi/issues/21
SamerKeymasterNumber 2 is something that is already built. Please check out my mobile web app (written in PHP).
Now, the logging is something will hopefully he introduced via firmware for the OpenSprinkler and allow logging to the SD card. This will then allow the native mobile app to access this data for viewing.
SamerKeymasterJust the basic details (type, days, duration, etc.)
SamerKeymasterYou are correct about the differences between the native app and the web app. The two you mentioned plus lack of logging feature. The latter is being implemented into firmware and will soon be parsable by the mobile app.
The native app needs only port 8080. This is the port to the OSPi/OSBo setup.
The web app needs only port 80. This is the port to Apache or other webserver serving the web app. It will connect locally (127.0.0.1:8080) to the OSPi/OSBo.
Update: Also, make you the config.php in the web app doesn’t have force_ssl (unless you want it then you open port 443 instead). SSL is the preferred method when possible.
SamerKeymasterSame behavior being rain delay doesn’t work when you put 86 hours?
Everything else works? Does rain delay work when you use the slider? What iOS version are you using?
Can you just roll back to the old version of OSPi? If you want help, let me know.
SamerKeymasterOkay sounds like a bug in the mobile app. Could you please give me sample programs so I can reproduce and fix?
SamerKeymasterYea and they are still reviewing the last update. It’s a long process unfortunately.
SamerKeymasterThis is something that’s being worked on and hopefully will be available soon.
Glad everything is working!
SamerKeymasterIs this a self-signed cert or a startssl certificate? I am wondering if SSL error’s are preventing the app from working.
SamerKeymasterOkay I am looking at the wiki now and realize a lot of the changes being made are to ensure your system stays up and reliable.
The step you mention (sudo passwd -d root) will remove the root password. This sounds unsafe however there are policies in place to prevent access to a root account without a password. As a result, the only way to access superuser privileges is to sudo. Essentially, this is a security measure.
The tempfs is used to prevent logs from writing to your SD card. This increases the lifespan of the memory card but sacrifices log files after a reboot or loss of power. These can be helpful for debugging problems however on a stable system it probably is ideal to remove stress from the SD card.
SamerKeymasterJust to let you know this was added just now and should be released soon.
SamerKeymasterDoes the Pi still lock up when not attached to the OSPi?
SamerKeymasterNo problem!
In case you aren’t aware the mobile app is also available from the app store on all mobile platforms. This doesn’t require Apache, PHP, or any setup on your part. It also allows you to enjoy features of a native app such as multitasking, etc. The reason I mention this is web app development has slowed down in favor of the native apps. Newer features likely won’t be ported back to the web app.
SamerKeymasterIt exports to your localStorage within the application. iOS doesn’t allow file based operations.
Regarding the rain delay, I am not able to recreate this and it works fine here. Is your connection local or over the internet? I tried using both the native app and the web app.
Also, I assume HTML5 app means webapp which I am not actively developing this anymore in favor of the native apps.
-
AuthorPosts