Skip to content

repier37/ha-duet-card

 
 

Repository files navigation

Duet 3D Card

Home Asssistant card for duet 3D printers (via duet integration)

This card has been taken from https://github.com/dangreco/threedy and has been made compatible with the duet integration. Most of the work has not been done by me.

Featured

Table of Contents

Features


  • Live animation of 3D printer
  • Live camera view
  • Current states of various duet sensors
  • Tap to show/hide when printer is idle
  • Power button for a switch entity
  • Light button for a switch entity
  • Adjustable 3D printer graphic scale
  • Themes

Prerequisites


Installation


  1. image
  2. Click the Install Button on the highlighted Card titled duet

Config


graphical

Example Config


# required
type: 'custom:threedy-card'
base_entity: 'sensor.ender_3_v2'
name: 'Ender 3 v2'
printer_type: I3
monitored:
  - Status
  - ETA
  - Elapsed
  - Remaining
  - Hotend
  - Bed
# optionals  
theme: 'Default'
font: 'Roboto'
scale: 1.0
round: false 
always_show: true

Custom Theming


Custom theming can be accomplished using lovelace-card-mod's mod-card. Some styles may require the css keyword !important to override the inline style. Example usage as follows:

type: 'custom:mod-card'
style: |
  threedy-card > div {
    box-shadow: none !important;
  }
card:
  type: 'custom:threedy-card'
    .
    .
    .
    <card config>

Limitations

For the moment only the first tool of your printer can be displayed

Thank you !!

If you found this useful you can thank me via donation : Donate

Screenshots


Active Print

Active

Idle

Idle

Printer Offline

Offline

Show/Hide Animation

ShowHide

About

Home Assistant card to display 3D printer status and progress

Topics

Resources

Stars

Watchers

Forks

Languages

  • TypeScript 99.1%
  • JavaScript 0.9%