Naim Berk Tümer
Naim Berk Tümer
> I have disabled pause for now, because I get many warning notifications, depending on what the model looks like. For example see the screenshot below. Print looks fine, but...
The HA automation calculates them: https://github.com/nberktumer/ha-bambu-lab-p1-spaghetti-detection/blob/2709ff644e9802b115699f09cbf68742485b1009/blueprints/spaghetti_detection.yaml#L268 These math formulas in the automation are taken from: https://github.com/TheSpaghettiDetective/obico-server/blob/496605a62fcb790097c510c151994e9b2bf020c1/backend/lib/prediction.py https://github.com/TheSpaghettiDetective/obico-server/blob/496605a62fcb790097c510c151994e9b2bf020c1/backend/app/models.py#L410
The automation logic will work, but it may require some modification in the blueprint. P1 camera is a 0.5FPS camera and in home assistant the camera preview is a image...
v1.1.0 supports all Bambu Lab printers and 3rd party camera support. You can select any camera entity while setting up the automation.
Unfortunately I've hardcoded the failure thresholds in the automation calculations. It is possible to replace the hardcoded values with an input but need to go over the whole calculation functions....
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,...
- Please check the automation traces and system logs to see whether there is an error - Make sure the `Obico ML API Host` and `Obico ML API Auth Token`...
Can you check if the `Obico ML API Host` configured correctly and you can access to it?
You can try to access it from `http:///hc/` url.
`adjusted_ewm_mean >= 0.38 && (adjusted_ewm_mean >= 0.78 || adjusted_ewm_mean >= rolling_mean_diff)` Above statement is the threshold for a failure.