Adapter to connect OctoPrint to ioBroker
Please use the "adapter list" in ioBroker to install a stable version of this adapter. You can also use the CLI to install this adapter:
iobroker add octoprint
This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.
NodeJS 14.x is required (NodeJS 12.x is EOL)
Tested with OctoPrint 1.8.0
- (klein0r) Added last and average layer duration (requires plugin Display Layer Progress)
- (klein0r) Moved thumbnail information of files to new structure (BREAKING CHANGE - CHECK YOUR SCRIPTS AND VIS)
- (klein0r) Improved handling of thumbnails and states for plugins
- (klein0r) Updated depedency for js-controller to 4.0.15
- (klein0r) Get thumbnail url of current file and copy value to printjob (requires plugin Slicer Thumbnails)
- (klein0r) Updated log messages
Tested with OctoPrint 1.7.3
- (klein0r) Added print times as readable states (seconds to string)
- (klein0r) Added formatted date when print job will finish
- (klein0r) Added fan speed and feedrate from plugin Display Layer Progress
- (klein0r) Calculate date/time when print will be finished
- (klein0r) Renamed
printjob.progress.printtime_left
toprintjob.progress.printtimeLeft
(BREAKING CHANGE - CHECK YOUR SCRIPTS AND VIS)
The MIT License (MIT)
Copyright (c) 2022 Matthias Kleine info@haus-automatisierung.com
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.