Skip to content

Lyr3x/hass-Duet3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Duet3D integration for Home Assistant

This is a work in progress. Entities are created properly and values can be read from the rr_model (standalone) or /machine/status (SBC) endpoint of your Duet board. The integration is meant to use with RRF 3.4.5 and onwards. Ensure to select the correct mode (Standalone vs SBC)

Installation

From HACS

  1. Install HACS if you haven't already (see installation guide).
  2. Add custom repository https://github.com/lyr3x/hass-Duet3D as "Integration" in the settings tab of HACS.
  3. Find and install "Duet3D" integration in HACS's "Integrations" tab.
  4. Restart your Home Assistant.

Manual

  1. Download and unzip the repo archive. (You could also click "Download ZIP" after pressing the green button in the repo, alternatively, you could clone the repo from SSH add-on).
  2. Copy contents of the archive/repo into your /config directory.
  3. Restart your Home Assistant.

Config

Add the Duet3D Printer integration via the UI.

  1. Parameters => Integrations
  2. Add integration
  3. Search Duet
  4. Configure in UI the app
    • Name => Name you want to give to your printer
    • Host => Printer ip adress
    • Port => Printer port => Usually 80
    • Password => password, or empty if you don't have one , or if you are using SBC
    • Update frequency
    • Number of tools => Number of tools your printer has
    • Hot bed => check if your printer has one
    • LEDd's installed => check if your printer has LED
    • Use standalone => check if your board is directly connected to your network. Uncheck if you are in SBC (duet board conencted to a rpi for example) see : User manuel Duet

Lovelace

A specific card exist for this integration:

Duet integration card

Featured

There is also the possibility to send GCodes directly with a Home Assistant service:

service: duet3d.hevors_send_gcode
data:
  gcode: G28

Currently is not working to log the responsen from an e.g M122

Credits

Code initially based on the OctoPrint integration: octoprint integration github