Skip to content

jellespijker/home-assistant-ultimaker

Repository files navigation

hacs_badge

Home Assistant Ultimaker printers

sensors

Adds support for the following ultimaker printer sensors:

  • Printer status
  • Print job state
  • Print job progress
  • Hotend id (AA 0.4, BB 0.4, ...)
  • Hotend temperature
  • Hotend target temperature
  • Bed type (glass, ...)
  • Bed temperature
  • Bed target temperature

Install

Using HACS:

Just search for ultimaker in the HACS integration bar

From source:

Copy the ultimaker directory in your own custom_components folder

Usage

configuration.yaml

sensor:
  - platform: ultimaker
    name: name
    host: ip_adress
    scan_interval: 10  # optional, default 10
    decimal: 2  # optional, default 2 rounds the sensor values
    sensors:
      - status  # optional
      - state  # optional
      - progress  # optional
      - bed_type  # optional
      - bed_temperature  # optional
      - bed_temperature_target  # optional
      - hotend_1_id  # optional
      - hotend_1_temperature  # optional
      - hotend_1_temperature_target  # optional
      - hotend_2_id  # optional
      - hotend_2_temperature  # optional
      - hotend_2_temperature_target  # optional

add a camera to the configuration.yaml

camera:
  - platform: generic
    still_image_url: http://ip_adress:8080/?action=snapshot
    framerate: 4

add a lovelace card to the UI

type: vertical-stack
cards:
  - type: entity
    entity: sensor.printername_print_job_state
  - type: conditional
    conditions:
      - entity: sensor.printername_printer_status
        state: printing
    card:
      type: picture-entity
      entity: sensor.printername_print_job_progress
      camera_image: camera.generic_camera
      camera_view: live
  - type: gauge
    entity: sensor.printername_print_job_progress
    min: 0
    max: 100
    severity:
      green: 66
      yellow: 33
      red: 0