aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/palette2.py
Commit message (Collapse)AuthorAgeFilesLines
* Run black on all first party python codeTomasz Kramkowski2025-08-061-108/+104
|
* klippy: fix typos in python code (#6989)Thijs Triemstra2025-07-251-1/+1
| | | Signed-off-by: Thijs Triemstra <info@collab.nl>
* palette2: Fix errors with bad handling of NoneType in a few locationsClifford Roche2022-12-311-5/+6
| | | | | | Issue specific to Python 3, NoneType is being used to compare heartbeat time (actually caused by invalid condition operator), and by returning NoneType in timer functions. Signed-off-by: Clifford Roche <clifford.roche@gmail.com>
* palette2: Fix UART encodingClifford Roche2022-08-191-5/+8
| | | | | | Raised from issue #5645, UTF-8 encoded symbols or other unexpected symbols on the UART raise an exception which causes klipper to stop. This change support UTF-8 encoded characters (from file names) as well as ignoring unexpected bytes. Signed-off-by: Clifford Roche <clifford.roche@gmail.com>
* palette2: Fix typo (gmcd vs gcmd)Kevin O'Connor2022-03-171-2/+2
| | | | | | Reported by @Ludy87. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* palette2: Use regular str() types for input on Python2Kevin O'Connor2021-10-311-1/+1
| | | | | | | Avoid using unicode() types on Python2 as it can lead to subtle errors. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* palette2: Fix get_status (#4171)Clifford Roche2021-04-151-1/+3
| | | Signed-off-by: Clifford Roche <clifford.roche@gmail.com>
* palette2: Add ping variation + ping status reports (#4114)Clifford Roche2021-04-141-20/+45
| | | Signed-off-by: Clifford Roche <clifford.roche@gmail.com>
* palette2: Add support for P2 devices (#4057)Clifford Roche2021-03-261-0/+623
Module which bring support for P2 devices running in connected mode. This enables using a Palette2 directly with Klippy without Octoprint, or without Palette2 plugins for Octoprint which are not functional out of the box with Klipper. Signed-off-by: Clifford Roche <clifford.roche@gmail.com>