Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • in reply to: New OpenSprinkler Library Python Package #27882

    Lamby
    Participant

    Sounds good. Let me try tonight

    in reply to: WiFi Config GUI not working #27885

    Lamby
    Participant

    You don’t need the GUI. There is instructions on Rays site.

    But if you have a configured image done via the GUI then just copy the configuration file manually

    (On GUI config image)
    cat /etc/wpa_supplicant/wpa_supplicant.conf

    On ospi image edit (nano or vi) that file and replace contents.

    The other thing to try is to do a patch of the system (apt-get update). That might download a working GUI

    in reply to: OpenSprinkler Pi Exhaust Fan – Sealed Case Cooling #27136

    Lamby
    Participant

    You could get a 24vac one, attach it to one of the solenoid relays and write some code to turn it on when it gets hot?

    in reply to: Some questions #26676

    Lamby
    Participant

    @Archades wrote:

    Just got my opsi, still waiting on my 24vAC PSU. Can I power the rPI via usb and test the RTC feature without the 24vAC or do I just wait till I have the 24VAC and use only that, without usb 5v psu?

    The Toro link you posted was an Australian one – if you are in Aus you can buy a 24vac power supply off the shelf from Jaycar (http://www.jaycar.com.au/productView.asp?ID=MP3032)

    in reply to: Enclosure question #26498

    Lamby
    Participant

    Yep. I used a thin blade saw and file

    in reply to: Interval – Plugin development #26664

    Lamby
    Participant

    Hi,

    I am not sure what I am missing. I can’t seem to get a page to render. All I get is a blank page with the word “None”.

    I have a plugin in the plugin directory and get:
    plugins loaded:

    So the plugin loads, and the test string prints out and I get “HTTP/1.1 GET /sunset” – 200 OK”

    It is pretty simple code (I have stripped everything back to try to get the web page to load)

    #!/usr/bin/env python

    #from gpio_pins import *
    from urls import *
    import web, json, time, gv

    urls.extend() # Add a new url for this plugin.

    class sunset:
    def __init__(self):
    self.render = web.template.render('templates/')

    def GET(self):
    print "testing Sunset"

    and




    Sunset.html


    OpenSprinkler Sunset Settings




    Location of your OpenSprinkler


    (This is in Latitude and Longitude, you can find this on <a
    href="http://mygeoposition.com/">http://mygeoposition.com/)



    Latitude
    Longitude



    in reply to: Interval – Plugin development #26660

    Lamby
    Participant

    @scottsh wrote:

    Another set of updates if you are following along at home:

    Yep – thanks!

    in reply to: Interval – Plugin development #26655

    Lamby
    Participant

    @Dan in CA wrote:

    Lamby,

    If your plugin is something you would like to share with the community, I would suggest keeping it as self contained as possible and not modifying the existing UI. However there is already an unused location field on the option page that could hold lat-lon data (gv.sd).

    It sounds like you are planning to calculate sunset time from geographic location rather require a light sensor. That would be really cool.

    Dan

    Doesn’t the mobile app use gv.sd for the current weather?

    in reply to: Interval – Plugin development #26647

    Lamby
    Participant

    @Dan in CA wrote:

    All of gv is not yet documented but a good part if it, the gv.sd (settings dictionary), is described in the file sd_refertnce.txt in the OSPi directory.

    Also, if you look in ospi.py starting at line ~378. The Global vars section is where the all the gv (global vars) attributes are defined. There are some comments describing what they are.

    Dan

    Ah! Thanks. I have been looking for those!

    I am trying to do a sunset light plugin. If we want to set some options (like latitude and longitude) should we create a new options page specifically for the plugin or should we amend the main options page?

    in reply to: OpenSprinkler with Relays for Christmas Light control #25777

    Lamby
    Participant

    Can I ask for the details of the relay you are using? And where you got them from?

    I am struggling to find relays with 24vac control.

    Thanks

    in reply to: Interval Program has a great new interface #26135

    Lamby
    Participant

    I love the interface, but it does not work with the new mobile app. The reply I got from salbahra (writer of mobile app) was that the new interface “lacks the the addons API and specifically the mobile_api plugin”.

    in reply to: Mobile App Scan for device fails #26577

    Lamby
    Participant

    @salbahra wrote:

    I will take a look at this and see what I can do.

    Let me know if you need any help

Viewing 12 posts - 1 through 12 (of 12 total)