This is a simple guide to getting data from your 3d printer, which uses Klipper and moonraker, into Home Assistant.
I'd advise against running HA and klipper on the same computer - I wouldnt want HA to interfere with the real-time-like processing of Klipper.
Links:
- Klipper: https://www.klipper3d.org/
- Moonraker: https://github.com/Arksine/moonraker
- Home Assistant: https://www.home-assistant.io/
- All three components listed above are installed and operational
- KNow your printer's IP address
- Be able to edit yml files on your HA server (you may need sudo, depending on your setup)
- Understand a sensors in HA (https://www.home-assistant.io/integrations/sensor/)
- You're ready to go!
- Create klipper.yaml - this will be used to store the sensor
- Edit configuration.yaml to reference your new klipper.yaml file
- Edit klipper.yaml
- Restart HA and start adding sensors to the UI. The should start appearing in your dashboard
- To resolve: Currently HA has a few too many errors when the klipper server is not running.