#Packages

1 messages ยท Page 1 of 1 (latest)

clear geode
#

You add the first two lines to your configuration.yaml

#

Then

#

To have all this sensors available on your Home Assistant you just need to copy moonraker.yaml to your packages folder and make sure you update the IP address

#

That would be /config/packages/moonraker.yaml

outer python
#

Ok so you don't need the pack1 part?

#

that was point to the moonraker.yaml

#

(Had a network outage)

clear geode
#

Packages

#

You only need that if you're embedding the package in configuration.yaml, which you're not

outer python
#

ok so this is the way now.

#

so it restarted

#

I should see the device values now

clear geode
#

You should see the entities or errors in your log

outer python
#

Thank you!! Sorry for the delay was have mega network dropouts

#

This seems to be taking the thumbnail art from the printer instead of the camera feed would you know how I would add a video feed to the card?

clear geode
#

You need a camera entity for that

outer python
#

ok which it has but to the wrong url

#
camera:
  - platform: generic
    name: "3D Printer Thumbnail"
    still_image_url: http://<moonraker-ip-address>:7125/server/files/gcodes/{{ states("sensor.3d_printer_object_thumbnails") }}
    verify_ssl: false
#

to get that working as it was old code I changed it to gcodes/.thumbs/

#

Then it displayed the jpg there.

#

but for the camera its at http://<moonraker-ip-address>/webcam/?action=stream

clear geode
outer python
#

Seems that works unfortunately the rotation settings don't ๐Ÿ˜ฆ

clear geode
#

What "rotation settings"?

outer python
clear geode
outer python
#

Ok thank you for all your help!

tardy robin
#

@clear geode
I'm using the moonraker packages with good success except for one thing. If the printed file is within a subdirectory of the gcodes folder, the relative_path used for the thumbails is not the right path. If I go in the Developer tool and change the state of the 3d_printer_object_thumbnails and add the subdirectory in front of it, then the Picture Card displays the thumbnails.

#

Also another issue but that one I found a fix was if the file name contained a "+" character, the API would fail for the metadata or anything that used the sensor.3d_printer_current_print in the api call.

I modified the call and urlencoded the path
resource_template: "http://<moonraker_ip_address>:7125/server/files/metadata?filename={{ states(('sensor.3d_printer_current_print')) |urlencode}}"

clear geode
tardy robin
#

Sorry I thought you were one the developer. My bad ๐Ÿ˜ฆ

clear geode
#

Tagging devs to demand their attention goes down even more poorly ๐Ÿ˜‰

#

If you've found a bug, open an issue

unkempt jacinthBOT
#

Want to see what issues are open (or were open and are now closed)?

Don't forget to check for any alerts

If you think an upgrade broke something then:

  1. Downgrade to the previous version to check if it works correctly there
  2. If it does then change the logger settings for that integration to debug
  3. Upgrade to the new version again
  4. Look in the logs for errors
  5. Open an issue, following the template provided and including the log information
tardy robin
#

I did open an issue but since many people did a pull-request on that package I'm not sure who is the original developer for this package therefore not sure I opened the issue on the right code...

#

Should I simply open an issue on Home Assistant, I guess not

clear geode
#

Well... it all depends on which one you used

#

Or even something else

tardy robin
#

which is actually the person you were chatting with right before

#

but this seems to be a pull from 2 others