138 Commits
Author SHA1 Message Date
locki-czandAlfredo Monclus 2c693ddf16 feat: Add an option to add the remaining spool weight to the title-bar (fixed) (#1662)
---------

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
2026-04-19 15:01:41 -03:00
Alfredo Monclus 0568319100 Revert "feat: Add an option to add the remaining spool weight to the title-bar (#1662)"
This reverts commit 0293a63ed3.

it will be on a special branch for now, until some more testing
2026-04-05 09:38:39 -03:00
locki-czandAlfredo Monclus 0293a63ed3 feat: Add an option to add the remaining spool weight to the title-bar (#1662)
* Add configurable Spoolman titlebar status

* Render Spoolman titlebar item with heaters

* Prioritize explicit titlebar items including Spoolman

* Tighten Spoolman titlebar icon spacing

* Color Spoolman titlebar icon from active filament

* Make low spool alert icon fully red

* Color all spool icon fills for low alert

* Show placeholder weight when spool data is unavailable

* Rename spool titlebar config aliases

* Make spool titlebar config names explicit

* Fix pycodestyle line length issue

* Use black fallback for missing spool color

* Refetch active spool on missing spool id event

* Differentiate null and missing spool ids

* Respect titlebar limits, simplify spool alert, and document Spoolman dependency

* fix issues with implementation

* rework spoolman label spacing and style

* Fix spool icon pixbuf sizing

* Improve spool titlebar icon rendering

* Revert "Improve spool titlebar icon rendering"

This reverts commit 3039df0c7cd8a60c1b3e5e3df59bbe06cacd6829.

* Align spool titlebar rendering with tested layout

* set a low limit equal to the one in the docs

* spoolman_low use warning instead of error due to high usage warning causing low visibility, it also improves contrast overall

* remove usage or regular expressions

reason is performance overhead and maintanability concerns

---------

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
2026-04-03 20:06:24 -03:00
Alfredo Monclus 6e32df1ad0 fix: dotstar not working fixes #1630 2025-12-31 21:12:33 -03:00
Alfredo Monclus 36c413f148 refactor: allow setting stats internally
this should better reflect user requested temp while waiting for temp

as a negative other frontends will not reflect the same value during the wait, nor will ks if it's restarted
2024-12-15 15:15:22 -03:00
Alfredo Monclus d0faec9c93 Revert "feat: Menu active status (#1482)"
This reverts commit 4172d59dbe.

due to a bug that needs to be investigated

closes #1519
2024-12-06 18:16:45 -03:00
Alfredo Monclus a92be75c48 refactor: optimize imports 2024-11-26 11:57:43 -03:00
Alfredo Monclus 48aa50332e refactor: add and use available commands for z_tilt and quad_level
close #1512
2024-11-25 12:07:05 -03:00
Alfredo Monclus 4172d59dbe feat: Menu active status (#1482)
* feat: menu active status, now used to show if homed and leveled

* style: menu_active class
2024-11-12 16:45:35 -03:00
Alfredo Monclus 115dba8c88 feat(notifications): klipper config warnings 2024-07-06 11:15:50 -03:00
Alfredo Monclus 85cbbdd240 printer: probe add initial eddy support
gets the offsets

remove dockable since it's not on mainline, custom modules should use custom command settings if needed
2024-06-21 13:54:34 -03:00
Alfredo Monclus 3fd370eafc printer: add pwm tool count to init 2024-05-29 14:29:11 -03:00
Alfredo Monclus 9889f551cc Revert "printer: add pwm tool count to init"
This reverts commit 6aad788018.
2024-05-29 14:28:42 -03:00
Alfredo Monclus 6aad788018 printer: add pwm tool count to init 2024-05-29 14:27:25 -03:00
Alfredo Monclus af075cdf65 bed_mesh: change how profiles with points instead of matrix are handled 2024-05-29 13:59:24 -03:00
Alfredo Monclus 36b6ce3092 printer: refactor to simplify 2024-05-25 01:55:26 -03:00
Alfredo Monclus 5dcbcea292 printer: count pwm tools 2024-05-25 01:21:17 -03:00
Alfredo Monclus a19962fb02 reduce logging 2024-05-25 00:50:25 -03:00
Alfredo Monclus bdc48d37a8 pins: add pwm_tool 2024-05-23 23:21:24 -03:00
Alfredo Monclus fe9d4257f2 main temp: fix issue with names with special characters
using special characters in names it's still not recommended!!!
2024-05-17 23:01:33 -03:00
alfrix ef184ceed3 add system info panel 2024-05-09 11:33:02 -03:00
alfrix 99cecc151e printer: completely remove self.devices 2024-05-09 11:33:02 -03:00
林玮 (Jade Lin) 7e94c68993 printer: tempstore fixup (#1353)
temp from get_stat could be {} if the device is not available
2024-05-04 15:11:59 -03:00
alfrix 616574ed3b drop set_dev_stat and get_dev_stat
this creates a parallel set of data that could become desynced
2024-05-02 19:01:39 -03:00
alfrix 8c9e2fd4c6 process configfile updates 2024-05-02 14:16:17 -03:00
alfrix 750a7ee0b5 allow 2 different screen timeouts, one while printing the other if not
closes #311
2024-04-27 15:23:57 -03:00
alfrix 49a8fa8186 menu: add config_sections of printer.cfg to improve menu filtering
remove idle_timeout from the enable status (not used)

make status data do less stuff for performance reasons

separate printer and moonraker in status enable

docs:
make menu config look more like configuration reference of klipper
also fixes some mistakes and simplify the description
2024-04-05 07:45:00 -03:00
alfrix 1c9d82adfa heatergraph: add power representation (if set to show power in settings)
power will use a dashed line

target will be represetnted with fill
2024-03-22 09:24:23 -03:00
alfrix 3ea10b5404 heatergraph: fix sometimes not reinitializing correctly 2024-03-20 22:01:30 -03:00
alfrix 97b4b544cb printer: tempstore fixup 2024-03-09 12:21:23 -03:00
alfrix 3c911ba7c7 printer: change how the tempstore is initialized and updated, to avoid unnecesary retries 2024-01-26 22:43:29 -03:00
Alfredo Monclus b5e87152f1 bed_level: improvements (#1248)
1. use the status reference instead of regex matching (this was coded before the status existed)
2. change icons to reflect the rotation direction
3. change icon to reflect that the adjustment is good enough (according to klipper docs below 6 minutes)
4. auto open the panel when screws_tilt_calculate finished

close #1231
2024-01-25 22:46:51 -03:00
alfrix eecb41df93 base_panel and printer optimizations 2024-01-13 00:46:02 -03:00
alfrix 98da293cee refactor job_status and titlebar_items to allow multiple extruders 2024-01-10 23:30:39 -03:00
Chad Condon 422363ebb9 Hide LEDs with leading underscores (#1145) 2023-10-15 10:45:18 -03:00
alfrix 70f1a5d935 printer: add macro list to be used for menu enable, this should improve multi-printer separation 2023-10-03 00:05:08 -03:00
Vasilyev_Andreyandalfrix 87d09036ee Led light control, close #991 (#1106)
* feature: add leds panel

* Various refactors and improvements

* lint fixes

* led: use more columns for the selector

* leds: name in the title

* mainsail presets

* change sliders to horizontal to avoid visual bug, simplify defaults

* led: add a color preview and simplify methods to fix some issues

* simplify presets move all the logic to the panel

* led: change presets from names to previews

* preview label shows color, add vertical mode

* led: colored previews as rectangles instead of circles

---------

Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-09-24 17:44:29 -03:00
alfrix e01b6e5f26 macros: hide the panel if there are no elegible macros 2023-08-31 22:27:12 -03:00
alfrix 6be0a2931f spoolman: change initialization to be equal to the rest of components 2023-08-30 00:19:23 -03:00
alfrix f3c2736f9f refactor temp updates for devices fix extruder_stepper icon error 2023-08-26 13:05:44 -03:00
Blonďákandalfrix af1de12f28 Spoolman support close #1060
Refactor post_requrest
Switching to TreeView
More spool info
redesign toggle buttons
Allow spoolman while printing
Styling checkbox as switch
render Toggle switch-like
Fixed wrong timezones
Filtering spools
Removed translations of Spoolman
Spool image can be overided in theme
Added switch-on/off symbols to toggle
rename iter to i to avoid shadowing built-in function
remove redundant parenthesis
convert spoolcompare to static
merge check and treeview shared props
reduce spacing of buttons very useful for vertical/portrait
fix issue with remainings
add spoolman shortcut to extrude
Using backports.zoneinfo for python < 3.9
use decorators for properties
extract format_date function
change top row
last used sort
rebase on upstream
Fix for never used spools


Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-08-19 18:43:45 -03:00
alfrix 93bb6aeb65 tempstore initialization fixup 2023-08-18 11:48:37 -03:00
alfrix 4800b56492 refactor tempstore initialization
fixes #1074
2023-08-18 11:48:37 -03:00
alfrix 9ba8d04861 printer: save and use available commands 2023-08-18 11:48:37 -03:00
alfrix 8053e97d10 camera: add support for moonraker cameras, deprecates camera_url
this also adds support for flipping and rotation (configured in moonraker)
close #976
2023-08-18 11:48:37 -03:00
alfrix a149796b19 reduce the use of contextlib 2023-07-30 12:22:58 -03:00
alfrix d6b700381b fix possible issue with the mesh profile is not complete 2023-07-07 23:15:07 -03:00
alfrix 4920720c99 return False on Glib functions 2023-06-16 10:05:43 -03:00
alfrix 1462c8d08c printer: refactor with early return and safer state evaluate 2023-05-28 09:11:01 -06:00
alfrix 282799c8cb bed_mesh: fix points not working
consider implementing a view button to not forcibly load a mesh to view it
2023-04-05 05:50:32 -06:00