NEWS
Zwave läuft nicht iobroker als Raspberrymatic addon
-
@rhartmann76 Kannst du mal bitte die Ausgabe davon Posten:
which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs iobroker list instances iobroker list adapters iobroker -v
-
@wendy2702 vielen Dank - nun sind wir aber gerade an einer Stelle wo ich nicht weis, was ich tun soll
sorry
-
@rhartmann76 Kennst du das Tool Putty bzw. Hast du schonmal auf der „Command Line“ gearbeitet also dich per SSH mit dem PI verbunden?
-
@wendy2702 ja, ich bin mit dem Putty auch schon mit der Pi4 verbunden. Nur ist als Hauptsystem ja Raspberrymatic installiert - daher wird die Ordnerstruktur etwas anders sein. Wie kommt man in den ioBroker Bereich/Ordner?
-
@rhartmann76 Läuft ioBroker das in einem Container oder nach welcher Anleitung wurde das installiert?
Ist das wirklich „Raspberrymatic“ oder doch „PiVCCU“ ?
Sonst SSH auf die IP von iobroker.
-
und hier noch das Bild von der Rasp-Matic. Ich hoffe dies hilft.
ioBroker konnte man ja dann über den Admin-Bereich von Rasp-Matic einbinden (installationsdatei über Zusatzsoftware, hochladen und installieren) -
@wendy2702 Nachtrag, der ioBroker hat die gleiche IP wie die Homematic - nur eben mit der Port :8081
-
-
@wendy2702 said in zwave läuft nicht:
cd /opt/iobroker
leider nein. Ich habe zwischenzeitlich nochmal folgende Anleitung gefunden https://github.com/zautrix/hm-iobroker/pull/10/commits/3f0b196467dade0f1cf089638b72fd2cde557f92
Da ist zubindest beschrieben wie man in den iobroker Laufwerk-Bereich kommt. cd /usr/local/addons/hm-iobroker -
@rhartmann76 Bei der Installation mit diesem Addon klinke ich mich lieber aus. Das erfordert wahrscheinlich irgendwelche speziellen Sachen.
Einzige möglichkeit die du noch probieren kann die mir einfällt:
Instanz und Adapter löschen
In der JavaScript Instanz unter zusätzliche Module: serialport eintragen
Bischen zeit geben damit er das Modul, wenn er es denn macht auch installieren kann
Dann Zwave Adapter und Instanz nochmal installieren.Zur Info: Ich trenne das hier ab da es sich um einen Spezial Fall handelt.
-
@arteck kannst Du mir ggf. kurz beschreiben, wie ich den serialport installiere?
Danke
-
Hallo,
hat sonst niemand einen Vorschlag? Der Gedanke mit der Seriel könnte passen, leider finde ich dazu keine Anleitung, die ich versteheHilfe bitte.
Danke
René
-
-
@arteck mit einer leichten Anpassung kommt jetzt was...
@arteck said in Zwave läuft nicht iobroker als Raspberrymatic addon:
cd /opt/iobroker
Ich habe den Befehl nun auf den hm-iobroker angepasst.. Wie gesagt, ich habe den https://github.com/zautrix/hm-iobroker installiert.
Damit bekomme ich dann folgende Infos.
root@homematic-raspi:~# cd /usr/local/addons/hm-iobroker root@homematic-raspi:/usr/local/addons/hm-iobroker# ./iobroker fix Commands: iobroker setup [--objects <host>] [--states <host>] [custom] iobroker start - starts the js-controller iobroker stop - stops the js-controller iobroker start <adapter>[.instance] - starts a specified adapter instance iobroker stop <adapter>.[instance] - stops a specified adapter instance iobroker start all - starts js-controller and all adapters iobroker restart - restarts the js-controller iobroker restart <adapter>[.instance] - restarts a specified adapter iobroker debug <adapter> [--ip=<ip>] [--port=<port>] [--wait] - Starts a Node.js debugging session for the adapter --wait stops the execution until the debugger is attached. --ip and --port can be used to change the listen IP and port. Use IP 0.0.0.0 for remote debugging. iobroker info - shows the host info iobroker logs [adapter] [--watch] [--lines=1000] iobroker add <adapter> [desiredNumber] [--enabled] [--host <host>] [--port <port>] iobroker install <adapter> - installs a specified adapter iobroker rebuild <adapter>|self [--install] iobroker url <url> [<name>] - install adapter from specified url, e.g. GitHub iobroker del <adapter> - remove adapter from system iobroker del <adapter>.<instance> - remove adapter instance iobroker update [repository url] [--updatable/--u] [--installed/--i] [--force/--f] - update repository and optionally filter installed/updateable adapters, use --force to bypass hash check iobroker upgrade [repository url] iobroker upgrade self [repository url] - upgrade js-controller and all adapters, optionally you can specify the repository url iobroker upgrade <adapter> [repository url] - upgrade specified adapter, optionally you can specify the repository url iobroker upload <pathToLocalFile> <pathIniobroker> iobroker upload all - upload all adapter files to make them available for instances iobroker upload <adapter> - upload specified adapter files to make them available for instances iobroker object get <id> - get object specified by id iobroker object set <id> <json-value> - set object with the given id by providing a new json object iobroker object set <id> propertyname=<value or json-value> - update part of the object by providing a new value or partial object iobroker object extend <id> <json-value> - extend object with the given id by providing a new json object 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> - get state, specified by id iobroker state getplain <id> [--pretty] iobroker state getvalue <id> iobroker state set <id> <value> [ack] iobroker state del <id> iobroker message <adapter>[.instance] <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> - restore a specified backup iobroker validate <backup name or path> - validate a specified backup iobroker <command> --timeout 5000 iobroker status [all|<adapter>.<instance>] iobroker repo [name] iobroker repo add <name> <path or url> iobroker repo set <name> iobroker repo del <name> iobroker uuid iobroker unsetup iobroker fix - execute the installation fixer script, this updates your ioBroker installation iobroker multihost <enable|disable> [--secure true|false] iobroker multihost browse iobroker multihost connect iobroker compact status - show if compact mode is enabled in general iobroker compact <enable|on|disable|off> - enable or disable compact mode in general iobroker compact <adapter>.<instance> status - show if compact mode is enabled for a specific instance iobroker compact <adapter>.<instance> group <group-id> - define compact group of a specific adapter iobroker compact <adapter>.<instance> <disable|off> - enable or disable compact mode for specified adapter instance iobroker compact <adapter>.<instance> <enable|on> [group-id] - enable or disable compact mode for specified adapter instance and set comapct group optionally iobroker plugin enable <pluginname> [--host <hostname>] - enables a plugin for the specified host. If no host is specified, the current one is used iobroker plugin disable <pluginname> [--host <hostname>] - disables a plugin for the specified host. If no host is specified, the current one is used iobroker plugin status <pluginname> [--host <hostname>] - checks if a plugin is enabled for the specified host. If no host is specified, the current one is used iobroker plugin enable <pluginname> --instance <adapter>[.<nr>] - enables a plugin for the specified adapter instance (defaults to instance 0) iobroker plugin disable <pluginname> --instance <adapter>[.<nr>] - disables a plugin for the specified adapter instance (defaults to instance 0) iobroker plugin status <pluginname> --instance <adapter>[.<nr>] - checks if a plugin is enabled for the specified adapter instance (defaults to instance 0) iobroker version [adapter] - show version of js-controller or specified adapter iobroker [adapter] -v - show version of js-controller or specified adapter
-
@Homoran kennst du das ??
-
@arteck sagte in Zwave läuft nicht iobroker als Raspberrymatic addon:
@Homoran kennst du das ??
Jein!
Jens Maus hat damit vor Jahren mal angefangen und Zautrix muss das wohl weiterhin versucht haben ans laufen zu bekommen.
Allerdings muss der controller für das Plugin noch "uralt" sein. Ich möchte jetzt nicht behaupten v1.x, aber sehr alt.Ich denke daher, dass das Plugin längst nicht alle Adapter unterstützen wird.
Ich habe weder eine RM und kann daher auch das plugin nicht testen. Ehrlich gesagt, will ich es auch nicht -
@rhartmann76 sagte in Zwave läuft nicht iobroker als Raspberrymatic addon:
iobroker debug <adapter>
ist nicht soo schrecklich alt
iobroker fix
wird wenn ich mich richtig erinnere imsystemd
-Skript zum richtigen Aufruf umgebogen und steht nicht in der lokaleniobroker
executable. -
@alcalzone sorry, was kann ich machen - verstehe Deinen Beitrag nicht so ganz
Nach langem suchen konnte ich nun auf dem Pi3 (wo das z-Wave Modul steckt) die Seri-Schnittstelle prüfen.
Die ist korrekt eingestellt. Wenn ich es über sudo config umstellen, funktioniert das Modul nicht mehr.Alleine mit der z-wave.me Oberfläche kann ich neue Geräte einrichten.
Nur komme ich eben nicht vom zweiten Pi4, über ioBroker auf das andere Pi3.
In der ioBroker z-wave Konfiguration muss ich doch eigentlich nur /dev/ttyAMA0 eintragen !?
Oder muss da auch noch die IP-Adresse des PI3 rein?Danke
-
@rhartmann76 Äh sorry, ich hatte mich damit auf @Homoran bezogen...
In der ioBroker z-wave Konfiguration muss ich doch eigentlich nur /dev/ttyAMA0 eintragen !?
Oder muss da auch noch die IP-Adresse des PI3 rein?Ich hab nur quer mitgelesen, ein paar Anhaltspunkte...
Du hast schon den Adapter auf dem Pi3 installiert, nicht auf dem Pi4?
Auf Pi3 läuft ja das komische Plugin-Setup. Ich vermute da fehlen Systemkomponenten (z.B. python, welches für's Kompilieren benötigt wird):
sudo apt-get install build-essential
zum Installieren, danach
cd /usr/local/addons/hm-iobroker/node_modules/iobroker.zwave2 npm install
um serialport neu zu bauen. Geht's dann?
-
@alcalzone danke, auf den pi4 habe ich mit dem Adapter noch nichts gemacht - da funktionieren die Sudo Befehle nicht und ich habe sonst keine Ahnung, wie man an die Adapter-config kommt.
Ist es denn auf dem pi4 wirklich relevant? Hier läuft ja nur die homematic und eben der iobroker?!
Auf der pi3, wo das zwave Modul steckt, läuft ein „normales“ zwave.me Image. Hier ist das Adapter konfiguriert.Auf welchem pi soll ich die genannten Befehle ausführen?
Danke