#45685

Ray
Keymaster

I’ve lost track of this thread. The original question was to look for an explanation of why “sbits” has 6 numbers when it should have 5. I checked the firmware code:
https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/server.cpp#L900
and that reminded me that it always has a dummy 0 in the end. This code was from early versions of OpenSprinkler firmware, and it’s avoiding having to remove the last comma by simply adding a dummy 0 in the end. It’s lame and should be changed, but it explains why you are seeing an extra 0.