Skip to content

Commit

Permalink
Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
klein0r committed Nov 10, 2020
1 parent 7fb1563 commit 82d3076
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 19 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ Adapter to connect OctoPrint to ioBroker

## Changelog

### 1.0.1

* (klein0r) Added iobroker sentry

### 1.0.0

* (klein0r) First stable release
Expand Down
6 changes: 5 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"common": {
"name": "octoprint",
"version": "1.0.0",
"version": "1.0.1",
"news": {
"1.0.1": {
"en": "Added iobroker sentry",
"de": "iobroker sentry hinzugefügt"
},
"1.0.0": {
"en": "First stable release",
"de": "Erster stable release"
Expand Down
17 changes: 0 additions & 17 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ class OctoPrint extends utils.Adapter {
this.on('unload', this.onUnload.bind(this));
}

/**
* Is called when databases are connected and adapter received configuration.
*/
async onReady() {
this.subscribeStates('*');
this.setState('printer_status', {val: this.printerStatus, ack: true});
Expand All @@ -40,10 +37,6 @@ class OctoPrint extends utils.Adapter {
await this.refreshFiles();
}

/**
* Is called when adapter shuts down - callback has to be called under any circumstances!
* @param {() => void} callback
*/
onUnload(callback) {
try {
this.setPrinterOffline(false);
Expand Down Expand Up @@ -410,16 +403,6 @@ class OctoPrint extends utils.Adapter {
null
);

/*
this.buildRequest(
'printer/command/custom',
(content, status) => {
// Todo
},
null
);
*/

this.buildRequest(
'system/commands',
(content, status) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.octoprint",
"version": "1.0.0",
"version": "1.0.1",
"description": "ioBroker OctoPrint Adapter",
"author": {
"name": "Matthias Kleine",
Expand Down

0 comments on commit 82d3076

Please sign in to comment.