Comments (2)
Judging from the pattern (3 apart), it's likely due to the delay in sending HTTP commands. The relevant code is here:
https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/OpenSprinkler.cpp#L1040
special stations (such as HTTP) are refreshed one after another with 1 second apart. In switch_httpstation:
https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/OpenSprinkler.cpp#L1573
it waits for your HTTP server to respond. If the response speed is slow, the next time it comes around to refresh, it may be 3 seconds past the previous one, so it skips the 3 special stations in between, which may explain the symptom you see. There are several possible solutions. One is to remove the code in switch_httpstation where it awaits the server to respond, so it merely sends out the command and is not blocked by the response. Another is to set your HTTP stations 3 stations apart: for example, instead of using 17, 18, 19, 20 and so on, you use 17, 20, 23, 26 and so on. Because HTTP stations are virtual stations and do not require expanders to exist, you can enable as many zones as you want.
from opensprinkler-firmware.
The other thing I could do is to fix my dumb slow (no) responses. Thanks for the tips though. Working now...
from opensprinkler-firmware.
Related Issues (20)
- OSPI not providing username and password to the MQTT broker 2.2.0((1)
- Feature: Provide sensor input and start programs via MQTT HOT 1
- Re-Open: Build failure for "error: reference to βbyteβ is ambiguous" #205 HOT 2
- Feature: Resilience building - Loading UI for OSPI-Webserver without ui.opensprinkler.com HOT 2
- Manually starting zones from API does not follow sequential rules HOT 5
- Channel 1 only runs for a few seconds. HOT 11
- Compiling in Arduino: Proper Board Settings/Configuration HOT 1
- OpenSprinkler does not compile with -std=c++17 HOT 2
- OpenSprinkler (v3) unable to connect to network with hidden SSID
- Flow Sensor not resetting for stations without flow meter HOT 1
- Ethernet connection lost HOT 13
- Recent kernels no longer support sysfs interface for GPIO (raspberry pi) HOT 20
- Programs with interval are not executed correctly by the run Feature HOT 2
- Weather service data error HOT 4
- Bug in Scheduler when using Groups and negative master_adjustments HOT 2
- Pause behaviour does not match API docs HOT 2
- [Feature Request] Disable WiFi HOT 1
- Inaccurate Flow measurement HOT 13
- OpenSprinkler will water in freezing conditions
- Unusual DNS requests originating from opensprinkler HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opensprinkler-firmware.