KlipperScreen / KlipperScreen

GUI for Klipper
https://klipperscreen.github.io/KlipperScreen/
GNU Affero General Public License v3.0
992 stars 315 forks source link

[BUG] reconnection does not happen all the time (multiple printers) #1352

Closed CIS94500 closed 2 weeks ago

CIS94500 commented 2 weeks ago

What happened?

I have 3 printers and 2 pi, if I switch between the printers and one is off or one pi is off, from time to time the reconnection does not happen on the one that is on.

What did you expect to happen instead?

a connection to the printer turned on

How to reproduce this bug?

switch between several printers while one is turned off

Additional information:

2024-05-03 14_57_35-Klipper

Log output

2024-05-03 14:50:18,484 [functions.py:log_start()] - --------------------KlipperScreen Log Start-------------------- 2024-05-03 14:50:18,484 [functions.py:log_start()] - KlipperScreen Version: v0.4.0-35-gc873ebe 2024-05-03 14:50:18,484 [functions.py:log_start()] - Python version: 3.9 2024-05-03 14:50:18,510 [config.py:get_config_file_location()] - Passed config (-c): . 2024-05-03 14:50:18,510 [config.py:init()] - Config path location: /home/pi/.config/KlipperScreen/KlipperScreen.conf 2024-05-03 14:50:18,513 [config.py:log_config()] - ===== Config File ===== [main] default_printer = FLSUN SR

[printer FLSUN SR] moonraker_host = 127.0.0.1 moonraker_port = 7125 move_speed_xy = 100 move_speed_z = 100 extrude_distances = 10, 20, 40, 80 extrude_speeds = 2, 4, 6, 8

[printer VYPER] moonraker_host = VYPER-1110.local moonraker_port = 7125 z_babystep_values = 0.02,0.10

[printer LK4 PRO] moonraker_host = 127.0.0.1 moonraker_port = 7126

======================= 2024-05-03 14:50:18,514 [config.py:init()] - ====== Saved Def ======

[main] language = fr screen_blanking = off side_macro_shortcut = False use_dpms = False show_heater_power = True show_scroll_steppers = True auto_open_extrude = False print_sort_dir = date_desc

[displayed_macros FLSUN SR] m204 = False m205 = False m600 = False m25 = False load_filament = False set_gcode_offset = False pause = False m900 = False resume = False unload_filament = False cancel_print = False

[spoolman] hide_archived = False

