Custom configuration RatOS
У Klipper можна викликати shutdown_machineвіддалені reboot_machine методи з макросу gcode. Наприклад:
[gcode_macro SHUTDOWN] gcode: {action_call_remote_method("shutdown_machine")}
[gcode_macro REBOOT] gcode: {action_call_remote_method("reboot_machine")}
Moonraker host: 127.0.0.1 Moonraker port: 7125 Moonraker config file: /home/pi/printer_data/config/moonraker.conf Klipper log directory: /home/pi/printer_data/logs To link to your Obico Server account, you need to obtain the 6-digit verification code in the Obico mobile or web app, and enter the code below.
If you need help, head to https://obico.io/docs/user-guides/klipper-setup
Enter verification code (or leave it empty to abort): 368941
One last thing: Do you want to opt in bug reporting to help us make Obico better? The debugging info included in the report will be anonymized.
Opt in bug reporting? [Y/n]: Y
The changes we have made to your system:
- System service: /etc/systemd/system/moonraker-obico
- Config file: /home/pi/printer_data/config/moonraker-obico.cfg
- Update file:
- Inserted "[include moonraker-obico-update.cfg]" in the "moonraker.conf" file
- Log file:
To remove Obico for Klipper, run:
cd ~/moonraker-obico ./install.sh -u
RatOS - SAVE_GCODE_STATE
- PAUSE_state
- prime_line_state
- prime_blob_state
- unload_state
- load_state
- start_print_state
- end_print_state
- probe_for_priming_state
- probe_current_position_state
- screws_tilt_state
- STATE_G32
- probe_calibrate
- attach_probe_state
- detach_probe_state
Klipper State ?
- STATUS_READY
- STATUS_OFF
- STATUS_BUSY
- STATUS_HEATING
- STATUS_LEVELING
- STATUS_HOMING
- STATUS_CLEANING
- STATUS_MESHING
- STATUS_CALIBRATING_Z
- SET_NOZZLE_LEDS_ON
- SET_LOGO_LEDS_OFF
- SET_NOZZLE_LEDS_OFF
Ecample set state:
SAVE_GCODE_STATE name=probe_calibrate
STOW_PROBE
RESTORE_GCODE_STATE name=probe_calibrate MOVE=1 MOVE_SPEED={RatOS.macro_travel_speed|float}
Change Wi-Fi:
cat /etc/wpa_supplicant/wpa_supplicant.conf
cat /boot/ratos-wpa-supplicant.txt