Solved--Trying to add buttons to OctoPrint for PSU Control


#1

I have a Raspberry Pi Zero W connected to my MK3 running OctoPrint 1.3.10 on OctoPi 0.15.OPE. I have PSU Control plugin and have setup everything but the buttons to control the PSU. I am not trying to control the printer's PSU, but to control an ATX that I want to use to power lighting for the RaspCam. I have been following this tutorial, but I am unable to locate the "~/.octoprint/config.yaml in the ‘system:’ section" that is mentioned for creating the buttons. Help...


#2

Perhaps the config docs can be of some assistance http://docs.octoprint.org/en/master/configuration/config_yaml.html

~/.octoprint/config.yaml refers to the configuration file, that's its path, while the 'system:' section refers to a particular section inside config.yaml. If that section doesn't exist, you may create it yourself but be mindful that spaces matter. You need to follow the same tab spacing or else you'll break the config file. http://docs.octoprint.org/en/master/configuration/yaml.html


#3

Thanks, that is very useful, but I just realized that I don't have to add buttons, the plugin already added the lightning bolt button. I was not being observant as usual...