NEWS
Hue wird nicht erkannt.
-
@relaxz Dann kannst du eigentlich kein node 14 installiert haben. Du musst was anderes gemacht haben. Aber da du ja nicht mit Informationen rausrückst was da läuft kann man auch nicht helfen.
apt policy nodejs nodejs -v && node -v && npm -v which nodejs && which node && which npm
-
Ich hab die Anleitung benutzt, aber statt 12 die neue 14 genommen, da ich dachte das wäre schlau... Was es wohl nicht war...
Würde gern alles sagen, allerdings weiß nicht was fehlt, bzw. was ich gemacht habe.... Sag ja, Amateur -Leider! -
@relaxz
Gib mal meine Kommandos ein, komplette Ein- und Ausgabe hier in codetags </> wieder rein. -
@Thomas-Braun said in Hue wird nicht erkannt.:
nodejs -v && node -v && npm -v
pi@ioBroker-RasPi4:~ $ nodejs -v && node -v && npm -v v14.3.0 v14.3.0 6.14.5
pi@ioBroker-RasPi4:~ $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
-
sudo nano /etc/apt/sources.list.d/nodesource.list
In der Datei machst du aus der 14 eine 12, sonst änderst du nix, abspeichern und dann
sudo apt update sudo apt install nodejs=12.17.0-1nodesource1 sudo apt dist-upgrade sudo reboot
-
nodejs -v && node -v && npm -v v12.17.0 v12.17.0 6.14.4
Leider lässt sich aber das Webinterface immer noch nicht aufrufen
-
@relaxz Das haben wir ja auch noch nicht angepackt.
iobroker version iobroker list adapters iobroker list instances
-
Sorry, wollte nicht ungeduldig erscheinen! Bin Mega Dankbar für Deine Hilfe!!
pi@ioBroker-RasPi4:~ $ iobroker version internal/modules/cjs/loader.js:969 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15) at Function.Module._load (internal/modules/cjs/loader.js:842:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
iobroker list adapters internal/modules/cjs/loader.js:969 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15) at Function.Module._load (internal/modules/cjs/loader.js:842:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
-
@relaxz sagte in Hue wird nicht erkannt.:
iobroker.js-controller
cd /opt/iobroker npm i iobroker.js-controller
-
@Thomas-Braun said in Hue wird nicht erkannt.:
npm i iobroker.js-controller
pi@ioBroker-RasPi4:/opt/iobroker $ npm i iobroker.js-controller > iobroker.js-controller@2.2.10 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.14.4 > iobroker.js-controller@2.2.10 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) + iobroker.js-controller@2.2.10 added 3 packages from 3 contributors in 41.64s 7 packages are looking for funding run `npm fund` for details
-
iobroker start iobroker status
-
pi@ioBroker-RasPi4:/opt/iobroker $ iobroker status iobroker is running on this host. At least one iobroker host is running. Objects type: file States type: file
-
@relaxz Gut, dann bist du ja jetzt wieder auf Spur.
-
Hmm, leider geht das Webinterface immer noch nicht
-
iobroker version iobroker list adapters iobroker list instances
-
@Thomas-Braun said in Hue wird nicht erkannt.:
iobroker list instances
pi@ioBroker-RasPi4:/opt/iobroker $ iobroker version 2.2.10 pi@ioBroker-RasPi4:/opt/iobroker $ iobroker list adapters system.adapter.admin : admin - v3.6.2 system.adapter.discovery : discovery - v1.3.0 system.adapter.find-my-iphone : find-my-iphone - v0.2.15 system.adapter.harmony : harmony - v1.2.2 system.adapter.hmip : hmip - v0.0.11 system.adapter.hue : hue - v3.2.4 system.adapter.hue-extended : hue-extended - v1.2.3 system.adapter.ping : ping - v1.4.7 system.adapter.shuttercontrol : shuttercontrol - v0.4.3 pi@ioBroker-RasPi4:/opt/iobroker $ iobroker list instances system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.discovery.0 : discovery - enabled system.adapter.find-my-iphone.0 : find-my-iphone - enabled system.adapter.harmony.0 : harmony - enabled system.adapter.hmip.0 : hmip - enabled + system.adapter.hue.0 : hue - enabled, port: 80 + system.adapter.ping.0 : ping - enabled system.adapter.shuttercontrol.0 : shuttercontrol - enabled + instance is alive
-
iobroker add web
-
@Thomas-Braun said in Hue wird nicht erkannt.:
iobroker add web
Immer noch keine Verbesserung beim Webinterface!
pi@ioBroker-RasPi4:/opt/iobroker $ iobroker add web NPM version: 6.14.4 npm install iobroker.web@3.0.8 --loglevel error --prefix "/opt/iobroker" (System call) host.ioBroker-RasPi4 install adapter web upload [3] web.admin /opt/iobroker/node_modules/iobroker.web/admin/words.js words.js application/javascript upload [2] web.admin /opt/iobroker/node_modules/iobroker.web/admin/web.png web.png image/png upload [1] web.admin /opt/iobroker/node_modules/iobroker.web/admin/index_m.html index_m.html text/html upload [0] web.admin /opt/iobroker/node_modules/iobroker.web/admin/index.html index.html text/html upload [350] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/vader/images/ui-bg_highlight-hard_55_555555_1x100.png lib/css/themes/jquery-ui/vader/images/ui-bg_highlight-hard_55_555555_1x100.png image/png upload [300] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/sunny/images/ui-bg_highlight-soft_100_feeebd_1x100.png lib/css/themes/jquery-ui/sunny/images/ui-bg_highlight-soft_100_feeebd_1x100.png image/png upload [250] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/images/ui-icons_469bdd_256x240.png lib/css/themes/jquery-ui/redmond/images/ui-icons_469bdd_256x240.png image/png upload [200] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/hot-sneaks/images/ui-icons_ffeb33_256x240.png lib/css/themes/jquery-ui/hot-sneaks/images/ui-icons_ffeb33_256x240.png image/png upload [150] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/eggplant/images/ui-icons_ebccce_256x240.png lib/css/themes/jquery-ui/eggplant/images/ui-icons_ebccce_256x240.png image/png upload [100] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png lib/css/themes/jquery-ui/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png image/png upload [90] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/custom-light/images/ui-icons_cd0a0a_256x240.png lib/css/themes/jquery-ui/custom-light/images/ui-icons_cd0a0a_256x240.png image/png upload [80] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/custom-light/images/ui-bg_glass_55_fbf9ee_1x400.png lib/css/themes/jquery-ui/custom-light/images/ui-bg_glass_55_fbf9ee_1x400.png image/png upload [70] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/custom-dark/images/ui-bg_highlight-soft_40_62bfe1_1x100.png lib/css/themes/jquery-ui/custom-dark/images/ui-bg_highlight-soft_40_62bfe1_1x100.png image/png upload [60] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/cupertino/images/ui-icons_2e83ff_256x240.png lib/css/themes/jquery-ui/cupertino/images/ui-icons_2e83ff_256x240.png image/png upload [50] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png lib/css/themes/jquery-ui/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png image/png upload [40] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/blitzer/images/ui-bg_glass_55_fbf8ee_1x400.png lib/css/themes/jquery-ui/blitzer/images/ui-bg_glass_55_fbf8ee_1x400.png image/png upload [30] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/black-tie/images/ui-icons_ffcf29_256x240.png lib/css/themes/jquery-ui/black-tie/images/ui-icons_ffcf29_256x240.png image/png upload [20] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/black-tie/images/ui-bg_glass_55_1c1c1c_1x400.png lib/css/themes/jquery-ui/black-tie/images/ui-bg_glass_55_1c1c1c_1x400.png image/png upload [19] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/black-tie/images/ui-bg_glass_40_111111_1x400.png lib/css/themes/jquery-ui/black-tie/images/ui-bg_glass_40_111111_1x400.png image/png upload [18] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/black-tie/images/ui-bg_flat_65_ffffff_40x100.png lib/css/themes/jquery-ui/black-tie/images/ui-bg_flat_65_ffffff_40x100.png image/png upload [17] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/black-tie/images/ui-bg_diagonals-thick_8_333333_40x40.png lib/css/themes/jquery-ui/black-tie/images/ui-bg_diagonals-thick_8_333333_40x40.png image/png upload [16] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/style.css lib/css/style.css text/css upload [15] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/materialize.css lib/css/materialize.css text/css upload [14] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/jqGrid/ui.jqgrid-4.5.4.css lib/css/jqGrid/ui.jqgrid-4.5.4.css text/css upload [13] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/jqGrid/ellipsis-xbl.xml lib/css/jqGrid/ellipsis-xbl.xml application/xml upload [12] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/iob/selectID.css.map lib/css/iob/selectID.css.map application/json upload [11] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/iob/selectID.css lib/css/iob/selectID.css text/css upload [10] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/ui.fancytree.min.css lib/css/fancytree/ui.fancytree.min.css text/css upload [9] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/ui.fancytree.min-win7.css lib/css/fancytree/ui.fancytree.min-win7.css text/css upload [8] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/ui.fancytree.jquery.min.css lib/css/fancytree/ui.fancytree.jquery.min.css text/css upload [7] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/state.png lib/css/fancytree/state.png image/png upload [6] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/loading.gif lib/css/fancytree/loading.gif image/gif upload [5] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/icons.gif lib/css/fancytree/icons.gif image/gif upload [4] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/device.png lib/css/fancytree/device.png image/png upload [3] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/channel.png lib/css/fancytree/channel.png image/png upload [2] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/bootstrap.min.css lib/css/bootstrap.min.css text/css upload [1] web /opt/iobroker/node_modules/iobroker.web/www/index.html index.html text/html upload [0] web /opt/iobroker/node_modules/iobroker.web/www/admin/img/admin.png admin/img/admin.png image/png host.ioBroker-RasPi4 object system.adapter.web created/updated host.ioBroker-RasPi4 object connected created/updated host.ioBroker-RasPi4 create instance web host.ioBroker-RasPi4 object web.0 created host.ioBroker-RasPi4 object system.adapter.web.upload created host.ioBroker-RasPi4 object system.adapter.web.0.sigKill created host.ioBroker-RasPi4 object system.adapter.web.0.eventLoopLag created host.ioBroker-RasPi4 object system.adapter.web.0.outputCount created host.ioBroker-RasPi4 object system.adapter.web.0.inputCount created host.ioBroker-RasPi4 object system.adapter.web.0.uptime created host.ioBroker-RasPi4 object system.adapter.web.0.memRss created host.ioBroker-RasPi4 object system.adapter.web.0.memHeapTotal created host.ioBroker-RasPi4 object system.adapter.web.0.memHeapUsed created host.ioBroker-RasPi4 object system.adapter.web.0.cputime created host.ioBroker-RasPi4 object system.adapter.web.0.cpu created host.ioBroker-RasPi4 object system.adapter.web.0.compactMode created host.ioBroker-RasPi4 object system.adapter.web.0.connected created host.ioBroker-RasPi4 object system.adapter.web.0.alive created host.ioBroker-RasPi4 object system.adapter.web.0 created pi@ioBroker-RasPi4:/opt/iobroker $ iobroker start pi@ioBroker-RasPi4:/opt/iobroker $ iobroker reboot Commands: iobroker setup [--objects <host>] [--states <host>] [custom] iobroker start iobroker stop iobroker start <adapter> iobroker stop <adapter> iobroker start all iobroker restart iobroker restart <adapter> iobroker info iobroker logs [adapter] [--watch] [--lines=1000] iobroker add <adapter> [desiredNumber] [--enabled] [--host <host>] [--port <port>] iobroker install <adapter> iobroker url <url> [<name>] iobroker del <adapter> iobroker del <adapter>.<instance> iobroker update [repository url] [--updatable/--u] [--installed/--i] iobroker upgrade [repository url] iobroker upgrade self [repository url] iobroker upgrade <adapter> [repository url] iobroker upload <pathToLocalFile> <pathIniobroker> iobroker upload all iobroker upload <adapter> iobroker object get <id> iobroker object set <id> <json-value> iobroker object set <id> propertyname=value iobroker object del <id|pattern> [--yes] iobroker object chmod <object-mode> [state-mode] <id> iobroker object chown <user> <group> <id> iobroker object list <id> iobroker state get <id> iobroker state getplain <id> [--pretty] iobroker state getvalue <id> iobroker state set <id> <value> [ack] iobroker state del <id> iobroker message <adapter>[.instanceid] <command> [<message>] iobroker list <type> [filter] iobroker chmod <mode> <file> iobroker chown <user> <group> <file> iobroker touch <file> iobroker rm <file> iobroker file read <iobroker-path-to-read> [<filesystem-path-to-write>] iobroker file write <filesystem-path-to-read> <iobroker-path-to-write> iobroker file rm <iobroker-path-to-delete> iobroker file sync iobroker user add <user> [--ingroup group] [--password pass] iobroker user del <user> iobroker user passwd <user> [--password pass] iobroker user enable <user> iobroker user disable <user> iobroker user get <user> iobroker user check <user> [--password pass] iobroker group add <group> iobroker group del <group> iobroker group list <group> iobroker group enable <group> iobroker group disable <group> iobroker group get <group> iobroker group adduser <group> <user> iobroker group deluser <group> <user> iobroker host this iobroker host <hostname> iobroker host set <hostname> iobroker host remove <hostname> iobroker set <adapter>.<instance> [--port port] [--ip address] [--ssl true|false] iobroker license <license.file or license.text> iobroker cert create iobroker cert view [<certificate name>] iobroker clean iobroker backup iobroker restore <backup name or path> iobroker validate <backup name or path> iobroker <command> --timeout 5000 iobroker status [all] iobroker repo [name] iobroker repo add <name> <path or url> iobroker repo set <name> iobroker repo del <name> iobroker uuid iobroker unsetup iobroker fix iobroker multihost <enable|disable> [--secure true|false] iobroker multihost browse iobroker multihost connect iobroker compact status iobroker compact <enable|on|disable|off> iobroker compact <adapter>.<instance> status iobroker compact <adapter>.<instance> group <group-id> iobroker compact <adapter>.<instance> <disable|off> iobroker compact <adapter>.<instance> <enable|on> [group-id] iobroker version [adapter] iobroker [adapter] -v Options: --help Hilfe anzeigen [boolean] --version Version anzeigen [boolean]
-
iobroker add socketio
Und der Befehlt für einen Neustart vom broker lautet
iobroker restart
Du kannst auch mal den Fixer aufrufen:
iobroker stop iobroker fix
-
@Thomas-Braun said in Hue wird nicht erkannt.:
iobroker restart
pi@ioBroker-RasPi4:/opt/iobroker $ iobroker add socketio host.ioBroker-RasPi4 install adapter socketio upload [3] socketio.admin /opt/iobroker/node_modules/iobroker.socketio/admin/words.js words.js application/javascript upload [2] socketio.admin /opt/iobroker/node_modules/iobroker.socketio/admin/socketio.png socketio.png image/png upload [1] socketio.admin /opt/iobroker/node_modules/iobroker.socketio/admin/index_m.html index_m.html text/html upload [0] socketio.admin /opt/iobroker/node_modules/iobroker.socketio/admin/index.html index.html text/html host.ioBroker-RasPi4 object system.adapter.socketio created/updated host.ioBroker-RasPi4 object connected created/updated host.ioBroker-RasPi4 create instance socketio host.ioBroker-RasPi4 object system.adapter.socketio.0.sigKill created host.ioBroker-RasPi4 object system.adapter.socketio.0.eventLoopLag created host.ioBroker-RasPi4 object system.adapter.socketio.0.outputCount created host.ioBroker-RasPi4 object system.adapter.socketio.0.inputCount created host.ioBroker-RasPi4 object system.adapter.socketio.0.uptime created host.ioBroker-RasPi4 object system.adapter.socketio.0.memRss created host.ioBroker-RasPi4 object system.adapter.socketio.0.memHeapTotal created host.ioBroker-RasPi4 object system.adapter.socketio.0.memHeapUsed created host.ioBroker-RasPi4 object system.adapter.socketio.0.cputime created host.ioBroker-RasPi4 object system.adapter.socketio.0.cpu created host.ioBroker-RasPi4 object system.adapter.socketio.0.compactMode created host.ioBroker-RasPi4 object system.adapter.socketio.0.connected created host.ioBroker-RasPi4 object system.adapter.socketio.0.alive created host.ioBroker-RasPi4 object system.adapter.socketio.0 created pi@ioBroker-RasPi4:/opt/iobroker $ iobroker restart