Forum Replies Created

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • in reply to: Flow Sensor? #35964

    Archades
    Participant

    A quick google seems to suggest around 5-20mhz for GPIO on the rpi, not sure about interupts.

    I am looking at a flow sensor here in Australia, here are the specs

    Specifications
    Measurement range              1.0 – 60 LPM
    Calibration      Flow(LPM)      = f(H2) x
    23.8 (should be a divide by bar above the 23.8 so it looks like f(H2) x OVER 23.8)
    Repeatability   <= 1%
    Accuracy                                   <=2.5% of FULL SCALE
    Protection class                       IP65
    Max uid temperature            60  C
    Max ambient temp range      0  C – +60 C
    Max uid pressure                    1.5 Mpa
    Operating voltage                    +5V
    Output                                        frequency square wave

    I’m unsure of what the (h2) and x is in the calibration. Would something like this work ok though?

    in reply to: Flow Sensor? #35952

    Archades
    Participant

    Ok, Thanks.

    I am looking around for flow sensors at the moment. What kind of pulse rate should I be looking for to avoid the issue you describe with regard to the interrupt pin?

    in reply to: Interval 2 program issues #27318

    Archades
    Participant

    Just a quick update – All is well, stable as a rock (knock on wood). No downtime that I can see, sprinklers have worked every day for about a month so thank-you once again.

    in reply to: A few questions about rain sensing #27668

    Archades
    Participant

    Dallas 1-wire has a weather station I believe, I think it’s pretty old but might be worth looking into.

    Mine is wired, 5m cable.

    in reply to: Interval 2 program issues #27313

    Archades
    Participant

    I am happy to say OSPI has been watering my garden for the last few days without fault that I can see.
    Thanks for the awesome OSPI to all involved.

    in reply to: Interval 2 program issues #27309

    Archades
    Participant

    @aradke wrote:

    Btw, whereabouts in Australia? I assume in FNQ somewhere? We live on the Atherton Tablelands so we might be very close OSPi neighbours… 🙂

    I am in Mourilyan, so we’re pretty close.

    in reply to: Interval 2 program issues #27307

    Archades
    Participant

    Here is the zip hopefully. The latest/cloned/new OSPi folder (that works) has 194files, 36 folders and is 4mb, the old reject one is 628 fies, 176 folders, 11.5mb. I probably messed up something when I made it lol.

    The zip of the OSPi-old – http://s000.tinyupload.com/index.php?file_id=88392279229765696805

    in reply to: Interval 2 program issues #27304

    Archades
    Participant

    Thanks 🙂

    I meant if you wanted the zip of the version I had that wasn’t working that’s on the sd card at the moment. I’m
    guessing it’s missing a file or something. The timezone was also correct.

    What is the coat hanger trick? Just opening the door? We’re in a very very high rainfall area of Australia (one of the top 3 places for rain I believe) so I wanted it all protected nicely, and also from the whipper snipper lol.

    I am using a weatherproof box from Masters in Australia if anyone was interested.

    masters.com.au/product/900030640/weatherproof-box-for-outdoor-power-connections

    in reply to: Interval 2 program issues #27302

    Archades
    Participant

    Yay, the rename + gitclone trick worked. Thanks for the help!

    If you would like and let me know the commands, I could make a zip and post it here of the clone directory if you’re curious to find the bug. I am mainly a windows user 😛

    Here’s mine nearly all installed and conduit for the cabling. Still waiting on my slimline wifi dongle to put the cover over the opsi. Rocks are yet to be added for burying the cabling on the second pic with the solenoid valve box.

    in reply to: Interval 2 program issues #27296

    Archades
    Participant

    I too would like to know how to completely remove all of the stuff related to the program and reinstall fresh.

    in reply to: Interval 2 program issues #27295

    Archades
    Participant

    I’ve tried changing the timezones to -7, 0, +10, rebooting each time and still get the errors.

    in reply to: Interval 2 program issues #27291

    Archades
    Participant

    On a fresh reboot, I login to the page, click programs and it goes to that error page. I’m not sure why.

    in reply to: Interval 2 program issues #27289

    Archades
    Participant

    Any ideas on what the problem is?

    in reply to: Interval 2 program issues #27288

    Archades
    Participant

    Updated to 2.0.1, same problems


    pi@ospi ~/OSPi $ sudo python ospi.py
    The Python module apscheduler could not be found.
    Setting water level to 100%
    plugins loaded:

    Starting timing loop

    http://0.0.0.0:8080/
    192.168.1.147:53601 - - [26/Jun/2014 07:13:10] "HTTP/1.1 GET /" - 200 OK
    192.168.1.147:53603 - - [26/Jun/2014 07:13:10] "HTTP/1.1 GET /static/scripts/schedule.js" - 304 Not Modified192.168.1.147:53601 - - [26/Jun/2014 07:13:10] "HTTP/1.1 GET /static/themes/basic/base.css" - 304 Not Modified

    192.168.1.147:53604 - - [26/Jun/2014 07:13:10] "HTTP/1.1 GET /static/scripts/behaviors.js" - 304 Not Modified
    192.168.1.147:53602 - - [26/Jun/2014 07:13:10] "HTTP/1.1 GET /static/scripts/jquery-1.8.2.min.js" - 304 Not Modified
    192.168.1.147:53603 - - [26/Jun/2014 07:13:11] "HTTP/1.1 GET /static/themes/basic/grass.jpg" - 304 Not Modified192.168.1.147:53601 - - [26/Jun/2014 07:13:11] "HTTP/1.1 GET /static/themes/basic/logo.png" - 304 Not Modified

    192.168.1.147:53604 - - [26/Jun/2014 07:13:11] "HTTP/1.1 GET /static/themes/basic/home.png" - 304 Not Modified192.168.1.147:53602 - - [26/Jun/2014 07:13:11] "HTTP/1.1 GET /static/themes/basic/on.png" - 304 Not Modified

    192.168.1.147:53607 - - [26/Jun/2014 07:13:11] "HTTP/1.1 GET /api/status" - 200 OK
    192.168.1.147:53601 - - [26/Jun/2014 07:13:11] "HTTP/1.1 GET /api/log" - 200 OK
    192.168.1.147:53601 - - [26/Jun/2014 07:13:15] "HTTP/1.1 GET /static/themes/basic/off.png" - 304 Not Modified
    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 "ospi.py", line 814, in GET
    return render.programs()
    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/programs.html", line 177, in __template__

    TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

    192.168.1.147:53601 - - [26/Jun/2014 07:13:19] "HTTP/1.1 GET /vp" - 500 Internal Server Error
    192.168.1.147:53601 - - [26/Jun/2014 07:13:20] "HTTP/1.1 GET /favicon.ico" - 404 Not Found
    192.168.1.147:53601 - - [26/Jun/2014 07:13:20] "HTTP/1.1 GET /favicon.ico" - 404 Not Found

    in reply to: Interval 2 program issues #27287

    Archades
    Participant
    pi@ospi ~/OSPi $ sudo python ospi.py
    plugins loaded:

    Starting timing loop

    http://0.0.0.0:8080/
    192.168.1.147:53857 - - [25/Jun/2014 05:11:12] "HTTP/1.1 GET /" - 303 See Other
    192.168.1.147:53857 - - [25/Jun/2014 05:11:13] "HTTP/1.1 GET /login" - 200 OK
    192.168.1.147:53858 - - [25/Jun/2014 05:11:13] "HTTP/1.1 GET /static/scripts/jquery-1.8.2.min.js" - 200 192.168.1.147:53860 - - [25/Jun/2014 05:11:13] "HTTP/1.1 GET /static/images/favicon.ico" - 200 192.168.1.147:53859 - - [25/Jun/2014 05:11:13] "HTTP/1.1 GET /static/scripts/behaviors.js" - 200

    192.168.1.147:53857 - - [25/Jun/2014 05:11:13] "HTTP/1.1 GET /static/themes/basic/base.css" - 200

    192.168.1.147:53857 - - [25/Jun/2014 05:11:14] "HTTP/1.1 GET /static/themes/basic/grass.png" - 200 192.168.1.147:53858 - - [25/Jun/2014 05:11:14] "HTTP/1.1 GET /static/themes/basic/logo.png" - 200

    192.168.1.147:53857 - - [25/Jun/2014 05:11:16] "HTTP/1.1 POST /login" - 303 See Other
    192.168.1.147:53857 - - [25/Jun/2014 05:11:19] "HTTP/1.1 GET /" - 200 OK
    192.168.1.147:53857 - - [25/Jun/2014 05:11:19] "HTTP/1.1 GET /static/scripts/schedule.js" - 200
    192.168.1.147:53857 - - [25/Jun/2014 05:11:19] "HTTP/1.1 GET /static/themes/basic/home.png" - 200
    192.168.1.147:53859 - - [25/Jun/2014 05:11:19] "HTTP/1.1 GET /static/themes/basic/off.png" - 200
    192.168.1.147:53858 - - [25/Jun/2014 05:11:19] "HTTP/1.1 GET /static/themes/basic/on.png" - 200
    192.168.1.147:53860 - - [25/Jun/2014 05:11:19] "HTTP/1.1 GET /api/log" - 200 OK
    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 "ospi.py", line 812, in GET
    return render.programs()
    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/programs.html", line 177, in __template__

    TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

    192.168.1.147:53857 - - [25/Jun/2014 05:11:23] "HTTP/1.1 GET /vp" - 500 Internal Server Error
    192.168.1.147:53857 - - [25/Jun/2014 05:11:23] "HTTP/1.1 GET /favicon.ico" - 404 Not Found
    192.168.1.147:53857 - - [25/Jun/2014 05:11:23] "HTTP/1.1 GET /favicon.ico" - 404 Not Found
    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 "ospi.py", line 812, in GET
    return render.programs()
    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/programs.html", line 177, in __template__

    TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

    192.168.1.147:53870 - - [25/Jun/2014 05:11:39] "HTTP/1.1 GET /vp" - 500 Internal Server Error
    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 "ospi.py", line 812, in GET
    return render.programs()
    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/programs.html", line 177, in __template__

    TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

    192.168.1.147:53877 - - [25/Jun/2014 05:11:51] "HTTP/1.1 GET /vp" - 500 Internal Server Error

    Here’s the errors. Thanks.

    in reply to: Some questions #26675

    Archades
    Participant

    Thanks, I’ll give it a test tonight.

    Are there any plans for an expansion board that could also allow for sensors? I was thinking a flow sensor at multiple taps, maybe thermometers or soil moisture sensors, etc.

    I have 3 main zones for my house, Front, backyard, side of yard. I have 2 pipes going to the front garden, 1 for trees (which I may never use) and 1 for the garden beds (definitely using that). Backyard has 1 for trees, 1 for some veggie gardens which I will use. West Side has 1 for potplants, 1 for garden beds and has it’s own tap and is 30m away from the other tap in the trench I have dug. OSPI will be on the wall about 1-2meters from the tap (in a covered area).

    So far I’ll be putting in 7 core .5mm2 wire for the solenoids and running them 30m in that trench, I’ll have 2 solenoids at the West-side tap so that’s 3 of the cores used, was thinking also of using another 3 for the DC positive, negative and signal wire for a flow meter. Not sure though if the AC power will interfere with the signal line on that 30m of cable? Voltage drop over 0.5mm2 for .15A @ 5v looks to be about .3A, so 4.7v would reach the flow meter I guess which hopefully should be enough.

    I guess an idea could be an expansion board that uses 24vAC power lines that can run some solenoids, and a data line to send data back to the main OSPI. I would guess it would be 2 wires for AC, and either a built-in AC>DC converter + a common DC ground + signal wire for a total of 4 wires OR have separate AC + DC power inputs + the data line with the DC line having a common ground between the main and expansion?

    in reply to: Some questions #26673

    Archades
    Participant

    When powered by 24VAC there is an AC to DC 5v converter on the OSPI which powers the RPI so I won’t need a 5v usb to the RPI right?

    in reply to: Some questions #26671

    Archades
    Participant

    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?

    in reply to: Some questions #26669

    Archades
    Participant

    Thanks for the help.

    Another question. Are their any flow sensors that people are using that work with this? I’d be curious to know how many litres/day are used even if accuracy is off by 5-10%.

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