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)
- Install HACS if you haven't already (see installation guide).
- Add custom repository
https://github.com/lyr3x/hass-Duet3D
as "Integration" in the settings tab of HACS. - Find and install "Duet3D" integration in HACS's "Integrations" tab.
- Restart your Home Assistant.
- 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).
- Copy contents of the archive/repo into your
/config
directory. - Restart your Home Assistant.
Add the Duet3D Printer integration via the UI.
- Parameters => Integrations
- Add integration
- Search Duet
- 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
A specific card exist for this integration:
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
Code initially based on the OctoPrint integration: octoprint integration github