Skip to content

Commit e314c36

Browse files
julianschillmlee12382MapleLeafMakersbuzztiaanzerojarvis
authored
Release v0.0.11 (#195)
Co-authored-by: Julian Schill <[email protected]> Co-authored-by: Michael <[email protected]> Co-authored-by: Maple Leaf Makers <[email protected]> Co-authored-by: buZz <[email protected]> Co-authored-by: zerojarvis <[email protected]> Co-authored-by: voidtrance <[email protected]> Co-authored-by: reemo3dp <[email protected]>
1 parent c735fe5 commit e314c36

13 files changed

+908
-292
lines changed

.github/workflows/build.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,23 @@ jobs:
2828
ASSET_MIME: application/vnd.microsoft.portable-executable
2929
POETRY_FOLDER: C:\Users\runneradmin\.local
3030
steps:
31-
- uses: actions/checkout@v1
31+
- uses: actions/checkout@v4
3232
- name: Set up Python 3.9
33-
uses: actions/setup-python@v4
33+
uses: actions/setup-python@v5
3434
with:
3535
python-version: 3.9
3636
#- name: cache poetry install
3737
# uses: actions/cache@v3
3838
# with:
3939
# path: ${{matrix.POETRY_FOLDER}}
4040
# key: poetry-1.3.3-0
41-
- uses: snok/install-poetry@v1.3.3
41+
- uses: snok/install-poetry@v1
4242
with:
4343
virtualenvs-create: true
4444
virtualenvs-in-project: true
4545
- name: cache deps
4646
id: cache-deps
47-
uses: actions/cache@v3
47+
uses: actions/cache@v4
4848
with:
4949
path: simulator/.venv
5050
key: pydeps-${{ hashFiles('**/poetry.lock') }}
@@ -60,7 +60,7 @@ jobs:
6060
working-directory: ./simulator
6161
run: ${{matrix.POETRY_FOLDER}}/bin/poetry run ${{matrix.CMD_BUILD}}
6262
- name: Upload artifact
63-
uses: actions/upload-artifact@v1.0.0
63+
uses: actions/upload-artifact@v4
6464
with:
6565
name: ledeffect-simulator_${{matrix.TARGET}}
6666
path: simulator/dist/${{matrix.OUT_FILE_NAME}}

.github/workflows/release.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Output Release URL File
2424
run: echo "${{ steps.create_release.outputs.upload_url }}" > release_url.txt
2525
- name: Save Release URL File for publish
26-
uses: actions/upload-artifact@v1
26+
uses: actions/upload-artifact@v4
2727
with:
2828
name: release_url
2929
path: release_url.txt
@@ -50,23 +50,23 @@ jobs:
5050
ASSET_MIME: application/vnd.microsoft.portable-executable
5151
POETRY_FOLDER: C:\Users\runneradmin\.local
5252
steps:
53-
- uses: actions/checkout@v1
53+
- uses: actions/checkout@v4
5454
- name: Set up Python 3.9
55-
uses: actions/setup-python@v4
55+
uses: actions/setup-python@v5
5656
with:
5757
python-version: 3.9
5858
#- name: cache poetry install
5959
# uses: actions/cache@v3
6060
# with:
6161
# path: ${{matrix.POETRY_FOLDER}}
6262
# key: poetry-1.3.3-0
63-
- uses: snok/install-poetry@v1.3.3
63+
- uses: snok/install-poetry@v1
6464
with:
6565
virtualenvs-create: true
6666
virtualenvs-in-project: true
6767
- name: cache deps
6868
id: cache-deps
69-
uses: actions/cache@v3
69+
uses: actions/cache@v4
7070
with:
7171
path: simulator/.venv
7272
key: pydeps-${{ hashFiles('**/poetry.lock') }}
@@ -82,7 +82,7 @@ jobs:
8282
working-directory: ./simulator
8383
run: ${{matrix.POETRY_FOLDER}}/bin/poetry run ${{matrix.CMD_BUILD}}
8484
- name: Load Release URL File from release job
85-
uses: actions/download-artifact@v1
85+
uses: actions/download-artifact@v4
8686
with:
8787
name: release_url
8888
- name: Get Release File Name & Upload URL

README.md

+57-3
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,75 @@ And this one (in french) from Tom's Basement:
1818
[![Klipper LED EFFECTS : C'est Noël avant l'heure dans votre imprimante 3D ! (Tuto Leds)](http://i3.ytimg.com/vi/6rGjlBjFhss/hqdefault.jpg)](https://www.youtube.com/watch?v=6rGjlBjFhss)
1919

2020
## Disclaimer
21-
**This is work in progress and currently in "alpha" state.**
21+
**This is work in progress and currently in "beta" state.**
22+
I don't take any responsibility for any damage that happens while using this software.
2223

23-
If you encounter any problems, feel free to open an issue.
24+
## Support
25+
26+
For questions and support use the Q&A section on the [Discussions](https://github.com/julianschill/klipper-led_effect/discussions) page.
27+
28+
If you found a bug or you want to file a feature request open an [issue](https://github.com/julianschill/klipper-led_effect/issues).
2429

25-
If you need support or want to help by testing or contributing, please contact me on the [Klipper](https://discord.klipper3d.org/) or [Voron](https://discord.com/channels/460117602945990666/460172848565190667) Discord: Hagbard#7867
30+
If you need direct support or want to help by testing or contributing, please contact me on the [Klipper](https://discord.klipper3d.org/) or [Voron](https://discord.gg/voron) Discord. User: 5hagbard23
2631

2732
## Installation
2833

34+
### Automatic installation
35+
2936
The module can be installed into a existing Klipper installation with an install script.
3037

3138
cd ~
3239
git clone https://github.com/julianschill/klipper-led_effect.git
3340
cd klipper-led_effect
3441
./install-led_effect.sh
3542

43+
If your directory structure differs from the usual setup you can configure the
44+
installation script with parameters:
45+
./install-led_effect.sh [-k <klipper path>] [-s <klipper service name>] [-c <configuration path>]
46+
47+
### Manual installation
48+
Clone the repository:
49+
cd ~
50+
git clone https://github.com/julianschill/klipper-led_effect.git
51+
52+
Stop Klipper:
53+
systemctl stop klipper
54+
55+
Link the file in the Klipper directory (adjust the paths as needed):
56+
ln -s klipper-led_effect/led_effect.py ~/klipper/extras/led_effect.py
57+
58+
Start Klipper:
59+
systemctl start klipper
60+
61+
Add the updater section to moonraker.conf and restart moonraker to receive
62+
updates:
63+
64+
[update_manager led_effect]
65+
type: git_repo
66+
path: ~/klipper-led_effect
67+
origin: https://github.com/julianschill/klipper-led_effect.git
68+
is_system_service: False
69+
70+
## Uninstall
71+
72+
Remove all led_effect definitions in your Klipper configuration and the updater
73+
section in the Moonraker configuration. Then run the script to remove the link:
74+
75+
cd ~
76+
cd klipper-led_effect
77+
./install-led_effect.sh -u
78+
79+
If your directory structure differs from the usual setup you can configure the
80+
installation script with parameters:
81+
./install-led_effect.sh -u [-k <klipper path>] [-s <klipper service name>] [-c <configuration path>]
82+
83+
If that fails, you can delete the link in Klipper manually:
84+
rm ~/klipper/extras/led_effect.py
85+
86+
Delete the repository (optional)
87+
cd ~
88+
rm -rf klipper-led_effect
89+
3690
## Configuration
3791

3892
Documentation can be found [here](docs/LED_Effect.md).

0 commit comments

Comments
 (0)