Forum Replies Created

Viewing 25 posts - 126 through 150 (of 4,191 total)
  • Author
    Posts
  • in reply to: Weather Server Call Failures #76795

    Ray
    Keymaster

    What’s the error message? If you check System Diagnostics it should show Last Response, there should be an error message there. It’s possible Apple changed some API we can figure that out.

    in reply to: Update from 2.14 #76794

    Ray
    Keymaster

    Wheezy is almost 10 years ago. Can you update to the latest Raspbian?

    in reply to: Update from 2.14 #76788

    Ray
    Keymaster

    What version of Raspbian do you have?

    in reply to: Water level, time adjustment #76772

    Ray
    Keymaster

    No problem.

    in reply to: Changing Port on Headless Pi Install #76771

    Ray
    Keymaster

    Instructions can all be found at:
    https://support.opensprinkler.com
    for example, OSPi firmware instructions are here:
    https://openthings.freshdesk.com/support/solutions/articles/5000631599

    in reply to: Update from 2.14 #76770

    Ray
    Keymaster

    You can install the firmware in any directory of your choice. The one in the instructions is just an example.

    in reply to: Water level, time adjustment #76757

    Ray
    Keymaster

    About your second question: what firmware are you on? The latest firmware 2.2.0 has a new feature which allows you to select whether you want to move the remaining zones in the same sequential group when you stop one zone. The user manual:
    https://raysfiles.com/os_compiled_firmware/docs/2.2.0/OSUserManual220(1).pdf
    page 10, section 4.3 shows it.

    in reply to: Unconnected cable sending flow data #76756

    Ray
    Keymaster

    The internal pull-up is relatively high, probably somewhere around 100K ohm. I didn’t know it wasn’t sufficient for some cases. Can certainly add a strong pull-up in the future version,.

    The internal pull-up is always on — the firmware turns it on right at the initialization step. You can verify this by checking the sensor port to ground voltage (assuming no sensor is connected to interfere with it). The voltage should be around 3.3V, if so that means the internal pullup is on.

    in reply to: Water level, time adjustment #76754

    Ray
    Keymaster

    Each program has a ‘Use Weather’ flag that you must turn on if you want watering percentage to be applied.

    in reply to: Unconnected cable sending flow data #76747

    Ray
    Keymaster

    The wire-in resistor is for current limiting — believe it or not, we’ve had customers who mistakenly plugged in 24VAC to the sensor port, without a current limiting resistor, it will burn out the microcontroller.

    There is no external pull-up resistor because the microcontroller has built-in pull-up resistor that can be turned on in firmware, which is exactly what the firmware does during initialization:
    https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/OpenSprinkler.cpp#L840

    in reply to: Changing Port on Headless Pi Install #76746

    Ray
    Keymaster

    OK, if I understand correctly, you mean you have openhab and OpenSprinkler firmware both running on the same Pi? You can edit the default port number in the OpenSprinkler.cpp file:
    https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/OpenSprinkler.cpp#L332
    then recompile the firmware. You need to delete done.dat in the firmware folder so it triggers a factory reset and applies the default port number.

    in reply to: Update from 2.14 #76737

    Ray
    Keymaster

    Firmware update instructions are on
    support.opensprinkler.com

    in reply to: Changing Port on Headless Pi Install #76698

    Ray
    Keymaster

    Is there any reason you don’t want to go to the web app to make setting changes? You don’t need a display or keyboard, all you need is a browser that can access the OSPi, then go to Edit Options -> Advanced, and change the HTTP port there.

    in reply to: View Logs missing information #76671

    Ray
    Keymaster

    “Message deleted”? What does that mean?

    in reply to: View Logs missing information #76666

    Ray
    Keymaster

    The test tool returns raw log data. It may look something like this:
    [[3,17,616,1413511817], [0,”rd”,86400,1413511845], [254,1,5,1413512107], [1,3,2700,1413552661], [5,3,1200,1413559201]]
    this allows us to identify if something may be corrupted in the log data.

    in reply to: View Logs missing information #76642

    Ray
    Keymaster

    Another thing to check obviously, is to see if you may have accidentally disabled log. Go to the OpenSprinkler homepage, Edit Options -> System -> see if ‘Enable Logging’ is checked.

    in reply to: View Logs missing information #76641

    Ray
    Keymaster

    You can try to use the following API test tool (you probably need to use Firefox or any browser that does NOT force https. Chrome, for example, will force using https, so try a different browser if that is the case):

    http://raysfiles.com/os/TestOSAPI.html

    type in your OpenSprinkler’s IP address, port number, device password, and select Json Log (jl) API to test. See what’s the raw log data output. If it doesn’t work, you can copy the HTTP command generated by the test tool and paste that into a browser.

    in reply to: View Logs missing information #76633

    Ray
    Keymaster

    The first thing to try is to narrow the log range to just 1 day. By default the date range is 1 week. In the case that you have a large number of log records, this could take a long time to retrieve the log and eventually lead to a time out. So try to select date that the range is just 1 day and see if it works.


    Ray
    Keymaster

    Thanks for sharing!

    in reply to: Reverse sensor operation? #76595

    Ray
    Keymaster

    You can configure the sensor type as ‘Program Switch’, which can be used to trigger a program to run. It will not prevent other programs from running, but it will activate a specific program.

    Technically I think you can achieve what you described by wiring the same sensor to both Sensor 1 and Sensor 2. Configure Sensor 1 as either a rain sensor or soil sensor, and set the zones (except the one you want to activate, let’s called Zone Activate) to be affected by Sensor 1. Then configure sensor 2 as Program Switch, and set a program that runs Zone Activate. This way, when the sensor is activated, Sensor 1 signal will prevent all zones from running; and Sensor 2 signal will trigger that program that runs Zone Activate.

    in reply to: Don’t use a double-quote in your program name! #76594

    Ray
    Keymaster

    This depends on which firmware you are using. The latest firmware will replace double quotes with single quote to avoid the issue of incorrect JSON format due to the double quotes:
    https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/opensprinkler_server.cpp#L854

    in reply to: Flow Monitoring #76574

    Ray
    Keymaster

    Yes, you can. You can create a program that turns on a zone that isn’t physically connected to anything (you can enable more zones that there are physically, and use one of those extra zones as a dummy zone to do so).

    in reply to: Measuring a flapping (pump zone) for pump-saver effect? #76573

    Ray
    Keymaster

    Did you mean to measure the *current* flowing into a zone? I don’t think you can measure the *voltage* flowing into a zone — voltage is applied on the two wires of a zone.

    I don’t quite understand how your pump works. So if the pump is cutoff, does it cut off the current flowing into it?

    In any case, RPi does NOT have analog sensing pin (and OSPi no longer has analog-to-digital converter chip either). So as if there is no way for OSPi to sense current. You will need to get an external current sensing module.


    Ray
    Keymaster

    It can, in fact, for OpenSprinkler latch, it always opens simultaneous zones one after another because latch controller needs to recharge the booster circuit before opening each zone.

    What you are asking is different from station delay — station delay only applies for sequential zones, it does not apply to parallel zones. OpenSprinkler is not designed to open a large amount of zones simultaneously. How many zones are you thinking of opening simultaneously? If it’s just 2 zones, I don’t think there is any need to stagger them as the in-rush current isn’t very high. If you are thinking of master zone and a regular zone, please note that there is already a master on adjust parameter, which you can set to either positive or negative, if you want the pump to turn on a few seconds before or after a regular zone.

    in reply to: WInterizing – OS COntroller in freezing temps? #76571

    Ray
    Keymaster

    Yes, it’s ok.

Viewing 25 posts - 126 through 150 (of 4,191 total)