jellespijker / home-assistant-ultimaker

Home-Assistant component for Ultimaker printers (UM3, S3, S5)
GNU General Public License v3.0
17 stars 2 forks source link
3d-printing hass hassio home-assistant home-assistant-component home-assistant-hacs home-assistant-sensor s3 s5 ultimaker um3

hacs_badge

Home Assistant Ultimaker printers

sensors

Adds support for the following ultimaker printer sensors:

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