-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add instructions and/or support for multiple printers #20
Comments
Thank you @nberktumer for your work on this integration; it’s incredibly helpful! I also have two printers, the P1S and the A1 Mini, and it would be fantastic if the Bambu Lab P1 - Spaghetti Detection integration could support multiple instances with separate sets of entities for each printer. This would allow us to choose specific configurations for each printer within the script template, making it much more flexible for those of us with multiple devices. If there’s any way to implement or support this functionality, I’d be thrilled to see it added. Thank you again for all your hard work, and please let me know if I can assist with testing or feedback! |
I don't want to hijack this integration, but my integration supports this usecase if you want to try it meanwhile. |
Hi @nobodyguy, I've checked your project and performing all the major operations in HA integration is a good idea and as you said, it may allow supporting multiple printers. However, if I'm not mistaken, you are calculating the average confidence of a single detection. Meaning, the ML model can detect multiple failures in a single image and you are calculating the average of multiple failures in the same frame. So, if there is a false positive in a detection, it would report a failure. What Obico does is (also the blueprint automation in this project) it aggregates the confidence with the historic data so that even if the ML model returns a false positive detection in a single frame, it doesn't report there is a failure. If the detections constantly report failure, then the aggregation converges to a failure and notifies the user. If you wish to take a look at the Obico's aggregation function, here are the codes: |
Hello @nberktumer, |
I have two P1Ses setup with this integration. I tried just duplicating the automation and setting up the entities for each respective printer however I don't think it is actually working properly. I had a failure detection this morning with both printers running and stopping the print from the mobile notification caused it to stop printing on both printers even though only one had spaghetti and the other was fine. It may help to either clarify if this can actually support multiple printers and if so, how to set it up for multiple printers.
The text was updated successfully, but these errors were encountered: