Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSUControl though screen with Pi Power Button on GPIO3 #2485

Closed
arut16 opened this issue Dec 4, 2021 · 3 comments
Closed

PSUControl though screen with Pi Power Button on GPIO3 #2485

arut16 opened this issue Dec 4, 2021 · 3 comments
Assignees
Labels
support Something isn't working with the users setup

Comments

@arut16
Copy link

arut16 commented Dec 4, 2021

Describe the bug
Hi all,

I'm using an RPi4 with an Octopi/Octoprint instance on it for 3D printer. In Octoprint software, i'm using
OctoPrint-PSUControl plugin to control a 3v3 relay on GPIO21 and through it power on and down 3D printer with Raspberry. And without the physical power button, this working as it must.

I successfully installed the power-button on GPIO3 from this repo and powering on and shutdown of raspberry is working well through the momentary button.

BUT. Then I touch the screen to power on the printer through PSUControl. The relay closes and the printer power on and at the same time raspberry seems to "receive" also the command to power off like if I push the new power button but I didn't touch it !

Correction :
This behavior does happen too then I power on and off printer though PSUControl button on Octoprint webinterface.

There must be a kind of interference of signal between Pi Power Button and OctoPrint-PSUControl then I'm trying to power on printer by touching the OctoDash screen. But I don't know where to start in investigations...

Any help will be very kind !

To Reproduce
Steps to reproduce the behavior:

  1. Install Pi Power Button Repo and a momentary button on GPIO3 and GND.
  2. Power On RPi and wait to octoprint startup.
  3. Activate function "Turn On Printer When Exiting Sleep" [by touching the screen] in OctoDash settings.
  4. Touch the screen.

Expected behavior
Printer must power on through the relay AND raspberry stay ON.

General Information:

  • Hardware : Raspberry Pi 4 2Go, a 3v relay connected to GPIO21, a momentary button connected to GPIO3(SCL) and GND, a 5" capacitive HDMI screen (MPI5001) 800x480 USB touch interface
  • OS Info : OctoPi 0.18.0
  • OctoDash Version : 2.2.0
  • OctoPrint Version : 1.7.2
  • Python version : 3.7.3

Systeminfo Bundle

octoprint-systeminfo-20211204191905.zip

Octoprint.log
octoprint.log

@arut16 arut16 added the bug Something isn't working label Dec 4, 2021
@jneilliii
Copy link
Contributor

Probably a PSU Control plugin related issue rather than an octodash issue. OctoDash just sends the API command to PSU Control to power on I'm pretty sure.

@arut16
Copy link
Author

arut16 commented Dec 4, 2021

Probably a PSU Control plugin related issue rather than an octodash issue. OctoDash just sends the API command to PSU Control to power on I'm pretty sure.

You maybe right... Then I toggle psu button or the physical button, I see this lines :
1638647702446
Do you understand something ?
Can this issue be from this "module g2d_23 not found in directory /lib/modules/5.10.63-v7" ?

@UnchartedBull UnchartedBull added support Something isn't working with the users setup and removed bug Something isn't working labels Jan 17, 2022
@UnchartedBull
Copy link
Owner

Please google around for this error. As this is not related to OctoDash I'm closing this here for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Something isn't working with the users setup
Projects
None yet
Development

No branches or pull requests

3 participants