Forum Replies Created
-
AuthorPosts
-
DavidParticipantHi Mike,
this is a real cool school project.
you can find some information about the supported valves in the opensprinkler blog. https://opensprinkler.com/blog/
if you have the original opensprinkler hardware you can use every 24V AC and DC valve. The valve have to be open if connected with 24V. thats it.
If you want: Post your chosen valves here and we can check it.
November 28, 2016 at 9:16 am in reply to: Show next start time for sprinklers in main display #44768
DavidParticipantNice, thank you.
i need some day to look a the code.
Maybe i impelment this in the winterholidays. 🙂
You could add this to the OpenSprinkler App.
Or with the your running PHP version you could wirte a module for a SmartMorror (like https://magicmirror.builders/)
DavidParticipantHey @skyynet,
hmm, i have to check this at my pebble. But i cant find my charging cable… :/ i have to order a new one. give me some days.
to your questions:
at the settingspage:
1. the device name is uninportant, this is just for the headline of the welcome page in the pebble app.
2. if you dont enter a port, it is default port 80. The default OpenSprinkler Port is 80. If you have a custom Port, you need to enter this after the IP (192.168.1.10:8080) or URL (myOSPIinTheWeb.com:8080)
You can setup a IP or a link. Check the Ip or link in a browser.
3. the settingspage convert you password into a md5 hash and send this to the pebble. enter your normal password.I made the pebble app for the version 2.1.4. Maybe there is a change in the API. Did you have a “Loading” or “Loading.” or “Loading..” or a “Loading…”?
The dots indicats the API request. 😉
DavidParticipantNo,
there is only one sensor input on the OSPI board.
November 16, 2016 at 6:19 pm in reply to: Show next start time for sprinklers in main display #44611
DavidParticipantlooks god,
it finds the next startingtime.if it works fine: just post it. 🙂 so i can add this to the pebble App.
DavidParticipantHey,
sorry for the late response…
I hoste the settings website on my dropbox account. And dropbox stop the host service… 🙁
But i updated the watchapp last week. This should fixed the “Check you internet connection” Error.
If youre still have problems, write my an email over the pebble app 🙂
@skyynet i use my OpenSprinkler to drive Gardena valves too. With the OpenSprinkler i upgraded my system from 3 valves to 9. The Gardena Vales are very easy, you can drive them with 24V AC or DC. 😉November 14, 2016 at 9:11 am in reply to: Show next start time for sprinklers in main display #44578
DavidParticipantHey,
did you have a working function for this?
Can you post it, please.
Thanks.
DavidParticipantThey added this line to the discrition:
Authorized to use OpenSprinkler cloud service – thanks to OpenSprinkler!
Please contact us directly for support questions!😉
DavidParticipantI think the runtime for one task is limited to 16 hours. But you can easy setup 2 task with 12h runtime.
Start the frist task with 12h at 12:00 and the secound on 24:00. Done
DavidParticipantnice idea,
you can write a python script that check the OS API (simple JSON http request) and then send a mail.
With the mail you can send the API-command (just a URL) to stop watering for x minutes.An other email feature could be a week or month report of the watering time.
x hours watering was sheduled
y hours watering are done
DavidParticipant@mikek
thank you! this is great an so easythere should be a command in build.sh to generate a OS with inverted outputs.
like: ./build.sh ospi -i -> invert the shiftregister out and GPIOs
DavidParticipantHey Peter,
i see the BBB just have 3.3v at a GPIO. this is not enough for a realsboard 🙁 i test it…
so i have switch from my BBB to a raspberyy.
DavidParticipanthey,
thanks for the quick response.
Where can i find the GOIO settings in the code and how can i activte it in the software. If it works, so i share it with you! the BB has a huge number of GPIOs.
DavidParticipantHi,
the osbo is not longer supported. But if you want to use your beagleboard. Buy a relay board to drive your valves and use the GPIO Pins on the beagleboard.
DavidParticipantHey,
now we have more than 70 people how use OpenSprinkler on there Pebble Smartwatch. Thats great. 🙂
I think about the next feature:
Manual waterlevel set.
You can switch between the weather waterlevel calculation and a manual input for the waterlevel.What do you think of the idea?
Do you need/want this feature?
DavidParticipantA solution for you second question could be this: You have a small weather server for your sensors. If one sensor says – hey, this plants need water. You can send a API command to start a run-once program. “Station 2 (petted plants) run 30 min” = http://yourIPorAdress:Port/cm?pw=PassMD5hash&sid=1&en=1&t=1800
Look at the API docu “under manual station run” for details.
DavidParticipantThanks Ray,
i overlooked this API function.
@Mike, you can set your own waterlevel, calculated by your weatherstation. Just send the API command: http://yourIPorAdress:Port/co?pw=PassMD5hash&o23=100
To set the waterlevel to 100% Now, you dont need to change the firmware. Only a small script with a json request.September 9, 2015 at 4:11 am in reply to: Feature request: API interface for external sensors #40169
DavidParticipantHmm, its a little bit tricky.
Thats an idea to make a small server that stores the sensordate from own weatherstation and simulate the Wunderground API.
But i think this is little to much for small DIY weatherstations. You need the sensor and a small webserver. If you want to make the sensor to the webserver, you cant use a powersave mode (active all x times).
There are still two further solutions:
1) The weatherstation calculate the waterlevel and send it to the OS. easy. it just overwrite the old wl.
This function exits. Sorry, i just found it now. API call (controller option) “/co?pw=PASSWORD_MD5_Hash&o23=100” to set waterlevel to 100%
If i set the waterlevel manually. Will the next weathercall overwrite it?2) The weatherstation send the sensor data (rain,temp,…) to the OS. The OS calc with the wl adjustemt method the currend waterlevel and update the current value. Need to change the firmware… maybe in later… 😉
A small fallback routine could check the last manual wl set from the own weatherstation. Is it to old -> go back to Wunderground.
DavidParticipant@Mike thanks, but until now there is no API input for own weather-stations. we have to ask ray or prog this feature by our own and make a pull request to merge it to the main code in github.
DavidParticipanthaha, i paint something… what could be possible:
Attachments:
DavidParticipant@Mike this is a nice project and you have build the basics for a wireless sensor. Good job! I think, the easiest and flexible way for all simular projects is to interact with the OS over the API. You just need to send from anywhere a command like this: “http://IPorURL:port/jw?pw=PASSWORDinMD5” + your data “ms=moisterSensor”
for you project, you need a python script thats reads the xbee and send a string with the value to a adress. And all other project have a easy interface to.
i post this idea here: https://opensprinkler.com/forums/topic/feature-request-api-interface-for-external-sensors/ (i know – the false forum)
this would be a great solution for easy DIY weatherstation and sensor integration. what do you think about it?
DavidParticipantfor the solar, battery system we can use the MAX1551 IC. This is a battery charger IC with two inputs. Solarpanel and USB to load a 3.7V LiPo.
DavidParticipantFor normal home waterpipes its better with flow water in the winter as a ice protection.
But the garden pipes for the sprinkler have normaly a dryout valve. To help do dry the pipe if there is no pressure on it.
Looks like this: http://www.brianzaremba.de/DasProjekt/GartenFit/GartenFit_017.jpg
The risk of broken pipes would be higher, if you watering your system under 0 degress.
I know some days last year we have one day 10 degress. And at the next day we have to search for your cars under the snow. 🙂
DavidParticipantHi guys,
i updated the OpenSprinkler Pebble app. The big feature is the “overview” page.
– add: update running Time (main page, station menu) counting down the time every 10 sec
– add: Main menu info of running and waiting stations, Rain delay, active Programs
– fix: dobble update at app startup
– add: more program info (station, duration) in program menu
– add: show logs, show waterlevel of the last 7 days, calc the avaerageWhat do you think of it?
The app will update autmatically in the next week. Or uninstall and reinstall the app.
Attachments:
DavidParticipant@Martin
just define a minimum and maximum flow threshold and a program like this? :if ( flow < minimum_flow_threshold ) { stop; } //no water is flowing
if ( flow > maximum_flow_threshold ) { stop; } //to much water is flowing -
AuthorPosts