Forum Replies Created
-
AuthorPosts
-
LambyParticipantSounds good. Let me try tonight
LambyParticipantYou 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.confOn 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
LambyParticipantYou 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?
LambyParticipant@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)
LambyParticipantYep. I used a thin blade saw and file
LambyParticipantHi,
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
LambyParticipant
LambyParticipant@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?
LambyParticipant@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?
LambyParticipantCan 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
LambyParticipantI 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”.
-
AuthorPosts