What is the problem?
Emergency Stop Simplified do not works to me
Nothing happen. No M112 command is sent to the printer
What did you already try to solve it?
I connect a NC switch between 3.3 v and BCM 23 and I have verified the signal is working with the gpio readall raspberry command
Have you tried running in safe mode?
I can't because plugins are diasabled in safe mode
Did running in safe mode solve the problem?
NO
Complete Logs
octoprint.log (327.9 KB)
WRITE HERE
Additional information about your setup
browser.user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
connectivity.connection_check: 8.8.8.8:53
connectivity.connection_ok: true
connectivity.enabled: true
connectivity.online: true
connectivity.resolution_check: octoprint.org
connectivity.resolution_ok: true
env.hardware.cores: 4
env.hardware.freq: 1200
env.hardware.ram: 917016576
env.os.bits: 32
env.os.id: linux
env.os.platform: linux2
env.plugins.pi_support.model: Raspberry Pi 3 Model B Rev 1.2
env.plugins.pi_support.octopi_version: 0.17.0
env.plugins.pi_support.throttle_state: 0x0
env.python.pip: 20.3
env.python.version: 2.7.16
env.python.virtualenv: true
octoprint.safe_mode: false
octoprint.version: 1.5.2
printer.firmware: Marlin 1.1.9 (Github, davidramiro) MARLIN-
WRITE HERE
From your log, there is this error:
2020-12-19 14:38:33,116 - octoprint.plugins.emergencystopsimplified - INFO - Emergency Stop Simplified started
2020-12-19 14:38:33,117 - octoprint.plugins.emergencystopsimplified - INFO - Setting up button.
2020-12-19 14:38:33,139 - octoprint.plugins.emergencystopsimplified - INFO - Using Board Mode
2020-12-19 14:38:33,141 - octoprint.plugin - ERROR - Error while calling plugin emergencystopsimplified
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/__init__.py", line 271, in call_plugin
result = getattr(plugin, method)(*args, **kwargs)
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/__init__.py", line 1890, in wrapper
return f(*args, **kwargs)
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_emergencystopsimplified/__init__.py", line 47, in on_after_startup
self._setup_button()
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_emergencystopsimplified/__init__.py", line 59, in _setup_button
GPIO.setmode(GPIO.BCM)
ValueError: A different mode has already been set!
It might be a conflict with the PSU control plugin. Can you change the mode in the settings, so that they don't conflict?
1 Like
Thank you Charlie ! I did't realize that!
I have changed the PSU setting using GPIO Mode to BCM but using the same PIN.
Before it was set to BOARD and so maybe a conflit was created.
So I think the conclusion is that all the plugins using GPIO Pin has to be set in the same way (in this case BCM). Problem Solved !
Thank you once again and have a Merry Christmas!
1 Like