GPIO status in Enclosure tab does not update with state change #263

Open
opened 2019-10-11 06:43:01 +01:00 by 407pilot · 0 comments
407pilot commented 2019-10-11 06:43:01 +01:00 (Migrated from github.com)

I have a GPIO output controlling a solenoid. When I use the button in the Enclosure tab to toggle the state of the GPIO pin, the On/Off status does not update, and the (software) button stops responding.

Sending gcode commands to turn the GPIO On/Off works as expected.
Edit: Sending G Code via the terminal works as expected, however, octoprint enclosure does not respond when the code is part of a running file.

Log file is attached, but there doesn't seem to be anything logged when I click the (software) button. The output is BCM 5.

Sorry for the multiple screen grabs. My laptop screen isn't big enough to show the entire output.

2019-10-11_00-35-50 684 2019-10-11_00-32-38 703 2019-10-11_00-32-24 106 2019-10-11_00-32-04 647

octoprint.log

I have a GPIO output controlling a solenoid. When I use the button in the Enclosure tab to toggle the state of the GPIO pin, the On/Off status does not update, and the (software) button stops responding. Sending gcode commands to turn the GPIO On/Off works as expected. Edit: Sending G Code via the terminal works as expected, however, octoprint enclosure does not respond when the code is part of a running file. Log file is attached, but there doesn't seem to be anything logged when I click the (software) button. The output is BCM 5. Sorry for the multiple screen grabs. My laptop screen isn't big enough to show the entire output. <img width="697" alt="2019-10-11_00-35-50 684" src="https://user-images.githubusercontent.com/24866059/66626775-18458180-ebbf-11e9-9745-83790ea177c4.png"> <img width="694" alt="2019-10-11_00-32-38 703" src="https://user-images.githubusercontent.com/24866059/66626679-bbe26200-ebbe-11e9-8ab8-681a6a2467d2.png"> <img width="685" alt="2019-10-11_00-32-24 106" src="https://user-images.githubusercontent.com/24866059/66626678-bbe26200-ebbe-11e9-8752-e35608188363.png"> <img width="701" alt="2019-10-11_00-32-04 647" src="https://user-images.githubusercontent.com/24866059/66626677-bbe26200-ebbe-11e9-9ba2-f663b913203e.png"> [octoprint.log](https://github.com/vitormhenrique/OctoPrint-Enclosure/files/3715768/octoprint.log)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gandalf/OctoPrint-Enclosure#263