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

Not sure if this is the issue, but I just checked my flow and the flow you linked to in the first post and as you can see below it has the ‘unit of measurement’ as ‘cm’

I have changed to mm to see if that is the issue.

   {
        "id": "84145fc6a7e02d3a",
        "type": "ha-entity-config",
        "server": "523b42f.5c0cbbc",
        "deviceConfig": "2403d7e38434b26c",
        "name": "K1 Used Material Length",
        "version": "6",
        "entityType": "sensor",
        "haConfig": [
            {
                "property": "name",
                "value": "K1 Used Material Length"
            },
            {
                "property": "icon",
                "value": "mdi:spider-web"
            },
            {
                "property": "entity_picture",
                "value": ""
            },
            {
                "property": "entity_category",
                "value": ""
            },
            {
                "property": "device_class",
                "value": "distance"
            },
            {
                "property": "unit_of_measurement",
                "value": "cm"
            },
            {
                "property": "state_class",
                "value": ""
            }
        ],
        "resend": false,
        "debugEnabled": false
    },

Insert facepalm meme here

I’ll fix that when I get back home

#FIXED

The file was correct in Github. My link on the original post was pointing to an old version of the file. So, there were plenty of missing information.

Check the last file from the main branch here. Original post was also fixed.

Sorry about that @iamgrog68

Thanks @bouyssic I will take a look shortly

Hello.

I found this as I wanted to see if there was some integration for the Creality K1 Max, this was helpful but as I don’t run NodeRed, I couldn’t use it. But I began thinking that this must go do an custom_component of it. So with some digging in to the websocket and testing and from getting the javascript from the printer and with help of Gemini I have made a custom_component, that I installed.

I haven’t tested it while printing and for the moment I have just the fans, lamp, temperature, print progress, total layer count, material length and working layer. But it seems to work but as I haven’t yet printed with it active I don’t know the sensors for layers and material. I haven’t uploaded it yet as I want to test it some more and add some more. But if it is someone who want to test it out just say and I will get it up on github.

Just wanted to thank you guys for your findings and the inspiration for a custom_component.

Best regards.

Hey @hurricaneb !

This is a great job! I’m too afraid of getting myself into a custom_component as I don’t know if I’ll be able to keep up with the maintenance of it.

That being said, I’ll be happy to help you test out the component if you need beta testers. Let me know !

Hey @bouyssic

Now the component uploaded to GitHub - hurricaneb/hass_creality_k1 if you want to test it. I have tested it wile printing and layers, progress and so on worked. But test and see how it works for you.

I hope the up keep for it not gonna be to big. But it depends on how much HomeAssistant changes about things. :slight_smile:

Best regards.

I’m on a business trip right now, heading home next week.

I’ll let you know when I get a chance to test this out

can i use it in my k1c without root?

@hurricaneb Great work!!

Yes. My custom component works without rooting as long as you can connect to it locally.

Thank you so much! Hopes it works great for you.

@hurricaneb Henrik, does it work with the K1C too? your wiki only mentions k1 and k1 max. maybe add a clarification, if you actually dont know, i can try with my K1C if you like.

Edit: never mind, i found this

and its working with K1C

Hello. Yes, mine is also working with K1C. As I have understand it so K1, K1C and K1 Max all have the same firmware so it is the same websocket communications with it.

Best regards.

Evening everyone,

I can see that material length has ‘sort of’ been covered but I was wondering if anyone can advise me how to show the value in metres? I know it’s not difficult for me to divide the figure myself but wondered if there was a way to make it work in HA.

Loving this integration, and it works far more reliably than the Creality app.

Thanks,
Bret

Hello everyone,

Been away from HA scene for a couple of months. Other things to focus on. In the meantime, I've been able to test GitHub - 3dg1luk43/ha_creality_ws: Creality K1/K2/3V3/Hi WebSocket integration for Home Assistant (local push, MJPEG or webRTC camera, power controls) · GitHub and it's much better than what this norderd flow can do.

I strongly encourage you to swap to it.

Chris