Version: v03.02.17a
I have a program that is running fine.
It does its thing in "automatic" mode which takes a few minutes to complete (by design), then returns to the head of the loop.
The first thing it does is to read the state of VAR1 - this is how I can "insert" manual commands or if you like an "override" function.
When VAR1 is set non-zero, the code branches and does one of currently 13 different things instead of the "normal" loop.
VAR1 is not written to ANYWHERE in the program. It is a "read-only" variable. It gets written from another computer which wants to "queue up" something different to be done once the current cycle is complete.
It all works. And it works fine.
Mostly!
Somehow, intermittently, VAR1 is being re-written to a previous value. It usually seems to be after about 5 to 30 minutes.
I've run tcpdump looking for anything that is re-sending the command - nothing!
It's particularly annoying, because the "core" routine (the automatic one) is what actually does the logging. (Uses webset to push data to a server), but when it's in an override mode, it doesn't - so I lose my logging when this happens.
The "fix" is for me to just send the WC board another "api/setvar.cgi?varid=1&value=0" command to reset VAR1, and away it goes. But frequently it will reset itself to the last non-zero value it had!
Anyone else observed anything even remotely similar? It's happened about 15 times in the last 24 hours, resulting in a lot of missed data (and a solar tracker that hasn't been tracking!)
I have a program that is running fine.
It does its thing in "automatic" mode which takes a few minutes to complete (by design), then returns to the head of the loop.
The first thing it does is to read the state of VAR1 - this is how I can "insert" manual commands or if you like an "override" function.
When VAR1 is set non-zero, the code branches and does one of currently 13 different things instead of the "normal" loop.
VAR1 is not written to ANYWHERE in the program. It is a "read-only" variable. It gets written from another computer which wants to "queue up" something different to be done once the current cycle is complete.
It all works. And it works fine.
Mostly!
Somehow, intermittently, VAR1 is being re-written to a previous value. It usually seems to be after about 5 to 30 minutes.
I've run tcpdump looking for anything that is re-sending the command - nothing!
It's particularly annoying, because the "core" routine (the automatic one) is what actually does the logging. (Uses webset to push data to a server), but when it's in an override mode, it doesn't - so I lose my logging when this happens.
The "fix" is for me to just send the WC board another "api/setvar.cgi?varid=1&value=0" command to reset VAR1, and away it goes. But frequently it will reset itself to the last non-zero value it had!
Anyone else observed anything even remotely similar? It's happened about 15 times in the last 24 hours, resulting in a lot of missed data (and a solar tracker that hasn't been tracking!)