Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K1 MAX dont show thumbnail camera #221

Closed
pollinolas opened this issue Nov 4, 2023 · 16 comments
Closed

K1 MAX dont show thumbnail camera #221

pollinolas opened this issue Nov 4, 2023 · 16 comments
Assignees
Labels
bug Something isn't working hardware compatibility k1

Comments

@pollinolas
Copy link

pollinolas commented Nov 4, 2023

Can´t load images from camera and thumbnails,moonraker integration configuration section with and without port 7125 and with and without api key same results.....no cameras.
I can add it from the generic mjpeg camera integration with the url:
http://192.168.1.235:4408/webcam/?action=stream (I am using fluidd)
without port or 7125 port doesnt work the generic camera neither

@marcolivierarsenault marcolivierarsenault added the bug Something isn't working label Nov 4, 2023
@pollinolas
Copy link
Author

The camera problem has been solved by adding it to moonraker.conf, I still have problems with the thumbnail

@pollinolas pollinolas changed the title K1 MAX dont show camera and thumbnail neither K1 MAX dont show thumbnail camera Nov 22, 2023
@marcolivierarsenault
Copy link
Owner

@cashew22 is working on a fix,
#228 will likely fix it

@marcolivierarsenault marcolivierarsenault added the duplicate This issue or pull request already exists label Nov 26, 2023
@pollinolas
Copy link
Author

@cashew22 is working on a fix, #228 will likely fix it

in 10.1 version the thumbnail camera
still not working

@marcolivierarsenault
Copy link
Owner

Can you give me a new debug log with the 0.10.1 thank you

@marcolivierarsenault
Copy link
Owner

@pollinolas just to clarify

  1. Is the webcam working?
  2. Are you reloading the app, while collecting the logs.
  3. What version of Moonraker are you using?

@pollinolas
Copy link
Author

@pollinolassolo para aclarar

  1. ¿Está funcionando la cámara web?
  2. ¿Está recargando la aplicación mientras recopila los registros?
  3. ¿Qué versión de Moonraker estás usando?
  1. yes
  2. I think I remember that yes (I eat very little fish) :)
  3. v0.8.0-204-gfb15b2a3

@WayneManion
Copy link

I have a 'rooted' Creality K1 and the thumbnail does not work in the Moonraker Home Assistant integration for me either.

I don't have the Creality camera in my K1 yet so I can't comment on the camera stream.

@marcolivierarsenault
Copy link
Owner

@pollinolas and @WayneManion
I updated some logging info to get more details,

Can you

  1. Update to latest main version (info)
  2. Get debug logs (info)

@marcolivierarsenault
Copy link
Owner

ooo did not work, you needed to 'update' the repo.
Make sure you update, then re-download main

image

Go A then B then make sure C is 6b427c

I will update the documentation

@marcolivierarsenault marcolivierarsenault removed the duplicate This issue or pull request already exists label Dec 9, 2023
@pollinolas
Copy link
Author

I had to select the main branch after redownload....

Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:361
Integration: Sensor (documentation, issues)
First occurred: 20:12:11 (1 occurrences)
Last logged: 20:12:11

Error while setting up moonraker platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/moonraker/sensor.py", line 333, in async_setup_entry
await async_setup_machine_update_sensors(coordinator, entry, async_add_entities)
File "/config/custom_components/moonraker/sensor.py", line 532, in async_setup_machine_update_sensors
async_add_entities([MoonrakerSensor(coordinator, entry, desc) for desc in sensors])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/moonraker/sensor.py", line 532, in
async_add_entities([MoonrakerSensor(coordinator, entry, desc) for desc in sensors])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/moonraker/sensor.py", line 547, in init
self._attr_native_value = description.value_fn(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/moonraker/sensor.py", line 502, in
value_fn=lambda sensor: f"{sensor.coordinator.data['machine_update']['version_info']['system']['package_count']} packages can be upgraded",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'system'

and full log:

home-assistant_2023-12-09T19-15-29.119Z.log

@marcolivierarsenault
Copy link
Owner

ok @pollinolas shipped new patches.

Can you re-update/download the main .. version should be 8ed67e6

The new error should be gone, and I should have new info for the debugging (can you share a new log)

@marcolivierarsenault
Copy link
Owner

** We just pushed some more code (un-related) make sure version is 3fcdc06

@marcolivierarsenault
Copy link
Owner

New attempt: version 34409fc

@pollinolas
Copy link
Author

New attempt: version 34409fc

I get the feeling that all these changes are not related to the miniature problem, but rather to the new update sensor function of the machine.

@pollinolas pollinolas closed this as not planned Won't fix, can't repro, duplicate, stale Dec 10, 2023
@marcolivierarsenault
Copy link
Owner

yes, but the error you are getting are due to a new feature we are trying to launch.

and I am debuging both problem at the same time

@WayneManion
Copy link

I got my Creality K1 camera from Amazon finally. The thumbnail and the Creality camera are now working in the Home Assistant integration.

My IP cameras specified in moonraker.conf and working in Fluidd and Mainsail do not work in the Home Assistant integration though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hardware compatibility k1
Projects
None yet
Development

No branches or pull requests

4 participants