Repetier-Server

Repetier-Server is a 3D printer/CNC server, able to control multiple devices on the same server. This integration handles the main integration to the server.

There is currently support for the following device types within Home Assistant:

  • Sensor

Configuration

repetier:
  - host: REPETIER_HOST
    api_key: YOUR_API_KEY

Configuration Variables

repetier list Required

Repetier integration

host string Required

The host IP or hostname of your Repetier-Server.

api_key string Required

API-key for the user used to connect to Repetier-Server

port integer (Optional, default: 3344)

The port used to connect to the host

sensors map (Optional)

Configuration for the sensors.

monitored_conditions list

The sensors to activate.

current_state

Text of current state.

extruder_temperature

Temperatures of all available extruders. These will be displayed as printer_name_extruder_N.

bed_temperature

Temperatures of all available heated beds. These will be displayed as printer_name_bed_N.

chamber_temperature

Temperatures of all available heated chambers. These will be displayed as printer_name_chamber_N.

current_job

Returns percentage done of current job in state, and current job information as attributes.

job_start

Start timestamp of job start.

job_end

Estimated job end timestamp.

Example with multiple Repetier Servers:

repetier:
  - host: REPETIER_HOST
    api_key: YOUR_API_KEY
    sensors:
      monitored_conditions:
        - 'current_state'
        - 'current_job'
  - host: REPETIER_HOST
    api_key: YOUR_API_KEY
    port: 3344

If the Repetier-Server host is equipped with a web camera it is possible to add this as well.

camera:
  - platform: mjpeg
    name: Repetier
    still_image_url: http://YOUR_REPETIER_HOST_IP:8080/?action=snapshot
    mjpeg_url: http://YOUR_REPETIER_HOST_IP:8080/?action=stream

Retrieve API-key

To generate the needed API-key do the following:

  • Go to your Repetier Server web-console
  • Push the settings icon (the gear icon)
  • Select User Profiles.
  • Create a new user, deselect all options and click Create User.
  • Edit the newly created user and take note of the API-key for this user, that’s the one to use in the Home Assistant Settings