With credits to kmxak, djalexz, all other involved and inspired by this forum thread this adapter integrates Bambulab 3D-Printers into ioBroker.
Please provide your Printer IP-Address, API token and serial number in adapter settings; these are required for a local connection (no cloud involved) to your printer. These credentials are stored locally and not shared to third parties.
You must select your Printer model, only the X1 allows pushing of messages, P1x series needs to request by interval setting (default every 5 seconds)
Printer-Model | Status |
---|---|
AMS | ✅ |
A1 | ✅ |
P1p | ✅ |
P1s | ✅ |
X1 | ✅ |
Command | X1C | X1 | P1P | P1S | A1 |
---|---|---|---|---|---|
Custom g-code | ✅ | ✅ | ✅ | ✅ | ✅ |
Pause | ✅ | ✅ | ✅ | ✅ | ✅ |
Resume | ✅ | ✅ | ✅ | ✅ | ✅ |
Stop | ✅ | ✅ | ✅ | ✅ | ✅ |
Fan-Aux | ✅ | ✅ | ✅ | ❌ No hardware support | |
Fan-Chamber | ✅ | ✅ | ✅ | ❌ No hardware support | |
Fan-ToolHead | ✅ | ✅ | ✅ | ✅ | |
Light-Chamber | ✅ | ✅ | ✅ | ✅ | |
Light-Logo | ✅ | ✅ | ❌ No hardware support | ❌ No hardware support | ❌ No hardware support |
Temperature-Bed | ✅ | ✅ | ✅ | ✅ | ✅ |
Temperature-Nozzle | ✅ | ✅ | ✅ | ✅ | ✅ |
Speed Level | ✅ | ✅ | ✅ | ✅ | ✅ |
[ ] Restructure/complete current control states in control folder [ ] Optimize state attributes definitions
If you like my work, please consider a personal donation
(this is a personal Donate link for DutchmanNL, no relation to the ioBroker Project !)
Sentry.io is a service for developers to get an overview about errors from their applications. And exactly this is implemented in this adapter.
When the adapter crashes or any other Code error happens, this error message that also appears in the ioBroker log is submitted to Sentry. When you allow iobroker GmbH to collect diagnostic data, then also your installation ID (this is just a unique ID without any additional infos about you, email, name or such) is included. This allows Sentry to group errors and show how many unique users are affected by such an error. All of this helps me to provide error-free adapters that basically never crash.
- (DutchmanNL) Added doorOpen indicator, Fixes #115
- (DutchmanNL) update state definitions, (solves #77 #58)
- (DutchmanNL) update connection handling, show connection error only once (Solves #99 #78 #74)
- (DutchmanNL) Show finish time as ISO string
- (DutchmanNL) Bugfix control P & A Series
- (DutchmanNL) Show end time as a separate state, resolves #53
- (DutchmanNL) Bugfix resolves missing fan speed value, resolves #36
- (DutchmanNL) Update dependencies for state handling, resolves #50
- (DutchmanNL) Adjust log level for Unknown Message from error to debug, resolves #39
- (DutchmanNL) Add missing definitions to ensure correct creation of states, resolves #39
- (DutchmanNL) Reduce selection dropdown in admin config to printer series instead of a specific printer type
- (DutchmanNL) Update adapter code to support new firmware versions released by bambulab, please ensure your printer is up-to-date! resolves #46, resolves #38, resolves #26,
- (DutchmanNL) Button for homing added, fixes #28
- (DutchmanNL) Bugfix: Translation of HMS-Error codes
- (DutchmanNL) Several bugfixes for situations no AMS is used
- (DutchmanNL) Remove control for LED calibration head (could damage hardware)
Several state locations have been changed, advise to completely remove adapter & reinstall to upgrade
- (DutchmanNL) State for human-readable start time added
- (DutchmanNL) Speed level control implemented solves #10
- (DutchmanNL) Capability to control all fans implemented
- (DutchmanNL) Control bed & Nozzle temperature implemented
- (DutchmanNL) HMS error status indicator states implemented
- (DutchmanNL) Translations of HMS error codes implemented solves #9
- (DutchmanNL) Correct definitions for all temperature-related states
- (DutchmanNL) Control LED for tooling head Logo and calibration unit
- (DutchmanNL) Configuration page in admin updated
- (DutchmanNL) Information messages regarding incorrect type of bed-temperatures solved
- (DutchmanNL) Implemented P1-X printer series, polling interval required for this model (only X1 handles data push)
- (DutchmanNL) add control for chamber fan, tooling head light and allow custom g-code
- (DutchmanNL) Translations added
- (DutchmanNL) Debug logging improved
- (DutchmanNL) Minor code improvements
- (DutchmanNL) Control states implemented
- (DutchmanNL) Test & release workflows updated
- (DutchmanNL) Encryption of token and device serial improved
- (DutchmanNL) initial release
- During startup adapter throws warnings, these can be ignored and will be solved in =< 0.5.0
- Control start/stop/resume and light available in >= 0.1.1
MIT License
Copyright (c) 2024 DutchmanNL [email protected]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.