Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How does interval mode react to manual override?
#5
OK, that's clear, and results confirmed.


There may be a bug here though, as there seems to be a discrepancy between the station IDs as reported by two different APIs:

http://10.0.0.128/sn
result:
10100000

first and third stations are on.

http://10.0.0.128/api/status
result:  (I'm adding newlines for readability)
[
{"status": "on", "name": "Front Yard Drip", "reason": "program", "station": 0, "master": 0, "programName": "Manual Mode", "remaining": 0}, 
{"status": "off", "name": "Back Yard Drip", "reason": "", "station": 1, "master": 0, "programName": "", "remaining": 0}, 
{"status": "on", "name": "Main", "reason": "master", "station": 2, "master": 1, "programName": "", "remaining": 0}, 
{"status": "off", "name": "Back Yard Sprinklers", "reason": "", "station": 3, "master": 0, "programName": "", "remaining": 0}]

seems to indicate that station IDs start at zero, and the active ones are 0 and 2. API doc says station IDs start at 1 so I suggest either changing the values returned by api/status or documenting that it's off by one.

Then again, if I'm the first to raise this, maybe best to leave it alone Smile

Thanks for the help and the product!
Reply


Messages In This Thread
RE: How does interval mode react to manual override? - by msambol - 2019 Apr 12, 01:48 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)