OpenSprinkler › Forums › OpenSprinkler Mobile and Web App › Android, Blackberry, iOS, and Windows Phone 8 Apps
- This topic is empty.
-
AuthorPosts
-
March 19, 2014 at 1:05 pm #22799
SamerKeymasterI am happy to announce the availability of Sprinklers, a native mobile applications for the OpenSprinkler. The application is currently available for Android (Amazon and Google), Blackberry, iOS (iPhone and iPad), and Windows Phone 8. The app is also available on the Google Chrome and Mozilla Firefox stores.
More Information: http://albahra.com/sprinklers
Apple iOS App Store: https://itunes.apple.com/us/app/sprinklers/id830988967?ls=1&mt=8
Supports iOS 6+Apple Mac App Store: https://itunes.apple.com/us/app/sprinklers/id903464532?ls=1&mt=12
Supports OS X 10.9+Amazon App Store: http://www.amazon.com/dp/B00JYFL8LW
Supports all Kindle Fire devices except Fire TVFirefox Marketplace: https://marketplace.firefox.com/app/sprinklers/
Supports both mobile and desktop devicesGoogle Play Store: https://play.google.com/store/apps/details?id=com.albahra.sprinklers
Supports: Android 2.3+Google Web Store: https://chrome.google.com/webstore/detail/sprinklers/iegciplggbmhpihoeamfpjdedihblhhp
Supports Chrome browser on Google ChromeBox, Linux, OS X and WindowsWindows Store: http://apps.microsoft.com/windows/en-us/app/sprinklers/ebc0d2d1-9678-4e72-9a9d-6d60e946b8c0
Supports: Windows 8.1 on x86, x64 and ARM (RT)Windows Phone Store: http://www.windowsphone.com/en-us/store/app/sprinklers/3dbc5da0-b33f-4ca8-9e54-e80febf0a0c5
Supports: Windows Phone 8.0+Blackberry World: http://appworld.blackberry.com/webstore/content/53161895/
Supports: Blackberry QNX 10.2.0+Sprinklers allows you to automatically detect and control your OpenSprinkler irrigation system(s).
Features of the app include:
* Easy to understand device status
* Quick program modification
* Launch ad-hoc or defined programs instantly
* Manual mode for convenient testing
* Multi-device support
* View visual representation of upcoming scheduled programs
* View current weather and forecast status for the device location
* Change and disable rain delay
* Multiple supported languages (Czech, Chinese, French, German, Hungarian, Italian, Polish, Slovenian and Spanish)This application requires you to own an OpenSprinkler that is properly connected to your network. For more information please visit http://rayshobby.net/cart/os.
You can control your device from outside the local network with proper port forwarding and use of the WAN IP within the application or by using a VPN. For further assistance please ask.
This is open source software: source code for this application can be found at https://github.com/salbahra/Sprinklers
April 3, 2014 at 5:12 pm #26210
nateParticipantHi Samer,
App is looking great! Just wondering if there was a reason you departed from the opensprinkler logo for the app icon? What about something simple like this:
PSD download: http://cl.ly/1Z2b0h3u0j0G/download/OpenSprinklerAppIcons.psd.zip
Best,
NateApril 3, 2014 at 8:40 pm #26211
SamerKeymasterThank you! I tried that and other gradients as well but I just didn’t like it overall, it’s basically one color. Especially on Android and Windows Phone 8 devices where the resolution is lower.
Update: I added another variant I tried as well. I do like your’s more. I noticed you resized the water droplets which looks a lot nicer. I am going to save this for now, thank you!
[attachment=0:13hbmaut]iTunesArtwork.png[/attachment:13hbmaut]April 14, 2014 at 9:55 am #26212
rorycbParticipantIs this a phonegap/cordova based app? If it is, is there any chance I can convince you (or help you) to compile it for BlackBerry 10 as well?
Thanks
RoryApril 14, 2014 at 12:03 pm #26213
SamerKeymasterYes it is, let me look into it and I will get back with you. I currently use Build which no longer supports BB as of 3.x but I might just build BB locally.
Thanks.
April 14, 2014 at 3:14 pm #26214
rorycbParticipantAwesome, it would be greatly appreciated. As I said let me know if you need any help/have any issues. I work at BlackBerry in web technologies so I know the ins and outs of our Cordova stuff 🙂
Rory
April 15, 2014 at 1:02 am #26216
SamerKeymaster@rorycb Well, everything was going well however I think I hit a snag. Blackberry web view seems to enforce CORS requests and requires a non-wildcard whitelist. Meaning I have to somehow exclude the IP of your OpenSprinkler at compile time. This of course is impossible. I did some research and the fix seems to be disabling web security within the web view however this seems to prevent submission to the store. This seems to be related to PhoneGap/Cordova apps.
Do you have any advice? Other than that, the app runs rather well on the emulator (really well designed emulator setup IMO). I have to write some custom code for the BlackBerry however so it can give me the WiFi IP. This will probably take me some time to figure out.
If I can solve the first issue, I think we will be home free. I am currently awaiting BlackBerry identification verification (they made me scan my driver’s license which is odd since none of the other’s did).
Thanks.
Update: The above mentioned fix does in fact remedy the situation. I guess I could submit the app in this form and see what happens.
April 15, 2014 at 1:19 am #26217
rorycbParticipantDisabling web security, while not recommended for most apps, shouldn’t stop you from being accepted into BlackBerry World. It can be dangerous in the wrong hands, which is why the warning. Let me know if you have trouble with this after you submit.
Why do you need to get the wifi ip? It is trivial to expose the Native functions to WebWorks as an extension if you need it though.
I am excited to try this out, I appreciate you putting the effort into getting it working.
Rory
edit: This plugin allows you to get the wifi IP 🙂 https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10-Cordova/deviceInfo
April 15, 2014 at 1:40 am #26218
SamerKeymasterThank you for the link! Exactly what I needed 🙂
I wrote the device detection entirely in Javascript however one of the issues I had was figuring out which IP’s to scan. I decided if I could get the WiFi IP, I could just scan that subnet. That is exactly what I do but of course I disable this if a WAN IP is used (requiring a LAN IP).
Also excited to hear that BB World will still allow the app. At this point I am just waiting for BB to reply to my ID verification. Thanks!
April 15, 2014 at 2:52 am #26215
SamerKeymasterSorry but going to have to ask for your help again. The first link you sent uses compiled libraries but from my understanding JS alone can do it. So I am trying to modify my plugin https://github.com/salbahra/NetworkInterfacePlugin to support the device. I read that the qnx global stores most of the information needed and specifically the connection is found here:
window.qnx.webplatform.device.activeConnection
I just have no way to figure out which way to get the IP. Any idea?
Update: This is what I have so far:
function getIP() {
var con;
try {
con = window.qnx.webplatform.device.activeConnection;
}
catch (e) { return false; }
if (!con || con.type == 'cellular') return false;
return con.ipAddress; // This is the made up part lol
}
module.exports = {
getIPAddress: function (success, fail, args, env) {
var result = new PluginResult(args, env),
ip = getIP();
if (!ip) {
result.error();
} else {
result.ok(ip);
}
}
};
April 15, 2014 at 4:45 am #26219
SamerKeymasterWell, I went ahead and submitted the app to the BlackBerry World for QNX devices (9 of them). It is pending approval. The only missing thing is the automatic device detection. That will come soon.
April 15, 2014 at 9:54 am #26220
rorycbParticipantoh ok, I see what you are doing.
Let me double check a couple things before giving you an answer, I’ll get back to you later today.
Rory
April 16, 2014 at 4:15 am #26221
SamerKeymaster@rorycb I tried the plugin you first linked since it does what I want and is the proper way to do the plugin (finally read the API/Docs). However the plugin is returning status:false. I checked and the plugin has a simulator library compiled in. Any idea if it works in the simulator?
I put it on my Github (https://github.com/salbahra/Test/) so it is easier to add into cordova.
April 16, 2014 at 7:15 pm #26222
rorycbParticipantIt should work in the simulator, it’ll just grab the right one I believe.
I am sending you a PM with some other details.
April 18, 2014 at 3:15 am #26223
bkcarter333ParticipantAny chance of making the app available for v1.8.3 firmware?
I bought mine last summer and just finished building it! Now I see it is outdated!Thanks
April 18, 2014 at 4:38 am #26224
SamerKeymasterIn regards to 1.8.3 firmware support, I am happy to announce I will be adding backward support for firmware 1.8.3. It seems most platform’s let me ignore CORS rules and grab the data I need. However, if possible please do upgrade. I am almost done writing the code and will probably take a week before it makes it out into the various stores.
Thanks.
April 19, 2014 at 4:25 am #26225
SamerKeymasterWell, good news, the 1.8.3 support is complete. I am doing some final testing now and should get that pushed out to the various stores within the week.
April 22, 2014 at 3:42 pm #26226
SamerKeymaster@rorycb The Blackberry version got accepted! Link: http://appworld.blackberry.com/webstore/content/53161895/. I will push an update soon to bring it up to speed with automatic scanning, etc.
Thanks!
Update: I just submitted 1.0.10 to BB App World.
April 27, 2014 at 2:00 pm #26227
SamerKeymasterThe app is now also available on Amazon’s App Store: http://www.amazon.com/gp/aw/d/B00JYFL8LW/ref=mp_s_a_1_4
Supports all Kindle Fire devices except Fire TV.May 3, 2014 at 3:22 pm #26228
wyoneParticipantHELP…. lol
OK so since last season we changed our internet provider, which of course changed all my IP addresses and such. I finally got all of those things updated, but now when I try to make any changes I get a 401 unauthorized message. It will not let me make any password changes or anything… I am lost as I thought I had it set to ignore password. Any ideas????
May 3, 2014 at 3:52 pm #26229
SamerKeymaster401 unauthorized from within the mobile app?
May 3, 2014 at 6:42 pm #26230
wyoneParticipantfrom both the mobile app and the original web app. I can see all my programs and it wants to open everything, but if I say run automatic or manual or save changes, it give me the 401 unauthorized message. I am thinking of just print screen my info and wipe everything from the memory, but not sure how to do that either.
May 3, 2014 at 6:45 pm #26231
wyoneParticipantI honestly dont remember ever setting up the password, but I tried the one I would normally use, and also opendoor, and get the same error message. I went into setting and the ignore password is NOT clicked, so I click on it and get the 401 message I think I need to wipe the memory and start over but not sure how to do that
May 3, 2014 at 8:40 pm #26232
wyoneParticipanthmmm I cannot figure this out.. it is almost like a read only file in the Open Sprinkler. It keeps asking for a password, and I am almost positive I never set one up. I tried PW Password. etc and a couple of my normal passwords without success. I really think I need to wipe the data and start over, but I do not know how. 🙁
May 3, 2014 at 9:01 pm #26233
SamerKeymasterFrom the OpenSprinkler user manual:
Reset: on OpenSprinkler 2.0 and prior versions, holding B2 while starting the controller provides a short-cut to the Reset option. Select yes and then hold B3, a hardware reset will be triggered, and the controller will recover to default settings.
From OpenSprinkler 2.1, holding B2 while starting the controller will enter bootloader mode, which allows you to flash the microcontroller with a new firmware. To enter Reset as above, you can use the Reset option.Also, within the app you can backup the config without the password. Import it after reset.
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › OpenSprinkler Mobile and Web App › Android, Blackberry, iOS, and Windows Phone 8 Apps