Repetier server 5.7.0 gpio pin says Unknown GPIO Value yet switches work
I use @gpio commands to turn on/off printer automatically and they will not work when this occurs. If I go into the gpio settings for that pin, make no changes and just click save it starts working again.
Comments
Untitled.jpg (1162×62) (sharepoint.com)
What is 5.7.0 gpio pin? Pins have only one number not 3 separated.
Let's try again
Also when does this state to unknown happen? When you changed pin state with command or random?
Run on printer activation script:
What happens is that the reading can fail and goes to error state. Now you can only see an error when we do not delete it, so it stays forever or until you save and resets all error states. This specific error happens when reading pin state does not return 0 or 1 so probably when linux is just updating it's value. So more a temporary error and I will remove the error in that case in future release.
Anyhow since I fixed it in dev tree you can run on pi ssh console
installDev
to get the fixed version. Hope it works as it did not appear on my pi so far.
Dave