Forum Replies Created

Viewing 25 posts - 26 through 50 (of 100 total)
  • Author
    Posts
  • in reply to: Interval Program has a great new interface #26131

    djagerif
    Participant

    Looks great guys. I am however getting the following after following the steps in the first post.

    127.0.0.1:56979 – – [06/Mar/2014 05:31:02] “HTTP/1.1 GET /” – 303 See Other
    127.0.0.1:56980 – – [06/Mar/2014 05:31:03] “HTTP/1.1 GET /login” – 200 OK
    127.0.0.1:56981 – – [06/Mar/2014 05:31:03] “HTTP/1.1 GET /sn0” – 401 Unauthorized
    192.168.0.36:54008 – – [06/Mar/2014 05:31:37] “HTTP/1.1 POST /login” – 303 See Other
    Traceback (most recent call last):
    File “/home/pi/OSPi/web/application.py”, line 239, in process
    return self.handle()
    File “/home/pi/OSPi/web/application.py”, line 230, in handle
    return self._delegate(fn, self.fvars, args)
    File “/home/pi/OSPi/web/application.py”, line 420, in _delegate
    return handle_class(cls)
    File “/home/pi/OSPi/web/application.py”, line 396, in handle_class
    return tocall(*args)
    File “/home/pi/OSPi/ospi.py”, line 636, in GET
    return render.home()
    File “/home/pi/OSPi/web/template.py”, line 881, in __call__
    return BaseTemplate.__call__(self, *a, **kw)
    File “/home/pi/OSPi/web/template.py”, line 808, in __call__
    return self.t(*a, **kw)
    File “templates/home.html”, line 368, in __template__

    loading…

    IndexError: list index out of range

    192.168.0.36:54008 – – [06/Mar/2014 05:31:44] “HTTP/1.1 GET /” – 500 Internal Server Error
    127.0.0.1:56982 – – [06/Mar/2014 05:32:01] “HTTP/1.1 GET /” – 303 See Other
    127.0.0.1:56983 – – [06/Mar/2014 05:32:03] “HTTP/1.1 GET /login” – 200 OK
    127.0.0.1:56984 – – [06/Mar/2014 05:32:03] “HTTP/1.1 GET /sn0” – 401 Unauthorized

    I think I found the problem. I am using 5 expansion boards and setting it back to 0 loads the main page correctly.

    in reply to: OpenSprinkler (not OSPi!) Firmware 2.0.4 and GUI Updater #26107

    djagerif
    Participant

    Ray, the updater works great. Can I make a few suggestions:

    1. Could the Updater be made to resize, the Log section is very small and it’s difficult to read the output.
    2. Is there a way to customise/remember the HW version you have? Not everyone has the latest HW and it would be nice to have your own hardware selection come up first every time you run the Updater.
    3. In the README file you explain everything you need to get things going but you never say where the exe or bat file is to execute, could you update the README file to make things a bit clearer for the ‘not-so-technical’ people out there.

    Thanks,
    Ingo

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

    djagerif
    Participant

    Works perfectly now, thanks.

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

    djagerif
    Participant

    Thanks, I’ve noticed.

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

    djagerif
    Participant

    Just to be more specific, mine is running S30 and S32 with a Master station on S08. I don’t start it with a Run Once, I let the schedule kick it off. Here I reinstalled and created a new program.

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

    djagerif
    Participant

    I found a small bug in the Current Status page. When running two stations at the same time, the time remaining at the top of the page is displayed as both station times added together. EG. two stations running 15 minutes each displays 30 minutes remaining.

    Ingo

    in reply to: OpenSprinkler (not OSPi!) Firmware 2.0.3 Released #25879

    djagerif
    Participant

    Thanks Ray. With the new source code I can compile and run OS with the javascript files on the SD card. The strangest thing is that the ‘view options’ script is the only one that doesn’t execute from the SD card, all the others are working fine.

    That’s not all folks!! If I run it using Chrome then the script executes. Has anyone tried using IE 11 and checking this one script?

    For Info – My page source:





    Ingo

    in reply to: OpenSprinkler (not OSPi!) Firmware 2.0.3 Released #25876

    djagerif
    Participant

    I downloaded the zip file from Github containing all the software updates but I can’t get 2.0.3 to compile. It seems there is an issue with either the twi.h/twi.cpp files. It complains about incorrect number of arguments so it seems a new version of these are required. Unfortunately it’s not included in the zip file so I can’t go any further.

    Anyone else having similar issues?

    Ingo

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

    djagerif
    Participant

    I also like the idea to localise the Mobile APP and even the Micro and OSPi versions – we now have a SD card to store all this information. Perhaps go a step further and provide not just language but also time/date format changes as per country. What I’ve done is to hardcode our preferences like DD/MM and also time format with a flashing ‘:’ to indicate a ‘heartbeat’.

    Ingo

    in reply to: OSPi Interval and Mobile WebApp Station names. #24822

    djagerif
    Participant

    Some time ago I’ve requested Dan to include a revision number in his code. Try the http://IP:port/rev page maybe it will help to keep track of which device you connect to.

    Ingo

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

    djagerif
    Participant

    Just for interest, the extra ‘Zone’ at the end of this capture seems to be a bug but probably wouldn’t cause your issue:

    =;

    I remember older releases didn’t have a 17th Zone, only a delimiter character.

    Ingo

    in reply to: Program Sprinkler Using Temperature Sensor #25727

    djagerif
    Participant

    You could also use something like a Hunter Freeze-click and wire it up to the Rain Sense port. If the temperature gets too low then this sensor will activate your Rain Delay. With that said, you could also wire a Wind-Click sensor to stop watering if the wind speed is too high.

    Ingo

    in reply to: OpenSprinkler (not OSPi!) Firmware 2.0.1 Released #25704

    djagerif
    Participant

    Thanks, I found them.

    Have you implemented the Timezone ‘Log’ setting you did a few weeks ago? Fw 2.0.1 doesn’t seem to display the timezone on the main screen.

    Log: S01 ran Manual Mode for 0m10s @ Sun, 20 Oct 2013 07:44:10

    Ingo

    in reply to: OpenSprinkler (not OSPi!) Firmware 2.0.1 Released #25702

    djagerif
    Participant

    Ray,

    Just a question and a suggestion from my side:

    1. Can you tell us where the new NTP setting is? I looked everywhere and can’t find it.
    2. Would it be possible to add a ‘Device ID’ in the options page. This way you can set the device ID if you have multiple OS devices running DHCP so everyone can get their own IP and not share the same MAC.

    Thanks,
    Ingo

    in reply to: OpenSprinkler 2.0 RS232 comms? #25692

    djagerif
    Participant

    I tried swapping RXD and TXD but it doesn’t work either. Is the programming side of things ok with my serial.begin() and println() statements? If so then I need to look at my HW again.

    Update: I got it working. The issue was with the MAX232 driver chip, the supply voltage was just a bit too low for it to work properly. I will get myself a lower voltage version to try out. If all this works then I will move to Isolated RS485 so I can move OS to a remote location.

    Can’t wait for Ray to enable the SD card and serve the content locally. This will remove the Internet dependency completely.

    Ingo

    in reply to: Python Interval Program update Oct. 4 2013 #25636

    djagerif
    Participant

    I have the same issue.

    Ingo

    in reply to: Python interval program update 9/23/13 #25586

    djagerif
    Participant

    Dan,

    There are two schools of thought here. The one is to add the setting to the Options page just like the HTTP port to be an integer number between X and Y. This way is simple and without any fuss. The second is to make the part of the config file that you need to edit manually. With this option you save on the Options Page space but then it’s a manual thing to edit. Fortunately it’s a static variable and once set then it will probably not change for the life of the Pi.

    So, both have advantages and disadvantages. I would say stick it in the Options page and see what the reaction is from the community. My suggestion is to put it next to the ‘Use RS’ checkbox. If checked, then enable/make it visible, if unchecked then either disable it or hide it.

    And… You could use either a textbox or a dropdownlist for GPIO pins.

    Ingo

    in reply to: Python interval program update 9/23/13 #25583

    djagerif
    Participant

    How about making the pin selection a menu option?

    Ingo

    in reply to: home.js – LOG TZ Fix request. #25559

    djagerif
    Participant

    Oh, just btw. I read somewhere that GMT is being phased out in favour of UTC. Look at the TZ Wiki, GMT starts at 12:00 noon and UTC more correctly starts at 00:00 midnight. They are interchangeable but UTC is more correct. (not my words, it’s from the Wiki)

    in reply to: home.js – LOG TZ Fix request. #25558

    djagerif
    Participant

    Give it a test without that statement, it still prints UTC.

    Confirmed: Chrome prints GMT so now we know why the replace statement is there. IE prints UTC.

    in reply to: home.js – LOG TZ Fix request. #25556

    djagerif
    Participant

    Oops… Did I copy the wrong string??? Probably 🙂 The last bit should be right though.

    [Update] Nope, it’s right. I think the ‘replace’ statement might not be needed, perhaps Dan can comment as it’s his code initially.

    Ingo

    in reply to: More than 3 / 5 expansion boards #25547

    djagerif
    Participant

    Just for fun I tried 9 boards with OSPi and it works perfectly. OS2.0 seems to have an ‘out of bounds’ error when setting the board count to more than 5 via the GUI. I suspect a javascript boundary has been set.

    Ingo

    in reply to: OS 2.0 USBtiny Error when trying to write changes. #25541

    djagerif
    Participant

    Thanks Ray, working on Windows 7 x64.

    1. Install Arduino 1.0.5
    2. Copy the OpenSprinklerGen2 directory over to Windows.
    3. Add the OpenSprinkler libraries to the existing Arduino libraries.
    4. Select OpenSprinkler as the ‘Board’.
    5. Select USBTinyISP as the programmer.

    Voila!! All done and now I don’t have to open a VM to get this going.

    Ingo

    in reply to: OS 2.0 USBtiny Error when trying to write changes. #25539

    djagerif
    Participant

    I decided to stick with Ray’s VirtualBox image for now. At least it works out-the-box.

    Ingo

    in reply to: OSPi Incorrect Logs. #25533

    djagerif
    Participant

    Dan,

    Still the same. I think the issue is with the new concurrent mode. In sequential mode it works fine.

    Ingo

Viewing 25 posts - 26 through 50 (of 100 total)