Relay turns on but not off. #78
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If I clear the GPIO mode, the relay turns off, then I can turn it on once, but when trying to turn it off I get the following error:
2017-12-13 14:31:22,520 - octoprint.plugins.enclosure - WARNING - An exception of type RuntimeError occurred on updateOutputUI. Arguments: ('Please set pin numbering mode using GPIO.setmode(GPIO.BOARD) or GPIO.setmode(GPIO.BCM)',)You should not be clearing the GPIO modes, this is intended for advanced use cases when you have incompatibility between two plugins.
After clearing, you need to change the mode, and save the settings, if you don't you will experience problems.
Best regards,
Vitor Henrique
Did it fix your issue? Let me know so I can close this thread.
I was only clearing the GPIO mode because it wasn't working in the first
place.
On Mon, Dec 18, 2017 at 12:11 PM, Vitor de Miranda Henrique <
notifications@github.com> wrote:
--
[+] Add me to your address book
https://ws.evercontact.com/kwaga-bin/titan/WEB/me.pl/10741646651484334446/i
Bud did you got it working?
What board are you using? what is the configuration that you are using? We need more information to help you.
Had to replace the pii was using for whatever reason.
On Dec 18, 2017 2:32 PM, "Vitor de Miranda Henrique" <
notifications@github.com> wrote:
What board are you using? what is the configuration that you are using? We
need more information to help you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vitormhenrique/OctoPrint-Enclosure/issues/78#issuecomment-352564142,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ag3NjLUl7B2QiHj-JUUeusMBt9XUmzy6ks5tBtoJgaJpZM4RAo3w
.
Oukay, I'm going to close this issue.