Hallo Forum,
ich habe OctoPrint auf einem Raspi installiert und erstmal zum Laufen bekommen.
Testen mit Drucker kann ich erst wenn ich meinen Drucker auch hier habe...
Ich wollte die config.yaml so anpassen, dass ich den raspi von OctoPrint aus neu starten, bzw. herunterfahren kann.
hierzu habe ich folgenden Abschnitt ans Ende der config.yaml eingefügt:
system:
actions:
– name: Reboot
action: reboot
command: sudo reboot
confirm: You are about to reboot the system.
– name: Shutdown
action: shutdown
command: sudo shutdown -h now
confirm: You are about to shutdown the System.
Jetzt kommt aber beim Start folgende Fehlermeldung, mit der ich nichts anfangen kann:
yaml.parser.ParserError: while parsing a block mapping
in "/home/pi/.octoprint/config.yaml", line 14, column 3
expected <block end>, but found '-'
in "/home/pi/.octoprint/config.yaml", line 19, column 3
Kann mir jemand sagen, was hier falsch läuft?
Gruß
Matthias
ich habe OctoPrint auf einem Raspi installiert und erstmal zum Laufen bekommen.
Testen mit Drucker kann ich erst wenn ich meinen Drucker auch hier habe...
Ich wollte die config.yaml so anpassen, dass ich den raspi von OctoPrint aus neu starten, bzw. herunterfahren kann.
hierzu habe ich folgenden Abschnitt ans Ende der config.yaml eingefügt:
system:
actions:
– name: Reboot
action: reboot
command: sudo reboot
confirm: You are about to reboot the system.
– name: Shutdown
action: shutdown
command: sudo shutdown -h now
confirm: You are about to shutdown the System.
Jetzt kommt aber beim Start folgende Fehlermeldung, mit der ich nichts anfangen kann:
yaml.parser.ParserError: while parsing a block mapping
in "/home/pi/.octoprint/config.yaml", line 14, column 3
expected <block end>, but found '-'
in "/home/pi/.octoprint/config.yaml", line 19, column 3
Kann mir jemand sagen, was hier falsch läuft?
Gruß
Matthias