diff --git a/conf/sources-dist.json b/conf/sources-dist.json index 430aea5682..1da289efac 100644 --- a/conf/sources-dist.json +++ b/conf/sources-dist.json @@ -154,6 +154,10 @@ "meta": "https://raw.githubusercontent.com/ioBroker/ioBroker.vis/master/io-package.json", "icon": "https://raw.githubusercontent.com/ioBroker/ioBroker.vis/master/admin/vis.png" }, + "vis-metro": { + "meta": "https://raw.githubusercontent.com/ioBroker/ioBroker.vis-metro/master/io-package.json", + "icon": "https://raw.githubusercontent.com/ioBroker/ioBroker.vis-metro/master/admin/metro.png" + }, "web": { "meta": "https://raw.githubusercontent.com/ioBroker/ioBroker.web/master/io-package.json", "icon": "https://raw.githubusercontent.com/ioBroker/ioBroker.web/master/admin/web.png" diff --git a/lib/setup.js b/lib/setup.js index 96ef53a2ee..8564fbf688 100644 --- a/lib/setup.js +++ b/lib/setup.js @@ -2660,7 +2660,7 @@ function createInstance(adapter, options, callback) { var _id = 'system.adapter.' + adapter + '.' + instance; var objs; - if (!instanceObj.common.onlyWWW) { + if (!instanceObj.common.onlyWWW && instanceObj.common.mode != 'once') { objs = [ { _id: _id + '.alive',