OpenSprinkler › Forums › OpenSprinkler Unified Firmware › API – Station Status › Reply To: API – Station Status
July 26, 2015 at 10:57 am
#39495
Ray
Keymaster
You are right that “sn” from /jn has the same information as “sbits” from /jc in that sn shows the unpacked bits of sbits. You are also right that sbits has an extra 0 in the end (it’s from legacy code that I never bothered to change). Will fix this soon. Note that the ‘nbrd’ variable gives you the number of valid elements in sbits. This way if sbits has extra elements it shouldn’t matter.