Forum Replies Created
-
AuthorPosts
-
RayKeymasterWhat’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.
RayKeymasterWheezy is almost 10 years ago. Can you update to the latest Raspbian?
RayKeymasterWhat version of Raspbian do you have?
RayKeymasterNo problem.
RayKeymasterInstructions can all be found at:
https://support.opensprinkler.com
for example, OSPi firmware instructions are here:
https://openthings.freshdesk.com/support/solutions/articles/5000631599
RayKeymasterYou can install the firmware in any directory of your choice. The one in the instructions is just an example.
RayKeymasterAbout 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.
RayKeymasterThe 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.
RayKeymasterEach program has a ‘Use Weather’ flag that you must turn on if you want watering percentage to be applied.
RayKeymasterThe 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
RayKeymasterOK, 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.
RayKeymasterFirmware update instructions are on
support.opensprinkler.com
RayKeymasterIs 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.
RayKeymaster“Message deleted”? What does that mean?
RayKeymasterThe 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.
RayKeymasterAnother 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.
RayKeymasterYou 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.
RayKeymasterThe 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.
July 31, 2023 at 8:38 am in reply to: Sharing my OSPI Raspberry Pi Ansible Provisioning script #76625
RayKeymasterThanks for sharing!
RayKeymasterYou 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.
RayKeymasterThis 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
RayKeymasterYes, 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).
July 24, 2023 at 8:35 pm in reply to: Measuring a flapping (pump zone) for pump-saver effect? #76573
RayKeymasterDid 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.
July 24, 2023 at 8:31 pm in reply to: Fresh install, unable to save the Station handling – Station Delay setting #76572
RayKeymasterIt 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.
RayKeymasterYes, it’s ok.
-
AuthorPosts