Skip to content

This adapter integrates Bambulab 3D-Printers into ioBroker.

License

Notifications You must be signed in to change notification settings

Joylancer/ioBroker.bambulab

 
 

Repository files navigation

Logo

ioBroker.bambulab

NPM version Downloads Number of Installations Current version in stable repository

NPM

Tests: Test and Release

Bambulab 3D-Printing adapter for ioBroker

Getting started

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)

Supported models

Printer-Model Status
AMS
A1
P1p
P1s
X1

Supported commands

Command X1C X1 P1P P1S A1
Custom g-code
Pause
Resume
Stop
Fan-Aux ⁉️ if present ❌ No hardware support
Fan-Chamber ⁉️ if present ❌ No hardware support
Fan-ToolHead ⁉️ if present
Light-Chamber ⁉️ if present
Light-Logo ❌ No hardware support ❌ No hardware support ❌ No hardware support
Temperature-Bed
Temperature-Nozzle
Speed Level

To-Do

[ ] Restructure/complete current control states in control folder [ ] Optimize state attributes definitions

Support me

If you like my work, please consider a personal donation
(this is a personal Donate link for DutchmanNL, no relation to the ioBroker Project !)
Donate

What is Sentry.io and what is reported to the servers of that company?

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.

Changelog

0.3.2 (2023-11-20)

  • (DutchmanNL) Show finish time as ISO string

0.3.1 (2023-11-20)

  • (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

0.3.0 (2023-11-19) - Release candidate

  • (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,

0.2.0 (2023-10-18) - Small fixes for new firmware version

  • (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)

0.1.5 (2023-07-29) - HMS error codes Human readable, new functionalities added

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

0.1.4 (2023-07-28) - Support P1-series

  • (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)

0.1.3 (2023-07-27) - Add new control options

  • (DutchmanNL) add control for chamber fan, tooling head light and allow custom g-code

0.1.1 - Minor improvements

  • (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

0.1.0 initial release

  • (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

License

MIT License

Copyright (c) 2023 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.

About

This adapter integrates Bambulab 3D-Printers into ioBroker.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%