You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just installed this plugin. Connected the sensor. Restarted Octoprint. Set Pin number to "11" and clicked "Save". Upon opening the settings back up, none of the settings were saved.
octoprint.log shows the following error:
2022-12-30 05:22:39,141 - octoprint.plugins.filamentsensorsimplified - INFO - Saving settings for Filament Sensor Simplified
2022-12-30 05:22:39,150 - octoprint.server.api.settings - ERROR - Could not save settings for plugin Filament Sensor Simplified (0.3.3)
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/server/api/settings.py", line 1139, in _saveSettings
plugin.on_settings_save(data["plugins"][plugin_id])
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/__init__.py", line 1688, in wrapper
return f(*args, **kwargs)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_filamentsensorsimplified/__init__.py", line 284, in on_settings_save
usage = GPIO.gpio_function(pin_to_save)
RuntimeError: Please set pin numbering mode using GPIO.setmode(GPIO.BOARD) or GPIO.setmode(GPIO.BCM)
Screen recording:
The text was updated successfully, but these errors were encountered:
Just installed this plugin. Connected the sensor. Restarted Octoprint. Set Pin number to "11" and clicked "Save". Upon opening the settings back up, none of the settings were saved.
octoprint.log shows the following error:
Screen recording:
The text was updated successfully, but these errors were encountered: