Relay turns on but not off. #78

Closed
opened 2017-12-13 14:35:35 +00:00 by JD2005L · 7 comments
JD2005L commented 2017-12-13 14:35:35 +00:00 (Migrated from github.com)

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)',)

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)',) `
vitormhenrique commented 2017-12-13 14:45:58 +00:00 (Migrated from github.com)

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

On Dec 13, 2017, at 8:35 AM, JD2005L notifications@github.com wrote:

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 are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

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 > On Dec 13, 2017, at 8:35 AM, JD2005L <notifications@github.com> wrote: > > 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 are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub, or mute the thread. >
vitormhenrique commented 2017-12-18 19:11:02 +00:00 (Migrated from github.com)

Did it fix your issue? Let me know so I can close this thread.

Did it fix your issue? Let me know so I can close this thread.
JD2005L commented 2017-12-18 21:25:18 +00:00 (Migrated from github.com)

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:

Did it fix your issue? Let me know so I can close this thread.


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-352528082,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ag3NjMLWmhg7H5jb47cSbGHHCS4eIrTYks5tBrjHgaJpZM4RAo3w
.

--

[+] Add me to your address book
https://ws.evercontact.com/kwaga-bin/titan/WEB/me.pl/10741646651484334446/i

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: > Did it fix your issue? Let me know so I can close this thread. > > — > 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-352528082>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/Ag3NjMLWmhg7H5jb47cSbGHHCS4eIrTYks5tBrjHgaJpZM4RAo3w> > . > -- [+] Add me to your address book <https://ws.evercontact.com/kwaga-bin/titan/WEB/me.pl/10741646651484334446/i>
vitormhenrique commented 2017-12-18 21:26:10 +00:00 (Migrated from github.com)

Bud did you got it working?

Bud did you got it working?
vitormhenrique commented 2017-12-18 21:32:57 +00:00 (Migrated from github.com)

What board are you using? what is the configuration that you are using? We need more information to help you.

What board are you using? what is the configuration that you are using? We need more information to help you.
JD2005L commented 2017-12-18 21:43:50 +00:00 (Migrated from github.com)

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
.

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> .
vitormhenrique commented 2017-12-18 22:13:20 +00:00 (Migrated from github.com)

Oukay, I'm going to close this issue.

Oukay, I'm going to close this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gandalf/OctoPrint-Enclosure#78