add note about reconnecting after power cycle

This commit is contained in:
seanauff 2020-09-29 17:05:14 -04:00 committed by GitHub
parent 405b8f4b55
commit 5cec9213c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,10 @@ A sample docker-compose file is also provided.
If you have any questions, feel free to log an issue on this project, and I'll see if I can help. If you have any questions, feel free to log an issue on this project, and I'll see if I can help.
## Reconnecting to MCU after board power cycle
Depending on your power situation, removing power from the printer main board will interrupt the serial connection. I had to give my container some more permissions in order to detect the coonection again without restarting the entire container. There is some discussion [here](https://github.com/moby/moby/issues/35359) and [here](https://www.losant.com/blog/how-to-access-serial-devices-in-docker).
## Updates ## Updates
The easiest way to update is to pull the latest image and recreate the container. You could also build the image yourself to get the latest updates. I have had success in using the Octoprint built in updater to upgrade plugins, as well as install new ones. Any upgrades conducted in this manner will be lost upon recreation of the container. The easiest way to update is to pull the latest image and recreate the container. You could also build the image yourself to get the latest updates. I have had success in using the Octoprint built in updater to upgrade plugins, as well as install new ones. Any upgrades conducted in this manner will be lost upon recreation of the container.