Adding Creality K1 Max to HA using Nodered (No root required)

Hello everyone!

I’m a happy camper with my new K1 Max. After years using a Ender 3 I decided to upgrade to continue my 3D life :innocent:

I was looking for a way to bring data from the K1 Max into Home Assistant without having to resort to rooting, monraker of anything of the sort.

Luckly, the K1 Max exposes a websocket whenever it’s on, therefor I used nodered to bring the data to HA.

  • Is it the best way to do it ? => I’m sure it’s not
  • Was it worth the effort compared to rooting the printer? => Couldn’t say, haven’t even attempted to root it
  • Does it work ? => Totally

I’m sure someone that knows python and HA integrations could make something work with the websocket exposed on the K1 … but not me.

What’s working:

  • Several temperature sensors (Nozzle, Case, Bed)
  • Other sensors (layer counts, material length, print progress)
  • Partial fan control (ON/OFF)
  • Light control

If you want to chat about it or need help understanding the mess I made, hit me up!

If there are node-red experts that care to check what I came up and give tips to improve the workflow, let me know. It’s my first time using it in 5 years.

You can get the workflow from here

Cheers
Chris

Additional tips:

You can add the K1 Camera to HA using the MJPEG IP Camera - Home Assistant integration

  • MJPEG URL : http://your_printer_ip:8080/?action=stream
  • Still Image: http://your_printer_ip/downloads/original/current_print_image.png (This will display a still image of the last print you sent to your printer)