66 Commits

Author SHA1 Message Date
Laurenz
2cce477e5b
Add current heater power % to job status ()
* Add current heater power % to job status

* Add show_heater_power config option and move update_temp()s to ScreenPanel

* Add the option to the UI config instead of the docs

* Prefer extra items on job_status over the power

There is not a lot of space, it's a trade off, and people will likely prefer extra_items

* Remove the comma, none of the other buttons have it

* job_status: inherit the parent config

* screen: create reload_panels to avoid some service restarts

* extrude: fix power breaking multi-extruder setups

* main and temp: remove degrees char from the table

* main and temp: revert removal of the header

Co-authored-by: alfrix <alfredomonclus@gmail.com>
2022-09-09 11:34:50 -03:00
alfrix
abe12cca30 printer: fix issue that could cause the panels to not show up on startup if moonraker is not connected 2022-09-05 21:02:04 -03:00
alfrix
e332ccc22a pins: assign initial value if configured fix 2022-08-01 21:27:19 -03:00
alfrix
a0cff7ec56 simplify name spliting 2022-08-01 12:23:40 -03:00
alfrix
c047bed518 bed_level: hide the panel if bed_screws or screws_tilt_calculate are not defined
there are printers with fixed beds that don't need this panel
2022-08-01 12:23:40 -03:00
alfrix
25e6110dab output_pin panel close 2022-08-01 12:23:40 -03:00
alfrix
6510b2ec6b Refactor
Use f-strings
Avoid unnecessary casts to str()bool()int()
Ensure file closure
Merge nested ifs
Simplify for-assigns-appends with comprehensions and internal functions
Avoid shadowing internal function names
Initialize variables
Return value directly instead of assign then return
Make some methods static
2022-08-01 12:23:40 -03:00
alfrix
5a02ac75ae basic support for extruder_stepper 2022-07-03 12:03:50 -03:00
alfrix
0f4f56bb9f Fix paused state
close 
fix 
2022-05-31 11:14:42 -03:00
alfrix
5a36729b76 PEP8, typos and warnings fixes 2022-05-31 11:14:42 -03:00
alfrix
7c8d4ea4d7 extrude: add filament sensor support 2022-05-31 11:14:42 -03:00
Mikko Gozalo
fa0d696120 Add Input Shaper panel
Original panel by Mikko Gozalo

Modified layour to fit 16:9 screens
Auto-home
Ability to measure X and Y independently
Get the current active values not the values from the config
Ask for save
Other minor tweaks

close 

Co-authored-by: alfrix <alfredomonclus@gmail.com>
2022-05-31 11:14:42 -03:00
Alfredo Monclus
31546f0020
Improve Job status ()
Adds heater_generic and/or temp_sensors besides extruder/bed (because of the limited space maybe only 1)
Temps are now buttons and act as a shortcut to the temp panel
Adds fan_generic to the fan label and it's now a shortcut to the fan panel
The colors and size of the progress circle were changed to be more subtle.
Margins between items were augmented, because they are buttons now
Adds 3 information pages: move, extrusion and time:

    move can be opened with speed or z buttons
    time with elapsed/remaining buttons
    extrusion with the extrude_factor / flowrate button
2022-05-01 12:22:58 -03:00
alfrix
a77134d63b fan: prevent crash when using unicode characters 2022-04-23 10:46:19 -03:00
alfrix
c763bd5a5b fans: fix for machines without [fan] 2022-04-20 14:54:47 -03:00
alfrix
8ba28fde1c Add firmware retraction panel close
Co-authored-by: tonywright
2022-04-11 23:04:29 -03:00
alfrix
d945ef8b0a printer: fix some issues with the graph 2022-03-25 12:06:08 -03:00
alfrix
48b2ef513f Fix files and printer memory leaks fixes 2022-03-20 12:11:41 -03:00
Alfredo Monclus
046e03b883
Improve error messages ()
Shows if the issue is with moonraker or klipper
if the issue is with klipper and there is info about it then show it
Reconnect now has a counter and it's visible to the user
2022-03-18 20:18:53 -03:00
Alfredo Monclus
a893f47604
Show fan speed according to max_power and off_below ()
fixes 
2022-03-15 12:41:47 -03:00
alfrix
5899c8feab Optimize imports 2022-03-15 12:41:21 -03:00
Alfredo Monclus
6ce0ea7253
graph: various fixes ()
fix axis sizes for high resolutions (tie to font_size)
fix update interval sometimes being faster (fix printer timer)
fix new device added causing horizontal line (use min not max)
2022-03-13 12:10:42 -03:00
alfrix
244f964126 system and menu: fix not loading when no printer is online but moonraker is connected 2022-03-01 09:12:13 -03:00
Alfredo Monclus
c1372c1839
Start in configurations without fans or extruders or temp devices
A bunch of conditionals that makes KS start and not stay in the splash screen
2022-01-30 10:55:05 -03:00
Alfredo Monclus
d8bc4747e8
Fix Startup without [virtual_sdcard] ()
* Rewrite evaluate_state

