Forum Replies Created
-
AuthorPosts
-
ZappParticipantSo, do I get it right when I interpret this as follows?
For the OSPi there is currently a choice of running the unified soft/firmware and/or the interval_program.
Will the Android app work with both?
/Jonas…
ZappParticipantWelcome back Zapp,
Thanks for the feedback and regarding Tapatalk it is working however I just tried to search and couldn’t find it. I have submitted a ticket to Tapatalk to see why the issue might be occurring.
Thanks!
Update: Managed to find opensprinkler in tapatalk today, connected and typing this.
/Jonas…
ZappParticipantNice to hear from you again, been some time since I touched base here.
While I’m at it, how about a Thanks button in the forum?
/Jonas…
ZappParticipantHi!
Looks like sprinkler season is about to start here in southern Sweden and that make it time for me to keep up with all the new features of OpenSprinkler Pi.
Just love the new forum and website. Fantastic work!
What is the situation on Tapatalk? I can’t find OpenSprinkler when searching in Tapatalk. Is it just me or like that for everyone?
/Jonas…
ZappParticipant+1
It would be even cooler if it worked world wide!
I’m based in Sweden…
Can’t Weather Underground be used for this in any way?
/Jonas…
Skickat från min Nexus 7
ZappParticipant@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…
ZappParticipantHi!
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…
ZappParticipantOk, thanks, found it.
A bit of work in progress is it?
Like the layout, yes. Will wait for all bugs to be ironed out before I switch, yes.
I do have to say I like the new app (Android) way better than the webapp, fact.
See you and keep up with the deliveries, your contribution is very much appreciated.
Greetings from the not so cold (at the moment) Sweden.
/Jonas…
ZappParticipantHi!
Long time no see…
From Google play I read…
NEWS
Added logging page for firmware 2.0.6+ and OSPi 1.9.0 (May 30, 2014 or newer)
Added French translation
Update language translations
…I must be blind so could someone please give me a pointer to OSPi 1.9.0 cause I can’t find it in the forum.
One more:
In the new app everything is smooth and fine but I just hate that when I press back on my Android device I get to see the setup/connect sceen again. Can we please loose that page somehow?/Jonas…
ZappParticipantNerver mind. Found solution in other thread.
/Jonas…
Sent from my Nexus 7 using Tapatalk 4
ZappParticipantDid an update today.
git stash
git pullNow i get this result when trying to start.
root@rasp02:/OpenSprinklerPi/interval_program/OSPi# python ospi.py 0.0.0.0:8080
Starting main loophttp://0.0.0.0:80/
Traceback (most recent call last):
File “ospi.py”, line 1008, in
app.run()
File “ospi.py”, line 1003, in run
return web.httpserver.runsimple(func, (‘0.0.0.0’, port))
File “/OpenSprinklerPi/interval_program/OSPi/web/httpserver.py”, line 157, in runsimple
server.start()
File “/OpenSprinklerPi/interval_program/OSPi/web/wsgiserver/__init__.py”, line 1753, in start
raise socket.error(msg)
socket.error: No socket could be created
root@rasp02:/OpenSprinklerPi/interval_program/OSPi#Any ideas?
/Jonas…
Sent from my Nexus 7 using Tapatalk 4
ZappParticipant@salbahra wrote:
By the way @Zapp the hour sort only looks at the hour. So, after reading your post again I notice you said 3:35. This is not true, the graph only has the X value of 3, for example. So your zone 1 has the following data: 3,22 which is 3rd hour 22 minutes. I hope that explains it a little better.
Well that’s where it gets strange.
My log file says 02:00 as the starting time for the first zone, the graph holds on to 03 something and is, according to your text above, only supposed to care about the hour, which is fine but wrong since my timezone is +2 and all of the above is happening att 04:00 local time!
/Jonas…
Skickat från min Nexus 7
ZappParticipant@salbahra wrote:
By the way @Zapp I pushed another update for the logging system just let me know if everything is still working for you, thanks!
Yes, it’s still working. For all I can see it’s still the same.
The SprinklerChanges.txt states that S01 started 02:00:01 (that would be GMT time and I have a timezone of +2) then S02-S05 started every 20 minutes after that.
10000000--2013-07-30 02:00:01--0--0
01000000--2013-07-30 02:21:01--0--0
00100000--2013-07-30 02:40:01--0--0
00010000--2013-07-30 03:00:02--0--0
00001000--2013-07-30 03:20:01--0--0
00000000--2013-07-30 03:41:01--0--0
But if I read the graph correctly it says that S01 (the name is different) started at 03:35 isch and ran for about 20 minutes then S02 started and ran for 20 minutes after that there is a sort of a void until 04:50 something when S03 starts. Am I reading this the right way?
Right now I’m in Rain Delay and have not had any zones running since the last update.
/Jonas…
ZappParticipant@virtus wrote:
@salbahra wrote:
@virtus For now @Zapp’s suggestion is the best, assuming you are using git. I have toyed with adding auto-updates but honestly I don’t exhaustively test my updates and sometimes do break things. I would hate to force broken updates on everyone and for now plan on keeping it manual.
Yeah, I haven’t updated it via crontab because I prefer to manually update in case there is a broken update. So maybe at some point it would be nice to see some sort of “about” page with the current version and an update button. Maybe even a link to the changelog. Then we could easily update only when we want. Anyway, your web app has really taken the OSPi to another level!
I have a feeling that the ‘About’ page with version and a link to changelog already is implemented. Click the icon top left on main page and then click ‘About’.
/Jonas…
ZappParticipant@virtus wrote:
I haven’t kept up with the last 20 pages of updates, but it looks like there’s been a lot of great development and a lot of updates. Is there a way to add an update button to the app so we don’t have to SSH into the RPi every day? Great work, btw!
Put something like this in the crontab and it will take care of the updates
0 * * * * cd /OpenSprinklerPi/webapp; git pull
/Jonas….
ZappParticipant@salbahra wrote:
@Zapp I think I found the problem and will post a fix soon. Based on what you said, this is a new install and the readLastLine function I added is looping indefinitely because no last line is found (there isn’t one).
Confirmed: watcher.php now runs clean without errors.
I do however have another strange error.
I have 1 program running 5 zones, every zone running for 20 minutes, once each day of the week starting at 0400. In the webapp the table log files and the program preview tell the correct storry but the graph log files skip some time after zone 2 and is not in sync with the start time if I read the graph correctly.
Timezone in device settings is +2.
SprinklerChanges.txt
00000000--2013-07-29 20:03:01--0--0
10000000--2013-07-30 02:00:01--0--0
01000000--2013-07-30 02:21:01--0--0
00100000--2013-07-30 02:40:01--0--0
00010000--2013-07-30 03:00:02--0--0
00001000--2013-07-30 03:20:01--0--0
00000000--2013-07-30 03:41:01--0--0
Graph
Program preview
All logging in the interval program are correct as far as I can see.
/Jonas…
ZappParticipantHi!
Just now got a strange error when trying to run watcher.php.
Did a new clean install just to verify.
Crontab for www-data is:
* * * * * cd /OpenSprinklerPi/webapp; php /OpenSprinklerPi/webapp/watcher.php >/dev/null 2>&1
Runing this at prompt gives:
root@rasp02:/OpenSprinklerPi/webapp# cd /OpenSprinklerPi/webapp; php /OpenSprinklerPi/webapp/watcher.php
PHP Fatal error: Maximum execution time of 6 seconds exceeded in /OpenSprinklerPi/webapp/main.php on line 1531/Jonas…
ZappParticipant@Zapp wrote:
A-z and 0-9?
Is that all?
I’d kindly like to be able to use all the characters in the alphabet. Just now I got an snamnes.txt without any contents in it but trying to use some of the Swedish characters (åäöÅÄÖ) in the station names.
Just to verify I also got the same result when trying with the character é …
Can we please get this functionality in the code?
/Jonas…
Is it only me that would like to have this in the code?
/Jonas…
ZappParticipantfavicon.ico
I don’t know it it’s intentional or not but the favicon only shows up on the main page. The Stations and Programs page does not have it for sure.
/Jonas…
ZappParticipantA-z and 0-9?
Is that all?
I’d kindly like to be able to use all the characters in the alphabet. Just now I got an snamnes.txt without any contents in it but trying to use some of the Swedish characters (åäöÅÄÖ) in the station names.
Just to verify I also got the same result when trying with the character é …
Can we please get this functionality in the code?
/Jonas…
ZappParticipant@salbahra wrote:
@Zapp please let me know if updating to the newer interval program helps. For the record though, my app has no say in the controller being in rain delay or not. So, if you open my app and it says rain delay enabled then it directly got this information from the OpenSprinkler.
What I am trying to say is, when you see issues like this consult the native interface for the OpenSprinkler to help troubleshoot (at the very least this eliminates one variable from the equation).
Now, if the OpenSprinkler interface is showing something different than my web app, please let me know! In that situation, chances are something is wrong with my web app.
Thanks!
I suspected that much but now I know for sure. I’ll just have to wait for the next rain so I can test it. I’ll get back with results.
I’m now on the latest interval prg on my OSPi also.
/Jonas…
ZappParticipantHi again…
I’ve followed the thread closely and I really like how this app has evolved.
Now I’m starting to get confused.
1. Somewhere along the way the timezone calculation has gone bad. It used to take care of dst here in Sweden, we are GMT +1 and another +1 for dst right now. Both SW and HW clock on the Pi is correct but app tells me just GMT +1! That is it’s 1h less than the real time.
2. Rain Delay does not turn off at the specific time.
It is now Mon, 15 Jul 2013 10:45 and I still have rain delay active! If it’s any help my delay duration is set to 12h.
This also used to work but sorry to say I can’t really say when it stopped.UPDATE: Looks like even if the rain delay is active the program, only have one, has run during the night, at least the log say so…
I’m running the interval prg from Dan’s Git dated Jun 19 and have been up to date with the webapp all the time and yes, I’m on the OSPi.
/Jonas…
ZappParticipantfavicon.ico
[attachment=0:kgjr46or]favicon.zip[/attachment:kgjr46or]/Jonas…
ZappParticipantIs there any way to have Auto Rain Delay show up in the log?
Reason for asking is that I couldn’t find any indication in the log this morning that the scheduled program had run but later guessed that it must have been an auto rain delay that had kicked in but I couldn’t verify it.
I have my auto rain delay set for 12h since that fits my needs and the weather around here better.
/Jonas…
ZappParticipantRegarding API keys…
It’s not that hard to get one, it is free in most places. Considering that all of the users have bought and installed either the OS or the OSPi, succsessfully! I firmly believe that applying for a API key and type it into the GUI can’t be that much of a problem.
My personal favorite would be Weather Underground but that’s just my opinion.
I already have an API key for World Weather Online, not because it’s the best but because another software project required it to get weather information into the GUI.
/Jonas…
-
AuthorPosts