When I run this with the enclosure plugin and a few others I get this error and non functioning behavior from psu control. I set the enclosure plugin option to use BOARD pins as that seemed to match your usage and would eliminate a pin conflict I thought.
Here's a log file:
2017-03-24 01:06:20,832 - octoprint.server - INFO - Starting OctoPrint 1.3.2 (master branch) 2017-03-24 01:06:20,833 - octoprint.server - INFO - ****************************************************************************** 2017-03-24 01:06:21,049 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages... 2017-03-24 01:06:25,430 - octoprint.plugin.core - INFO - Found 19 plugin(s) providing 15 mixin implementations, 14 hook handlers 2017-03-24 01:06:25,525 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages... 2017-03-24 01:06:26,007 - octoprint.plugin.core - INFO - Found 19 plugin(s) providing 15 mixin implementations, 14 hook handlers 2017-03-24 01:06:26,017 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads... 2017-03-24 01:06:26,081 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully. 2017-03-24 01:06:26,520 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk 2017-03-24 01:06:40,173 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python -m pip" as command to invoke pip 2017-03-24 01:06:44,743 - octoprint.util.pip - INFO - Version of pip is 9.0.1 2017-03-24 01:06:44,745 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages, --user flag needed => no, virtual env => yes 2017-03-24 01:06:44,750 - octoprint.plugin.core - INFO - Initialized 15 plugin implementation(s) 2017-03-24 01:06:44,777 - octoprint.plugins.psucontrol - INFO - Running RPi.GPIO version 0.6.3 2017-03-24 01:06:44,778 - octoprint.plugins.psucontrol - INFO - Using sensing to determine PSU on/off state. 2017-03-24 01:06:44,778 - octoprint.plugins.psucontrol - INFO - Configuring GPIO for pin 19 2017-03-24 01:06:44,779 - octoprint.plugins.psucontrol - INFO - Using GPIO for On/Off 2017-03-24 01:06:44,780 - octoprint.plugins.psucontrol - INFO - Configuring GPIO for pin 3 2017-03-24 01:06:44,794 - octoprint.plugin.core - INFO - 19 plugin(s) registered with the system: | Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/announcements | Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/corewizard | Cost Plugin (0.1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cost | CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/cura | Detailed Progress Plugin (0.1.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_detailedprogress | Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/discovery | EEPROM Marlin Editor Plugin (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_eeprom_marlin | Enclosure Plugin (2.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_enclosure | FileManager (0.1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_filemanager | GCODE System Commands (0.1.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_gcodesystemcommands | Gcodebar Plugin (0.1.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_GCodeBar | Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/pluginmanager | PSU Control (0.1.3) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_psucontrol | !Slic3r (1.0.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_slic3r | Slicer (1.0.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_slicer | Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/softwareupdate | !STL Viewer (0.3.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_stlviewer | !TouchUI (0.3.6) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_touchui | !Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/virtual_printer 2017-03-24 01:06:44,797 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue... 2017-03-24 01:06:44,810 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue 2017-03-24 01:06:44,815 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets... 2017-03-24 01:06:44,846 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache... 2017-03-24 01:06:45,388 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "i2 Samuel XL" for _http._tcp 2017-03-24 01:06:45,409 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "i2 Samuel XL" for _octoprint._tcp 2017-03-24 01:06:45,413 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "i2 Samuel XL" for SSDP 2017-03-24 01:06:45,497 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid 2017-03-24 01:06:45,540 - octoprint.server - INFO - Listening on http://127.0.0.1:5000 2017-03-24 01:06:46,026 - octoprint.server - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://192.168.1.207/'} 2017-03-24 01:06:46,071 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:06:46,149 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:06:49,797 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:06:52,917 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.17 2017-03-24 01:06:54,826 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:06:55,769 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin 1.1.0-RC8 (Github)" 2017-03-24 01:06:56,237 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:06:56,298 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:06:58,676 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin 1.1.0-RC8 (Github)" 2017-03-24 01:07:01,223 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:07:06,305 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:07:06,413 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:07:06,470 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:07:11,312 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:07:16,314 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:07:16,530 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:07:17,636 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:07:21,317 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:07:26,319 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:07:27,694 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:07:27,749 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:07:31,322 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:07:36,325 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:07:37,808 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:07:37,864 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:07:41,327 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:07:46,330 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:07:47,923 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:07:47,978 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:07:51,333 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:07:56,345 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:07:58,037 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:07:58,092 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:08:01,347 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:08:06,349 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:08:08,152 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:08:08,207 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:08:11,352 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:08:16,358 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:08:18,267 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:08:18,322 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:08:21,361 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:08:26,364 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:08:27,555 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.17 2017-03-24 01:08:28,405 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:08:28,498 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:08:32,419 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:08:37,619 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:08:37,704 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.17 2017-03-24 01:08:38,562 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:08:38,618 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:08:42,622 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:08:47,628 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:08:48,677 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:08:48,733 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:08:52,632 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:08:57,635 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:08:58,793 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:08:58,848 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:09:02,639 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:09:07,642 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:09:08,908 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:09:08,964 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:09:12,645 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:09:17,647 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:09:19,024 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:09:19,079 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:09:22,650 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:09:27,652 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:09:29,139 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:09:29,196 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:09:32,654 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:09:37,657 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:09:39,256 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:09:39,311 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:09:42,659 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:09:47,663 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:09:49,372 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:09:49,428 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:09:52,666 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:09:57,669 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:09:59,487 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:09:59,543 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:10:02,671 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:10:07,674 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:10:09,601 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:10:09,658 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:10:12,676 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:10:17,679 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:10:19,717 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:10:19,775 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:10:22,681 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:10:27,683 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:10:29,835 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:10:29,891 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:10:32,685 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:10:37,688 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:10:39,950 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:10:40,005 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:10:42,403 - octoprint.plugins.psucontrol - INFO - Switching PSU On 2017-03-24 01:10:42,405 - octoprint.plugins.psucontrol - ERROR - The GPIO channel has not been set up as an OUTPUT 2017-03-24 01:10:42,506 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:10:42,690 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:10:44,071 - octoprint.plugins.psucontrol - INFO - Switching PSU On 2017-03-24 01:10:44,072 - octoprint.plugins.psucontrol - ERROR - The GPIO channel has not been set up as an OUTPUT 2017-03-24 01:10:44,173 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:10:44,296 - octoprint.plugins.psucontrol - INFO - Switching PSU On 2017-03-24 01:10:44,297 - octoprint.plugins.psucontrol - ERROR - The GPIO channel has not been set up as an OUTPUT 2017-03-24 01:10:44,398 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:10:45,903 - octoprint.plugins.psucontrol - INFO - Switching PSU On 2017-03-24 01:10:45,904 - octoprint.plugins.psucontrol - ERROR - The GPIO channel has not been set up as an OUTPUT 2017-03-24 01:10:46,005 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:10:47,692 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:10:50,064 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:10:50,120 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:10:52,695 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:10:57,699 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:11:00,179 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:11:00,235 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:11:01,392 - octoprint.plugins.psucontrol - INFO - Auto-On - Turning PSU On (Triggered by G0) 2017-03-24 01:11:01,394 - octoprint.plugins.psucontrol - INFO - Switching PSU On 2017-03-24 01:11:01,394 - octoprint.plugins.psucontrol - ERROR - The GPIO channel has not been set up as an OUTPUT 2017-03-24 01:11:01,495 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:11:02,701 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:11:07,704 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:11:10,293 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:11:10,348 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:11:12,706 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:11:17,709 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:11:20,407 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:11:20,461 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:11:22,110 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.17 2017-03-24 01:11:22,465 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.17 2017-03-24 01:11:22,724 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:11:27,735 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:11:30,520 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:11:30,575 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:11:32,737 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:11:37,740 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:11:40,634 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:11:40,688 - octoprint.plugins.enclosure - INFO - Failed to read Humidity 2017-03-24 01:11:42,742 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:11:47,747 - octoprint.plugins.psucontrol - ERROR - You must setup() the GPIO channel first 2017-03-24 01:11:50,746 - octoprint.plugins.enclosure - INFO - Failed to read Temperature 2017-03-24 01:11:50,801 - octoprint.plugins.enclosure - INFO - Failed to read Humidity