OpenSprinkler Forums OpenSprinkler Unified Firmware API – Station Status Reply To: API – Station Status



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.