marcolivierarsenault / moonraker-home-assistant

Home Assistant integration for Moonraker, Klipper and Mainsail
https://moonraker-home-assistant.readthedocs.io
MIT License
243 stars 26 forks source link

Creality Sonic Pad integration #272

Open Prepete opened 8 months ago

Prepete commented 8 months ago

I have a Creality Sonic Pad with Klipper running on it. I wished to use it in HASS. sadly the device is not supported. Any suggestions if it will be possible in future?

spitfire commented 8 months ago

Creality finally released their open source components from klipper (which they weren't doing before (even though they were required to do so by klipper's license). Does that change anything in regards of possible support?

marcolivierarsenault commented 8 months ago

Honestly we need someone with this printer that make the integration work. We just don't have it. so it's hard to test and debug

cashew22 commented 8 months ago

We could take a look at the code but like @marcolivierarsenault said, without direct support from a Sonic Pad user it's hard to acheive something on our side.

spitfire commented 8 months ago

I'd be happy to help any way I can (as soon as I get my printer working again;)). Just let me know what you need me to check and I'll try to do it as soon as I can.

HethoFire commented 8 months ago

I'd also be happy to help, I have a new creality pad. Just configured the integration and the device is shown without sensors. May I provide some more information?

Edit: started a print right now and it seems like almost all the entities are there (125)

marcolivierarsenault commented 8 months ago

@HethoFire can you get me a copy of your log please https://moonraker-home-assistant.readthedocs.io/en/stable/support/logs.html#get-a-copy-of-your-ha-logs

HethoFire commented 8 months ago

Sure. error_log.txt was made yesterday home-assistant_2024-02-15T10-39-34.641Z.log is the advanced log made today

I'm studying information engeneering and i would like to start contributing to github projects, so if help is needed, here i am. Glad to help.

marcolivierarsenault commented 6 months ago

Looks like the printer do not support the machine.update.status which is part of the standard Moonraker API.

Not much we can do until it get supported by Sonic Pad

2024-02-15 11:17:15.527 DEBUG (MainThread) [custom_components.moonraker] fetching data, uuid: 9e804d54-cee6-47c1-a897-30ff68554e28, from: machine.update.status
2024-02-15 11:17:15.527 DEBUG (MainThread) [custom_components.moonraker] fetching, uuid: 9e804d54-cee6-47c1-a897-30ff68554e28, object: None
2024-02-15 11:17:15.748 DEBUG (MainThread) [custom_components.moonraker] Query Result, uuid: 9e804d54-cee6-47c1-a897-30ff68554e28: {'error': {'code': -32601, 'message': 'Method not found'}}
marcolivierarsenault commented 3 months ago

Looks like some folks are flashing their printer with vanilla Klipper and it's working #368