======================= 2024-05-03 14:50:18,514 [config.py:init()] - Configured printers: [ { "FLSUN SR": { "moonraker_host": "127.0.0.1", "moonraker_port": "7125", "moonraker_api_key": "" } }, { "VYPER": { "moonraker_host": "VYPER-1110.local", "moonraker_port": "7125", "moonraker_api_key": "" } }, { "LK4 PRO": { "moonraker_host": "127.0.0.1", "moonraker_port": "7126", "moonraker_api_key": "" } } ] 2024-05-03 14:50:18,536 [config.py:create_translations()] - Selected lang: fr OS lang: fr_FR 2024-05-03 14:50:18,536 [config.py:install_language()] - Using lang fr 2024-05-03 14:50:18,541 [screen.py:init()] - Monitors: 1 using number: 0 2024-05-03 14:50:18,542 [screen.py:init()] - Wayland: False Display name: :0 2024-05-03 14:50:18,542 [screen.py:init()] - Screen resolution: 800x600 2024-05-03 14:50:18,543 [KlippyGtk.py:init()] - Font size: 18.6 (medium) 2024-05-03 14:50:18,617 [screen.py:set_screenblanking_timeout()] - Screen blanking: off 2024-05-03 14:50:18,624 [screen.py:initial_connection()] - Default printer: FLSUN SR 2024-05-03 14:50:18,634 [screen.py:connect_printer()] - Connecting to printer: FLSUN SR 2024-05-03 14:50:18,635 [screen.py:_load_panel()] - Loading panel: splash_screen 2024-05-03 14:50:18,647 [screen.py:attach_panel()] - Current panel hierarchy: splash_screen 2024-05-03 14:50:18,649 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/server/info 2024-05-03 14:50:18,667 [KlippyWebsocket.py:connect()] - Attempting to connect 2024-05-03 14:50:18,667 [KlippyWebsocket.py:connect()] - Starting websocket thread 2024-05-03 14:50:18,688 [_logging.py:info()] - Websocket connected 2024-05-03 14:50:18,688 [KlippyWebsocket.py:on_open()] - Moonraker Websocket Open 2024-05-03 14:50:18,688 [screen.py:websocket_connected()] - ### websocket_connected 2024-05-03 14:50:18,704 [KlippyWebsocket.py:identify_client()] - Sending printer.firmware_restart 2024-05-03 14:50:18,705 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/server/webcams/list 2024-05-03 14:50:18,720 [printer.py:configure_cameras()] - Cameras: [] 2024-05-03 14:50:18,720 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/server/info 2024-05-03 14:50:18,735 [screen.py:init_klipper()] - Moonraker info {'klippy_connected': True, 'klippy_state': 'ready', 'components': ['secrets', 'template', 'klippy_connection', 'jsonrpc', 'internal_transport', 'application', 'websockets', 'dbus_manager', 'database', 'file_manager', 'authorization', 'klippy_apis', 'shell_command', 'machine', 'data_store', 'proc_stats', 'job_state', 'job_queue', 'http_client', 'announcements', 'webcam', 'extensions', 'octoprint_compat', 'update_manager', 'history'], 'failed_components': [], 'registered_directories': ['config', 'logs', 'gcodes', 'config_examples', 'docs'], 'warnings': [], 'websocket_count': 2, 'moonraker_version': 'v0.8.0-343-g0f2e3d7', 'missing_klippy_requirements': [], 'api_version': [1, 4, 0], 'api_version_string': '1.4.0'} 2024-05-03 14:50:18,735 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/printer/info 2024-05-03 14:50:18,750 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/printer/objects/query?configfile 2024-05-03 14:50:18,882 [printer.py:stop_tempstore_updates()] - Stopping tempstore 2024-05-03 14:50:18,883 [printer.py:reinit()] - Klipper version: v0.12.0-178-g7e8c7f46 2024-05-03 14:50:18,883 [printer.py:reinit()] - # Extruders: 1 2024-05-03 14:50:18,883 [printer.py:reinit()] - # Temperature devices: 3 2024-05-03 14:50:18,883 [printer.py:reinit()] - # Fans: 2 2024-05-03 14:50:18,883 [printer.py:reinit()] - # Output pins: 0 2024-05-03 14:50:18,883 [printer.py:reinit()] - # Leds: 0 2024-05-03 14:50:18,883 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/printer/gcode/help 2024-05-03 14:50:18,904 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/printer/objects/query?bed_mesh&configfile&display_status&extruder&fan&gcode_move&heater_bed&idle_timeout&pause_resume&print_stats&toolhead&virtual_sdcard&webhooks&motion_report&firmware_retraction&exclude_object&manual_probe&extruder&heater_bed&temperature_sensor Orange_pi&temperature_sensor Super_Racer&fan&heater_fan heatsink_fan&filament_switch_sensor filament_sensor 2024-05-03 14:50:19,241 [KlippyWebsocket.py:object_subscription()] - Sending printer.objects.subscribe 2024-05-03 14:50:19,241 [KlippyWebsocket.py:object_subscription()] - {'objects': {'bed_mesh': ['profile_name', 'mesh_max', 'mesh_min', 'probed_matrix', 'profiles'], 'configfile': ['config'], 'display_status': ['progress', 'message'], 'fan': ['speed'], 'gcode_move': ['extrude_factor', 'gcode_position', 'homing_origin', 'speed_factor', 'speed'], 'idle_timeout': ['state'], 'pause_resume': ['is_paused'], 'print_stats': ['print_duration', 'total_duration', 'filament_used', 'filename', 'state', 'message', 'info'], 'toolhead': ['homed_axes', 'estimated_print_time', 'print_time', 'position', 'extruder', 'max_accel', 'minimum_cruise_ratio', 'max_velocity', 'square_corner_velocity'], 'virtual_sdcard': ['file_position', 'is_active', 'progress'], 'webhooks': ['state', 'state_message'], 'firmware_retraction': ['retract_length', 'retract_speed', 'unretract_extra_length', 'unretract_speed'], 'motion_report': ['live_position', 'live_velocity', 'live_extruder_velocity'], 'exclude_object': ['current_object', 'objects', 'excluded_objects'], 'manual_probe': ['is_active'], 'screws_tilt_adjust': ['results', 'error'], 'extruder': ['target', 'temperature', 'pressure_advance', 'smooth_time', 'power'], 'heater_bed': ['target', 'temperature', 'power'], 'temperature_sensor Orange_pi': ['temperature'], 'temperature_sensor Super_Racer': ['temperature'], 'heater_fan heatsink_fan': ['speed'], 'filament_switch_sensor filament_sensor': ['enabled', 'filament_detected']}} 2024-05-03 14:50:19,242 [files.py:set_gcodes_path()] - Gcodes path: /home/pi/printer_flsun/gcodes 2024-05-03 14:50:19,242 [screen.py:init_klipper()] - Printer initialized 2024-05-03 14:50:19,243 [printer.py:change_state()] - Changing state from 'disconnected' to 'ready' 2024-05-03 14:50:19,243 [printer.py:change_state()] - Adding callback for state: ready 2024-05-03 14:50:19,248 [screen.py:set_screenblanking_timeout()] - Screen blanking: off 2024-05-03 14:50:19,253 [KlippyWebsocket.py:get_file_list()] - Sending server.files.list 2024-05-03 14:50:19,254 [screen.py:_load_panel()] - Loading panel: main_menu 2024-05-03 14:50:19,280 [main_menu.py:init()] - ### Making MainMenu 2024-05-03 14:50:19,281 [main_menu.py:add_device()] - Adding device: extruder 2024-05-03 14:50:19,283 [main_menu.py:add_device()] - Adding device: heater_bed 2024-05-03 14:50:19,284 [main_menu.py:add_device()] - Adding device: temperature_sensor Orange_pi 2024-05-03 14:50:19,286 [main_menu.py:add_device()] - Adding device: temperature_sensor Super_Racer 2024-05-03 14:50:19,293 [screen.py:attach_panel()] - Current panel hierarchy: main_menu 2024-05-03 14:50:19,293 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/server/temperature_store 2024-05-03 14:50:19,425 [printer.py:init_temp_store()] - Temp store: ['heater_bed', 'temperature_sensor Orange_pi', 'temperature_sensor Super_Racer', 'extruder'] 2024-05-03 14:50:19,426 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/server/config 2024-05-03 14:50:19,484 [screen.py:init_tempstore()] - Temperature store size: 1200 2024-05-03 14:50:23,010 [screen.py:_load_panel()] - Loading panel: printer_select 2024-05-03 14:50:23,020 [screen.py:attach_panel()] - Current panel hierarchy: printer_select 2024-05-03 14:50:23,026 [KlippyWebsocket.py:on_close()] - Closing websocket 2024-05-03 14:50:24,155 [screen.py:connect_printer()] - Connecting to printer: VYPER 2024-05-03 14:50:24,156 [screen.py:show_panel()] - Reinitializing panel 2024-05-03 14:50:24,165 [screen.py:attach_panel()] - Current panel hierarchy: splash_screen 2024-05-03 14:50:24,167 [KlippyRest.py:_do_request()] - Sending get to http://VYPER-1110.local:7125/server/info 2024-05-03 14:50:27,228 [KlippyRest.py:_do_request()] - host=VYPER-1110.local, port=7125>>Max retries exceeded with url>>Failed to establish a new connection>>[Errno 113] Aucun chemin daccès pour atteindre lhôte cible 2024-05-03 14:50:27,228 [screen.py:connect_to_moonraker()] - Moonraker not connected 2024-05-03 14:50:31,075 [KlippyRest.py:_do_request()] - Sending get to http://VYPER-1110.local:7125/server/info 2024-05-03 14:50:34,139 [KlippyRest.py:_do_request()] - host=VYPER-1110.local, port=7125>>Max retries exceeded with url>>Failed to establish a new connection>>[Errno 113] Aucun chemin daccès pour atteindre lhôte cible 2024-05-03 14:50:34,139 [screen.py:connect_to_moonraker()] - Moonraker not connected 2024-05-03 14:50:34,142 [screen.py:show_panel()] - Reinitializing panel 2024-05-03 14:50:34,149 [screen.py:attach_panel()] - Current panel hierarchy: printer_select 2024-05-03 14:50:35,865 [screen.py:connect_printer()] - Connecting to printer: LK4 PRO 2024-05-03 14:50:35,867 [screen.py:show_panel()] - Reinitializing panel 2024-05-03 14:50:35,878 [screen.py:attach_panel()] - Current panel hierarchy: splash_screen 2024-05-03 14:50:35,880 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7126/server/info 2024-05-03 14:50:35,904 [KlippyWebsocket.py:connect()] - Attempting to connect 2024-05-03 14:50:35,904 [KlippyWebsocket.py:connect()] - Starting websocket thread 2024-05-03 14:50:35,924 [_logging.py:info()] - Websocket connected 2024-05-03 14:50:35,924 [KlippyWebsocket.py:on_open()] - Moonraker Websocket Open 2024-05-03 14:50:35,925 [screen.py:websocket_connected()] - ### websocket_connected 2024-05-03 14:50:35,941 [KlippyWebsocket.py:identify_client()] - Sending printer.firmware_restart 2024-05-03 14:50:35,941 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7126/server/webcams/list 2024-05-03 14:50:35,966 [printer.py:configure_cameras()] - Cameras: [] 2024-05-03 14:50:35,967 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7126/server/info 2024-05-03 14:50:35,984 [screen.py:init_klipper()] - Moonraker info {'klippy_connected': True, 'klippy_state': 'shutdown', 'components': ['secrets', 'template', 'klippy_connection', 'jsonrpc', 'internal_transport', 'application', 'websockets', 'dbus_manager', 'database', 'file_manager', 'authorization', 'klippy_apis', 'shell_command', 'machine', 'data_store', 'proc_stats', 'job_state', 'job_queue', 'http_client', 'announcements', 'webcam', 'extensions', 'update_manager', 'history', 'octoprint_compat'], 'failed_components': [], 'registered_directories': ['config', 'logs', 'gcodes', 'config_examples', 'docs'], 'warnings': [], 'websocket_count': 1, 'moonraker_version': 'v0.8.0-343-g0f2e3d7', 'missing_klippy_requirements': [], 'api_version': [1, 4, 0], 'api_version_string': '1.4.0'} 2024-05-03 14:50:35,985 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7126/printer/info 2024-05-03 14:50:36,005 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7126/printer/objects/query?configfile 2024-05-03 14:50:36,119 [printer.py:stop_tempstore_updates()] - Stopping tempstore 2024-05-03 14:50:36,119 [printer.py:reinit()] - Klipper version: v0.12.0-178-g7e8c7f46 2024-05-03 14:50:36,119 [printer.py:reinit()] - # Extruders: 1 2024-05-03 14:50:36,119 [printer.py:reinit()] - # Temperature devices: 2 2024-05-03 14:50:36,119 [printer.py:reinit()] - # Fans: 1 2024-05-03 14:50:36,119 [printer.py:reinit()] - # Output pins: 0 2024-05-03 14:50:36,119 [printer.py:reinit()] - # Leds: 0 2024-05-03 14:50:36,119 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7126/printer/gcode/help 2024-05-03 14:50:36,150 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7126/printer/objects/query?bed_mesh&configfile&display_status&extruder&fan&gcode_move&heater_bed&idle_timeout&pause_resume&print_stats&toolhead&virtual_sdcard&webhooks&motion_report&firmware_retraction&exclude_object&manual_probe&extruder&heater_bed&temperature_sensor Orange_pi&fan&filament_switch_sensor filament_sensor 2024-05-03 14:50:36,390 [KlippyWebsocket.py:object_subscription()] - Sending printer.objects.subscribe 2024-05-03 14:50:36,391 [KlippyWebsocket.py:object_subscription()] - {'objects': {'bed_mesh': ['profile_name', 'mesh_max', 'mesh_min', 'probed_matrix', 'profiles'], 'configfile': ['config'], 'display_status': ['progress', 'message'], 'fan': ['speed'], 'gcode_move': ['extrude_factor', 'gcode_position', 'homing_origin', 'speed_factor', 'speed'], 'idle_timeout': ['state'], 'pause_resume': ['is_paused'], 'print_stats': ['print_duration', 'total_duration', 'filament_used', 'filename', 'state', 'message', 'info'], 'toolhead': ['homed_axes', 'estimated_print_time', 'print_time', 'position', 'extruder', 'max_accel', 'minimum_cruise_ratio', 'max_velocity', 'square_corner_velocity'], 'virtual_sdcard': ['file_position', 'is_active', 'progress'], 'webhooks': ['state', 'state_message'], 'firmware_retraction': ['retract_length', 'retract_speed', 'unretract_extra_length', 'unretract_speed'], 'motion_report': ['live_position', 'live_velocity', 'live_extruder_velocity'], 'exclude_object': ['current_object', 'objects', 'excluded_objects'], 'manual_probe': ['is_active'], 'screws_tilt_adjust': ['results', 'error'], 'extruder': ['target', 'temperature', 'pressure_advance', 'smooth_time', 'power'], 'heater_bed': ['target', 'temperature', 'power'], 'temperature_sensor Orange_pi': ['temperature'], 'filament_switch_sensor filament_sensor': ['enabled', 'filament_detected']}} 2024-05-03 14:50:36,391 [files.py:set_gcodes_path()] - Gcodes path: /home/pi/printer_longer/gcodes 2024-05-03 14:50:36,391 [screen.py:init_klipper()] - Printer initialized 2024-05-03 14:50:36,392 [printer.py:change_state()] - Changing state from 'disconnected' to 'shutdown' 2024-05-03 14:50:36,392 [printer.py:change_state()] - Adding callback for state: shutdown 2024-05-03 14:50:36,395 [screen.py:set_screenblanking_timeout()] - Screen blanking: off 2024-05-03 14:50:36,402 [printer.py:stop_tempstore_updates()] - Stopping tempstore 2024-05-03 14:50:36,403 [screen.py:show_panel()] - Reinitializing panel 2024-05-03 14:50:36,414 [screen.py:attach_panel()] - Current panel hierarchy: splash_screen 2024-05-03 14:50:37,842 [screen.py:show_panel()] - Reinitializing panel 2024-05-03 14:50:37,850 [screen.py:attach_panel()] - Current panel hierarchy: printer_select 2024-05-03 14:50:37,854 [KlippyWebsocket.py:on_close()] - Closing websocket 2024-05-03 14:50:38,075 [screen.py:connect_to_moonraker()] - Stopping Retries 2024-05-03 14:50:38,782 [screen.py:connect_printer()] - Connecting to printer: VYPER 2024-05-03 14:50:38,782 [screen.py:show_panel()] - Reinitializing panel 2024-05-03 14:50:38,791 [screen.py:attach_panel()] - Current panel hierarchy: splash_screen 2024-05-03 14:50:38,793 [KlippyRest.py:_do_request()] - Sending get to http://VYPER-1110.local:7125/server/info 2024-05-03 14:50:41,851 [KlippyRest.py:_do_request()] - host=VYPER-1110.local, port=7125>>Max retries exceeded with url>>Failed to establish a new connection>>[Errno 113] Aucun chemin daccès pour atteindre lhôte cible 2024-05-03 14:50:41,851 [screen.py:connect_to_moonraker()] - Moonraker not connected 2024-05-03 14:50:43,002 [screen.py:show_panel()] - Reinitializing panel 2024-05-03 14:50:43,009 [screen.py:attach_panel()] - Current panel hierarchy: printer_select 2024-05-03 14:50:43,892 [screen.py:connect_printer()] - Connecting to printer: FLSUN SR 2024-05-03 14:50:43,892 [screen.py:show_panel()] - Reinitializing panel 2024-05-03 14:50:43,902 [screen.py:attach_panel()] - Current panel hierarchy: splash_screen 2024-05-03 14:50:43,904 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/server/info 2024-05-03 14:50:43,918 [KlippyWebsocket.py:connect()] - Attempting to connect 2024-05-03 14:50:43,918 [KlippyWebsocket.py:connect()] - Starting websocket thread 2024-05-03 14:50:43,934 [_logging.py:info()] - Websocket connected 2024-05-03 14:50:43,934 [KlippyWebsocket.py:on_open()] - Moonraker Websocket Open 2024-05-03 14:50:43,935 [screen.py:websocket_connected()] - ### websocket_connected 2024-05-03 14:50:43,951 [KlippyWebsocket.py:identify_client()] - Sending printer.firmware_restart 2024-05-03 14:50:43,952 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/server/webcams/list 2024-05-03 14:50:43,966 [printer.py:configure_cameras()] - Cameras: [] 2024-05-03 14:50:43,967 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/server/info 2024-05-03 14:50:43,979 [screen.py:init_klipper()] - Moonraker info {'klippy_connected': True, 'klippy_state': 'ready', 'components': ['secrets', 'template', 'klippy_connection', 'jsonrpc', 'internal_transport', 'application', 'websockets', 'dbus_manager', 'database', 'file_manager', 'authorization', 'klippy_apis', 'shell_command', 'machine', 'data_store', 'proc_stats', 'job_state', 'job_queue', 'http_client', 'announcements', 'webcam', 'extensions', 'octoprint_compat', 'update_manager', 'history'], 'failed_components': [], 'registered_directories': ['config', 'logs', 'gcodes', 'config_examples', 'docs'], 'warnings': [], 'websocket_count': 2, 'moonraker_version': 'v0.8.0-343-g0f2e3d7', 'missing_klippy_requirements': [], 'api_version': [1, 4, 0], 'api_version_string': '1.4.0'} 2024-05-03 14:50:43,980 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/printer/info 2024-05-03 14:50:43,997 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/printer/objects/query?configfile 2024-05-03 14:50:44,204 [printer.py:stop_tempstore_updates()] - Stopping tempstore 2024-05-03 14:50:44,206 [printer.py:reinit()] - Klipper version: v0.12.0-178-g7e8c7f46 2024-05-03 14:50:44,207 [printer.py:reinit()] - # Extruders: 1 2024-05-03 14:50:44,207 [printer.py:reinit()] - # Temperature devices: 3 2024-05-03 14:50:44,207 [printer.py:reinit()] - # Fans: 2 2024-05-03 14:50:44,207 [printer.py:reinit()] - # Output pins: 0 2024-05-03 14:50:44,207 [printer.py:reinit()] - # Leds: 0 2024-05-03 14:50:44,207 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/printer/gcode/help 2024-05-03 14:50:44,231 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/printer/objects/query?bed_mesh&configfile&display_status&extruder&fan&gcode_move&heater_bed&idle_timeout&pause_resume&print_stats&toolhead&virtual_sdcard&webhooks&motion_report&firmware_retraction&exclude_object&manual_probe&extruder&heater_bed&temperature_sensor Orange_pi&temperature_sensor Super_Racer&fan&heater_fan heatsink_fan&filament_switch_sensor filament_sensor 2024-05-03 14:50:44,606 [KlippyWebsocket.py:object_subscription()] - Sending printer.objects.subscribe 2024-05-03 14:50:44,607 [KlippyWebsocket.py:object_subscription()] - {'objects': {'bed_mesh': ['profile_name', 'mesh_max', 'mesh_min', 'probed_matrix', 'profiles'], 'configfile': ['config'], 'display_status': ['progress', 'message'], 'fan': ['speed'], 'gcode_move': ['extrude_factor', 'gcode_position', 'homing_origin', 'speed_factor', 'speed'], 'idle_timeout': ['state'], 'pause_resume': ['is_paused'], 'print_stats': ['print_duration', 'total_duration', 'filament_used', 'filename', 'state', 'message', 'info'], 'toolhead': ['homed_axes', 'estimated_print_time', 'print_time', 'position', 'extruder', 'max_accel', 'minimum_cruise_ratio', 'max_velocity', 'square_corner_velocity'], 'virtual_sdcard': ['file_position', 'is_active', 'progress'], 'webhooks': ['state', 'state_message'], 'firmware_retraction': ['retract_length', 'retract_speed', 'unretract_extra_length', 'unretract_speed'], 'motion_report': ['live_position', 'live_velocity', 'live_extruder_velocity'], 'exclude_object': ['current_object', 'objects', 'excluded_objects'], 'manual_probe': ['is_active'], 'screws_tilt_adjust': ['results', 'error'], 'extruder': ['target', 'temperature', 'pressure_advance', 'smooth_time', 'power'], 'heater_bed': ['target', 'temperature', 'power'], 'temperature_sensor Orange_pi': ['temperature'], 'temperature_sensor Super_Racer': ['temperature'], 'heater_fan heatsink_fan': ['speed'], 'filament_switch_sensor filament_sensor': ['enabled', 'filament_detected']}} 2024-05-03 14:50:44,607 [files.py:set_gcodes_path()] - Gcodes path: /home/pi/printer_flsun/gcodes 2024-05-03 14:50:44,607 [screen.py:init_klipper()] - Printer initialized 2024-05-03 14:50:44,607 [printer.py:change_state()] - Changing state from 'disconnected' to 'ready' 2024-05-03 14:50:44,608 [printer.py:change_state()] - Adding callback for state: ready 2024-05-03 14:50:44,611 [screen.py:set_screenblanking_timeout()] - Screen blanking: off 2024-05-03 14:50:44,618 [KlippyWebsocket.py:get_file_list()] - Sending server.files.list 2024-05-03 14:50:44,619 [screen.py:show_panel()] - Reinitializing panel 2024-05-03 14:50:44,636 [main_menu.py:init()] - ### Making MainMenu 2024-05-03 14:50:44,637 [main_menu.py:add_device()] - Adding device: extruder 2024-05-03 14:50:44,639 [main_menu.py:add_device()] - Adding device: heater_bed 2024-05-03 14:50:44,640 [main_menu.py:add_device()] - Adding device: temperature_sensor Orange_pi 2024-05-03 14:50:44,642 [main_menu.py:add_device()] - Adding device: temperature_sensor Super_Racer 2024-05-03 14:50:44,649 [screen.py:attach_panel()] - Current panel hierarchy: main_menu 2024-05-03 14:50:44,650 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/server/temperature_store 2024-05-03 14:50:44,780 [printer.py:init_temp_store()] - Temp store: ['heater_bed', 'temperature_sensor Orange_pi', 'temperature_sensor Super_Racer', 'extruder'] 2024-05-03 14:50:44,781 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/server/config 2024-05-03 14:50:44,814 [screen.py:init_tempstore()] - Temperature store size: 1200 2024-05-03 14:50:46,075 [KlippyRest.py:_do_request()] - Sending get to http://127.0.0.1:7125/server/info 2024-05-03 14:50:46,092 [KlippyWebsocket.py:connect()] - Already connected 2024-05-03 14:50:46,218 [screen.py:show_panel()] - Reinitializing panel 2024-05-03 14:50:46,228 [screen.py:attach_panel()] - Current panel hierarchy: printer_select 2024-05-03 14:50:46,232 [KlippyWebsocket.py:on_close()] - Closing websocket 2024-05-03 14:50:46,902 [screen.py:connect_printer()] - Connecting to printer: LK4 PRO 2024-05-03 14:50:46,904 [screen.py:show_panel()] - Reinitializing panel 2024-05-03 14:50:46,913 [screen.py:attach_panel()] - Current panel hierarchy: splash_screen 2024-05-03 14:50:46,915 [screen.py:connect_to_moonraker()] - Already Initializing 2024-05-03 14:50:51,930 [screen.py:show_panel()] - Reinitializing panel 2024-05-03 14:50:51,938 [screen.py:attach_panel()] - Current panel hierarchy: printer_select 2024-05-03 14:50:52,953 [screen.py:connect_printer()] - Connecting to printer: FLSUN SR 2024-05-03 14:50:52,955 [screen.py:show_panel()] - Reinitializing panel 2024-05-03 14:50:52,963 [screen.py:attach_panel()] - Current panel hierarchy: splash_screen 2024-05-03 14:50:52,965 [screen.py:connect_to_moonraker()] - Already Initializing

alfrix commented 2 weeks ago

The websocket seems to fail disconnect, i'll take a look asap