OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › API question › Reply To: API question
BobSutn
I did a sudo chmod 755 nvm.dat.
Before attributes were -rw-r-r-
After attributes are -rwxr-xr-x
I rebooted the Pi after I changed the attributes and then executed the “Get Controller Variables” (jc) command which returned JSON string as follows:
{“devt”:1489593037,”nbrd”:5,”en”:1,”rd”:0,”rs”:0,”rdst”:0,”loc”:”41.16953,-75.87742″,”wtkey”:”***********”,”sunrise”:434,”sunset”:1150,”eip”:*********,”lwc”:1489591024,”lswc”:0,”lrun”:[0,0,0,0],”sbits”:[0,0,0,0,0,0],”ps”:[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]],”wto”:{},”ifkey”:””}
I asterisked out a couple of variables for security reasons.
sbits is still at six variables.