Closed kallejoken closed 4 months ago
Some problem here. I'm using Qidi x-Smart 3
FYI by default Qidi slicer only outputs their own thumbnail format into the gcode, but adding a PNG one too has no effect.
Trying to debug the issue, I manually called Moonraker API REST query for getting the thumbnails and explored the results: all the thumbnails data is correctly pushed back to the callee
Hey, could you share a copy of your logs https://moonraker-home-assistant.readthedocs.io/en/stable/support/logs.html#go-full-debug-log
Sure! Here's attached
home-assistant_moonraker_2024-04-09T09-28-41.282Z.log
If I can read the log properly, the issue is quite clear: Connection refused to port 80, but the printer is listening on port 10088
I don't remember if I set the right port during integration since it's not visibile on the device setup anymore, but I guess so since the integration works perfectly (aside the camera and thumbnails, ofc)
hope this helps!
Sure! Here's attached
home-assistant_moonraker_2024-04-09T09-28-41.282Z.log
If I can read the log properly, the issue is quite clear: Connection refused to port 80, but the printer is listening on port 10088
I don't remember if I set the right port during integration since it's not visibile on the device setup anymore, but I guess so since the integration works perfectly (aside the camera and thumbnails, ofc)
hope this helps!
a new firmware has been released that releases port 80
a new firmware has been released that releases port 80
This applies only to the new Q1 Pro (for now, at least)
nonetheless I'm not sure I want to switch to port 80 for security reasons. One should not be forced to a specific ports just because it's the only port that works IMHO :)
If you try this, does the camera works? https://moonraker-home-assistant.readthedocs.io/en/stable/entities/camera.html#manual-configuration
Also have you tried playing with this port config? https://moonraker-home-assistant.readthedocs.io/en/stable/connection.html
can you shoot me the JSON from this URL http://WHATEVERIP/server/config
Funktioniert die Kamera, wenn Sie dies versuchen? https://moonraker-home-assistant.readthedocs.io/en/stable/entities/camera.html#manual-configuration
Haben Sie auch versucht, mit dieser Portkonfiguration zu spielen? https://moonraker-home-assistant.readthedocs.io/en/stable/connection.html
yes works without problems
can you shoot me the JSON from this URL http://whateverip/server/config
Hi, sorry for the late reply...i had the qidi offline for a while for maintenance and i had not the chance to test.
Atm I haven't a webcam to plug, so I can only test the thumbnails generation. This option doesn't seem to be available to manually setup in the integration: only two options for camera (stream and snapshot) are available as far as i can see.
Ports setup is correct: 7125 for moonraker (fluidd is in 10088 in my setup; this is non standard i guess)
I can paste you the json config ofc, but i can see nothing related to thumbnails or something actually
EDIT:
checking the log, i can see the data from the thumbnail are correctly fetched:
2024-04-24 00:04:21.503 DEBUG (MainThread) [custom_components.moonraker] Query Result, uuid: 6aa4918a-2d02-4825-88c4-a3c83eb55e3b: {'size': 3407322, 'modified': 1673969236.7520003, 'uuid': 'ac471cdb-aec6-444e-8510-74115f68bc4a', 'slicer': 'QIDISlicer', 'slicer_version': '1.1.1', 'gcode_start_byte': 35412, 'gcode_end_byte': 3394969, 'layer_count': 266, 'object_height': 53.6, 'estimated_time': 3057, 'nozzle_diameter': 0.4, 'layer_height': 0.2, 'first_layer_height': 0.2, 'first_layer_extr_temp': 210.0, 'first_layer_bed_temp': 60.0, 'chamber_temp': 0.0, 'filament_name': 'Generic PLA @X-smart 3 0.4 nozzle', 'filament_type': 'PLA', 'filament_total': 4824.24, 'filament_weight_total': 13.92, 'thumbnails': [{'width': 32, 'height': 25, 'size': 764, 'relative_path': '.thumbs/Nintendo DS Stand-32x32.png'}, {'width': 380, 'height': 300, 'size': 12040, 'relative_path': '.thumbs/Nintendo DS Stand-380x300.png'}], 'print_start_time': None, 'job_id': None, 'filename': '.cache/Nintendo DS Stand.gcode'}
and I can see several connectors error referring to port '80' (which is not correct). These are related to camera.py, however.
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1033, in _wrap_create_connection raise client_error(req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 192.168.1.189:80 ssl:default [Connect call failed ('192.168.1.189', 80)]
@theclue can you shoot me the JSON from this URL http://you_moonraker_ip:port/server/config
stale
Hello everyone, i own a qidi q1 pro, with the latest moonraker version the thumbnails and the camera picture are not transferred. does anyone have a fix to solve this problem?
fluidd 1.19 version current HA version.