-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending GCode via the new Home Assistant Action System is Broken #25
Comments
FWIW, I just did the following code and it worked/set my hotend to 100C.
|
That's odd. I thought the missing curly braces might be the problem but I got the same failure even when I copy/pasted your code directly. |
Ah, it looks like my initial guess was off. I took a look through my debug logs and found this:
So it appears this is an authentication error which would explain why @micaheli was able to get their printer to work and I couldn't. I'm not sure why it's failing to authenticate though. My printer is set up to have a password, but that has been given to this integration. To complicate things further, I also noticed that the printer will correctly respond about 1/5 times. It will fail to respond if several commands are sent within a few seconds of each other. |
Home assistant recently updated all of their "services" to "actions" and I suspect that broke the send_gcode service that is provided by this integration. It would be nice to get that updated and working again. Everytime I try to call the service I just get the error
Failed to perform the action duet3d.send_code. Unknown error
This is the yaml for the action I'm performing:
Home Assistant Version Info
Core: 2024.9.1
Supervisor: 2024.09.1
Operating System: 13.1
Frontend: 20240906.0
The text was updated successfully, but these errors were encountered: