-
-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Plugin Version
Latest version 0.6.2 installed with the Plugin Manager, and "PhysicalButton-82-bug-on-new-installation" downloaded from link in first "Can't get this to work" post.
Question
I've been working with this for several hours over the last couple of days and have not been able to get any response from a button press.
I have a relay on gpio 18 and a button on gpio 21. My goal is to toggle a work light over the printer, and other equipment, locally in the shop, and remotely from my pc. The relay works fine remotely using the gpio plugin, but not with the physical button plugin.
I've not used a Raspberry Pi other than for Octoprint, so I don't know other troubleshooting methods. I disconnected a Raspberry Pi from the printer and brought it inside so I could get internet access. I then updated Octoprint and all other plugins. After confirming all was working properly I installed the gpio plugin and tested it. Then I installed the Physical Buttons plugin but have not been able to get a successful test.
Just FYI, my printers, and other machines, are connected to a shop LAN along with the PC in my house. While my PC is internet connected the LAN is not, so I bring the devices in to do updates.
Additional context
Using a Raspberry Pi 4. Installed this plugin after fully updating and verifying Octopi and previous plugins. After failing to get the plugin working on one Raspberry Pi yesterday, I put it back in service and this morning brought in another Raspberry Pi 4 to update. I have not gotten any response from buttons on either Pi.
Button is on gpio 21 and Ground.
Relay is on gpio 18, 5v, and Ground.
I have tried using different gpio pins for the button.
I have tried with the gpio plugin installed and uninstalled. I can control the relay from my PC with the gpio plugin but I still need a physical button in the shop.
I attempted to set the Physical Buttons plugin to log but I'm not sure I was successful. The Octoprint system info bundle is attached.
Here is the button config info.
[ { "activities": [ { "execute": { "async": "False", "gpio": "18", "id": 1751654863446, "initial": "LOW", "time": "0", "value": "Toggle" }, "identifier": "ToggleWorkLight", "type": "output" } ], "buttonMode": "Normally Open (NO)", "buttonName": "WorkLight", "buttonTime": "250", "enabled": true, "enabledWhilePrinting": true, "gpio": "21", "id": 1751654823195 } ]
Hopefully I've missed something easy to fix. Please let me know If I need to gather anymore logs, info, ect.
Thanks