Commit Graph
991 Commits
Author SHA1 Message Date
GloughtandGlought f187d73838 feat(spoolman): Add Comment to Spools (#1511)
Co-authored-by: Glought <663343+Glought@users.noreply.github.com>
2024-11-26 12:00:56 -03:00
Alfredo Monclus a92be75c48 refactor: optimize imports 2024-11-26 11:57:43 -03:00
Alfredo Monclus 3a372b74d3 refactor: thumb log message cut decimals 2024-11-25 14:15:05 -03:00
Alfredo Monclus b9eaaf6a92 fix(exclude): current object 2024-11-25 12:07:05 -03:00
Alfredo Monclus 8e4f859b09 feat: turn off power devices that are associated to the turn on button when shutting down printer 2024-11-17 12:09:38 -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 f4c6801a8c refactor: extract screensaver 2024-11-12 11:33:07 -03:00
Alfredo Monclus 9a6aeaa43e feat: lockscreen closes #1490 2024-11-12 11:33:07 -03:00
Alfredo Monclus 8d78778c5b network: make a workaround for missbehaving comboboxes 2024-11-10 12:39:57 -03:00
Alfredo Monclus ecc32647ed refactor: make psutil optional 2024-10-23 21:55:29 -03:00
Alfredo Monclus 56089e68d0 fix(camera): log other levels fixes indentation 2024-10-18 11:31:45 -03:00
Alfredo Monclus d4035e9495 refactor(camera): filters and logging 2024-10-18 11:28:45 -03:00
Vasily Khoruzhick c670a2bdc8 fix(camera): don't use scale filter if angle is zero (#1485)
scale filter seems to be expensive even with angle=0. On my CB1 having
vf=rotate:0.0 in mpv arguments results in KlipperScreen using 100% of a
single core vs 30% when it's omitted.
2024-10-18 11:03:27 -03:00
Alfredo Monclus 87e18ed6d4 refactor(camera): logging 2024-10-13 13:53:29 -03:00
Alfredo Monclus 9fb17ee17f fix(camera): do not log ffmpeg app field decode errors, close #1480 2024-10-13 13:41:48 -03:00
Alfredo Monclus bdfdac9fb6 fix(shutdown): simple accept not working after 21a269edd2 2024-10-13 13:41:48 -03:00
Alfredo Monclus b3b097fbe3 fix(job_status): restart sometimes not responding 2024-10-09 17:45:28 -03:00
Alfredo Monclus ab308e23f7 feat(bed_mesh): do z_tilt or quad_level if not done before 2024-10-09 17:45:28 -03:00
Alfredo Monclus 1872b40d9f fix(base_panel): remove printer name from printer_select and fix initial not connected error 2024-10-09 17:45:28 -03:00
Alfredo Monclus 0c9884bc85 fix: misplaced logging error in 71eef9e 2024-10-09 17:45:28 -03:00
Alfredo MonclusandMrTylerjet 5ae4e475b6 feat: battery status (#1457)
* Initial commit, added psutil for getting tablet/laptop battery percentage, initial code for getting the values and displaying the icon

* add battery svgs for light theme

* added light styled battery svgs for dark themes

* update icon based on battery percentage and if device is charging

* indentation fix, and forgot to add battery plugged checks for 33% and 66% battery levels

* move battery polling to its own timer now that i understand how to add an additional timer, checks every 30 seconds. check for if show battery is on or off

* add toggle to config for settings

* show battery callback as screen.restart_ks instead of just reloading panels

* move self.battery_percentage() to end of reload_icons this ensures that when a theme is changed the icon is updated instead of waiting for the timeout to update the icon again

* remove left over commented out code

* only call self.battery_percentage when config is true

* adjust tooltip message

* split creatation of elements from updating elements

* change print to logging.debug, handle rouding for percentage in the f-string

* remove code that was moved to `attery_init()`, only destroy icon element when updating icons/percentage text, remove redundant calls to `.pack_start` (just call it once after setting the icon).

* only create battery_update timer if config setting is true

* new material icons remove old icons

* `self.battery_init() in `__init__` def

* fix: lint

* refactors

* style: update icons to follow themes

* refactor: remove config, make the show/hide automatic

* style: bigger battery icons for z-bolt and colorized

---------

Co-authored-by: MrTylerjet <MrTylerjet@gmail.com>
2024-10-09 17:34:33 -03:00
Alfredo Monclus 71eef9ee1f fix(base_panel): handle pixbuf is None, this would happen if the theme was incomplete and didn't load 2024-10-01 19:55:06 -03:00
Alfredo Monclus 40b5fbf2cf fix(job_status): animation timeout 2024-09-28 13:20:46 -03:00
Alfredo Monclus ac5e7ae065 refactor(job_status): initialize vars separately 2024-09-28 01:41:09 -03:00
Alfredo Monclus 832a86ed6e fix: shutdown not working when not connected 2024-09-23 21:12:25 -03:00
Alfredo Monclus c20d0a2f84 fix: keyboard getting doubled if switching entry via the input switch icon
got mistakenly removed in previous commit 585f477e51
2024-09-21 05:28:21 -03:00
Alfredo Monclus 585f477e51 fix: keyboard not switching entry 2024-09-20 19:16:21 -03:00
Alfredo Monclus 274fc2b263 feat: add float option to the keypad 2024-09-20 19:16:21 -03:00
Alfredo Monclus 7b857ff991 fix: autoscroll now works if the entry is at the very bottom of the scroll
the delay is needed because the osk will change the scrolledwindow adjustment, and it's only possible to scroll down more after the keyboard has been shown
2024-09-20 19:16:21 -03:00
Alfredo Monclus 5d806a82da feat: add auto alpha to keypad switching if hinted the type in the params 2024-09-20 19:16:21 -03:00
Alfredo Monclus 822f5400cf feat: add keyboard to keypad switchs to macro panel 2024-09-20 19:16:21 -03:00
Alfredo Monclus d8479220f3 fix(network): detection of some security types 2024-09-20 16:32:16 -03:00
Alfredo Monclus 768bbcd285 fix(job_status): close fullscren dialog automatically on state changes
fixes #1455
2024-09-20 11:01:51 -03:00
Alfredo Monclus 9854cc99cc fix(job_status): format of object height on metadata updates
fixes #1458
2024-09-20 11:01:47 -03:00
alfrix 3a3287145e fix: spoolman date parsing 2024-09-15 09:55:08 -03:00
Scott Mikutsky d99048d29f Only calls BED_MESH_CLEAR if bed_mesh enabled (#1460) 2024-09-04 12:45:39 -03:00
Alfredo Monclus d53f03dce4 fix: move z speed config
fixes #1450
2024-08-25 01:27:31 -03:00
Alfredo Monclus c6fca4f0f9 fix: pid_calibrate error for heater_generic
fixes #1452
2024-08-25 01:27:23 -03:00
Alfredo Monclus fca09e6004 feat(wifi): wpa-eap support (#1449) 2024-08-25 00:38:20 -03:00
Alfredo Monclus 2c3e0f6c90 refactor(extrude): only open temp panel after sending the command and checking failed
this should allow people to handle the situation without creating an extra setting
close #1434
2024-08-01 15:59:11 -03:00
Alfredo Monclus ab6c7aca47 fix(gcodes): handling of long strings in print confirm
close #1436
2024-07-28 15:43:43 -03:00
Alfredo Monclus cc0bc3bc89 fix(wifi): wpa-owe
close #1435
2024-07-20 16:37:30 -03:00
Alfredo Monclus f4992e1146 fix(job_status): slicer time in extra info not being updated 2024-07-14 23:43:41 -03:00
Alfredo Monclus a17ab8e10e style(job_status): set hexpand to button thumbnail as otherwise sometimes will not grows to the proper size 2024-07-14 18:51:57 -03:00
Alfredo Monclus a4f45f3718 style(job_status): add unit to height if there is enough space 2024-07-14 18:47:01 -03:00
Alfredo Monclus b58471c505 fix(job_status): deprecate calculation of layers from height
if adaptive layers or any other technique like non-planar is used,
this would be completely wrong, so i would prefer not to show up wrong information,
so it's up to the user to provide the correct info, in the docs there is the needed setup

close #1426 close #1415
2024-07-14 18:24:20 -03:00
Alfredo Monclus 1b13f61709 fix(base_panel): do not show printer select if only 1 is configured
close #1429
2024-07-10 10:16:16 -03:00
Alfredo Monclus 184d20ef98 refactor(job_status): return early if the filename has not changed 2024-07-09 20:18:30 -03:00
Alfredo Monclus 8210a15e4b refactor(job_status): time estimation
Even if we are very confident in the estimate, such as when there is previous historic data,
variables like speed factor and possible excluded objects can impact the accuracy.
Taking these cases into account seems to be tricky.
To address this, I revised the  weightings of my previous formula based on practical considerations and observations.
2024-07-09 20:18:30 -03:00
Alfredo Monclus 243e67609b refactor: remove min width of heater-list temp
it's not needed since the rewrite of update_temp
2024-07-07 14:41:41 -03:00