* Print: Show an error if trying to print without [virtual_sdcard]
2022-01-22 22:03:57 -03:00
Alfredo Monclus
5d3bae8ff9
Temp_panel: put devices in a scroll ()
* Temp_panel: put devices in a scroll

* Tweak margins

* Tpanel: Fix whitespace in message

* Fix  temperature_fan not updating target
2022-01-17 01:13:46 -05:00
Alfredo Monclus
9449f24b5f
Splash_screen: show full error message ()
* Splash_screen: show full error messge

* Fix splash not changing from connecting to error
2022-01-03 01:29:49 -05:00
Jordan
fdf81ecf06 graph: Add ability to hide/show sensors. 2021-12-07 21:05:17 -05:00
Jordan
139115a0e9 Updates to graphing.
Modify heaters to show only ones available in the temp store. Add 
ability to hide/show heaters.
2021-12-07 21:05:17 -05:00
Jordan
5bfcd0108a Adding graph capability to main menu 2021-12-07 21:05:17 -05:00
Julian Schill
51d26a3a29
Add temperature fans to heaters ()
* Add temperature fans to heaters

* Make code prettier

* Indentation
2021-11-16 21:03:14 -05:00
Jordan
d7b8f4f1ed Add printer limits panel 2021-09-16 22:56:58 -04:00
Jordan
70d8315539 Update code style 2021-09-11 17:25:38 -04:00
Jordan
d540c038a4 Update Fan panel to include all configured fans. 2021-09-11 14:17:53 -04:00
Jordan
867ded34d9 Add update manager capability and revamp system panel to show all moonraker update clients 2021-06-12 06:30:00 -04:00
Jordan
a1bd702a92 Fix issue with stale confiugration and temperature panel unassigned var 2021-05-13 23:01:06 -04:00
Alexander Spassky
9951323e91
M117 messages display ()
* Added displaying M117 messages under printer state label on JobStatus panel
2021-05-10 19:46:07 -04:00
Jordan
f8ca339de5 printer: Fix NoneType issue
Fixes 
2021-05-08 22:27:55 -04:00
Jordan
d2fea57c39 printer: Remove un-necessary logging statements 2021-05-08 21:25:43 -04:00
Jordan
7b9c98a0a8 Include temperature_sensor in listing of temperatures
This update will add temperature sensors to the main menu and 
temperature panels.
2021-05-08 14:31:50 -04:00
Jordan Ruthe
02ea32506b screen: Fix problem where job_status does not update
Fixes a problem where a panel does not refresh data (such as extrusion 
rate, speed rate)
2021-04-08 22:25:56 -04:00
Jordan Ruthe
029c59436c job_status: Logic updates for printing state 2021-03-12 12:35:33 -05:00
jordanruthe
5e31e3cfa6
Multiple printers ()
* screen/printer_select/splash_screen: Updates to allow changing between moonraker instances

* Updates to multiple printers

* settings: Display printer endpoints

* Update macros to be on a per-printer basis

* files: Changes to clear out file cache on printer switch

* job_status: Redo page for action bar

* splash_screen: Change icon

* websocket: Actually close the websocket

* printer: Fix error case

* splash_screen: show buttons update

* readme update
2021-03-05 18:30:59 -05:00
Elektrickser
b264719cd9
Z-Tilt integration and Update German Language ()
* Z-Tilt integration and Update German Language

- Update German language
- Integration Z-Tilt in Move-Menue

* Update KlipperScreen.po
2021-03-02 18:22:19 -05:00
Jordan Ruthe
f04b14c813 printer: Ensure callbacks don't run out of order 2021-02-26 10:49:27 -05:00
Jordan Ruthe
f6f2f3f143 printer: Add quad_gantry_level/z_tilt_adjust to homing menu. Fixes 2021-02-22 15:19:23 -05:00
Jordan Ruthe
c0b4b464bd Changes to logging implementation 2021-02-21 12:19:30 -05:00
Jordan Ruthe
0c73b3831b preheat: add heater_generic 2021-02-19 15:21:50 -05:00
Jordan Ruthe
3326551d5e printer: Add get_heaters 2021-02-19 14:40:33 -05:00
Jordan Ruthe
7d1ec41f4b printer: Include quad_gantry_level 2021-01-31 15:24:22 -05:00