Forum Replies Created

Viewing 25 posts - 676 through 700 (of 1,705 total)
  • Author
    Posts
  • in reply to: Log display #35330

    Samer
    Keymaster

    Further inspection appears to be an issue with log.json. OSPi seems to be escaping all the quotes for the first log entry, producing the following line:

    "{\"program\":\"Run-once\",\"station\":7,\"duration\":\"01:00\",\"start\":\"00:16:55\",\"date\":\"2015-01-24\"}"

    This is causing the mobile app plugin which parses the logs file to break.

    I have submitted this issue to Dan’s Github: https://github.com/Dan-in-CA/OSPi/issues/87. Hopefully Dan has some insight why this might be occurring.

    in reply to: Log display #35329

    Samer
    Keymaster

    I can replicate the issue on my end and the error is located in mobile_app.py.

    127.0.0.1:55303 - - [24/Jan/2015 00:19:38] "HTTP/1.1 GET /jl" - 500 Internal Server Error
    Traceback (most recent call last):
      File "OSPi/web/application.py", line 239, in process
        return self.handle()
      File "OSPi/web/application.py", line 230, in handle
        return self._delegate(fn, self.fvars, args)
      File "OSPi/web/application.py", line 420, in _delegate
        return handle_class(cls)
      File "OSPi/web/application.py", line 396, in handle_class
        return tocall(*args)
      File "OSPi/plugins/mobile_app.py", line 160, in GET
        date = time.mktime(datetime.datetime.strptime(event["date"], "%Y-%m-%d").timetuple())
    TypeError: string indices must be integers

    I am not sure if the format changed however I will see what I can find out.

    Thanks for the report!

    in reply to: Apple HomeKit? #35319

    Samer
    Keymaster

    It’s definitely something I would like to do, if possible however no plans or research have been done to incorporate HomeKit. Another issue is the app is developed using PhoneGap so a plugin/wrapper would need to be created to incorporate support. The good news is some authors have already begun developing such a plugin but the details on Apple’s HomeKit are still being unraveled so nothing is complete as of yet.

    I wouldn’t anticipate this anytime soon however if it becomes we will likely do what we can to incorporate it.

    in reply to: http://ui.opensprinkler.com/ not working for openspinkler pi #35314

    Samer
    Keymaster

    Perfect, that’s what I was recommending and what my old PHP app did. Glad it worked out!

    in reply to: Creating a third program stops UI access #35305

    Samer
    Keymaster

    Wow, that is quite odd. I guess that isn’t a situation that one would “normally” run into (49,000+ day run) but I guess it shouldn’t completely mess up the date range when plotting the graph.

    I will see what I can do about something like this but to help do you mind emailing me the log export to [email protected].

    Thank you!

    in reply to: Making sense of the logs date/time #35304

    Samer
    Keymaster

    Also, to clarify about the “None” view. The graphing plugin creates small “nubs” for all the stations, including stations with no run times. This means everything on the graph is getting displaced and the X axis isn’t lining up with anything meaningful. I think the same thing is happening for the hour.

    The timeline was using the wrong timezone completely, this has been fixed.

    in reply to: Making sense of the logs date/time #35300

    Samer
    Keymaster

    Okay, I have actually figured out all of these issues and will have the fix out in the next app/UI release.

    Thanks again for the report!

    in reply to: Creating a third program stops UI access #35286

    Samer
    Keymaster

    Thank you Phil for your feedback! The zones showing disabled stations is something other users have echoed and honestly an oversight on my end when incorporating the ability to disable stations. I am fixing this in the next release.

    In regard to the rain delay not updating on toggle, is this in regard to scale? I am testing this out on my end and the graph is in fact updating/refreshing when toggling the station. I know this is was a bug previously so just to make sure, are you on the latest current: 1.2.7 (1.2.6 for iOS, still pending app store testing)?

    For deleting specific log entries this isn’t possible without removing the SD card and editing the file yourself however Ray does have the option to delete a specific day instead of the entire log history. I will see if I can incorporate that into the app.

    Thanks again!

    in reply to: http://ui.opensprinkler.com/ not working for openspinkler pi #35278

    Samer
    Keymaster

    The JavaScript app uses a library called jquery-retry. If the AJAX fails, the request is attempted two more times.

    That’s why your seeing the effect three times. The AJAX is failing due to CORS and cannot be allowed without changing the source code of OSPi.

    As I mentioned earlier, if your building a PHP app then have it communicate with OpenSprinkler to prevent issue with CORS.

    in reply to: http://ui.opensprinkler.com/ not working for openspinkler pi #35274

    Samer
    Keymaster

    In that case you will need to proxy the AJAX calls through your PHP application to prevent CORS errors.

    in reply to: http://ui.opensprinkler.com/ not working for openspinkler pi #35272

    Samer
    Keymaster

    That’s also for the same reason. There is the issue of CORS hence why I suggest using the app store versions which don’t have this limitation.

    in reply to: http://ui.opensprinkler.com/ not working for openspinkler pi #35268

    Samer
    Keymaster

    That location/URL is not designed to be used with OSPi. That is the UI assets for the Arduino OpenSprinkler.

    In particular, the OSPi will give you CORS errors when using a different domain for AJAX requests than the document URL. Please use the direct IP/interface for the OSPi on the desktop or one of the app store apps.

    in reply to: Making sense of the logs date/time #35264

    Samer
    Keymaster

    Thank you for bringing this to my attention and the detail provided. I will re-examine the times and let you know when a fix has been generated.

    Thanks!

    in reply to: Translation in German #35263

    Samer
    Keymaster

    Hi Michael,

    The translations are crowd sourced from the following location: http://www.getlocalization.com/Sprinklers/. To update, please make an account and make the changes needed.

    I constantly update the translations from here so any changes will certainly be incorporated into the next app release.

    Thank you

    in reply to: 220 – 240V @50Hz Power Supply for OSPi B+ #35238

    Samer
    Keymaster

    The specification you have typed here appear correct and should work well with OpenSprinkler.

    in reply to: git pull problems #35227

    Samer
    Keymaster

    The way Dan manages the Github repo requires you to update using the following commands:

    1) git checkout master
    2) git fetch
    3) git reset –hard origin/master

    Hope that helps get things updated.


    Samer
    Keymaster

    The button changes to the locate button when WUnderground can’t be used (no key provided, no location services, etc). Since the map provides more accurate results it is the default, when available. As you have noticed you can enter things manually without using lookup or the pin icon, it will still save and be used.

    I am glad the airport lets everything work correctly!


    Samer
    Keymaster

    Jacques,

    Based on the image you provided earlier, it seems you are using the latest app which offers location based weather station selection. If you push the button (pin icon) to the right of the location input box, you will be provided with a map showing nearby weather stations. You can tap any nearby one and select it as your location which will look something like this: pms:KATZ8903.

    If you want to use a typed location, you may do so but use something such a zipcode to be more selective. This should fix the weather issue as well.

    Both should also fix the weather not showing up. There is no need to factory reset and unlikely to change anything.

    Let me know if that helps, thanks!

    in reply to: Texting a rain delay to my sprinkler #35209

    Samer
    Keymaster

    Ideally for rain using weather adjustments or a rain sensor can avoid the need to having to intervene.

    Currently, if you port forward the HTTP port (default is 80) for the OpenSprinkler, you can access it outside of the home network by using the external IP (http://wimi.com). Having the app gives you complete control on your mobile device without having to use email or SMS. In the future, this will be possible without port forwarding.

    in reply to: Connection timeout andPreview problem #35202

    Samer
    Keymaster

    The Firefox issue will be fixed in the next app release which should be very soon.


    Samer
    Keymaster

    I’m not quite sure what’s going on to be honest. Hopefully Dan can shed some light on what might be going on.


    Samer
    Keymaster

    If you run the Python program manually it will dump its output into the console. To do this navigate to the directory where OSPi is located and run the following command:

    python ospi.py

    If any errors occur you should get a full trace back.


    Samer
    Keymaster

    There is a bug when upgrading OSPi regarding the configuration that causes the station count total to be incorrect and an internal server error is returned because the index for the station names is incorrect.

    The best way I’ve found to resolve this issue is to just delete the directory and use a clean install. Backup your configuration before either using the mobile app or noting your programs and settings.

    in reply to: Firmware version from PC/smartphone #35107

    Samer
    Keymaster

    Hello Robert,

    The firmware version should be accessible from the left side panel under the About page. The latest app also displays the hardware version (latest firmware required).

    We have an upcoming feature that will detect the current firmware and latest firmware and notify the user with a change log within the app if there is a newer version. This is already complete and will be included in the next app released.

    An SD card based firmware update is not possible on the current hardware however remote upgrade options are being considered.

    Thank you and Happy New Years to you as well!

    in reply to: Sprikler PHP code doest not work for opensprinkler pi #35072

    Samer
    Keymaster

    The Pyhton code has many HTTP commands available to modify program and stations via GET HTTP requests.

    For more information on these commands please visit the documentation: http://rayshobby.net/wordpress/wp-content/uploads/2011/10/Firmware1.8HTTPGETcommands.pdf

    Please note the above document is technically for the OpenSprinkler Arduino firmware however the Pi is based on the firmware and shares the same commands with a few exceptions.

Viewing 25 posts - 676 through 700 (of 1,705 total)