Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.0.11 #195

Merged
merged 31 commits into from
May 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
c6d24af
Update for new klipper paths
mlee12382 Dec 1, 2022
636dd2b
Synax Errors Fixed
mlee12382 Dec 1, 2022
e249957
limit effect rate to frame rate in strobe effect
julianschill Dec 11, 2022
9b20c15
Merge pull request #117 from julianschill/julianschill/issue113
julianschill Dec 11, 2022
0def94b
reworked installation script
julianschill Dec 11, 2022
8790a13
installation script: fix for moonraker restart
julianschill Dec 11, 2022
405f565
Added uninstaller
julianschill Dec 11, 2022
d3ff34b
Merge pull request #115 from mlee12382/master
julianschill Dec 11, 2022
08b4777
Improve Commands for stopping effects (#118)
julianschill Dec 11, 2022
0056c96
Use constructor instead of copy() (#121)
julianschill Dec 17, 2022
67816f9
Updated simulator, fix coordinates
julianschill Dec 26, 2022
96297c9
Add Homing effect (#129)
julianschill Jan 28, 2023
abe342b
Merge branch 'master' into develop
julianschill Mar 19, 2023
bde44b4
Add RESTART parameter to SET_LED_EFFECT (#138)
MapleLeafMakers Mar 19, 2023
f2fb0a9
Fix YouTube previews (#160)
julianschill Oct 13, 2023
3c0068d
Fix YouTube previews (#174)
julianschill Feb 21, 2024
9b509d8
small typo (#169)
buzztiaan Feb 21, 2024
337059d
Fix 'stop' klipper service (#165)
zerojarvis Feb 21, 2024
65e5c4a
Handle empty frames to not crash on 0 effect rate
julianschill Feb 21, 2024
74a67a4
Allow layer definitions to be processed as templates (#173)
voidtrance Feb 21, 2024
164c97d
Document value range for twinkle probability (#178)
reemo3dp Feb 25, 2024
71d8b30
Fix LEDs turning off on startup
julianschill Apr 28, 2024
4396f04
Fix HeaterFire effect
julianschill Apr 28, 2024
58e010d
Merge branch 'master' into develop
julianschill Apr 28, 2024
d493923
Add button effects (#192)
julianschill May 5, 2024
6fa9041
Updated installation script and README
julianschill May 5, 2024
075355c
Update workflows
julianschill May 5, 2024
caddd1d
Update workflow
julianschill May 5, 2024
abb0dc5
Merge branch 'develop' of https://github.com/julianschill/klipper-led…
julianschill May 5, 2024
1dcbb29
Add Button effects to simulator
julianschill May 5, 2024
3e312cd
add HeaterGauge and TemperatureGauge effects (#193)
julianschill May 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,23 @@ jobs:
ASSET_MIME: application/vnd.microsoft.portable-executable
POETRY_FOLDER: C:\Users\runneradmin\.local
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9
#- name: cache poetry install
# uses: actions/cache@v3
# with:
# path: ${{matrix.POETRY_FOLDER}}
# key: poetry-1.3.3-0
- uses: snok/install-poetry@v1.3.3
- uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: cache deps
id: cache-deps
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: simulator/.venv
key: pydeps-${{ hashFiles('**/poetry.lock') }}
Expand All @@ -60,7 +60,7 @@ jobs:
working-directory: ./simulator
run: ${{matrix.POETRY_FOLDER}}/bin/poetry run ${{matrix.CMD_BUILD}}
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: ledeffect-simulator_${{matrix.TARGET}}
path: simulator/dist/${{matrix.OUT_FILE_NAME}}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Output Release URL File
run: echo "${{ steps.create_release.outputs.upload_url }}" > release_url.txt
- name: Save Release URL File for publish
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: release_url
path: release_url.txt
Expand All @@ -50,23 +50,23 @@ jobs:
ASSET_MIME: application/vnd.microsoft.portable-executable
POETRY_FOLDER: C:\Users\runneradmin\.local
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9
#- name: cache poetry install
# uses: actions/cache@v3
# with:
# path: ${{matrix.POETRY_FOLDER}}
# key: poetry-1.3.3-0
- uses: snok/install-poetry@v1.3.3
- uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: cache deps
id: cache-deps
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: simulator/.venv
key: pydeps-${{ hashFiles('**/poetry.lock') }}
Expand All @@ -82,7 +82,7 @@ jobs:
working-directory: ./simulator
run: ${{matrix.POETRY_FOLDER}}/bin/poetry run ${{matrix.CMD_BUILD}}
- name: Load Release URL File from release job
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: release_url
- name: Get Release File Name & Upload URL
Expand Down
60 changes: 57 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,75 @@ And this one (in french) from Tom's Basement:
[![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)

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

If you encounter any problems, feel free to open an issue.
## Support

For questions and support use the Q&A section on the [Discussions](https://github.com/julianschill/klipper-led_effect/discussions) page.

If you found a bug or you want to file a feature request open an [issue](https://github.com/julianschill/klipper-led_effect/issues).

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
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

## Installation

### Automatic installation

The module can be installed into a existing Klipper installation with an install script.

cd ~
git clone https://github.com/julianschill/klipper-led_effect.git
cd klipper-led_effect
./install-led_effect.sh

If your directory structure differs from the usual setup you can configure the
installation script with parameters:
./install-led_effect.sh [-k <klipper path>] [-s <klipper service name>] [-c <configuration path>]

### Manual installation
Clone the repository:
cd ~
git clone https://github.com/julianschill/klipper-led_effect.git

Stop Klipper:
systemctl stop klipper

Link the file in the Klipper directory (adjust the paths as needed):
ln -s klipper-led_effect/led_effect.py ~/klipper/extras/led_effect.py

Start Klipper:
systemctl start klipper

Add the updater section to moonraker.conf and restart moonraker to receive
updates:

[update_manager led_effect]
type: git_repo
path: ~/klipper-led_effect
origin: https://github.com/julianschill/klipper-led_effect.git
is_system_service: False

## Uninstall

Remove all led_effect definitions in your Klipper configuration and the updater
section in the Moonraker configuration. Then run the script to remove the link:

cd ~
cd klipper-led_effect
./install-led_effect.sh -u

If your directory structure differs from the usual setup you can configure the
installation script with parameters:
./install-led_effect.sh -u [-k <klipper path>] [-s <klipper service name>] [-c <configuration path>]

If that fails, you can delete the link in Klipper manually:
rm ~/klipper/extras/led_effect.py

Delete the repository (optional)
cd ~
rm -rf klipper-led_effect

## Configuration

Documentation can be found [here](docs/LED_Effect.md).
Expand Down
Loading
Loading