Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilouz committed Sep 29, 2024
1 parent c2afca4 commit ac3f1a9
Show file tree
Hide file tree
Showing 20 changed files with 76 additions and 57 deletions.
4 changes: 2 additions & 2 deletions docs/configurations/change-wifi-location.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Only make these changes if you are experiencing stability issues with your print

- Enter the following command to check all available locations:

``` title="SSH Command Prompt"
```
cat /usr/share/zoneinfo/zone.tab
```

Expand All @@ -43,7 +43,7 @@ Only make these changes if you are experiencing stability issues with your print

- On the right part of the window, in SSH command prompt, enter this command to reboot your printer:

``` title="SSH Command Prompt"
```
reboot
```

Expand Down
2 changes: 1 addition & 1 deletion docs/configurations/configure-camera.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ If you want to configure camera for Fluidd and Mainsail you can also configure i

- Add this lines (if you don't have them) by replacing `xxx.xxx.xxx.xxx` by your local IP address:

``` title="moonraker.conf"
```
[webcam Camera]
location: printer
enabled: True
Expand Down
22 changes: 11 additions & 11 deletions docs/firmwares/change-date-and-time.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,67 +14,67 @@ This guide explains how to set the correct date and time on your printer based o

- Enter this command to see the current date and time defined on your printer:

``` title="SSH Command Prompt"
```
date
```

If date and time are correct, there is no need to continue.

- Enter this command to see the current time zone defined on your printer:

``` title="SSH Command Prompt"
```
ls -l /etc/localtime | awk '{print $6, $7, $8, $9, $10, $11}'
```

By default I get this (I live in France so this is not correct):

``` title="SSH Command Prompt"
```
Jan 10 16:04 /etc/localtime -> ../usr/share/zoneinfo/Asia/Shanghai
```

- Enter this command to delete the current time zone:

``` title="SSH Command Prompt"
```
rm -rf /etc/localtime
```

- Enter this command to display the list of available zones:

``` title="SSH Command Prompt"
```
ls /usr/share/zoneinfo | grep '^[A-Z]'
```

- Enter this command to display the list of cities available in the chosen zone (by replacing the `XXX` with the zone):

``` title="SSH Command Prompt"
```
ls /usr/share/zoneinfo/XXX | grep '^[A-Z]'
```

!!! Example
``` title="SSH Command Prompt"
```
ls /usr/share/zoneinfo/Europe | grep '^[A-Z]'
```

- When you have find your current time zone, enter this command to define it (by replacing the `XXX` with the zone and `YYY` by the city):

``` title="SSH Command Prompt"
```
ln -s /usr/share/zoneinfo/XXX/YYY /etc/localtime
```

!!! Example
``` title="SSH Command Prompt"
```
ln -s /usr/share/zoneinfo/Europe/Paris /etc/localtime
```

- Enter this command to restart NTP server to take effect:

``` title="SSH Command Prompt"
```
/etc/init.d/S49ntp restart
```

- Then enter this command again to see the changes applied:

``` title="SSH Command Prompt"
```
date
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ This can be useful if you have made modifications to the printer (BLTouch etc...

- If you no longer want to have the USB drive inserted (until the next factory reset), connect to SSH (Guide is available <a href="../ssh-connection">here</a>) and enter this command:

``` title="SSH Command Prompt"
```
sed -i 's/"self_test_sw":1/"self_test_sw":0/' /usr/data/creality/userdata/config/system_config.json
```

Expand Down
2 changes: 1 addition & 1 deletion docs/firmwares/install-and-update-rooted-firmware-k1.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ This can be useful if you have made modifications to the printer (BLTouch etc...

- If you no longer want to have the USB drive inserted (until the next factory reset), connect to SSH (Guide is available <a href="../ssh-connection">here</a>) and enter this command:

``` title="SSH Command Prompt"
```
sed -i 's/"self_test_sw":1/"self_test_sw":0/' /usr/data/creality/userdata/config/system_config.json
```

Expand Down
4 changes: 2 additions & 2 deletions docs/firmwares/reset-factory-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Note that the Factory Reset function in the screen menu settings only performs a

- Enter the following command to perform a full factory reset:

``` title="SSH Command Prompt"
```
echo "all" | nc -U /var/run/wipe.sock
```

Expand All @@ -32,7 +32,7 @@ Note that the Factory Reset function in the screen menu settings only performs a

- Enter the following command to perform a full factory reset:

``` title="SSH Command Prompt"
```
/etc/init.d/S58factoryreset reset
```

Expand Down
2 changes: 1 addition & 1 deletion docs/firmwares/restore-previous-firmware-ender3.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ You can easily restore current Firmware to a previous one.

- Connect to SSH (Guide is available <a href="../ssh-connection">here</a>) and run this command:

``` title="SSH Command Prompt"
```
/etc/ota_bin/local_ota_update.sh /tmp/udisk/sda1/*.img
```

Expand Down
2 changes: 1 addition & 1 deletion docs/firmwares/restore-previous-firmware-k1.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ You can easily restore current Firmware to a previous one.

- Connect to SSH (Guide is available <a href="../ssh-connection">here</a>) and run this command:

``` title="SSH Command Prompt"
```
/etc/ota_bin/local_ota_update.sh /tmp/udisk/sda1/*.img
```

Expand Down
2 changes: 1 addition & 1 deletion docs/helper-script/buzzer-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This allows to use the buzzer integrated into the motherboard to play a sound du

!!! Example
Here is an example to play 3 sounds when printing is complete:<br />
``` title="gcode_macro.cfg" hl_lines="12 13 14"
```
[gcode_macro END_PRINT]
gcode:
Qmode_exit
Expand Down
2 changes: 1 addition & 1 deletion docs/helper-script/camera-settings-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This allows to control camera settings with macros.

- When restarting the printer your camera settings will not be preserved, to correct this open `camera-settings.cfg` located in `Helper-Script` folder and edit this lines with the desired values:

``` title="camera-settings.cfg"
```
[delayed_gcode LOAD_CAM_SETTINGS]
initial_duration: 2
gcode:
Expand Down
35 changes: 23 additions & 12 deletions docs/helper-script/entware.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,53 +26,64 @@ Installing Entware allows ton install packages to your printer to perform new ta
- This is available commands (replacing `<packagename>` by the name of the package):


``` title="To install a specified package"
To install a specified package:
```
opkg install <packagename>
```

``` title="To update available packages list"
To update available packages list:
```
opkg update
```

``` title="To update all installed packages"
To update all installed packages:
```
opkg upgrade
```

``` title="To update a specified package"
To update a specified package:
```
opkg upgrade <packagename>
```

``` title="To display the list of all available packages"
To display the list of all available packages:
```
opkg list
```

``` title="To display the list of all installed packages"
To display the list of all installed packages:
```
opkg list-installed
```

``` title="To display the list of packages that can be updated"
To display the list of packages that can be updated:
```
opkg list-upgradable
```

``` title="To remove package without its associated dependencies"
To remove package without its associated dependencies:
```
opkg remove <packagename>
```

``` title="To remove package and its associated dependencies"
To remove package and its associated dependencies:
```
opkg --autoremove remove <packagename>
```

``` title="To display detailed information about a specified package"
To display detailed information about a specified package:
```
opkg info <packagename>
```

``` title="To display the list of files installed by a specified package"
To display the list of files installed by a specified package:
```
opkg files <packagename>
```

!!! Example
To install **Nano** (Nano is a small and simple text editor for use on the terminal):<br/>
``` title="SSH Command Prompt"
```
opkg install nano
```

Expand Down
5 changes: 3 additions & 2 deletions docs/helper-script/git-backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,12 @@ This allows to watch Klipper configuration folder and automatically backup to Gi

- Git Backup can also be controlled from SSH with this command by replacing `<option>` with possible option:

``` title="SSH Command Prompt"
```
sh /usr/data/helper-script/files/git-backup/git-backup.sh <option>
```

``` title="Possible Options"
Possible Options:
```
-i Install
-p Pause
-r Resume
Expand Down
6 changes: 3 additions & 3 deletions docs/helper-script/helper-script-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@ If you have already installed Moonraker, Fluidd or Mainsail provided by Creality

- Enter the following command to install script in `usr/data` folder:

``` title="SSH Command Prompt"
```
git clone https://github.com/Guilouz/Creality-Helper-Script.git /usr/data/helper-script
```

- And enter this command to run the script:

``` title="SSH Command Prompt"
```
sh /usr/data/helper-script/helper.sh
```

<br />

- If you encounter an issue to clone Helper Script repository, enter this command before cloning:

``` title="SSH Command Prompt"
```
git config --global http.sslVerify false
```

Expand Down
4 changes: 2 additions & 2 deletions docs/helper-script/mobileraker-companion.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ More info about Mobileraker: :material-web: [Here](https://mobileraker.com/)

- You can now test push notifications by enter this command in Console on Fluidd or Mainsail Web interface:

``` title="Console"
```
M117 $MR$:Hi guy!|This message is a notification test.
```

Expand All @@ -164,7 +164,7 @@ More info about Mobileraker: :material-web: [Here](https://mobileraker.com/)

- And add this macro:

``` title="gcode_macro.cfg"
```
[gcode_macro MR_NOTIFY]
description: Allows to send custom notifications via Mobileraker without using the M117 command
gcode:
Expand Down
2 changes: 1 addition & 1 deletion docs/helper-script/moonraker-ender3.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ It allows to manage services with Moonraker.

- It can be also used in SSH with this command:

``` title="SSH Command Prompt"
```
/usr/bin/supervisorctl [command] <service>
```

Expand Down
2 changes: 1 addition & 1 deletion docs/helper-script/moonraker-k1.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ It allows to manage services with Moonraker.

- It can be also used in SSH with this command:

``` title="SSH Command Prompt"
```
/usr/bin/supervisorctl [command] <service>
```

Expand Down
2 changes: 1 addition & 1 deletion docs/helper-script/nozzle-cleaning-fan-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This allows to control hotend and side fans during nozzle cleaning process to ha

- And change the `max_speed` value knowing that the max value is 1.0 (which corresponds to a speed of 100%).

``` title="nozzle-cleaning-fan-control.cfg" hl_lines="2"
```
[prtouch_v2_fan]
max_speed: 0.5
```
Expand Down
8 changes: 4 additions & 4 deletions docs/improvements/calibrate-extruder.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ On an extruder, the rotation_distance is the amount of distance the filament tra

Note this value of 100mm as the `<requested_extrude_distance>`:

``` title="Console"
```
G91
```

``` title="Console"
```
G1 E100 F100
```

Expand All @@ -37,7 +37,7 @@ On an extruder, the rotation_distance is the amount of distance the filament tra

- Then retrieve the current rotation_distance value from the `printer.cfg` file at the `rotation_distance:` line of the `[extruder]` section:

``` title="printer.cfg" hl_lines="8"
```
[extruder]
max_extrude_only_distance: 1000.0
max_extrude_cross_section: 80
Expand Down Expand Up @@ -87,7 +87,7 @@ On an extruder, the rotation_distance is the amount of distance the filament tra
- I replace the **rotation_distance: 6.9** line in the `printer.cfg` file with:<br />
**rotation_distance: 7.038**:

``` title="printer.cfg" hl_lines="8"
```
[extruder]
max_extrude_only_distance: 1000.0
max_extrude_cross_section: 80
Expand Down
4 changes: 2 additions & 2 deletions docs/improvements/improve-hotend-cooling-k1.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ By making this change, the hotend fan speed will be reduced to 80% and the side

- Search macro named `[gcode_macro WAIT_TEMP_START]` and replace it by this one:

``` title="gcode_macro.cfg"
```
[gcode_macro WAIT_TEMP_START]
gcode:
UPDATE_DELAYED_GCODE ID=wait_temp DURATION=1
Expand All @@ -30,7 +30,7 @@ By making this change, the hotend fan speed will be reduced to 80% and the side

- Then, search macro named `[gcode_macro WAIT_TEMP_END]` and replace it by this one:

``` title="gcode_macro.cfg"
```
[gcode_macro WAIT_TEMP_END]
gcode:
UPDATE_DELAYED_GCODE ID=wait_temp DURATION=0
Expand Down
Loading

0 comments on commit ac3f1a9

Please sign in to comment.