Hallo,
ZitatMach' einen neuen Thread auf, nachdem du wenigstens nachgeschaut hast, was mit fhem log gemeint sein könnte!
Das ist damit geschehen.
Ich habe mich schon mit der Frage Backup beschäftigt und darüber gelesen,
nur kann ich im Logfile nicht erkennen was für Packete usw. installiert sind.
Meine bisherigen Schritte:
1. Ich habe jetzt die komplette Karte mit Win32 DiskI. auf einer externen Festplatte gesichert.
2. unter Fhem wurde ein Backup erstellt
3. Das Verzeichnis opt/fhem wurde zusätzlich auf der besagten externen Festplatte gesichert
Im Moment wird diie Komplettsicherung auf dei zweite Karte geschrieben.
Wenn diese läuft werde ich wie von Mark vorgeschlagen ein Update versuchen.
Parallel würde ich auf einer dritten Karte eine komplette Neuinstallation starten.
Wie schon angesprochen wo kann ich die installierten Softwarepackete finden
Gruß Michael
https://wiki.ubuntuusers.de/Paketverwaltung/Tipps/#Paketliste-zur-Wiederherstellung-erzeugen
Vorab: wenn nur FHEM und keine anderen Dienste usw. auf dem Erstsystem waren, kann man einfach im aktuellen fhem-logfile nachsehen, welche Perl-Pakete ggf. fehlen. Nachinstallieren, wieder neu starten usw., bis es passt.
Es gibt dazu auch ein Tool, um nachzusehen, was über apt verfügbar ist, das würde ich dem cpan-Weg vorziehen, könnte dh-make sein. Ich selbst nutze nur noch "debianisierte" Perl-Pakete.
Hi,
in Ergänzung und nur als allgemeiner Beitrag: was ich immer mache:
https://heinz-otto.blogspot.com/2018/01/installation-raspberry-pi.html
https://heinz-otto.blogspot.com/2018/02/setup-fhem.html
https://heinz-otto.blogspot.com/2015/12/backup-und-restore-von-fhem.html
Ich habe ne Liste, wo ich immer alle Pakete aufschreibe, die ich installiere. Die wird deutlich kürzer, als das was man aus dem alten System ziehen kann. Die muss man aber auch pflegen, im neuen System kann es alte Pakete nicht mehr oder unter neuem Namen geben.
Gruß Otto
Wurde schon alles gesagt... Vielleicht für Python noch, die installieren Python Pakete bekommt man mit pip list angezeigt und mit pip list > python_pakete.txt kannst du dir die Liste in eine Datei schreiben.
Aber vielleicht klappt das mit dem Update. Ich drück dir die Daumen. :)
Hallo,
:'( :'( :'( :'(
Das unerwatete ist geschehen,
Die Karte des laufenden Systems hat sich verabschiedet. :'(
Und das nicht genug, die aktuelle Sicherung 59,4GB bekomme ich nicht auf die neue Karte.
Sie läd ca 3 Std. und anschließend ist nichts drauf. nur ein 786KB.
Ich versuche es jetzt noch einmal.
Wenn es wieder nicht klappt bleibt mir nur den Pi neu einzurichten.
Wie kann ich nun das gesicherte Fhem (siehe Bild ) einbinden.
Gibt es hier eine Möglichkeit?
Eben kam ein Error.
Es ist wie verhext.
Was tun? ??? ???
Zitat von: exot am 18 Oktober 2018, 18:05:46
Und das nicht genug, die aktuelle Sicherung 59,4GB bekomme ich nicht auf die neue Karte.
Erste Frage: Welche Teile von den knapp 60GB brauchst du wirklich im Restore?
Meine FHEM-Installation (und ich schätze, dass ich eine größere habe) nimmt kein GB ein.
Also lieber den Pi neu aufsetzen, alles gut dokumentieren und dann nur die relevanten Teile übernehmen.
Hallo,
Nach drei Stunden laden der Datensicherung das Ergebnis.
Das heißt die Datensicherung ist leer.
Nun bleibt nur das System neu aufzusetzen und
zu versuchen etwas mit der Fhem Sicherung zu realisieren.
Gruß Michael
Bilder sind suboptimal...
Hast du wenigstens irgendwo die fhem.cfg mit einem aktuellen Stand?
Alles.andere sollte.zu verschmerzen sein. Noch besser wäre es, wenn du.mit configDB arbeiten würdest und da eine aktuelle Kopie noch verfügbar... Da wäre dann auch die statefile mit drin...
Das liest sich nicht gut. :(
Bist du sicher das die ursprüngliche Speicherkarte nicht mehr geht? Also bootet der Raspberry davon nicht mehr? Weil unter Windows wird nur eine Partition angezeigt, die fat Partation, die zweite ist ext3 (Linux) und Windows kann diese nicht lesen...
Das du das img. Backup auf die neue Speicherkarte nicht zurück spielen kannst, könnte evtl. damit zusammenhängen, das deine neue Speicherkarte zu klein ist, auch wenn sie die gleiche Größe hat.
Wenn die alte SD Karte nicht booten sollte, könntest du noch versuchen die SD Karte zu reparieren, sofern sie noch erkannt wird.
Das geht per Linux per e2fsck:
e2fsck -p /dev/mmcblk0p2 oder /dev/sdX2
Hallo,
Ich bin der Verzweifelung nahe :'( :'( :'(
Jetzt versuche ich den vierten Versuch den pi neu zu beleben.
Jedes Mal erscheint nach Beendigung
sudo raspi-config
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 97890 89699 43.8M c W95 FAT32 (LBA)
/dev/mmcblk0p2 98304 124735487 124637184 59.4G 83 Linux
Command (m for help): Partition number (1,2, default 2):
Partition 2 has been deleted.
Command (m for help): Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): Partition number (2-4, default 2): First sector (2048-124735487, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (98304-124735487, default 124735487):
Created a new partition 2 of type 'Linux' and of size 59.4 GiB.
Partition #2 contains a ext4 signature.
Command (m for help):
Disk /dev/mmcblk0: 59.5 GiB, 63864569856 bytes, 124735488 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x84d64677
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 97890 89699 43.8M c W95 FAT32 (LBA)
/dev/mmcblk0p2 98304 124735487 124637184 59.4G 83 Linux
Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy
The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).
Get:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB]
Get:3 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11.7 MB]
Get:4 http://archive.raspberrypi.org/debian stretch/main armhf Packages [181 kB]
Get:5 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf Packages [95.2 kB]
Fetched 12.0 MB in 32s (369 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
raspi-config is already the newest version (20180518).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Sleeping 5 seconds before reloading raspi-config
Re-reading the partition table failed.: Device or resource busy
Partition #2 contains a ext4 signature.
Was ist der Grund für diese Meldung.
Bei den vorherigen Installationen hatte ich die Meldung ignoriert, aber ich konnte Fhem nicht öffnen.
Gruß Michael
Hi,
aus Deinen Worten kann man nicht nachvollziehen, was Du eigentlich tust?
Kannst Du alle Schritte bitte aufschreiben?
Hast Du eine neue SD Karte genommen?
Ich habe beim Aufruf von sudo raspi-config solche Meldungen nie gesehen.
Gruß Otto
Guten Morgen Otto,
Danke für Deine Bemühungen.
Die Karte wurde schon zu Testzwecken benutzt.
Vorgensweise:
1. K mit SD Formatter vormatiert.
2. Hier
http://director.downloads.raspberrypi.org/raspbian/images/raspbian-2018-10-11/2018-10-0 (ftp://director.downloads.raspberrypi.org/raspbian/images/raspbian-2018-10-11/2018-10-0)
dann
2018-10-09-raspbian-stretch.zip
3. Diese zip Datei in Ordner entpackt
4. mit Win32Diskimager die entpackte Datei ausgesucht,
Ziellaufwerk gewählt und auf Writ geklickt.
5. In das so erstellte Verzeichnis mit Notepad leere
ssh
Datei erstellt
6 Diese Datei mit Inhalt erstellt
wpa_supplicant.conf
country=DE
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="FRITZ!Box 7490"
psk="12345678901234567890"
}
7. Karte in Pi gesteckt und mit IP eingeloggt.
8. Mit
sudo raspi-config
Zeitzone, Sprache, Passwort, Speicher konfiguriert
Habe auch Overcklocking auf 1000 gesetzt.
Danach config beendet und es erscheint diese Meldung
Habe dann 3x versucht Fehm zu installieren
https://wiki.fhem.de/wiki/Raspberry_Pi (ftp://wiki.fhem.de/wiki/Raspberry_Pi)
Aber ich konnte die Fhemoberfläche nicht öffnen.
Über Putty aber kein Problem.
Gruß Michael
Gruß Michael
Wieso nicht erstmal einfach starten!?
Wenn Du das OS-Image mit dem Disk-Imager aufspielst, brauchst Du vorher keinen SD Formatter.
Bist Du Dir sicher, dass Du Deine Anpassungen im richtigen Verzeichnis und linuxkonform machst?
Nimm wenigstens Notepad++ , der Windows-Standard macht Dir da vermutlich unerwünschte Steuerzeichen mit rein.
Liest sich so, als ob da was mit Partition und Filesystem nicht passt.
Warum gleich overclocken, kannst Du später machen.
ZitatSpeicher konfiguriert
Habe auch Overcklocking auf 1000 gesetzt.
Was genau soll das bewirken? Was meinst Du mit Speicher konfiguriert?
Und noch als Tipp: Ich würde nur lite Images nehmen.
Gruß Otto
ZitatWas genau soll das bewirken? Was meinst Du mit Speicher konfiguriert?
7. Advanced Options/A1 Expand Filesystem
!!!!Habe ich gerade noch mal über Putty aufgerufen. Nach Beendigung kam die Meldung wieder.
Kann da das Problem liegen?
ZitatOvercklocking auf 1000
:'( :'(Natürlich das erste k bei ck weg
6. Overclock Turbo / 1000MHz ARM, 500MHz core, 600MHz SDRAM, 6 overvolt
Der Pi soll schneller werden
Warum nur das lite Images?
Gruß Michael
Weil ein Server keinen Desktop braucht, unnötiger Kram, mehr Sicherheitslöcher, unter Umständen unklares Verhalten.
Expand filesystem macht Das Raspbian seit ca. zwei Jahren von alleine, braucht man nicht.
Mann kann es verhindern wenn man die Erweiterung nicht will.
ZitatHinweis: Seit der Version Raspbian Jessie vom 27.5.2016 wird "Expand Filesystem" automatisch beim ersten Start ausgeführt. Man braucht diesen Punkt also nicht mehr manuell über raspi-config ausführen. Die SD Card wird komplett genutzt (siehe weiter unten Feintuning).
Wenn Du den Pi mit einem Tesla auf der Autobahn mit nimmst wird er nochmal schneller. :o ::)
Danke für Deine Nachricht.
ZitatWeil ein Server keinen Desktop braucht, unnötiger Kram, mehr Sicherheitslöcher, unter Umständen unklares Verhalten.
Habe ich verstanden.
ZitatExpand filesystem macht Das Raspbian seit ca. zwei Jahren von alleine, braucht man nicht.
Auch verstanden. Hatte ich aber leider noch nirgens gelesen 8) 8)Ich denke das war der Verursacher.
ZitatWenn Du den Pi mit einem Tesla auf der Autobahn mit nimmst wird er nochmal schneller.
Das ist ja mal ein Vorschlag ;) ;)
Ich werde jetzt die Karte erneut formatieren und dann einen neuen Versuch starten.
Glück auf ;) ;) ;)
Gruß Michael
Was für einen PI hast du überhaupt?
Overclocking geht ja nur bei den "älteren" PIs.
Und ich habe auch mal was gelesen, dass das Overclocking (wenn man es übertreibt) durchaus auch zu Schreibfehlern der SD Karte führen kann...
Ich würde auch erst mal "normal" installieren (und du brauchst nicht extra vorher formatieren), laufen lassen und dann wenn alles läuft und das System auf dem aktuellsten Stand ist an Overclocking denken.
Und das auch mal Stufenweise hoch drehen...
...nicht gleich auf ganz Turbo ;)
Warum nicht einfach einen PI3 B+ kaufen und einen schnelleren PI haben ohne große Probleme (sollte es das Overclocking sein)...
Einen SD Karten Defekt kannst du ausschließen!?
Evtl. mal mit einer anderen Karte (muss ja keine große sein) probieren...
Gruß, Joachim
Hallo Joachim, hallo Otto,
ZitatWas für einen PI hast du überhaupt?
Jetzt zum Installieren habe ich einen 1A.
Für die Haussteuerung eine 2B
Das Overclocking habe ich jetzt nicht verändert.
Habe jetzt formatiert, und
sudo raspi-config
beendet. Ich installiere nach:
https://wiki.fhem.de/wiki/Raspberry_Pi (https://wiki.fhem.de/wiki/Raspberry_Pi)
Möchte jetzt endlich mal zu einem Fhemstart kommen ;)
Deshalb wieder eine Frage bevor ich weiter mache.
ZitatKontrolle der seriellen Schnittstelle
Der Befehl ls -l /dev/ttyAMA0 muss folgende Ausgabe liefern.
crw-rw---- 1 root dialout 204, 64 Jun 7 22:56 /dev/ttyAMA0
Bei mir sieht das anders aus. dialout fehlt:
ls -l /dev/ttyAMA0
crw--w---- 1 root tty 204, 64 Okt 20 16:56 /dev/ttyAMA0
Wobei:
ZitatBei den Modellen ohne BT und richtiger Konfiguration
lrwxrwxrwx 1 root root 7 Jun 8 18:30 /dev/serial0 -> ttyAMA0
das passt.
ls -l /dev/ttyAMA0
crw--w---- 1 root tty 204, 64 Okt 20 16:56 /dev/ttyAMA0
Ich erinnere mich aber, das ich das dialout benötige.
Gruß Michael
Hallo,
So,---- Ich habe jetzt Fhem installiert.
root@raspberrypi:/home/pi# cd /opt
root@raspberrypi:/opt# ls -la
insgesamt 16
drwxr-xr-x 4 root root 4096 Okt 20 18:19 .
drwxr-xr-x 22 root root 4096 Okt 9 14:33 ..
drwxrwxrwx 8 fhem dialout 4096 Okt 20 18:22 fhem
drwxr-xr-x 7 root root 4096 Okt 9 13:55 vc
root@raspberrypi:/opt#
Ist das jetzt so ok?
BITTE, ein kurzes
JA? oder NEIN! genügt
Dann geht es weiter,
Einen schönen Abend wünscht
Michael
Zitat von: exot am 20 Oktober 2018, 19:29:43
drwxrwxrwx 8 fhem dialout 4096 Okt 20 18:22 fhem
Ist das jetzt so ok?
Ja. Nutzt du das Deb?
Sieht gut aus, du kannst dein Fhem Backup auch nach /opt/fhem hochladen.
Falls sich die Berechtigungen ändern, kannst du diese mit unterem Befehl wieder korrekt setzen:
chown fhem:dialout /opt/fhem -R
Dann noch etwas um die SD Karte zu schonen: https://github.com/azlux/log2ram
Das legt die /var/log Datein in eine Ramdisk, um die Schreibzugriffe der Speicherkarten zu schonen und ab einer bestimmten Größe, schreibt er diese auf die SD Karte.
Bei Armbian und ich meine auch bei Dietpi wird das schon standardmäßig mit eingerichtet.
Zitat von: exot am 20 Oktober 2018, 17:26:26
Deshalb wieder eine Frage bevor ich weiter mache.
Bei mir sieht das anders aus. dialout fehlt:
....
Benutzt Du denn ein UART Zusatz Modul? Wenn nicht musst Du den Abschnitt:
Verwendung UART für Zusatzmodule auch nicht abarbeiten. Den danach folgende Abschnitt sollte ich wegen Missverständnissen dann wohl eine Ebene tiefer legen?
Wobei ich nochmal sagen will, die Anleitung im Wiki ist nur getestet mit:
ZitatDie folgende Anleitung gilt für die lite-Version ohne grafischen Desktop und für die Modelle für B, B+, B2, B3, B3+, Zero W. (Stand Juni 2018)
Guten Morgen,
Da bin ich ja erst mal froh das es positiv aussieht. :D :D :D
Hallo Cristoph,
ZitatJa. Nutzt du das Deb?
Ehrlich, ich weiß nicht wofür das ist,
Google brachte keine Ergebnisse.
Ich einnere mich aber das bei der Installation des Zigbee Sticks dieses Deb auftauchte.
Und den wollte ich ja ursprünglich instalieren, damit ich Xiaomi, Aquara Komponenten einbinden kannn.
Hallo Mark,
Zum Backup komme ich später,
warum - Meine Überlegung (ich kann auch falsch liegen) das System ist jetzt jungfräulich,
Ich würde erst versuchen den Zigbee Stick zu installieren.
Dafür benötige ich aber Node.js und dieses npm. Und hier lag ja das Problem.
Ist das die richtige Installationsanleitung?
Der Stick ist fertig konfiguriert
https://github.com/Koenkk/zigbee2mqtt/wiki/Running-the-bridge (https://github.com/Koenkk/zigbee2mqtt/wiki/Running-the-bridge)
Hallo Otto,
ZitatBenutzt Du denn ein UART Zusatz Modul? Wenn nicht musst Du den Abschnitt:
Nein ;)
ZitatDie folgende Anleitung gilt für die lite-Version ohne grafischen Desktop und für die Modelle für B, B+, B2, B3, B3+, Zero W. (Stand Juni 2018)
Ich habe Deinen Rat befolgt und die lite-Version installiert.
So, nun hoffe ich, das eine Antwort hinsichtlich Zigbb kommt und DANN alle klappt.
Einen schönen Sonntag wünscht
Michael
Hallo Michael,
ich habe das Zitat vor allem gebracht, weil Du geschrieben hast: Du testest derzeit mit einem Raspberry 1A.
ZitatJetzt zum Installieren habe ich einen 1A.
Auch wenn das wahrscheinlich nicht anders aussieht, habe ich es nie mit einem 1A probiert sondern wirklich mit den aufgeführten Typen.
Gruß Otto
Die zigbee-Anleitung passt.
Aber allgemein: Du solltest mit der Dateiendung .DEB was anfangen können, sonst wird das auf lange Sicht schwierig...
Das Grund-OS heißt nicht armbian, sondern DEBIAN. Bitte Grundlagen dazu bei Gelegenheit aneignen! Gute Quelle z.B. ubuntuusers.de (weiteres Derivat).
Hallo Beta-User,
Werde ich machen.
Aber die Probleme gehen bei der Zigbeeinstallation weiter.
Ich beziehe mich auf :
https://github.com/Koenkk/zigbee2mqtt/wiki/Running-the-bridge (https://github.com/Koenkk/zigbee2mqtt/wiki/Running-the-bridge)
Anleitung
ls -l / dev / ttyACM0
ls: Zugriff auf 'dev' nicht möglich: Datei oder Verzeichnis nicht gefunden
ls: Zugriff auf 'ttyACM0' nicht möglich: Datei oder Verzeichnis nicht gefunden
pi@raspberrypi:/dev/serial/by-id $ ls -l
insgesamt 0
lrwxrwxrwx 1 root root 13 Okt 21 11:39 usb-Texas_Instruments_TI_CC2531_USB_CDC__ _0X00124B0014D9DCCF-if00 -> ../../ttyACM0
pi@raspberrypi:/dev/serial/by-id $ ls -l /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D9DE2E-if00
ls: Zugriff auf '/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D9DE2E-if00' nicht möglich: Datei oder Verzeichnis nicht gefunden
Ich verzweifle langsam :'( :'(
Wenn hier kein Weiterkommen ist kann ich abbrechen - oder?
Gruß Michael
ls -l / dev / ttyACM0
Ist ja auch Quatsch, wenn du tatsächlich die Leerzeichen im Pfad hast...
ls -la /dev/tty*
Oder
ls -la /dev/ttyACM0
EDIT: Also eigentlich genau so wie es im verlinkten Thread beschrieben ist...
EDIT2: wie Beta-User schon angemerkt hat: Linux Grundlagen sonst wird es schwer (bleiben)...
Gruß, Joachim
Vermute ein Rechteproblem, wenn es nicht so ist wie von Joachim angemerkt.
In der yaml habe ich den Stck "by-id" definiert.
Unter welchem User läuft der zigbee-Dienst?
Ggf. Mal diesen user in dialout packen (ubuntu users sollte helfen....)
Zitat von: exot am 21 Oktober 2018, 09:47:29
Hallo Cristoph,Ehrlich, ich weiß nicht wofür das ist,
Das Debian-Paket von debian.fhem.org (https://debian.fhem.de/) richtet dir eine vollständige FHEM-Grundinstallation ein. Ich beginne immer grundsätzlich damit, wenn ich auf Raspbian aufsetze.
Ich würde übrigens keinen Pi der 1. Generation verwenden, für nichts. Die Stromversorgung war damals oftmals schwierig und die Performance aktueller Modelle erreichen die Dinger trotz overclocking natürlich auch nich.
Hallo,
Mit meinen fast 70 rieselt schon langsam der Kalk :(
aber kopieren kann ich ;)
Das ist aus der Anleitung kopiert
ls -l /dev/ttyACM0
-bash: $: Kommando nicht gefunden.
Hallo Beta-User,
Das ist Dein kopierter Code:
ls -la /dev/tty*
crw-rw-rw- 1 root tty 5, 0 Okt 21 11:39 /dev/tty
crw--w---- 1 root tty 4, 0 Okt 21 11:39 /dev/tty0
crw--w---- 1 root tty 4, 1 Okt 21 11:40 /dev/tty1
crw--w---- 1 root tty 4, 10 Okt 21 11:39 /dev/tty10
crw--w---- 1 root tty 4, 11 Okt 21 11:39 /dev/tty11
crw--w---- 1 root tty 4, 12 Okt 21 11:39 /dev/tty12
crw--w---- 1 root tty 4, 13 Okt 21 11:39 /dev/tty13
crw--w---- 1 root tty 4, 14 Okt 21 11:39 /dev/tty14
crw--w---- 1 root tty 4, 15 Okt 21 11:39 /dev/tty15
crw--w---- 1 root tty 4, 16 Okt 21 11:39 /dev/tty16
crw--w---- 1 root tty 4, 17 Okt 21 11:39 /dev/tty17
crw--w---- 1 root tty 4, 18 Okt 21 11:39 /dev/tty18
crw--w---- 1 root tty 4, 19 Okt 21 11:39 /dev/tty19
crw--w---- 1 root tty 4, 2 Okt 21 11:39 /dev/tty2
crw--w---- 1 root tty 4, 20 Okt 21 11:39 /dev/tty20
crw--w---- 1 root tty 4, 21 Okt 21 11:39 /dev/tty21
crw--w---- 1 root tty 4, 22 Okt 21 11:39 /dev/tty22
crw--w---- 1 root tty 4, 23 Okt 21 11:39 /dev/tty23
crw--w---- 1 root tty 4, 24 Okt 21 11:39 /dev/tty24
crw--w---- 1 root tty 4, 25 Okt 21 11:39 /dev/tty25
crw--w---- 1 root tty 4, 26 Okt 21 11:39 /dev/tty26
crw--w---- 1 root tty 4, 27 Okt 21 11:39 /dev/tty27
crw--w---- 1 root tty 4, 28 Okt 21 11:39 /dev/tty28
crw--w---- 1 root tty 4, 29 Okt 21 11:39 /dev/tty29
crw--w---- 1 root tty 4, 3 Okt 21 11:39 /dev/tty3
crw--w---- 1 root tty 4, 30 Okt 21 11:39 /dev/tty30
crw--w---- 1 root tty 4, 31 Okt 21 11:39 /dev/tty31
crw--w---- 1 root tty 4, 32 Okt 21 11:39 /dev/tty32
crw--w---- 1 root tty 4, 33 Okt 21 11:39 /dev/tty33
crw--w---- 1 root tty 4, 34 Okt 21 11:39 /dev/tty34
crw--w---- 1 root tty 4, 35 Okt 21 11:39 /dev/tty35
crw--w---- 1 root tty 4, 36 Okt 21 11:39 /dev/tty36
crw--w---- 1 root tty 4, 37 Okt 21 11:39 /dev/tty37
crw--w---- 1 root tty 4, 38 Okt 21 11:39 /dev/tty38
crw--w---- 1 root tty 4, 39 Okt 21 11:39 /dev/tty39
crw--w---- 1 root tty 4, 4 Okt 21 11:39 /dev/tty4
crw--w---- 1 root tty 4, 40 Okt 21 11:39 /dev/tty40
crw--w---- 1 root tty 4, 41 Okt 21 11:39 /dev/tty41
crw--w---- 1 root tty 4, 42 Okt 21 11:39 /dev/tty42
crw--w---- 1 root tty 4, 43 Okt 21 11:39 /dev/tty43
crw--w---- 1 root tty 4, 44 Okt 21 11:39 /dev/tty44
crw--w---- 1 root tty 4, 45 Okt 21 11:39 /dev/tty45
crw--w---- 1 root tty 4, 46 Okt 21 11:39 /dev/tty46
crw--w---- 1 root tty 4, 47 Okt 21 11:39 /dev/tty47
crw--w---- 1 root tty 4, 48 Okt 21 11:39 /dev/tty48
crw--w---- 1 root tty 4, 49 Okt 21 11:39 /dev/tty49
crw--w---- 1 root tty 4, 5 Okt 21 11:39 /dev/tty5
crw--w---- 1 root tty 4, 50 Okt 21 11:39 /dev/tty50
crw--w---- 1 root tty 4, 51 Okt 21 11:39 /dev/tty51
crw--w---- 1 root tty 4, 52 Okt 21 11:39 /dev/tty52
crw--w---- 1 root tty 4, 53 Okt 21 11:39 /dev/tty53
crw--w---- 1 root tty 4, 54 Okt 21 11:39 /dev/tty54
crw--w---- 1 root tty 4, 55 Okt 21 11:39 /dev/tty55
crw--w---- 1 root tty 4, 56 Okt 21 11:39 /dev/tty56
crw--w---- 1 root tty 4, 57 Okt 21 11:39 /dev/tty57
crw--w---- 1 root tty 4, 58 Okt 21 11:39 /dev/tty58
crw--w---- 1 root tty 4, 59 Okt 21 11:39 /dev/tty59
crw--w---- 1 root tty 4, 6 Okt 21 11:39 /dev/tty6
crw--w---- 1 root tty 4, 60 Okt 21 11:39 /dev/tty60
crw--w---- 1 root tty 4, 61 Okt 21 11:39 /dev/tty61
crw--w---- 1 root tty 4, 62 Okt 21 11:39 /dev/tty62
crw--w---- 1 root tty 4, 63 Okt 21 11:39 /dev/tty63
crw--w---- 1 root tty 4, 7 Okt 21 11:39 /dev/tty7
crw--w---- 1 root tty 4, 8 Okt 21 11:39 /dev/tty8
crw--w---- 1 root tty 4, 9 Okt 21 11:39 /dev/tty9
crw-rw---- 1 root dialout 166, 0 Okt 21 11:40 /dev/ttyACM0
crw--w---- 1 root tty 204, 64 Okt 21 11:40 /dev/ttyAMA0
crw------- 1 root root 5, 3 Okt 21 11:39 /dev/ttyprintk
pi@raspberrypi:~ $ ls -la /dev/ttyACM0
crw-rw---- 1 root dialout 166, 0 Okt 21 11:40 /dev/ttyACM0
Das passt auch
pi@raspberrypi:/dev/serial/by-id $ ls -l
insgesamt 0
lrwxrwxrwx 1 root root 13 Okt 21 11:39 usb-Texas_Instruments_TI_CC2531_USB_CDC__ _0X00124B0014D9DCCF-if00 -> ../../ttyACM0
Aber jetzt :'(
pi@raspberrypi:/dev/serial/by-id $ ls -l /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D9DE2E-if00
ls: Zugriff auf '/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D9DE2E-if00' nicht möglich: Datei oder Verzeichnis nicht gefunden
Habe mit FileZilla dev/serial/by-id geöffnet.
dort befindet sich die Datei
pi@raspberrypi:/dev/serial/by-id $ ls -l /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D9DCCF-if00
lrwxrwxrwx 1 root root 13 Okt 21 11:39 /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D9DCCF-if00 -> ../../ttyACM0
Ist das so ok?
Gruß Michael
Alter ist/sollte keine Ausrede sein...
Linux-Grundkenntnisse solltest du dir unbedingt aneignen...
Denn auf Dauer wird copy/paste nicht funktionieren...
Dazu ist dann irgendwann jedes System zu individuell...
Aber hier noch trotzdem mal ein copy/paste:
ls -la /dev/serial/by-id/
Das bislang gepostete sieht ok aus...
EDIT: bis auf das erste: command not found. Eigenartig. Aber es ist auch nicht zu sehen was genau du gemacht hast. Aber nachdem die anderen Dinge geklappt haben auch eher unwichtig...
EDIT2: mit Filezilla auf "Device-Dateien" loszugehen (bzw. auch generell) wird auf Dauer auch nix. Daher nochmal: Linux-Kenntnisse erwerben und lieber per ssh und scp etc.
Gruß, Joachim
Hallo,
Ja Joachim; wenn man "50 Jahre Brötchen gebacken hat kann man ab jetzt keine Mercedes reparieren" :'( :'( :'(
Es erscheinen immer wieder Error Meldungen.
Ich werde aufmerksam gemacht
You appear to be running on ARMv6 hardware. Unfortunately this is not currently supported by the NodeSource Linux distributions. Please use the 'linux-armv6l' binary tarballs available directly from nodejs.org for Node.js 4 and later.
das meine Hardware nicht passt. Heißt das ich habe den falschen Stick?
Gruß Michael
Ohne in die Spec vom Pi1 geschaut zu haben: der Prozessor dürfte "zu alt" sein; das geht mit dem nicht.
Du brauchst einen neueren Dacia; ein Mercedes ist kein Pi ;) .
Und ohne den Willen, die Basics zur Funktionsweise des Motors zu lernen, geht es nicht. Auch nicht mit der "besten aller Ausreden" :P
Ich werde mich bemühen!! versprochen :)
Bin wieder ein Stück weiter.
pi@raspberrypi:/opt/zigbee2mqtt $ npm start
> zigbee2mqtt@0.1.8 start /opt/zigbee2mqtt
> node index.js
/opt/zigbee2mqtt/lib/controller.js:33
class Controller {
^^^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:413:25)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/opt/zigbee2mqtt/index.js:1:82)
at Module._compile (module.js:434:26)
at Object.Module._extensions..js (module.js:452:10)
npm ERR! Linux 4.14.71-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v4.0.0
npm ERR! npm v2.14.2
npm ERR! code ELIFECYCLE
npm ERR! zigbee2mqtt@0.1.8 start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zigbee2mqtt@0.1.8 start script 'node index.js'.
npm ERR! This is most likely a problem with the zigbee2mqtt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node index.js
npm ERR! You can get their info via:
npm ERR! npm owner ls zigbee2mqtt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /opt/zigbee2mqtt/npm-debug.log
pi@raspberrypi:/opt/zigbee2mqtt $
SOS
Ich habe es doch schon ganz schön weit geschafft.
Nur noch die letzte Schritte
DANKE
Gruß Michael
Du wirst ja mittlerweile vom Pech verfolgt :(
Deine Node js Version ist immer noch zu alt!
Versuch das hier mal: https://www.muckibu.de/install-nodejs-8-raspberry-pi-using-armv6-package/
Hallo Mark,
DANKE!!!!
pi@raspberrypi:~ $ node -v
v8.9.0
pi@raspberrypi:~ $
Morgen gehts weiter.
Gute Nacht!
Gruß Michael
Hallo Michael,
gerngeschehen :)
Schau noch nach der npm Version, die ist auch wichtig: https://github.com/Koenkk/zigbee2mqtt/wiki/Running-the-bridge
npm --version # Should output > 5.X.X (at time of writing 5.6.0)
Und überlege dir mal ob du dir nicht einen Ersatz für den alten Pi holst. Weil Zigbee2mqtt verbraucht durch das Java schon etwas an Ressourcen, also mehr als Fhem z.B. und der alte Pi kommt damit bestimmt ans Limit, wenn dort noch andere Dienste nebenbei laufen.
Es muss kein Pi sein, das kann auch irgendwas anderes sein, nur keinen Orange Pi Zero, so einen habe ich als Octoprint Server und auf dem Heatsink kann man nebenbei noch kochen.
Das Optimum wäre PC Hardware, das wird Softwaremässig am besten unterstützt dazu mit einer HDD oder noch besser SSD. Die halten länger als eine SD Karte. ;D
Viele Grüße
Mark
Hallo Mark,
Gute Nachrichten :) :) :)
pi@raspberrypi:/opt/zigbee2mqtt $ systemctl status zigbee2mqtt.service
● zigbee2mqtt.service - zigbee2mqtt
Loaded: loaded (/etc/systemd/system/zigbee2mqtt.service; disabled; vendor preset: enabled)
Active: active (running) since Mon 2018-10-22 21:17:07 CEST; 24s ago
Main PID: 6921 (npm)
CGroup: /system.slice/zigbee2mqtt.service
├─6921 npm
├─6934 sh -c node index.js
└─6935 node index.js
Okt 22 21:17:13 raspberrypi npm[6921]: zigbee2mqtt:info 2018-10-22 21:17:13 zigbee-shepherd started
Okt 22 21:17:13 raspberrypi npm[6921]: zigbee2mqtt:info 2018-10-22 21:17:13 Coordinator firmware version: '
Okt 22 21:17:13 raspberrypi npm[6921]: zigbee2mqtt:info 2018-10-22 21:17:13 Currently 0 devices are joined:
Okt 22 21:17:13 raspberrypi npm[6921]: zigbee2mqtt:warn 2018-10-22 21:17:13 `permit_join` set to `true` in
Okt 22 21:17:13 raspberrypi npm[6921]: zigbee2mqtt:warn 2018-10-22 21:17:13 Allowing new devices to join.
Okt 22 21:17:13 raspberrypi npm[6921]: zigbee2mqtt:warn 2018-10-22 21:17:13 Set `permit_join` to `false` on
Okt 22 21:17:13 raspberrypi npm[6921]: zigbee2mqtt:info 2018-10-22 21:17:13 Zigbee: allowing new devices to
Okt 22 21:17:13 raspberrypi npm[6921]: zigbee2mqtt:info 2018-10-22 21:17:13 Connecting to MQTT server at mq
Ich denke jetzt habe ich es geschaft.
Was sagst Du ist es so?
Gruß Michael
Nabend Michael, das sieht gut aus, aber du wirst es erst richtig sehen, wenn ein Device gepairt und im Betrieb ist.
Es könnte sein, das durch die armv6 Hardware das java trotzdem rumzickt und abschmiert.
Noch ein Tipp, pairen am besten weit weg von WLAN Geräten, weil die stören sich gegenseitig (selbe Frequenz) und das pairen klappt nur wenn die Verbindung richtig gut ist, aus Sicherheitsgründen.
Wenn sie dann mal gepairt sind, sind die WLAN Geräte eher weniger tragisch. Mein Zigbee CC2530 steht sogar über dem WLAN Router und die Zigbee Geräte funktionieren gut. Beim pairen eines neuen Gerätes muss ich aber immer ein USB Verlängerungskabel nehmen, sonst klappt das sehr oft nicht.
Vorher in Fhem noch mit: set xBridge pair 1 das pairen erlauben, dann hast du 120 Sekunden Zeit.
Viel Erfolg. :)
Mark
Zitat von: exot am 22 Oktober 2018, 21:26:16
Hallo Mark,
Gute Nachrichten :) :) :)
pi@raspberrypi:/opt/zigbee2mqtt $ systemctl status zigbee2mqtt.service
● zigbee2mqtt.service - zigbee2mqtt
Loaded: loaded (/etc/systemd/system/zigbee2mqtt.service; disabled; vendor preset: enabled)
Active: active (running) since Mon 2018-10-22 21:17:07 CEST; 24s ago
Main PID: 6921 (npm)
CGroup: /system.slice/zigbee2mqtt.service
├─6921 npm
├─6934 sh -c node index.js
└─6935 node index.js
Okt 22 21:17:13 raspberrypi npm[6921]: zigbee2mqtt:info 2018-10-22 21:17:13 zigbee-shepherd started
Okt 22 21:17:13 raspberrypi npm[6921]: zigbee2mqtt:info 2018-10-22 21:17:13 Coordinator firmware version: '
Okt 22 21:17:13 raspberrypi npm[6921]: zigbee2mqtt:info 2018-10-22 21:17:13 Currently 0 devices are joined:
Okt 22 21:17:13 raspberrypi npm[6921]: zigbee2mqtt:warn 2018-10-22 21:17:13 `permit_join` set to `true` in
Okt 22 21:17:13 raspberrypi npm[6921]: zigbee2mqtt:warn 2018-10-22 21:17:13 Allowing new devices to join.
Okt 22 21:17:13 raspberrypi npm[6921]: zigbee2mqtt:warn 2018-10-22 21:17:13 Set `permit_join` to `false` on
Okt 22 21:17:13 raspberrypi npm[6921]: zigbee2mqtt:info 2018-10-22 21:17:13 Zigbee: allowing new devices to
Okt 22 21:17:13 raspberrypi npm[6921]: zigbee2mqtt:info 2018-10-22 21:17:13 Connecting to MQTT server at mq
Ich denke jetzt habe ich es geschaft.
Was sagst Du ist es so?
Gruß Michael
Du kannst auch MQTT2 (Server+Device) nehmen, dann brauchst du keinen mosquitto.
Gibt einen Thread dazu bzw. einen wiki-Artikel.
Hallo Mark, hallo Beta-User,
Danke für Eure Nachrichten,
Der Beitrag gestern 21:26:16 war doch noch Problembehaftet.
Es war ja eine frisch installierte Karte (Testkarte)
Nach der Zigbee Installation konnte ich Fhem über die den Browser nicht starten.
Es kam aber auch keien Fehlermeldung.
Deshalb habe ich eben die selbe Zigbee Installation auf einem laufenden System probiert.
Vorher wurde ein Backup gemacht.
Node und npm sollten Ok sein
pi@raspberrypi ~ $ node -v
v8.9.0
pi@raspberrypi ~ $ npm -v
5.5.1
Hier kam dann die erste Error Meldung
pi@raspberrypi /opt/zigbee2mqtt $ npm install
serialport.target.mk:96: recipe for target 'Release/obj.target/serialport/src/serialport.o' failed
make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
make: Leaving directory '/opt/zigbee2mqtt/node_modules/serialport/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Linux 4.1.19-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/zigbee2mqtt/node_modules/serialport
gyp ERR! node -v v8.9.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the serialport@6.2.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-10-23T11_57_49_384Z-debug.log
Das ist das Ende der Installationsroutine, vorher sind mir keine Fehler aufgefallen.
Ich habe exakt die selben Schritte ausgeführt wie bei der Testkarte.
Wie kann ich den Fehler beheben.
gruß Michael
Vermutlich würde sich die "Investition" in einen neueren PI (2-er reicht) lohnen...
Hallo,
Bitte um Entschuldigung :-X
habe vergessen zu erwähnen, das die Testkarte sowie das laufende System
auf einem pi 2B installiert wurden.
Kann es sein, das die anderen 2 belegten usb Ports sowie die angeschlossenen
GPIO´s stören? Bei der Installation der Testkarte war nichts angeschlossen.
Werde das jetzt mal probieren.
Gruß Michael
Hallo Michael,
kannst Du mal bitte dies machen?
list initialUsbCheck
Gruß Otto
Sind in der FHEM-Installation noch weitere USB-Geräte vorhanden?
Könnte sein, dass sich dann was in die Quere kommt. Am besten alles "by-id", auch den zigbee-Stick...
Hallo Otto,
Danke für Deine Unterstützung!
Internals:
DEF global:INITIALIZED usb create
NAME initialUsbCheck
NOTIFYDEV global
NR 24
NTFY_ORDER 50-initialUsbCheck
REGEXP global:INITIALIZED
STATE 2018-10-23 17:43:58
TYPE notify
READINGS:
2018-10-23 17:17:11 state active
Attributes:
Hallo Beta-User,
pi@raspberrypi ~ $ ls -l /dev/serial/by-id
insgesamt 0
lrwxrwxrwx 1 root root 13 Okt 23 18:22 usb-FTDI_FT232R_USB_UART_A504DLYK-if00-port0 -> ../../ttyUSB1
lrwxrwxrwx 1 root root 13 Okt 23 18:22 usb-FTDI_FT232R_USB_UART_AJ038KYV-if00-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root 13 Jan 1 1970 usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D9DCCF-if00 -> ../../ttyACM0
pi@raspberrypi ~ $
Nachfolgende Installation nur mit Zigbee Stick und ohne GPIO Verbindungen
pi@raspberrypi ~ $ ls -l /dev/ttyACM0
crw-rw---T 1 root dialout 166, 0 Okt 23 17:44 /dev/ttyACM0
pi@raspberrypi ~ $ ls -l /dev/serial/by-id
insgesamt 0
lrwxrwxrwx 1 root root 13 Jan 1 1970 usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D9DCCF-if00 -> ../../ttyACM0
sudo curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
Paketlisten werden gelesen... Fertig
## Confirming "wheezy" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_8.x/dists/wheezy/Release'
## Your distribution, identified as "wheezy", is not currently supported,
please contact NodeSource at https://github.com/nodesource/distributions/issues
if you think this is incorrect or would like your distribution to be considered for support
------------------------------------------------------------------------------------------------------
Jetzt https://www.muckibu.de/install-nodejs-8-raspberry-pi-using-armv6-package/
cd Downloads/
wget https://nodejs.org/dist/v8.9.0/node-v8.9.0-linux-armv6l.tar.xz
--2017-11-05 11:57:20-- https://nodejs.org/dist/v8.9.0/node-v8.9.0-linux-armv6l.tar.xz
2018-10-23 17:59:24 (3,71 MB/s) - »»node-v8.9.0-linux-armv6l.tar.xz.1«« gespeichert [10272460/10272460]
pi@raspberrypi ~/Downloads $ --2017-11-05 11:57:20-- https://nodejs.org/dist/v8.9.0/node-v8.9.0-linux-armv6l.tar.xz
-bash: --2017-11-05: Kommando nicht gefunden.
tar -xvf node-v8.9.0-linux-armv6l.tar.xz
pi@raspberrypi ~/Downloads/node-v8.9.0-linux-armv6l $
pi@raspberrypi ~/Downloads/node-v8.9.0-linux-armv6l $ sudo cp -R * /usr/local/
cd
pi@raspberrypi ~ $ node -v
v8.9.0
pi@raspberrypi ~ $ npm -v
5.5.1
--------------------------------------------------------------------------------------------------------
sudo chown -R pi:pi /opt/zigbee2mqtt
cd /opt/zigbee2mqtt
npm install
make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
make: Leaving directory '/opt/zigbee2mqtt/node_modules/serialport/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Linux 4.1.19-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/zigbee2mqtt/node_modules/serialport
gyp ERR! node -v v8.9.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the serialport@6.2.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-10-23T16_14_40_773Z-debug.log
pi@raspberrypi /opt/zigbee2mqtt $
Gruß Michael
Hmm, die ftdi sollten nicht das Problem sein.
Wird der TI by-id in der yaml angesprochen?
Wie sieht ls -l /dev/serial aus?
Mach mal bitte
attr initialUsbCheck disable 1
Und dann save.
Der initialUsbCheck stört manchmal beim Neustart, brauchen tut man ihn nicht.
Gruß Otto
Hallo Beta_User
ZitatWird der TI by-id in der yaml angesprochen?
Ich bin mir nicht sicher ob Du das meinst:
# Home Assistant integration (MQTT discovery)
homeassistant: false
# allow new devices to join
permit_join: true
# MQTT settings
mqtt:
# MQTT base topic for zigbee2mqtt MQTT messages
base_topic: zigbee2mqtt
# MQTT server URL
server: 'mqtt://localhost'
# MQTT server authentication, uncomment if required:
# user: my_user
# password: my_password
# Serial settings
serial:
# Location of CC2531 USB sniffer
pi@raspberrypi ~ $ ls -l /dev/serial
insgesamt 0
drwxr-xr-x 2 root root 100 Jan 1 1970 by-id
drwxr-xr-x 2 root root 100 Jan 1 1970 by-path
Hallo Otto,
Habe ich gemacht. Und nun?
Gruß Michael
Zitat von: exot am 23 Oktober 2018, 21:10:05
Hallo Otto,
Habe ich gemacht. Und nun?
Gruß Michael
erfolgt beim Neustart keine automatische Untersuchung aller USB Schnittstellen mehr. Das ist aus meiner Sicht unnötig und eine häufige Ursache dafür, dass FHEM in dem Moment quasi "stehen" bleibt und FHEMWEB nicht mehr erreichbar ist. Du sprachst weiter vorn davon, dass dies passiert ist.
Auch wird so verhindert, dass dieser Prozess versucht USB Sticks zu initialisieren und dabei den USB Stick irgendwo "in die Ecke stellt".
Das sind alles bloß Vorsichtsmassnahmen, ob es was mit deinem Zigbee Problem zu tun hat, weiß ich nicht.
Gruß Otto
Genau diese yaml war gemeint, da die Angabe unter "serial"; da kann man auch by-id verwenden (den ganzen Pfad verwenden).
Was die Anzeige aller seriellen Schnittstellen angeht, sind die wohl unter /dev/tty* zu finden. Eigentlich ist die Frage, ob die serielle Schnittstelle des PI mit der Standardangabe der yaml kollidiert; das kann ich aber grade nicht sauber verorten.
Hallo,
pi@raspberrypi ~ $ ls -la /dev/tty*
crw-rw-rw- 1 root root 5, 0 Jan 1 1970 /dev/tty
crw------- 1 root root 4, 0 Jan 1 1970 /dev/tty0
crw-rw---- 1 root tty 4, 1 Okt 23 19:17 /dev/tty1
crw------- 1 root root 4, 10 Jan 1 1970 /dev/tty10
crw------- 1 root root 4, 11 Jan 1 1970 /dev/tty11
crw------- 1 root root 4, 12 Jan 1 1970 /dev/tty12
crw------- 1 root root 4, 13 Jan 1 1970 /dev/tty13
crw------- 1 root root 4, 14 Jan 1 1970 /dev/tty14
crw------- 1 root root 4, 15 Jan 1 1970 /dev/tty15
crw------- 1 root root 4, 16 Jan 1 1970 /dev/tty16
crw------- 1 root root 4, 17 Jan 1 1970 /dev/tty17
crw------- 1 root root 4, 18 Jan 1 1970 /dev/tty18
crw------- 1 root root 4, 19 Jan 1 1970 /dev/tty19
crw-rw---- 1 root tty 4, 2 Okt 23 19:17 /dev/tty2
crw------- 1 root root 4, 20 Jan 1 1970 /dev/tty20
crw------- 1 root root 4, 21 Jan 1 1970 /dev/tty21
crw------- 1 root root 4, 22 Jan 1 1970 /dev/tty22
crw------- 1 root root 4, 23 Jan 1 1970 /dev/tty23
crw------- 1 root root 4, 24 Jan 1 1970 /dev/tty24
crw------- 1 root root 4, 25 Jan 1 1970 /dev/tty25
crw------- 1 root root 4, 26 Jan 1 1970 /dev/tty26
crw------- 1 root root 4, 27 Jan 1 1970 /dev/tty27
crw------- 1 root root 4, 28 Jan 1 1970 /dev/tty28
crw------- 1 root root 4, 29 Jan 1 1970 /dev/tty29
crw-rw---- 1 root tty 4, 3 Okt 23 19:17 /dev/tty3
crw------- 1 root root 4, 30 Jan 1 1970 /dev/tty30
crw------- 1 root root 4, 31 Jan 1 1970 /dev/tty31
crw------- 1 root root 4, 32 Jan 1 1970 /dev/tty32
crw------- 1 root root 4, 33 Jan 1 1970 /dev/tty33
crw------- 1 root root 4, 34 Jan 1 1970 /dev/tty34
crw------- 1 root root 4, 35 Jan 1 1970 /dev/tty35
crw------- 1 root root 4, 36 Jan 1 1970 /dev/tty36
crw------- 1 root root 4, 37 Jan 1 1970 /dev/tty37
crw------- 1 root root 4, 38 Jan 1 1970 /dev/tty38
crw------- 1 root root 4, 39 Jan 1 1970 /dev/tty39
crw-rw---- 1 root tty 4, 4 Okt 23 19:17 /dev/tty4
crw------- 1 root root 4, 40 Jan 1 1970 /dev/tty40
crw------- 1 root root 4, 41 Jan 1 1970 /dev/tty41
crw------- 1 root root 4, 42 Jan 1 1970 /dev/tty42
crw------- 1 root root 4, 43 Jan 1 1970 /dev/tty43
crw------- 1 root root 4, 44 Jan 1 1970 /dev/tty44
crw------- 1 root root 4, 45 Jan 1 1970 /dev/tty45
crw------- 1 root root 4, 46 Jan 1 1970 /dev/tty46
crw------- 1 root root 4, 47 Jan 1 1970 /dev/tty47
crw------- 1 root root 4, 48 Jan 1 1970 /dev/tty48
crw------- 1 root root 4, 49 Jan 1 1970 /dev/tty49
crw-rw---- 1 root tty 4, 5 Okt 23 19:17 /dev/tty5
crw------- 1 root root 4, 50 Jan 1 1970 /dev/tty50
crw------- 1 root root 4, 51 Jan 1 1970 /dev/tty51
crw------- 1 root root 4, 52 Jan 1 1970 /dev/tty52
crw------- 1 root root 4, 53 Jan 1 1970 /dev/tty53
crw------- 1 root root 4, 54 Jan 1 1970 /dev/tty54
crw------- 1 root root 4, 55 Jan 1 1970 /dev/tty55
crw------- 1 root root 4, 56 Jan 1 1970 /dev/tty56
crw------- 1 root root 4, 57 Jan 1 1970 /dev/tty57
crw------- 1 root root 4, 58 Jan 1 1970 /dev/tty58
crw------- 1 root root 4, 59 Jan 1 1970 /dev/tty59
crw-rw---- 1 root tty 4, 6 Okt 23 19:17 /dev/tty6
crw------- 1 root root 4, 60 Jan 1 1970 /dev/tty60
crw------- 1 root root 4, 61 Jan 1 1970 /dev/tty61
crw------- 1 root root 4, 62 Jan 1 1970 /dev/tty62
crw------- 1 root root 4, 63 Jan 1 1970 /dev/tty63
crw------- 1 root root 4, 7 Jan 1 1970 /dev/tty7
crw------- 1 root root 4, 8 Jan 1 1970 /dev/tty8
crw------- 1 root root 4, 9 Jan 1 1970 /dev/tty9
crw-rw---T 1 root dialout 166, 0 Okt 23 20:56 /dev/ttyACM0
crw-rw---- 1 root tty 204, 64 Okt 23 20:56 /dev/ttyAMA0
crw-rw---T 1 root dialout 5, 3 Jan 1 1970 /dev/ttyprintk
crw-rw---T 1 root dialout 188, 0 Okt 23 20:57 /dev/ttyUSB0
crw-rw---T 1 root dialout 188, 1 Jan 1 1970 /dev/ttyUSB1
pi@raspberrypi ~ $
Ist das so ok?
Gruß Michael
Danke; es scheint jedenfalls keine zwei Modemgeräte zu geben, die vertauscht sein könnten.
Aber warum bitteschön steht da wieder was von wheezy???
Das ist "currently not supported"...
Hallo Otto,
Ich glaube es hat nichts gebracht.
Fhem startet auf der Testkarte aber:
pi@raspberrypi:/opt/zigbee2mqtt $ npm start
> zigbee2mqtt@0.1.8 start /opt/zigbee2mqtt
> node index.js
zigbee2mqtt:info 2018-10-23 22:30:26 Logging to directory: '/opt/zigbee2mqtt/data/log/2018-10-23.22-30-26'
zigbee2mqtt:info 2018-10-23 22:30:28 Starting zigbee2mqtt version 0.1.8 (commit #97cc56b)
zigbee2mqtt:info 2018-10-23 22:30:28 Starting zigbee-shepherd
zigbee2mqtt:info 2018-10-23 22:30:29 zigbee-shepherd started
zigbee2mqtt:info 2018-10-23 22:30:29 Coordinator firmware version: '20180815'
zigbee2mqtt:info 2018-10-23 22:30:29 Currently 0 devices are joined:
zigbee2mqtt:warn 2018-10-23 22:30:29 `permit_join` set to `true` in configuration.yaml.
zigbee2mqtt:warn 2018-10-23 22:30:29 Allowing new devices to join.
zigbee2mqtt:warn 2018-10-23 22:30:29 Set `permit_join` to `false` once you joined all devices.
zigbee2mqtt:info 2018-10-23 22:30:29 Zigbee: allowing new devices to join.
zigbee2mqtt:info 2018-10-23 22:30:29 Connecting to MQTT server at mqtt://localhost
zigbee2mqtt:info 2018-10-23 22:30:29 zigbee-shepherd ready
zigbee2mqtt:error 2018-10-23 22:30:39 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:30:49 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:30:59 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:31:09 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:31:19 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:31:29 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:31:39 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:31:49 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:31:59 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:32:09 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:32:19 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:32:29 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:32:39 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:32:49 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:32:59 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:33:09 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:33:19 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:33:29 Not connected to MQTT server!
Es ist wie verhext
Für heute ist genug
Gute Nacht
Gruß Michael
Hallo,
Noch eine Variante.
Ich lösche die Testdatei und installiere sie noch einmal auf einem pi3b.
Frage ist nur ist die Installation dan abwärts konvertibel?
Sprich läuft die dann auf dem pi2b?
Auf dem 3b habe ich eine ioBroker Installation.
Gruß Michael
Es sollte auch auf einem PI2 gehen. Lt. #313 hast du aber wheezy... Das kommt mir seltsam vor, du solltest eigentlich stretch nutzen!
Hallo,
Das habe ich installiert
Gruß Michael
Besser ist nachgucken:
cat /etc/debian_version
Zitat von: exot am 23 Oktober 2018, 18:29:30
## Confirming "wheezy" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_8.x/dists/wheezy/Release'
## Your distribution, identified as "wheezy", is not currently supported,
please contact NodeSource at https://github.com/nodesource/distributions/issues
if you think this is incorrect or would like your distribution to be considered for support
Das hättest du gepostet....
pi@raspberrypi:~ $ cat /etc/debian_version
9.4
Das ist Karte Test
Gruß Michael
Not connected to MQTT server!
Heißt so viel, das er sich nicht zum MQTT Server verbinden kann. MQTT ist die Schnittstelle von zigbee2mqtt nach Fhem.
Also nachschauen, ob der mqtt Dienst überhaupt installiert ist mit: dpkg -l | grep mosquitto
Wenn nicht installieren... apt-get install mosquitto
Dann schauen ob mosquitto gestartet ist, mit: ps aux | grep mosquitto
Wenn nein: /etc/init/mosquitto start
Alternativ den Fhem Mosquitto Server verwenden, der hat einige Vorteile wenn man LED Lampen einbinden will. Aber da kenne ich mich noch nicht mit aus.
Dazu in der /opt/zigbee2mqtt/data/configuration.yaml, den Pfad vom Zigbee USB Stick eintragen:
serial:
port: /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D9DCCF-if00
Zur Sicherheit noch mal prüfen ob das auch so stimmt, mit ls -l /dev/serial/by-id
Dann sollte das eigentlich laufen.
Viele Grüße
Mark
Zitat von: exot am 23 Oktober 2018, 22:35:37
Hallo Otto,
Ich glaube es hat nichts gebracht.
Fhem startet auf der Testkarte aber:
pi@raspberrypi:/opt/zigbee2mqtt $ npm start
> zigbee2mqtt@0.1.8 start /opt/zigbee2mqtt
> node index.js
zigbee2mqtt:info 2018-10-23 22:30:26 Logging to directory: '/opt/zigbee2mqtt/data/log/2018-10-23.22-30-26'
zigbee2mqtt:info 2018-10-23 22:30:28 Starting zigbee2mqtt version 0.1.8 (commit #97cc56b)
zigbee2mqtt:info 2018-10-23 22:30:28 Starting zigbee-shepherd
zigbee2mqtt:info 2018-10-23 22:30:29 zigbee-shepherd started
zigbee2mqtt:info 2018-10-23 22:30:29 Coordinator firmware version: '20180815'
zigbee2mqtt:info 2018-10-23 22:30:29 Currently 0 devices are joined:
zigbee2mqtt:warn 2018-10-23 22:30:29 `permit_join` set to `true` in configuration.yaml.
zigbee2mqtt:warn 2018-10-23 22:30:29 Allowing new devices to join.
zigbee2mqtt:warn 2018-10-23 22:30:29 Set `permit_join` to `false` once you joined all devices.
zigbee2mqtt:info 2018-10-23 22:30:29 Zigbee: allowing new devices to join.
zigbee2mqtt:info 2018-10-23 22:30:29 Connecting to MQTT server at mqtt://localhost
zigbee2mqtt:info 2018-10-23 22:30:29 zigbee-shepherd ready
zigbee2mqtt:error 2018-10-23 22:30:39 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:30:49 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:30:59 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:31:09 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:31:19 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:31:29 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:31:39 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:31:49 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:31:59 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:32:09 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:32:19 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:32:29 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:32:39 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:32:49 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:32:59 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:33:09 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:33:19 Not connected to MQTT server!
zigbee2mqtt:error 2018-10-23 22:33:29 Not connected to MQTT server!
Es ist wie verhext
Für heute ist genug
Gute Nacht
Gruß Michael
Erst entscheiden, ob mosquitto oder MQTT2. Ich finde letzteres einfacher; Kurzanleitung steht im Wiki; es gibt auch einen Thread im MQTT-Bereich hier.
Hallo
Ich Danke Euch für die Nachrichten.
Fhem hatte sich wieder aufgehangen und ist nicht gestartet.
Ich bin bei einer Neuinstallation.
Melde mich wieder.
Gruß Michael
... eigentlich solltest Du Suchen, warum es sich aufgehangen hat. Linux <> Windows, wo Neuinstallation (sehr häufig) hilft.
Vorher ins Fhem log gucken, warum Fhem nicht startet... Sonst sitzt du da noch bis Weihnachten dran. ;D
Hallo,
Bis hier alles ohne Fehlermeldung!!!
# Home Assistant integration (MQTT discovery)
homeassistant: false
# allow new devices to join
permit_join: true
# MQTT settings
mqtt:
# MQTT base topic for zigbee2mqtt MQTT messages
base_topic: zigbee2mqtt
# MQTT server URL
server: 'mqtt://localhost'
# MQTT server authentication, uncomment if required:
# user: my_user
# password: my_password
# Serial settings
serial:
# Location of CC2531 USB sniffer
Home Assistant integration (MQTT discovery)
homeassistant: false
ist das richtig? heißt das nicht, das MQtt nicht vorhanden ist?
Gruß Michael
Hallo,
So, ich glaube es ist geschafft :-X :-X
pi@raspberrypi:/opt/zigbee2mqtt $ sudo systemctl enable zigbee2mqtt.service
Created symlink /etc/systemd/system/multi-user.target.wants/zigbee2mqtt.service → /etc/systemd/system/zigbee2mqtt.service.
pi@raspberrypi:/opt/zigbee2mqtt $ sudo systemctl stop zigbee2mqtt
pi@raspberrypi:/opt/zigbee2mqtt $ sudo systemctl start zigbee2mqtt
pi@raspberrypi:/opt/zigbee2mqtt $ sudo journalctl -u zigbee2mqtt.service -f
-- Logs begin at Thu 2016-11-03 18:16:43 CET. --
Okt 24 21:34:02 raspberrypi npm[9434]: zigbee2mqtt:info 2018-10-24 21:34:02 Coordinator firmware version: '20180815'
Okt 24 21:34:02 raspberrypi npm[9434]: zigbee2mqtt:info 2018-10-24 21:34:02 Currently 0 devices are joined:
Okt 24 21:34:02 raspberrypi npm[9434]: zigbee2mqtt:warn 2018-10-24 21:34:02 `permit_join` set to `true` in configuration.yaml.
Okt 24 21:34:02 raspberrypi npm[9434]: zigbee2mqtt:warn 2018-10-24 21:34:02 Allowing new devices to join.
Okt 24 21:34:02 raspberrypi npm[9434]: zigbee2mqtt:warn 2018-10-24 21:34:02 Set `permit_join` to `false` once you joined all devices.
Okt 24 21:34:02 raspberrypi npm[9434]: zigbee2mqtt:info 2018-10-24 21:34:02 Zigbee: allowing new devices to join.
Okt 24 21:34:02 raspberrypi npm[9434]: zigbee2mqtt:info 2018-10-24 21:34:02 Connecting to MQTT server at mqtt://localhost
Okt 24 21:34:03 raspberrypi npm[9434]: zigbee2mqtt:info 2018-10-24 21:34:03 zigbee-shepherd ready
Okt 24 21:34:03 raspberrypi npm[9434]: zigbee2mqtt:info 2018-10-24 21:34:03 Connected to MQTT server
Okt 24 21:34:03 raspberrypi npm[9434]: zigbee2mqtt:info 2018-10-24 21:34:03 MQTT publish, topic: 'zigbee2mqtt/bridge/state', payload: 'online'
Sollte ich jetzt Punkt 6 (Für später) Update zigbee2mqtt auf die neueste Version
ausführen?
Gruß Michael
In deiner config fehlt immer noch der "serial" Eintrag zum cc2531 Stick, welchen ich oben schon erwähnt habe!
Home Assistant auf false ist richtig, es sei denn du willst umsteigen. :D Home Assistant ist auch eine Smarthome Software wie Fhem.
Hast du mittlerweile mal ein Zigbee Device gepairt?
Zitat von: exot am 24 Oktober 2018, 21:37:59
Sollte ich jetzt Punkt 6 (Für später) Update zigbee2mqtt auf die neueste Version
ausführen?
Gruß Michael
Wenn du es jetzt gerade erst frisch installiert hast, ist es auf den neusten Stand... du kannst in ein paar Wochen ein Update machen. :) und Debian würde ich auch alle paar Wochen updaten.
Viele Grüße
Mark
Hallo Mark,
Danke für Deine Geduld und Unterstützung.
Jetzt zu Deinem Vorschlag
Zitatserial:
port: /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D9DCCF-if00
Soll das wie folgt eingefügt werden?
# MQTT settings
mqtt:
# MQTT base topic for zigbee2mqtt MQTT messages
base_topic: zigbee2mqtt
# MQTT server URL
server: 'mqtt://localhost'
# MQTT server authentication, uncomment if required:
# user: my_user
# password: my_password
serial:
port: /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D9DCCF-if00
ZitatHast du mittlerweile mal ein Zigbee Device gepairt?
Nein habe ich noch nicht, da in der Vergangenheit immer noch Probleme vorhanden waren.
Ich möchte jetzt die vorhandene Installation Sichern.
sudo systemctl stop zigbee2mqtt
cp -R data data-backup
Ist das so ok?
Mit exit kann ich dann die Konsole verlassen und die Testkarte aus dem Pi nehmen.
Es muss wieder die Karte vom laufenden System rein, damit morgen die Rollläden hoch fahren ;)
Morgen Abend werde ich versuchen das Backup des laufenden Systems einzuspielen.
Hoffendlich geht das gut ??? ???
Gruß Michael
Zitat von: exot am 24 Oktober 2018, 22:13:15
Soll das wie folgt eingefügt werden?
Ja das muss dort rein, damit zigbee2mqtt den Stick findet... Überprüfe vorher den Pfad, ob der auch so stimmt.
Zitat von: exot am 24 Oktober 2018, 22:13:15
Ich möchte jetzt die vorhandene Installation Sichern.
sudo systemctl stop zigbee2mqtt
cp -R data data-backup
Ist das so ok?
Mit exit kann ich dann die Konsole verlassen und die Testkarte aus dem Pi nehmen.
Es muss wieder die Karte vom laufenden System rein, damit morgen die Rollläden hoch fahren ;)
Morgen Abend werde ich versuchen das Backup des laufenden Systems einzuspielen.
Hoffendlich geht das gut ??? ???
Gruß Michael
Mit den Befehl kopierst du nur den Ordner zu einem anderen Ordner auf der SD Karte, das bringt dir nicht viel, wenn die SD Karte kaputt geht. :)
Du musst dir das herunterladen auf dein PC/NAS/USB Stick oder was auch immer. Am besten automatisch, da gibt es tausende Möglichkeiten, einfach mal googeln. :)
Viele Grüße
Mark
Hallo Mark,
Den Pfad habe ich überprüft.
Ist so OK.
Ich werde jetzt in der Fhem Oberfläche mit
backup
eine Sicherung machen. Diese kopiere ich dann auf einen anderen PC.
Anschließend wird die SD Karte mit WIN32 Diskimager gesichert.
Danach werde ich die Sicherung auf eine andere SD Karte spielen um zu sehen
ob die Sicherung funktioniert.
Wenn ja übertrage ich das Backup des Haupsystems auf die Testkarte.
Damit sollte dann die Zigbee installation dort laufen.
Ist das soweit richtig verstanden?
Danke Gruß Michael
Ich würde es lieber direkt auf das Hauptsystem installieren, aber das ist bei dir bestimmt auch zu alt und hat nie ein Update gesehen? :D dann lieber neu machen, also so wie du es beschrieben hast.
Viele Grüße
Mark
Vielleicht wäre es sinnvoller, erst das Backup von FHEM auf der neuen Karte aufzuspielen, dann zu testen, ob alles funktioniert (fhem-log checken) und dann nochmal eine Sicherungskopie von dem neuen System auf die Seite zu legen. Dass die alte Karte mit dem uralt-System funktioniert, weißt du ja und kannst bei Bedarf immer noch einen Klon ziehen.
Hallo,
Heute wieder die Karte gestartet und nur Fehler.
Danach eine Neuinstallation mit den selben Fehlern
Anschließend die Karte Intensiv formatiert ( 2,5 Stunden)
Nochmalige Installation.
Ich denke aber es ist wieder etwas nicht ok.
pi@raspberrypi:/opt/zigbee2mqtt $ npm start
> zigbee2mqtt@0.1.8 start /opt/zigbee2mqtt
> node index.js
zigbee2mqtt:info 2018-10-25 22:56:05 Logging to directory: '/opt/zigbee2mqtt/data/log/2018-10-25.22-56-05'
zigbee2mqtt:info 2018-10-25 22:56:07 Starting zigbee2mqtt version 0.1.8 (commit #97cc56b)
zigbee2mqtt:info 2018-10-25 22:56:07 Starting zigbee-shepherd
zigbee2mqtt:info 2018-10-25 22:56:08 zigbee-shepherd started
zigbee2mqtt:info 2018-10-25 22:56:08 Coordinator firmware version: '20180815'
zigbee2mqtt:info 2018-10-25 22:56:08 Currently 0 devices are joined:
zigbee2mqtt:warn 2018-10-25 22:56:08 `permit_join` set to `true` in configuration.yaml.
zigbee2mqtt:warn 2018-10-25 22:56:08 Allowing new devices to join.
zigbee2mqtt:warn 2018-10-25 22:56:08 Set `permit_join` to `false` once you joined all devices.
zigbee2mqtt:info 2018-10-25 22:56:08 Zigbee: allowing new devices to join.
zigbee2mqtt:info 2018-10-25 22:56:08 Connecting to MQTT server at mqtt://localhost
zigbee2mqtt:info 2018-10-25 22:56:08 zigbee-shepherd ready
zigbee2mqtt:info 2018-10-25 22:56:09 Connected to MQTT server
zigbee2mqtt:info 2018-10-25 22:56:09 MQTT publish, topic: 'zigbee2mqtt/bridge/state', payload: 'online'
^C zigbee2mqtt:info 2018-10-25 22:56:56 MQTT publish, topic: 'zigbee2mqtt/bridge/state', payload: 'offline'
zigbee2mqtt:info 2018-10-25 22:56:56 Disconnecting from MQTT server
zigbee2mqtt:info 2018-10-25 22:56:56 zigbee-shepherd stopped
pi@raspberrypi:/opt/zigbee2mqtt $ sudo nano /etc/systemd/system/zigbee2mqtt.service
pi@raspberrypi:/opt/zigbee2mqtt $ sudo nano /etc/systemd/system/zigbee2mqtt.service
pi@raspberrypi:/opt/zigbee2mqtt $ sudo systemctl start zigbee2mqtt
pi@raspberrypi:/opt/zigbee2mqtt $ systemctl status zigbee2mqtt.service
● zigbee2mqtt.service - zigbee2mqtt
Loaded: loaded (/etc/systemd/system/zigbee2mqtt.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2018-10-25 22:58:29 CEST; 16s ago
Process: 2293 ExecStart=/usr/bin/npm start (code=exited, status=203/EXEC)
Main PID: 2293 (code=exited, status=203/EXEC)
Okt 25 22:58:28 raspberrypi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
Okt 25 22:58:29 raspberrypi systemd[1]: zigbee2mqtt.service: Service hold-off time over, scheduling restart.
Okt 25 22:58:29 raspberrypi systemd[1]: Stopped zigbee2mqtt.
Okt 25 22:58:29 raspberrypi systemd[1]: zigbee2mqtt.service: Start request repeated too quickly.
Okt 25 22:58:29 raspberrypi systemd[1]: Failed to start zigbee2mqtt.
Okt 25 22:58:29 raspberrypi systemd[1]: zigbee2mqtt.service: Unit entered failed state.
Okt 25 22:58:29 raspberrypi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
pi@raspberrypi:/opt/zigbee2mqtt $ sudo systemctl enable zigbee2mqtt.service
Created symlink /etc/systemd/system/multi-user.target.wants/zigbee2mqtt.service → /etc/systemd/system/zigbee2mqtt.service.
pi@raspberrypi:/opt/zigbee2mqtt $ sudo systemctl stop zigbee2mqtt
pi@raspberrypi:/opt/zigbee2mqtt $ sudo systemctl start zigbee2mqtt
pi@raspberrypi:/opt/zigbee2mqtt $ sudo journalctl -u zigbee2mqtt.service -f
-- Logs begin at Thu 2016-11-03 18:16:43 CET. --
Okt 25 23:02:01 raspberrypi systemd[1]: Started zigbee2mqtt.
Okt 25 23:02:01 raspberrypi systemd[1]: zigbee2mqtt.service: Main process exited, code=exited, status=203/EXEC
Okt 25 23:02:01 raspberrypi systemd[1]: zigbee2mqtt.service: Unit entered failed state.
Okt 25 23:02:01 raspberrypi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
Okt 25 23:02:01 raspberrypi systemd[1]: zigbee2mqtt.service: Service hold-off time over, scheduling restart.
Okt 25 23:02:01 raspberrypi systemd[1]: Stopped zigbee2mqtt.
Okt 25 23:02:01 raspberrypi systemd[1]: zigbee2mqtt.service: Start request repeated too quickly.
Okt 25 23:02:01 raspberrypi systemd[1]: Failed to start zigbee2mqtt.
Okt 25 23:02:01 raspberrypi systemd[1]: zigbee2mqtt.service: Unit entered failed state.
Okt 25 23:02:01 raspberrypi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
^C
pi@raspberrypi:/opt/zigbee2mqtt $ nano /opt/zigbee2mqtt/data/configuration.yaml
pi@raspberrypi:/opt/zigbee2mqtt $ nano /opt/zigbee2mqtt/data/configuration.yaml
pi@raspberrypi:/opt/zigbee2mqtt $ sudo systemctl start zigbee2mqtt
pi@raspberrypi:/opt/zigbee2mqtt $ sudo journalctl -u zigbee2mqtt.service -f
-- Logs begin at Thu 2016-11-03 18:16:43 CET. --
Okt 25 23:05:24 raspberrypi systemd[1]: Started zigbee2mqtt.
Okt 25 23:05:24 raspberrypi systemd[1]: zigbee2mqtt.service: Main process exited, code=exited, status=203/EXEC
Okt 25 23:05:24 raspberrypi systemd[1]: zigbee2mqtt.service: Unit entered failed state.
Okt 25 23:05:24 raspberrypi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
Okt 25 23:05:24 raspberrypi systemd[1]: zigbee2mqtt.service: Service hold-off time over, scheduling restart.
Okt 25 23:05:24 raspberrypi systemd[1]: Stopped zigbee2mqtt.
Okt 25 23:05:24 raspberrypi systemd[1]: zigbee2mqtt.service: Start request repeated too quickly.
Okt 25 23:05:24 raspberrypi systemd[1]: Failed to start zigbee2mqtt.
Okt 25 23:05:24 raspberrypi systemd[1]: zigbee2mqtt.service: Unit entered failed state.
Okt 25 23:05:24 raspberrypi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
Die LED am Stick leuchtet aber.
Ich werde noch wirr im Kopf.
Gute Nacht
Gruß Michael
1. Ständiges Neuinstallatieren ist eher Teil.des.Problems wie Teil der Lösung und in einer Linux-Welt UNNÖTIG.
2. Wenn die Karte einen Hau hat, hilft neu Formatieren nicht, zumal.die.bei der Installation des Raspian sowieso wieder neu partitioniert wird! Wenn du denkst, die Karte ist die Ursache, solltest du sie entsorgen.
3. Unter Linux ist es.normalerweise so, dass das Logfile Auskunft geben sollte,was schief gelaufen ist, ggf. nachdem man den loglevel hoch gedreht hat...
Du solltest also weniger rumprobieren und mehr nachdenken bzw. lesen. Aber mit deiner bisherigen Vorgehensweise kommst du umso weniger zum Ziel, je komplexer dein System wird.
Just my2ct.
Abgesehen davon, was Beta-User schreibt (und seeeehr Wichtig ist):
... mal andere Stromversorgung probiert?
Guten Morgen,
Danke für Eure Nachrichten.
Vorab das Logfile aus Fhem:
2018.10.25 22:08:53 1: Please consider using the global attribute sendStatistics
2018.10.25 22:15:51 0: Server shutdown
2018.10.25 22:15:52 1: Including fhem.cfg
2018.10.25 22:15:53 3: WEB: port 8083 opened
2018.10.25 22:15:53 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2018.10.25 22:15:53 1: Including ./log/fhem.save
2018.10.25 22:15:53 1: usb create starting
2018.10.25 22:15:54 3: Probing CUL device /dev/ttyAMA0
2018.10.25 22:15:54 1: CUL: Can't open /dev/ttyAMA0: Permission denied
2018.10.25 22:15:54 1: usb create end
2018.10.25 22:15:54 0: Featurelevel: 5.9
2018.10.25 22:15:54 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:2420)
2018.10.25 22:27:58 0: Server shutdown
2018.10.25 22:28:08 1: Including fhem.cfg
2018.10.25 22:28:09 3: WEB: port 8083 opened
2018.10.25 22:28:09 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.25 22:28:09 1: Including ./log/fhem.save
2018.10.25 22:28:09 0: Featurelevel: 5.9
2018.10.25 22:28:09 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:471)
2018.10.25 22:30:36 0: Server shutdown
2018.10.25 22:30:46 1: Including fhem.cfg
2018.10.25 22:30:47 3: WEB: port 8083 opened
2018.10.25 22:30:47 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.25 22:30:47 1: Including ./log/fhem.save
2018.10.25 22:30:47 0: Featurelevel: 5.9
2018.10.25 22:30:47 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:458)
2018.10.26 07:25:20 1: Connection refused from the non-local address 93.227.22.201:43670, as there is no working allowed instance defined for it
2018.10.26 07:25:20 1: Connection refused from the non-local address 93.227.22.201:43671, as there is no working allowed instance defined for it
2018.10.26 07:25:20 1: Connection refused from the non-local address 93.227.22.201:43672, as there is no working allowed instance defined for it
2018.10.26 07:25:20 1: Connection refused from the non-local address 93.227.22.201:43673, as there is no working allowed instance defined for it
2018.10.26 07:25:20 1: Connection refused from the non-local address 93.227.22.201:43674, as there is no working allowed instance defined for it
2018.10.26 07:25:20 1: Connection refused from the non-local address 93.227.22.201:43675, as there is no working allowed instance defined for it
2018.10.26 07:25:21 1: Connection refused from the non-local address 93.227.22.201:43677, as there is no working allowed instance defined for it
2018.10.26 07:25:21 1: Connection refused from the non-local address 93.227.22.201:43678, as there is no working allowed instance defined for it
2018.10.26 07:25:27 1: Connection refused from the non-local address 93.227.22.201:43680, as there is no working allowed instance defined for it
2018.10.26 07:25:35 1: Connection refused from the non-local address 93.227.22.201:43692, as there is no working allowed instance defined for it
2018.10.26 07:25:35 1: Connection refused from the non-local address 93.227.22.201:43693, as there is no working allowed instance defined for it
2018.10.26 07:25:35 1: Connection refused from the non-local address 93.227.22.201:43694, as there is no working allowed instance defined for it
2018.10.26 07:25:35 1: Connection refused from the non-local address 93.227.22.201:43695, as there is no working allowed instance defined for it
2018.10.26 07:25:35 1: Connection refused from the non-local address 93.227.22.201:43696, as there is no working allowed instance defined for it
2018.10.26 07:25:35 1: Connection refused from the non-local address 93.227.22.201:43697, as there is no working allowed instance defined for it
2018.10.26 07:25:36 1: Connection refused from the non-local address 93.227.22.201:43699, as there is no working allowed instance defined for it
2018.10.26 07:25:38 1: Connection refused from the non-local address 93.227.22.201:43700, as there is no working allowed instance defined for it
2018.10.26 07:25:39 1: Connection refused from the non-local address 93.227.22.201:43701, as there is no working allowed instance defined for it
2018.10.26 07:25:39 1: Connection refused from the non-local address 93.227.22.201:43702, as there is no working allowed instance defined for it
2018.10.26 07:25:40 1: Connection refused from the non-local address 93.227.22.201:43703, as there is no working allowed instance defined for it
2018.10.26 07:25:40 1: Connection refused from the non-local address 93.227.22.201:43704, as there is no working allowed instance defined for it
2018.10.26 07:25:40 1: Connection refused from the non-local address 93.227.22.201:43705, as there is no working allowed instance defined for it
2018.10.26 07:25:40 1: Connection refused from the non-local address 93.227.22.201:43706, as there is no working allowed instance defined for it
2018.10.26 07:25:40 1: Connection refused from the non-local address 93.227.22.201:43707, as there is no working allowed instance defined for it
2018.10.26 07:25:40 1: Connection refused from the non-local address 93.227.22.201:43708, as there is no working allowed instance defined for it
Und das:
pi@raspberrypi:/opt/zigbee2mqtt $ sudo systemctl stop zigbee2mqtt
pi@raspberrypi:/opt/zigbee2mqtt $ sudo systemctl start zigbee2mqtt
pi@raspberrypi:/opt/zigbee2mqtt $ sudo journalctl -u zigbee2mqtt.service -f
-- Logs begin at Thu 2016-11-03 18:16:43 CET. --
Okt 26 07:47:00 raspberrypi systemd[1]: Started zigbee2mqtt.
Okt 26 07:47:00 raspberrypi systemd[1]: zigbee2mqtt.service: Main process exited, code=exited, status=203/EXEC
Okt 26 07:47:00 raspberrypi systemd[1]: zigbee2mqtt.service: Unit entered failed state.
Okt 26 07:47:00 raspberrypi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
Okt 26 07:47:00 raspberrypi systemd[1]: zigbee2mqtt.service: Service hold-off time over, scheduling restart.
Okt 26 07:47:00 raspberrypi systemd[1]: Stopped zigbee2mqtt.
Okt 26 07:47:00 raspberrypi systemd[1]: zigbee2mqtt.service: Start request repeated too quickly.
Okt 26 07:47:00 raspberrypi systemd[1]: Failed to start zigbee2mqtt.
Okt 26 07:47:00 raspberrypi systemd[1]: zigbee2mqtt.service: Unit entered failed state.
Okt 26 07:47:00 raspberrypi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
^C
pi@raspberrypi:/opt/zigbee2mqtt $ cd
pi@raspberrypi:~ $ dpkg -l | grep mosquitto
ii mosquitto 1.4.10-3+deb9u2 armhf MQTT version 3.1/3.1.1 compatible message broker
pi@raspberrypi:~ $ ps aux | grep mosquitto
mosquit+ 2056 0.0 0.4 6332 4028 ? S Okt25 0:11 /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
pi 5733 0.0 0.0 4776 540 pts/0 S+ 07:50 0:00 grep --color=auto mosquitto
pi@raspberrypi:~ $ /etc/init/mosquitto start
-bash: /etc/init/mosquitto: Datei oder Verzeichnis nicht gefunden
Das heißt doch, das mosquitto nicht gestartet ist?
Stromversorgung werde ich überprüfen
Gruß Michael
Hallo,
Habe mir gerade mal die Stromversorgung angesehen.
Ausgang sind 5v und 2,0A
Ich denke das ist Ok.
Zumal ja bei der Zigbee Installation nur der Zigbee Stick angeschlossen ist.
Noch eine Frage zu mosquitto.
Wo sollte sich bas Verzeichnis befinden.
/etc/init/mosquitto/
Hier gibt es kein mosquitto Verzeichnis.
Gruß Michael
Die Frage nach der Stromversorgung ist nicht allein in aufgedruckten Volt und Ampere beantwortet. Beim Raspberry muss das auch ankommen! Je nach Modell wird das auf dem Raspberry überprüft. So ziemlich bei allen gilt: Die rote LED darf niemals blinkern!!!
Eigentlich so gut wie alle "unklaren Dinge" beim raspberry hängen mit ungeeigneter Stromversorgung / dünne schlechte Kabel usw zusammen. Die Netzteile verändern sich manchmal über Jahre. Auch ein: ging bisher ohne Probleme - ist keine Garantie.
Gruß Otto
Da du ständig neu installiert hat, kann niemand sagen, welchen status mosquitto hat. Ich würde empfehlen, statt mosquitto MQTT2 einzusetzen...
Hallo Beta-User,
Ich glaube jetzt das Log gefunden zu haben
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using npm@5.5.1
3 info using node@v8.9.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle zigbee2mqtt@0.1.8~prestart: zigbee2mqtt@0.1.8
6 info lifecycle zigbee2mqtt@0.1.8~start: zigbee2mqtt@0.1.8
7 verbose lifecycle zigbee2mqtt@0.1.8~start: unsafe-perm in lifecycle true
8 verbose lifecycle zigbee2mqtt@0.1.8~start: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/opt/zigbee2mqtt/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
9 verbose lifecycle zigbee2mqtt@0.1.8~start: CWD: /opt/zigbee2mqtt
10 silly lifecycle zigbee2mqtt@0.1.8~start: Args: [ '-c', 'node index.js' ]
11 silly lifecycle zigbee2mqtt@0.1.8~start: Returned: code: 1 signal: null
12 info lifecycle zigbee2mqtt@0.1.8~start: Failed to exec start script
13 verbose stack Error: zigbee2mqtt@0.1.8 start: `node index.js`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:280:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:925:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid zigbee2mqtt@0.1.8
15 verbose cwd /opt/zigbee2mqtt
16 verbose Linux 4.14.71-v7+
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
18 verbose node v8.9.0
19 verbose npm v5.5.1
20 error code ELIFECYCLE
21 error errno 1
22 error zigbee2mqtt@0.1.8 start: `node index.js`
22 error Exit status 1
23 error Failed at the zigbee2mqtt@0.1.8 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Hilft das weiter?
Hallo Otto,
Danke für Deine Nachricht.
Bei einschalten pi leuchtet rot undgrün blinkt,
Danach leuchtet rot und grün blinkt gelegentlich bei Datenübertragung.
Das sollte doch passen!?
Gruß Michael
Hallo Beta-User,
Ich werde jetzt nur noch bei dieser Installation bleiben!
Egal was kommt. Versprochen!
Hier mosquitto:
pi@raspberrypi:~ $ sudo service mosquitto start
pi@raspberrypi:~ $ sudo service mosquitto status
● mosquitto.service - LSB: mosquitto MQTT v3.1 message broker
Loaded: loaded (/etc/init.d/mosquitto; generated; vendor preset: enabled)
Active: active (running) since Fri 2018-10-26 10:17:03 CEST; 16min ago
Docs: man:systemd-sysv-generator(8)
Process: 313 ExecStart=/etc/init.d/mosquitto start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/mosquitto.service
└─390 /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
Okt 26 10:17:03 raspberrypi systemd[1]: Starting LSB: mosquitto MQTT v3.1 message broker...
Okt 26 10:17:03 raspberrypi mosquitto[313]: Starting network daemon:: mosquitto.
Okt 26 10:17:03 raspberrypi systemd[1]: Started LSB: mosquitto MQTT v3.1 message broker.
pi@raspberrypi:~ $
Das sieht doch gut aus?
Gruß Michael
Hmm, ich werd daraus auch erst mal nicht schlau.
Könntest du den zigbee-Dienst erst mal auf der Konsole starten wie unter "running the bridge" im dortigen wiki beschrieben?
Da kommen dann evtl.weitere infos.
Hallo Beta-User,
Ich denke das möchtest Du sehen:
pi@raspberrypi:/opt/zigbee2mqtt $ npm start
> zigbee2mqtt@0.1.8 start /opt/zigbee2mqtt
> node index.js
/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:171
throw generateError(state, message);
^
YAMLException: duplicated mapping key at line 21, column -63:
serial:
^
at generateError (/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:165:10)
at throwError (/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:171:9)
at storeMappingPair (/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:308:7)
at readBlockMapping (/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:1071:9)
at composeNode (/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:1332:12)
at readDocument (/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:1492:3)
at loadDocuments (/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:1548:5)
at load (/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:1569:19)
at Object.safeLoad (/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:1591:10)
at read (/opt/zigbee2mqtt/lib/util/settings.js:29:17)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! zigbee2mqtt@0.1.8 start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zigbee2mqtt@0.1.8 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-10-26T10_10_42_193Z-debug.log
pi@raspberrypi:/opt/zigbee2mqtt $ sudo systemctl start zigbee2mqtt
pi@raspberrypi:/opt/zigbee2mqtt $ systemctl status zigbee2mqtt.service
● zigbee2mqtt.service - zigbee2mqtt
Loaded: loaded (/etc/systemd/system/zigbee2mqtt.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2018-10-26 12:11:29 CEST; 15s ago
Process: 1389 ExecStart=/usr/bin/npm start (code=exited, status=203/EXEC)
Main PID: 1389 (code=exited, status=203/EXEC)
Okt 26 12:11:29 raspberrypi systemd[1]: zigbee2mqtt.service: Unit entered failed state.
Okt 26 12:11:29 raspberrypi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
Okt 26 12:11:29 raspberrypi systemd[1]: zigbee2mqtt.service: Service hold-off time over, scheduling restart.
Okt 26 12:11:29 raspberrypi systemd[1]: Stopped zigbee2mqtt.
Okt 26 12:11:29 raspberrypi systemd[1]: zigbee2mqtt.service: Start request repeated too quickly.
Okt 26 12:11:29 raspberrypi systemd[1]: Failed to start zigbee2mqtt.
Okt 26 12:11:29 raspberrypi systemd[1]: zigbee2mqtt.service: Unit entered failed state.
Okt 26 12:11:29 raspberrypi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
pi@raspberrypi:/opt/zigbee2mqtt $
Gruß Michael
Das sagt doch schon mal was. Da scheint.ein Fehler in der yaml zu sein (doppelter Eintrag.zu serial, Zeile 21).
Ansonsten mal z.b. hier lesen: https://stackoverflow.com/questions/42308879/npm-err-code-elifecycle
Hallo Beta-User,
Danke für den Link.
Habe die Prozeduren mal durchgespielt.
Bei
npm start
startet zigbee2mqtt ist auch so zu sehen.
LED am Stick leuchtet
CTRL+C beendet den Vorgang Stopped
LED am Stick leuchtet
sudo systemctl start zigbee2mqtt
systemctl status zigbee2mqtt.service
Bringt wieder den Fehler
Aber zigbee2mqt wurde ja auch vorher beendet mit CTRL+C???
i@raspberrypi:/opt/zigbee2mqtt $ npm start
> zigbee2mqtt@0.1.8 start /opt/zigbee2mqtt
> node index.js
zigbee2mqtt:info 2018-10-26 14:48:00 Logging to directory: '/opt/zigbee2mqtt/data/log/2018-10-26.14-48-00'
zigbee2mqtt:info 2018-10-26 14:48:00 Starting zigbee2mqtt version 0.1.8 (commit #97cc56b)
zigbee2mqtt:info 2018-10-26 14:48:00 Starting zigbee-shepherd
zigbee2mqtt:info 2018-10-26 14:48:01 zigbee-shepherd started
zigbee2mqtt:info 2018-10-26 14:48:01 Coordinator firmware version: '20180815'
zigbee2mqtt:info 2018-10-26 14:48:01 Currently 0 devices are joined:
zigbee2mqtt:warn 2018-10-26 14:48:01 `permit_join` set to `true` in configuration.yaml.
zigbee2mqtt:warn 2018-10-26 14:48:01 Allowing new devices to join.
zigbee2mqtt:warn 2018-10-26 14:48:01 Set `permit_join` to `false` once you joined all devices.
zigbee2mqtt:info 2018-10-26 14:48:01 Zigbee: allowing new devices to join.
zigbee2mqtt:info 2018-10-26 14:48:01 Connecting to MQTT server at mqtt://localhost
zigbee2mqtt:info 2018-10-26 14:48:01 zigbee-shepherd ready
zigbee2mqtt:info 2018-10-26 14:48:01 Connected to MQTT server
zigbee2mqtt:info 2018-10-26 14:48:01 MQTT publish, topic: 'zigbee2mqtt/bridge/state', payload: 'online'
^C zigbee2mqtt:info 2018-10-26 14:58:56 MQTT publish, topic: 'zigbee2mqtt/bridge/state', payload: 'offline'
zigbee2mqtt:info 2018-10-26 14:58:56 Disconnecting from MQTT server
zigbee2mqtt:info 2018-10-26 14:58:56 zigbee-shepherd stopped
pi@raspberrypi:/opt/zigbee2mqtt $ sudo systemctl start zigbee2mqtt
pi@raspberrypi:/opt/zigbee2mqtt $ systemctl status zigbee2mqtt.service
● zigbee2mqtt.service - zigbee2mqtt
Loaded: loaded (/etc/systemd/system/zigbee2mqtt.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2018-10-26 15:02:37 CEST; 18s ago
Process: 3166 ExecStart=/usr/bin/npm start (code=exited, status=203/EXEC)
Main PID: 3166 (code=exited, status=203/EXEC)
Okt 26 15:02:37 raspberrypi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
Okt 26 15:02:37 raspberrypi systemd[1]: zigbee2mqtt.service: Service hold-off time over, scheduling restart.
Okt 26 15:02:37 raspberrypi systemd[1]: Stopped zigbee2mqtt.
Okt 26 15:02:37 raspberrypi systemd[1]: zigbee2mqtt.service: Start request repeated too quickly.
Okt 26 15:02:37 raspberrypi systemd[1]: Failed to start zigbee2mqtt.
Okt 26 15:02:37 raspberrypi systemd[1]: zigbee2mqtt.service: Unit entered failed state.
Okt 26 15:02:37 raspberrypi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
pi@raspberrypi:/opt/zigbee2mqtt $
Gruß Michael
Hmmmm,
schwierig, da was genaues zu sagen. Da sich der Dienst mit npm... starten lässt, würde ich auf eine defekte service-Datei tippen. Wie hast du die erstellt und auf den pi gebracht? (Tipp: "mc" installieren un "mcedit" verwenden)
Zwei andere Dinge noch:
Initalusbcheck ist aus?
Und es gibt auch kein port-forwarding? (Da waren diese seltsamen Meldungen von allowed im Fhem-log!)
Ansonsten sollte Ctrl+c no harm to the System sein und du solltest die Funktionalität ggf. auf Basis des manuell gestarteten Dienste mal mit Mosquitto und dann auch FHEM testen, damit du ein Gefühl dafür bekommst. Dazu am besten auch mit mosquitto_sub mal auf einer weiteren Konsole mithören.
Hallo,
mc habe ich installiert :)
ZitatInitalusbcheck ist aus?
Ja
Internals:
DEF global:INITIALIZED usb create
NAME initialUsbCheck
NOTIFYDEV global
NR 13
NTFY_ORDER 50-initialUsbCheck
REGEXP global:INITIALIZED
STATE disabled
TYPE notify
READINGS:
2018-10-26 18:34:18 state disabled
Attributes:
disable 1
ZitatUnd es gibt auch kein port-forwarding? (Da waren diese seltsamen Meldungen von allowed im Fhem-log!)
Ist mir nicht bekannt das ich das eingestellt habe.
Wie kann ich das prüfen?
Das wird doch in der Fritzbox eingestellt?
Habe ich nicht eingerichtet!
Zitatdu solltest die Funktionalität ggf. auf Basis des manuell gestarteten Dienste mal mit Mosquitto und dann auch FHEM testen, damit du ein Gefühl dafür bekommst. Dazu am besten auch mit mosquitto_sub mal auf einer weiteren Konsole mithören.
Damit kann ich nichts anfangen, :'(
Könntest Du das bitte etwas genauer erklären, oder wo kann ich etwas darüber nachschlagen.
Gruß Michael
Hallo,
Ich glaube jetzt sollte es funktionieren.
6 21:35:50 2018 from 192.168.178.22
pi@raspberrypi:~ $ mc
pi@raspberrypi:~ $ sudo chown -R pi:pi /opt/zigbee2mqtt
pi@raspberrypi:~ $ cd /opt/zigbee2mqtt
pi@raspberrypi:/opt/zigbee2mqtt $ npm install
up to date in 16.838s
pi@raspberrypi:/opt/zigbee2mqtt $ nano /opt/zigbee2mqtt/data/configuration.yaml
pi@raspberrypi:/opt/zigbee2mqtt $ cd /opt/zigbee2mqtt
pi@raspberrypi:/opt/zigbee2mqtt $ npm start
> zigbee2mqtt@0.1.8 start /opt/zigbee2mqtt
> node index.js
zigbee2mqtt:info 2018-10-26 21:58:14 Logging to directory: '/opt/zigbee2mqtt/data/log/2018-10-26.21-58-14'
zigbee2mqtt:info 2018-10-26 21:58:15 Starting zigbee2mqtt version 0.1.8 (commit #97cc56b)
zigbee2mqtt:info 2018-10-26 21:58:15 Starting zigbee-shepherd
zigbee2mqtt:info 2018-10-26 21:58:15 zigbee-shepherd started
zigbee2mqtt:info 2018-10-26 21:58:15 Coordinator firmware version: '20180815'
zigbee2mqtt:info 2018-10-26 21:58:15 Currently 0 devices are joined:
zigbee2mqtt:warn 2018-10-26 21:58:15 `permit_join` set to `true` in configuration.yaml.
zigbee2mqtt:warn 2018-10-26 21:58:15 Allowing new devices to join.
zigbee2mqtt:warn 2018-10-26 21:58:15 Set `permit_join` to `false` once you joined all devices.
zigbee2mqtt:info 2018-10-26 21:58:15 Zigbee: allowing new devices to join.
zigbee2mqtt:info 2018-10-26 21:58:15 Connecting to MQTT server at mqtt://localhost
zigbee2mqtt:info 2018-10-26 21:58:16 zigbee-shepherd ready
zigbee2mqtt:info 2018-10-26 21:58:16 Connected to MQTT server
zigbee2mqtt:info 2018-10-26 21:58:16 MQTT publish, topic: 'zigbee2mqtt/bridge/state', payload: 'online'
^C zigbee2mqtt:info 2018-10-26 21:59:33 MQTT publish, topic: 'zigbee2mqtt/bridge/state', payload: 'offline'
zigbee2mqtt:info 2018-10-26 21:59:33 Disconnecting from MQTT server
zigbee2mqtt:info 2018-10-26 21:59:33 zigbee-shepherd stopped
pi@raspberrypi:/opt/zigbee2mqtt $ sudo nano /etc/systemd/system/zigbee2mqtt.service
pi@raspberrypi:/opt/zigbee2mqtt $ sudo systemctl start zigbee2mqtt
pi@raspberrypi:/opt/zigbee2mqtt $ systemctl status zigbee2mqtt.service
● zigbee2mqtt.service - zigbee2mqtt
Loaded: loaded (/etc/systemd/system/zigbee2mqtt.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-10-26 22:02:05 CEST; 20s ago
Main PID: 7742 (npm)
CGroup: /system.slice/zigbee2mqtt.service
├─7742 npm
├─7755 sh -c node index.js
└─7756 node index.js
Okt 26 22:02:09 raspberrypi npm[7742]: zigbee2mqtt:info 2018-10-26 22:02:09 Coordinator firmware version: '20180815'
Okt 26 22:02:09 raspberrypi npm[7742]: zigbee2mqtt:info 2018-10-26 22:02:09 Currently 0 devices are joined:
Okt 26 22:02:09 raspberrypi npm[7742]: zigbee2mqtt:warn 2018-10-26 22:02:09 `permit_join` set to `true` in configuration.yaml.
Okt 26 22:02:09 raspberrypi npm[7742]: zigbee2mqtt:warn 2018-10-26 22:02:09 Allowing new devices to join.
Okt 26 22:02:09 raspberrypi npm[7742]: zigbee2mqtt:warn 2018-10-26 22:02:09 Set `permit_join` to `false` once you joined all devices.
Okt 26 22:02:09 raspberrypi npm[7742]: zigbee2mqtt:info 2018-10-26 22:02:09 Zigbee: allowing new devices to join.
Okt 26 22:02:09 raspberrypi npm[7742]: zigbee2mqtt:info 2018-10-26 22:02:09 Connecting to MQTT server at mqtt://localhost
Okt 26 22:02:09 raspberrypi npm[7742]: zigbee2mqtt:info 2018-10-26 22:02:09 zigbee-shepherd ready
Okt 26 22:02:09 raspberrypi npm[7742]: zigbee2mqtt:info 2018-10-26 22:02:09 Connected to MQTT server
Okt 26 22:02:09 raspberrypi npm[7742]: zigbee2mqtt:info 2018-10-26 22:02:09 MQTT publish, topic: 'zigbee2mqtt/bridge/state', payload: 'online'
pi@raspberrypi:/opt/zigbee2mqtt $ sudo systemctl enable zigbee2mqtt.service
pi@raspberrypi:/opt/zigbee2mqtt $
Jetzt sollte zigbee2mqtt automatisch starten,
wie kann ich das überprüfen.
Was mich noch verwundert ist, das im Fhem Logfile nichts angezeigt wird.
Gute Nacht
Gruß Michael
Prüfen: reboot...
Da ich den Rest schon fertig hatte:
Zu Port-forwarding: ja, müsste in der Fritte eingestellt sein. Dein fhem-log enthielt einige Meldungen von allowee, die sehr danach aussahen. Warum, kannst nur du prüfen. Du solltest jedenfalls nochmal in das log sehen, ob das immer noch der Fall ist.
Was mosquitto angeht:
1. prüfe, ob du den brauchst, oder ob du nicht besser mqtt2_Server vier enden willst. Wenn du keine andere.Hausautmatisierung planst, und nur fhem eingesetzt wire, ist mqtt2 für sich am Ende einfacher (meine Meinung)
2. zum testen würde ich daher empfehlen, mal zigbee auf port 1884 umzustellen und ein mqtt2_Server Gerät mit diesem Port zu erstellen und auf autocreate zu stellen - den Rest findest du im wiki.
3. Die Kommunikation zwischen dem Server/Broker und den Clients lernt man am besten kennen, wenn man die anhört. Ich verwende dazu.mosquitto_sub, das kann auch mit mqtt2_server. Bitte nutze die manpage dazu, ich will die hier nicht neu erfinden...
Hallo Beta-User,
Guten Morgen,
Habe eben nochmal
sudo journalctl -u zigbee2mqtt.service -f
aufgerufen.
Das Teil läuft seit gestern Abend.
Wie schon gesagt in der Fhem Oberfläche/ logfile
jump to the end
2018.10.25 22:06:12 1: Including fhem.cfg
2018.10.25 22:06:13 3: WEB: port 8083 opened
2018.10.25 22:06:13 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2018.10.25 22:06:13 1: usb create starting
2018.10.25 22:06:14 3: Probing CUL device /dev/ttyAMA0
2018.10.25 22:06:14 1: CUL: Can't open /dev/ttyAMA0: Permission denied
2018.10.25 22:06:14 1: usb create end
2018.10.25 22:06:14 0: Featurelevel: 5.9
2018.10.25 22:06:14 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:2369)
2018.10.25 22:08:50 3: telnetForBlockingFn_1540498130: port 37065 opened
2018.10.25 22:08:52 1: MKDIR restoreDir/update/2018-10-25
2018.10.25 22:08:53 1: UPD ./CHANGED
2018.10.25 22:08:53 1: saving fhem.cfg
2018.10.25 22:08:53 1:
2018.10.25 22:08:53 1: New entries in the CHANGED file:
2018.10.25 22:08:53 1: - feature: 98_Verkehrsinfo.pm: add attribut disable
2018.10.25 22:08:53 1: - feature: allowed: multi-allowed changes (Forum #92423)
2018.10.25 22:08:53 1: - feature: 93_DbRep: V8.4.0, reduceLog from DbLog integrated into DbRep,
2018.10.25 22:08:53 1: sqlCmd/dbValue with textField-long as default, both
2018.10.25 22:08:53 1: attributes timeOlderThan / timeDiffToNow can be set,
2018.10.25 22:08:53 1: get versionNotes changed to support en/de, new attribute
2018.10.25 22:08:53 1: "countEntriesDetail", countEntries separate count of
2018.10.25 22:08:53 1: every reading if attribute "countEntriesDetail" is set
2018.10.25 22:08:53 1: - change: 49_SSCam: COMPATIBILITY changed to 8.2.1
2018.10.25 22:08:53 1: - bugfix: 74_XiaomiBTLESens : fix warning Illegal hexadecimal digit
2018.10.25 22:08:53 1: ignored
2018.10.25 22:08:53 1: - bugfix: 93_DbLog: timer not deleted if reopen after reopen xxx executed
2018.10.25 22:08:53 1: (forum.fhem.de/index.php/topic,91869.msg848433.html#msg848433)
2018.10.25 22:08:53 1: - feature: 70_ZoneMinder: added attribute loginInterval and setter for login
2018.10.25 22:08:53 1: - bugfix: 38_netatmo: changed connection check mechanism
2018.10.25 22:08:53 1: - new: 98_SmarterCoffee: new modul for SmarterCoffee devices
2018.10.25 22:08:53 1: - bugfix: 74_XiaomiBTLESens: fix humidity bug
2018.10.25 22:08:53 1: - feature: 49_SSCam: direct help for attributes, new get versionNotes command
2018.10.25 22:08:53 1: - change: ROOMMATE, GUEST: Support for updated GEOFANCY version
2018.10.25 22:08:53 1: - feature: 98_GEOFANCY: add new reading LocTravDist; add support for
2018.10.25 22:08:53 1: Geofency.app webhook attributes radius, currentLatitude,
2018.10.25 22:08:53 1: currentLongitude, motion, wifiSSID and wifiBSSID.
2018.10.25 22:08:53 1: New readings: PosBSSID, PosLat, PosDistHome, PosDistLoc,
2018.10.25 22:08:53 1: PosLong, PosMotion, PosSSID, PosTravDist
2018.10.25 22:08:53 1: - bugfix: 98_GEOFANCY: fixed last* readings
2018.10.25 22:08:53 1: - feature: 89_FULLY: New commands for sound playback and photo.
2018.10.25 22:08:53 1: ... rest of lines skipped.
2018.10.25 22:08:53 1:
2018.10.25 22:08:53 1: update finished, "shutdown restart" is needed to activate the changes.
2018.10.25 22:08:53 1:
2018.10.25 22:08:53 1: Please consider using the global attribute sendStatistics
2018.10.25 22:15:51 0: Server shutdown
2018.10.25 22:15:52 1: Including fhem.cfg
2018.10.25 22:15:53 3: WEB: port 8083 opened
2018.10.25 22:15:53 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2018.10.25 22:15:53 1: Including ./log/fhem.save
2018.10.25 22:15:53 1: usb create starting
2018.10.25 22:15:54 3: Probing CUL device /dev/ttyAMA0
2018.10.25 22:15:54 1: CUL: Can't open /dev/ttyAMA0: Permission denied
2018.10.25 22:15:54 1: usb create end
2018.10.25 22:15:54 0: Featurelevel: 5.9
2018.10.25 22:15:54 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:2420)
2018.10.25 22:27:58 0: Server shutdown
2018.10.25 22:28:08 1: Including fhem.cfg
2018.10.25 22:28:09 3: WEB: port 8083 opened
2018.10.25 22:28:09 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.25 22:28:09 1: Including ./log/fhem.save
2018.10.25 22:28:09 0: Featurelevel: 5.9
2018.10.25 22:28:09 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:471)
2018.10.25 22:30:36 0: Server shutdown
2018.10.25 22:30:46 1: Including fhem.cfg
2018.10.25 22:30:47 3: WEB: port 8083 opened
2018.10.25 22:30:47 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.25 22:30:47 1: Including ./log/fhem.save
2018.10.25 22:30:47 0: Featurelevel: 5.9
2018.10.25 22:30:47 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:458)
2018.10.26 07:25:20 1: Connection refused from the non-local address 93.227.22.201:43670, as there is no working allowed instance defined for it
2018.10.26 07:25:20 1: Connection refused from the non-local address 93.227.22.201:43671, as there is no working allowed instance defined for it
2018.10.26 07:25:20 1: Connection refused from the non-local address 93.227.22.201:43672, as there is no working allowed instance defined for it
2018.10.26 07:25:20 1: Connection refused from the non-local address 93.227.22.201:43673, as there is no working allowed instance defined for it
2018.10.26 07:25:20 1: Connection refused from the non-local address 93.227.22.201:43674, as there is no working allowed instance defined for it
2018.10.26 07:25:20 1: Connection refused from the non-local address 93.227.22.201:43675, as there is no working allowed instance defined for it
2018.10.26 07:25:21 1: Connection refused from the non-local address 93.227.22.201:43677, as there is no working allowed instance defined for it
2018.10.26 07:25:21 1: Connection refused from the non-local address 93.227.22.201:43678, as there is no working allowed instance defined for it
2018.10.26 07:25:27 1: Connection refused from the non-local address 93.227.22.201:43680, as there is no working allowed instance defined for it
2018.10.26 07:25:35 1: Connection refused from the non-local address 93.227.22.201:43692, as there is no working allowed instance defined for it
2018.10.26 07:25:35 1: Connection refused from the non-local address 93.227.22.201:43693, as there is no working allowed instance defined for it
2018.10.26 07:25:35 1: Connection refused from the non-local address 93.227.22.201:43694, as there is no working allowed instance defined for it
2018.10.26 07:25:35 1: Connection refused from the non-local address 93.227.22.201:43695, as there is no working allowed instance defined for it
2018.10.26 07:25:35 1: Connection refused from the non-local address 93.227.22.201:43696, as there is no working allowed instance defined for it
2018.10.26 07:25:35 1: Connection refused from the non-local address 93.227.22.201:43697, as there is no working allowed instance defined for it
2018.10.26 07:25:36 1: Connection refused from the non-local address 93.227.22.201:43699, as there is no working allowed instance defined for it
2018.10.26 07:25:38 1: Connection refused from the non-local address 93.227.22.201:43700, as there is no working allowed instance defined for it
2018.10.26 07:25:39 1: Connection refused from the non-local address 93.227.22.201:43701, as there is no working allowed instance defined for it
2018.10.26 07:25:39 1: Connection refused from the non-local address 93.227.22.201:43702, as there is no working allowed instance defined for it
2018.10.26 07:25:40 1: Connection refused from the non-local address 93.227.22.201:43703, as there is no working allowed instance defined for it
2018.10.26 07:25:40 1: Connection refused from the non-local address 93.227.22.201:43704, as there is no working allowed instance defined for it
2018.10.26 07:25:40 1: Connection refused from the non-local address 93.227.22.201:43705, as there is no working allowed instance defined for it
2018.10.26 07:25:40 1: Connection refused from the non-local address 93.227.22.201:43706, as there is no working allowed instance defined for it
2018.10.26 07:25:40 1: Connection refused from the non-local address 93.227.22.201:43707, as there is no working allowed instance defined for it
2018.10.26 07:25:40 1: Connection refused from the non-local address 93.227.22.201:43708, as there is no working allowed instance defined for it
2018.10.26 08:28:36 0: Server shutdown
2018.10.26 08:28:37 1: Including fhem.cfg
2018.10.26 08:28:37 3: WEB: port 8083 opened
2018.10.26 08:28:37 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.26 08:28:37 1: Including ./log/fhem.save
2018.10.26 08:28:37 0: Featurelevel: 5.9
2018.10.26 08:28:37 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:5940)
2018.10.26 08:30:53 0: Server shutdown
2018.10.26 08:31:02 1: Including fhem.cfg
2018.10.26 08:31:03 3: WEB: port 8083 opened
2018.10.26 08:31:03 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.26 08:31:03 1: Including ./log/fhem.save
2018.10.26 08:31:03 0: Featurelevel: 5.9
2018.10.26 08:31:03 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:477)
2018.10.26 09:18:09 1: Including fhem.cfg
2018.10.26 09:18:10 3: WEB: port 8083 opened
2018.10.26 09:18:10 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.26 09:18:10 1: Including ./log/fhem.save
2018.10.26 09:18:10 0: Featurelevel: 5.9
2018.10.26 09:18:10 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:544)
2018.10.26 09:47:49 0: Server shutdown
2018.10.26 09:47:50 1: Including fhem.cfg
2018.10.26 09:47:50 3: WEB: port 8083 opened
2018.10.26 09:47:50 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.26 09:47:50 1: Including ./log/fhem.save
2018.10.26 09:47:50 0: Featurelevel: 5.9
2018.10.26 09:47:50 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:3851)
2018.10.26 09:48:01 0: Server shutdown
2018.10.26 09:48:01 1: Including fhem.cfg
2018.10.26 09:48:02 3: WEB: port 8083 opened
2018.10.26 09:48:02 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.26 09:48:02 1: Including ./log/fhem.save
2018.10.26 09:48:02 0: Featurelevel: 5.9
2018.10.26 09:48:02 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:3857)
2018.10.26 09:48:02 3: FHEMWEB WEB CSRF error: csrf_788936751486947 ne csrf_302408020113163 for client WEB_192.168.178.22_63979 / command shutdown restart. For details see the csrfToken FHEMWEB attribute.
2018.10.26 09:48:02 0: Server shutdown
2018.10.26 09:48:02 1: Including fhem.cfg
2018.10.26 09:48:03 3: WEB: port 8083 opened
2018.10.26 09:48:03 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.26 09:48:03 1: Including ./log/fhem.save
2018.10.26 09:48:03 0: Featurelevel: 5.9
2018.10.26 09:48:03 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:3863)
2018.10.26 10:25:38 0: Server shutdown
2018.10.26 10:25:38 1: Including fhem.cfg
2018.10.26 10:25:39 3: WEB: port 8083 opened
2018.10.26 10:25:39 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.26 10:25:39 1: Including ./log/fhem.save
2018.10.26 10:25:39 0: Featurelevel: 5.9
2018.10.26 10:25:39 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:4308)
2018.10.26 10:17:08 1: Including fhem.cfg
2018.10.26 10:17:08 3: WEB: port 8083 opened
2018.10.26 10:17:08 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.26 10:17:08 1: Including ./log/fhem.save
2018.10.26 10:17:08 0: Featurelevel: 5.9
2018.10.26 10:17:08 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:544)
Sind das die aktuellen Daten.
Hier kann etwas nicht stimmen.
Wie kann ich diese Situation lösen.
Erst wenn das richtig läuft möchte ich weiter machen.
Wer kann hierzu bitte Hilfestellung geben.
Gruß Michael
Hmmmm, ich kann nicht so richtig nachvollziehen, wo ein Problem sein soll. Was noch fehlt, ist die Verbindung vom zigbee2mqtt-Dienst zu FHEM. Dafür gibt es entweder
mosquitto+MQTT-Modul+Anleitung u. Modul v. Neumann
oder
schlicht MQTT2_Server+..._Device via autcreate wie im wiki dargestellt.
Scheinbar willst du es nicht mit den MQTT2-Modulen versuchen, daher kann ich nicht wirklich weiterhelfen.
Hallo Beta-User,
Danke für Deine Nachricht.
Die Testkarte läuft seit gestern mit dem esten China Devise.
Bin sehr zufrieden. Nun versuche ich die selbe Installation auf dem Hauptsystem zu realisieren.
ich bedanke mich für die Unterstützung.
Gruß Michael
Schön zu hören, dass es vorangeht.
Wenn du im fhem-log siehst, dass ein Perl-Modul fehlt: mit dh-make-perl (?) kann man feststellen, ob bzw. in welchem debian-Package das zu finden ist. Dann besser apt-get statt cpan verwenden.
Viel Erfolg weiterhin.
Hallo,
Habe eben versucht das Backup des Haupsystems auf die Testkarte
zu schieben.
Aus dem Sicherungsverzeichnis nach /home/pi.
Anschließend mit
sudo tar -xvzf /home/pi/FHEM-20181031_152014.tar.gz -C /opt/fhem/
gestartet.
Danach war das Testsystem verschwunden und das Hauptsystem installiert.
was ich erreichen wollte hat nicht funktioniert.
Habe dann durch das Test. Backup die Installation wieder hergestellt.
Gruß Michael
Du hast bestimmt vergessen, die Berechtigungen anzupassen?
chown -R fhem: /opf/fhem
Zitat von: exot am 31 Oktober 2018, 16:38:50
Danach war das Testsystem verschwunden und das Hauptsystem installiert.
was ich erreichen wollte hat nicht funktioniert.
Das klingt doch eigentlich nicht schlecht. Da dann noch die neuen Devices dazu (raw-Imporr) und das sollte es gewesen sein...
Dass die eine cfg die andere überschreibt, ist doch keine Überraschung, oder?
Zitat von: Wernieman am 31 Oktober 2018, 17:05:04
Du hast bestimmt vergessen, die Berechtigungen anzupassen?
chown -R fhem: /opf/fhem
Eigentlich braucht man das beim richtigen restore nicht - mit dem Befehl wie es exot gemacht hat werden die Rechte wiederhergestellt.
ZitatDanach war das Testsystem verschwunden und das Hauptsystem installiert.
Genau das hätte ich auch erwartet, was wolltest Du denn stattdessen erreichen?
Gruß Otto
Nachtrag noch:
Bitte prüfe,.ob das fhemlog nach dem restore und neustart irgendwelche Hinweise auf nicht geladene Module usw. enthält. Das muss zuerst bereinigt werden, sonst kann was beim Speichern verloren gehen!
dh-make-perl hatte ich als Hilfsmittel ja bereits erwähnt ;) .
Mach das ganze noch mal und wenn Fhem nicht startet, lade mal das Fhem Log in /opt/fhem/log/fhem-2018-11.log hier hoch.
Dort sollte drin stehen, was fehlt und wieso Fhem nicht startet.
Hallo,
Habe es eben noch einmal probiert
Hier kam aber schon diese Meldung:
pi@raspberrypi:~ $ sudo chown -R fhem: /opf/fhem
chown: Zugriff auf '/opf/fhem' nicht möglich: Datei oder Verzeichnis nicht gefunden
Das ist der Log Auszug
[code]2018.10.25 22:06:12 1: Including fhem.cfg
2018.10.25 22:06:13 3: WEB: port 8083 opened
2018.10.25 22:06:13 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2018.10.25 22:06:13 1: usb create starting
2018.10.25 22:06:14 3: Probing CUL device /dev/ttyAMA0
2018.10.25 22:06:14 1: CUL: Can't open /dev/ttyAMA0: Permission denied
2018.10.25 22:06:14 1: usb create end
2018.10.25 22:06:14 0: Featurelevel: 5.9
2018.10.25 22:06:14 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:2369)
2018.10.25 22:08:50 3: telnetForBlockingFn_1540498130: port 37065 opened
2018.10.25 22:08:52 1: MKDIR restoreDir/update/2018-10-25
2018.10.25 22:08:53 1: UPD ./CHANGED
2018.10.25 22:08:53 1: saving fhem.cfg
2018.10.25 22:08:53 1:
2018.10.25 22:08:53 1: New entries in the CHANGED file:
2018.10.25 22:08:53 1: - feature: 98_Verkehrsinfo.pm: add attribut disable
2018.10.25 22:08:53 1: - feature: allowed: multi-allowed changes (Forum #92423)
2018.10.25 22:08:53 1: - feature: 93_DbRep: V8.4.0, reduceLog from DbLog integrated into DbRep,
2018.10.25 22:08:53 1: sqlCmd/dbValue with textField-long as default, both
2018.10.25 22:08:53 1: attributes timeOlderThan / timeDiffToNow can be set,
2018.10.25 22:08:53 1: get versionNotes changed to support en/de, new attribute
2018.10.25 22:08:53 1: "countEntriesDetail", countEntries separate count of
2018.10.25 22:08:53 1: every reading if attribute "countEntriesDetail" is set
2018.10.25 22:08:53 1: - change: 49_SSCam: COMPATIBILITY changed to 8.2.1
2018.10.25 22:08:53 1: - bugfix: 74_XiaomiBTLESens : fix warning Illegal hexadecimal digit
2018.10.25 22:08:53 1: ignored
2018.10.25 22:08:53 1: - bugfix: 93_DbLog: timer not deleted if reopen after reopen xxx executed
2018.10.25 22:08:53 1: (forum.fhem.de/index.php/topic,91869.msg848433.html#msg848433)
2018.10.25 22:08:53 1: - feature: 70_ZoneMinder: added attribute loginInterval and setter for login
2018.10.25 22:08:53 1: - bugfix: 38_netatmo: changed connection check mechanism
2018.10.25 22:08:53 1: - new: 98_SmarterCoffee: new modul for SmarterCoffee devices
2018.10.25 22:08:53 1: - bugfix: 74_XiaomiBTLESens: fix humidity bug
2018.10.25 22:08:53 1: - feature: 49_SSCam: direct help for attributes, new get versionNotes command
2018.10.25 22:08:53 1: - change: ROOMMATE, GUEST: Support for updated GEOFANCY version
2018.10.25 22:08:53 1: - feature: 98_GEOFANCY: add new reading LocTravDist; add support for
2018.10.25 22:08:53 1: Geofency.app webhook attributes radius, currentLatitude,
2018.10.25 22:08:53 1: currentLongitude, motion, wifiSSID and wifiBSSID.
2018.10.25 22:08:53 1: New readings: PosBSSID, PosLat, PosDistHome, PosDistLoc,
2018.10.25 22:08:53 1: PosLong, PosMotion, PosSSID, PosTravDist
2018.10.25 22:08:53 1: - bugfix: 98_GEOFANCY: fixed last* readings
2018.10.25 22:08:53 1: - feature: 89_FULLY: New commands for sound playback and photo.
2018.10.25 22:08:53 1: ... rest of lines skipped.
2018.10.25 22:08:53 1:
2018.10.25 22:08:53 1: update finished, "shutdown restart" is needed to activate the changes.
2018.10.25 22:08:53 1:
2018.10.25 22:08:53 1: Please consider using the global attribute sendStatistics
2018.10.25 22:15:51 0: Server shutdown
2018.10.25 22:15:52 1: Including fhem.cfg
2018.10.25 22:15:53 3: WEB: port 8083 opened
2018.10.25 22:15:53 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2018.10.25 22:15:53 1: Including ./log/fhem.save
2018.10.25 22:15:53 1: usb create starting
2018.10.25 22:15:54 3: Probing CUL device /dev/ttyAMA0
2018.10.25 22:15:54 1: CUL: Can't open /dev/ttyAMA0: Permission denied
2018.10.25 22:15:54 1: usb create end
2018.10.25 22:15:54 0: Featurelevel: 5.9
2018.10.25 22:15:54 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:2420)
2018.10.25 22:27:58 0: Server shutdown
2018.10.25 22:28:08 1: Including fhem.cfg
2018.10.25 22:28:09 3: WEB: port 8083 opened
2018.10.25 22:28:09 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.25 22:28:09 1: Including ./log/fhem.save
2018.10.25 22:28:09 0: Featurelevel: 5.9
2018.10.25 22:28:09 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:471)
2018.10.25 22:30:36 0: Server shutdown
2018.10.25 22:30:46 1: Including fhem.cfg
2018.10.25 22:30:47 3: WEB: port 8083 opened
2018.10.25 22:30:47 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.25 22:30:47 1: Including ./log/fhem.save
2018.10.25 22:30:47 0: Featurelevel: 5.9
2018.10.25 22:30:47 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:458)
2018.10.26 07:25:20 1: Connection refused from the non-local address 93.227.22.201:43670, as there is no working allowed instance defined for it
2018.10.26 07:25:20 1: Connection refused from the non-local address 93.227.22.201:43671, as there is no working allowed instance defined for it
2018.10.26 07:25:20 1: Connection refused from the non-local address 93.227.22.201:43672, as there is no working allowed instance defined for it
2018.10.26 07:25:20 1: Connection refused from the non-local address 93.227.22.201:43673, as there is no working allowed instance defined for it
2018.10.26 07:25:20 1: Connection refused from the non-local address 93.227.22.201:43674, as there is no working allowed instance defined for it
2018.10.26 07:25:20 1: Connection refused from the non-local address 93.227.22.201:43675, as there is no working allowed instance defined for it
2018.10.26 07:25:21 1: Connection refused from the non-local address 93.227.22.201:43677, as there is no working allowed instance defined for it
2018.10.26 07:25:21 1: Connection refused from the non-local address 93.227.22.201:43678, as there is no working allowed instance defined for it
2018.10.26 07:25:27 1: Connection refused from the non-local address 93.227.22.201:43680, as there is no working allowed instance defined for it
2018.10.26 07:25:35 1: Connection refused from the non-local address 93.227.22.201:43692, as there is no working allowed instance defined for it
2018.10.26 07:25:35 1: Connection refused from the non-local address 93.227.22.201:43693, as there is no working allowed instance defined for it
2018.10.26 07:25:35 1: Connection refused from the non-local address 93.227.22.201:43694, as there is no working allowed instance defined for it
2018.10.26 07:25:35 1: Connection refused from the non-local address 93.227.22.201:43695, as there is no working allowed instance defined for it
2018.10.26 07:25:35 1: Connection refused from the non-local address 93.227.22.201:43696, as there is no working allowed instance defined for it
2018.10.26 07:25:35 1: Connection refused from the non-local address 93.227.22.201:43697, as there is no working allowed instance defined for it
2018.10.26 07:25:36 1: Connection refused from the non-local address 93.227.22.201:43699, as there is no working allowed instance defined for it
2018.10.26 07:25:38 1: Connection refused from the non-local address 93.227.22.201:43700, as there is no working allowed instance defined for it
2018.10.26 07:25:39 1: Connection refused from the non-local address 93.227.22.201:43701, as there is no working allowed instance defined for it
2018.10.26 07:25:39 1: Connection refused from the non-local address 93.227.22.201:43702, as there is no working allowed instance defined for it
2018.10.26 07:25:40 1: Connection refused from the non-local address 93.227.22.201:43703, as there is no working allowed instance defined for it
2018.10.26 07:25:40 1: Connection refused from the non-local address 93.227.22.201:43704, as there is no working allowed instance defined for it
2018.10.26 07:25:40 1: Connection refused from the non-local address 93.227.22.201:43705, as there is no working allowed instance defined for it
2018.10.26 07:25:40 1: Connection refused from the non-local address 93.227.22.201:43706, as there is no working allowed instance defined for it
2018.10.26 07:25:40 1: Connection refused from the non-local address 93.227.22.201:43707, as there is no working allowed instance defined for it
2018.10.26 07:25:40 1: Connection refused from the non-local address 93.227.22.201:43708, as there is no working allowed instance defined for it
2018.10.26 08:28:36 0: Server shutdown
2018.10.26 08:28:37 1: Including fhem.cfg
2018.10.26 08:28:37 3: WEB: port 8083 opened
2018.10.26 08:28:37 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.26 08:28:37 1: Including ./log/fhem.save
2018.10.26 08:28:37 0: Featurelevel: 5.9
2018.10.26 08:28:37 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:5940)
2018.10.26 08:30:53 0: Server shutdown
2018.10.26 08:31:02 1: Including fhem.cfg
2018.10.26 08:31:03 3: WEB: port 8083 opened
2018.10.26 08:31:03 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.26 08:31:03 1: Including ./log/fhem.save
2018.10.26 08:31:03 0: Featurelevel: 5.9
2018.10.26 08:31:03 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:477)
2018.10.26 09:18:09 1: Including fhem.cfg
2018.10.26 09:18:10 3: WEB: port 8083 opened
2018.10.26 09:18:10 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.26 09:18:10 1: Including ./log/fhem.save
2018.10.26 09:18:10 0: Featurelevel: 5.9
2018.10.26 09:18:10 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:544)
2018.10.26 09:47:49 0: Server shutdown
2018.10.26 09:47:50 1: Including fhem.cfg
2018.10.26 09:47:50 3: WEB: port 8083 opened
2018.10.26 09:47:50 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.26 09:47:50 1: Including ./log/fhem.save
2018.10.26 09:47:50 0: Featurelevel: 5.9
2018.10.26 09:47:50 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:3851)
2018.10.26 09:48:01 0: Server shutdown
2018.10.26 09:48:01 1: Including fhem.cfg
2018.10.26 09:48:02 3: WEB: port 8083 opened
2018.10.26 09:48:02 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.26 09:48:02 1: Including ./log/fhem.save
2018.10.26 09:48:02 0: Featurelevel: 5.9
2018.10.26 09:48:02 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:3857)
2018.10.26 09:48:02 3: FHEMWEB WEB CSRF error: csrf_788936751486947 ne csrf_302408020113163 for client WEB_192.168.178.22_63979 / command shutdown restart. For details see the csrfToken FHEMWEB attribute.
2018.10.26 09:48:02 0: Server shutdown
2018.10.26 09:48:02 1: Including fhem.cfg
2018.10.26 09:48:03 3: WEB: port 8083 opened
2018.10.26 09:48:03 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.26 09:48:03 1: Including ./log/fhem.save
2018.10.26 09:48:03 0: Featurelevel: 5.9
2018.10.26 09:48:03 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:3863)
2018.10.26 10:25:38 0: Server shutdown
2018.10.26 10:25:38 1: Including fhem.cfg
2018.10.26 10:25:39 3: WEB: port 8083 opened
2018.10.26 10:25:39 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.26 10:25:39 1: Including ./log/fhem.save
2018.10.26 10:25:39 0: Featurelevel: 5.9
2018.10.26 10:25:39 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:4308)
2018.10.26 10:17:08 1: Including fhem.cfg
2018.10.26 10:17:08 3: WEB: port 8083 opened
2018.10.26 10:17:08 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.26 10:17:08 1: Including ./log/fhem.save
2018.10.26 10:17:08 0: Featurelevel: 5.9
2018.10.26 10:17:08 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:544)
2018.10.27 11:41:16 0: Server shutdown
2018.10.27 11:41:17 1: Including fhem.cfg
2018.10.27 11:41:18 3: WEB: port 8083 opened
2018.10.27 11:41:18 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.27 11:41:18 1: Including ./log/fhem.save
2018.10.27 11:41:18 0: Featurelevel: 5.9
2018.10.27 11:41:18 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:12536)
2018.10.27 14:17:04 3: telnetForBlockingFn_1540642624: port 43687 opened
2018.10.27 14:17:06 1: UPD ./CHANGED
2018.10.27 14:17:06 1: UPD FHEM/01_FHEMWEB.pm
2018.10.27 14:17:07 1: UPD FHEM/70_PIONEERAVR.pm
2018.10.27 14:17:07 1: UPD FHEM/74_XiaomiBTLESens.pm
2018.10.27 14:17:07 1: saving fhem.cfg
2018.10.27 14:17:07 1: saving ./log/fhem.save
2018.10.27 14:17:07 1:
2018.10.27 14:17:07 1: New entries in the CHANGED file:
2018.10.27 14:17:07 1: - bugfix: 74_XiaomiBTLESens : fix humidity code
2018.10.27 14:17:07 1: Calling /usr/bin/perl ./contrib/commandref_join.pl -noWarnings, this may take a while
2018.10.27 14:18:01 1:
2018.10.27 14:18:01 1: update finished, "shutdown restart" is needed to activate the changes.
2018.10.27 14:18:01 1:
2018.10.27 14:18:01 1: Please consider using the global attribute sendStatistics
2018.10.27 14:20:06 0: Server shutdown
2018.10.27 14:20:07 1: Including fhem.cfg
2018.10.27 14:20:07 3: WEB: port 8083 opened
2018.10.27 14:20:07 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2018.10.27 14:20:07 1: Including ./log/fhem.save
2018.10.27 14:20:07 0: Featurelevel: 5.9
2018.10.27 14:20:07 0: Server started with 6 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:13782)
2018.10.27 14:22:17 2: Backup with command: tar -cf - "./CHANGED" "./configDB.pm" "./contrib" "./demolog" "./docs" "./FHEM" "./fhem.cfg" "./fhem.cfg.demo" "./fhem.pl" "./log" "./MAINTAINER.txt" "./README_DEMO.txt" "./restoreDir" "./unused" "./www" |gzip > ./backup/FHEM-20181027_142217.tar.gz
2018.10.27 14:22:17 3: telnetForBlockingFn_1540642937: port 34605 opened
Backup done
2018.10.27 18:30:08 3: Opening MQTT device localhost:1883
2018.10.27 18:30:08 3: MQTT device opened
2018.10.27 22:29:30 1: UPD FHEM/72_XiaomiMQTTDevice.pm
2018.10.27 22:29:30 1: saving fhem.cfg
2018.10.27 22:29:30 1: saving ./log/fhem.save
2018.10.27 22:29:30 1:
2018.10.27 22:29:30 1: New entries in the CHANGED file:
2018.10.27 22:29:30 1: 404: Not Found
2018.10.27 22:29:30 1: Calling /usr/bin/perl ./contrib/commandref_join.pl -noWarnings, this may take a while
2018.10.27 22:30:23 1: *** EN FHEM/72_XiaomiMQTTDevice.pm: No document text found
2018.10.27 22:30:23 1:
2018.10.27 22:30:23 1: update finished, "shutdown restart" is needed to activate the changes.
2018.10.27 22:30:23 1:
2018.10.27 22:30:23 1: Please consider using the global attribute sendStatistics
2018.10.28 10:25:38 0: Server shutdown
2018.10.28 10:25:38 1: Shutdown executed
2018.10.28 10:25:39 1: Including fhem.cfg
2018.10.28 10:25:39 3: WEB: port 8083 opened
2018.10.28 10:25:39 2: eventTypes: loaded 5 events from ./log/eventTypes.txt
2018.10.28 10:25:39 1: Including ./log/fhem.save
2018.10.28 10:25:39 3: Opening MQTT device localhost:1883
2018.10.28 10:25:39 3: MQTT device opened
2018.10.28 10:25:39 0: Featurelevel: 5.9
2018.10.28 10:25:39 0: Server started with 7 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:21069)
2018.10.28 10:57:48 3: telnetForBlockingFn_1540720668: port 39533 opened
2018.10.28 10:57:50 1: nothing to do...
2018.10.28 11:14:02 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/72_XiaomiMQTTDevice.pm line 259.
2018.10.28 11:14:02 1: PERL WARNING: Use of uninitialized value in regexp compilation at ./FHEM/10_MQTT_DEVICE.pm line 251.
2018.10.28 11:14:02 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 252.
2018.10.28 11:14:02 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 253.
2018.10.28 11:14:02 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.28 11:14:04 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.28 11:14:04 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.28 11:14:54 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.28 11:19:54 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.28 11:51:25 0: Server shutdown
2018.10.28 11:51:25 1: Shutdown executed
2018.10.28 11:51:34 1: Including fhem.cfg
2018.10.28 11:51:34 3: WEB: port 8083 opened
2018.10.28 11:51:34 2: eventTypes: loaded 11 events from ./log/eventTypes.txt
2018.10.28 11:51:37 1: Including ./log/fhem.save
2018.10.28 11:51:37 3: Opening MQTT device localhost:1883
2018.10.28 11:51:37 3: MQTT device opened
2018.10.28 11:51:37 0: Featurelevel: 5.9
2018.10.28 11:51:37 0: Server started with 8 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:542)
2018.10.28 11:51:37 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/72_XiaomiMQTTDevice.pm line 259.
2018.10.28 11:51:37 1: PERL WARNING: Use of uninitialized value in regexp compilation at ./FHEM/10_MQTT_DEVICE.pm line 251.
2018.10.28 11:51:37 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 252.
2018.10.28 11:51:37 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 253.
2018.10.28 11:51:37 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.28 11:51:37 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.28 11:52:51 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.28 11:58:28 2: Backup with command: tar -cf - "./CHANGED" "./configDB.pm" "./contrib" "./demolog" "./docs" "./FHEM" "./fhem.cfg" "./fhem.cfg.demo" "./fhem.pl" "./log" "./MAINTAINER.txt" "./README_DEMO.txt" "./restoreDir" "./unused" "./www" |gzip > ./backup/FHEM-20181028_115828.tar.gz
2018.10.28 11:58:29 3: telnetForBlockingFn_1540724308: port 40145 opened
Backup done
2018.10.28 11:59:54 0: Server shutdown
2018.10.28 11:59:54 1: Shutdown executed
2018.10.28 11:59:55 1: Including fhem.cfg
2018.10.28 11:59:55 3: WEB: port 8083 opened
2018.10.28 11:59:55 2: eventTypes: loaded 12 events from ./log/eventTypes.txt
2018.10.28 11:59:57 1: Including ./log/fhem.save
2018.10.28 11:59:57 3: Opening MQTT device localhost:1883
2018.10.28 11:59:57 3: MQTT device opened
2018.10.28 11:59:57 0: Featurelevel: 5.9
2018.10.28 11:59:57 0: Server started with 8 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:779)
2018.10.28 11:59:57 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/72_XiaomiMQTTDevice.pm line 259.
2018.10.28 11:59:57 1: PERL WARNING: Use of uninitialized value in regexp compilation at ./FHEM/10_MQTT_DEVICE.pm line 251.
2018.10.28 11:59:57 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 252.
2018.10.28 11:59:57 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 253.
2018.10.28 11:59:57 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.28 11:59:57 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.28 15:25:30 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.28 15:29:03 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.28 15:44:40 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.28 15:44:42 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.28 15:44:42 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.28 15:44:42 1: PERL WARNING: Use of uninitialized value $it in concatenation (.) or string at ./FHEM/98_autocreate.pm line 135.
2018.10.28 15:44:42 2: autocreate: define 0x00158d0002329079 XiaomiMQTTDevice unknown 0x00158d0002329079
2018.10.28 15:44:42 2: autocreate: define FileLog_0x00158d0002329079 FileLog ./log/0x00158d0002329079-%Y.log 0x00158d0002329079
2018.10.28 15:44:42 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.28 15:45:10 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.28 15:49:40 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.29 18:17:08 1: Including fhem.cfg
2018.10.29 18:17:08 3: WEB: port 8083 opened
2018.10.29 18:17:08 2: eventTypes: loaded 12 events from ./log/eventTypes.txt
2018.10.29 18:17:11 1: Including ./log/fhem.save
2018.10.29 18:17:11 3: Opening MQTT device localhost:1883
2018.10.29 18:17:11 3: MQTT device opened
2018.10.29 18:17:11 0: Featurelevel: 5.9
2018.10.29 18:17:11 0: Server started with 10 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:547)
2018.10.29 18:17:11 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/72_XiaomiMQTTDevice.pm line 259.
2018.10.29 18:17:11 1: PERL WARNING: Use of uninitialized value in regexp compilation at ./FHEM/10_MQTT_DEVICE.pm line 251.
2018.10.29 18:17:11 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 252.
2018.10.29 18:17:11 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 253.
2018.10.29 18:17:11 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.29 18:17:11 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.29 18:49:49 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.29 18:49:43 1: Including fhem.cfg
2018.10.29 18:49:43 3: WEB: port 8083 opened
2018.10.29 18:49:43 2: eventTypes: loaded 12 events from ./log/eventTypes.txt
2018.10.29 18:49:46 1: Including ./log/fhem.save
2018.10.29 18:49:46 3: Opening MQTT device localhost:1883
2018.10.29 18:49:46 3: MQTT device opened
2018.10.29 18:49:46 0: Featurelevel: 5.9
2018.10.29 18:49:46 0: Server started with 10 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:550)
2018.10.29 18:49:46 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/72_XiaomiMQTTDevice.pm line 259.
2018.10.29 18:49:46 1: PERL WARNING: Use of uninitialized value in regexp compilation at ./FHEM/10_MQTT_DEVICE.pm line 251.
2018.10.29 18:49:46 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 252.
2018.10.29 18:49:46 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 253.
2018.10.29 18:49:46 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.29 18:49:46 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.29 22:46:54 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.30 15:55:21 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.30 15:55:56 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.30 15:56:47 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.30 15:57:11 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.30 15:58:22 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.30 15:58:39 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.30 15:59:17 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.30 16:02:13 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.30 16:02:22 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.30 16:02:22 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.30 16:02:22 1: PERL WARNING: Use of uninitialized value $it in concatenation (.) or string at ./FHEM/98_autocreate.pm line 135.
2018.10.30 16:02:22 2: autocreate: define 0x00158d00023213f6 XiaomiMQTTDevice unknown 0x00158d00023213f6
2018.10.30 16:02:22 2: autocreate: define FileLog_0x00158d00023213f6 FileLog ./log/0x00158d00023213f6-%Y.log 0x00158d00023213f6
2018.10.30 16:02:22 1: RMDIR: ./restoreDir/save/2018-10-25
2018.10.30 16:02:22 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.30 16:02:48 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.30 16:07:13 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.30 17:32:15 1: Including fhem.cfg
2018.10.30 17:32:16 3: WEB: port 8083 opened
2018.10.30 17:32:16 2: eventTypes: loaded 12 events from ./log/eventTypes.txt
2018.10.30 17:32:18 1: Including ./log/fhem.save
2018.10.30 17:32:18 3: Opening MQTT device localhost:1883
2018.10.30 17:32:18 3: MQTT device opened
2018.10.30 17:32:18 0: Featurelevel: 5.9
2018.10.30 17:32:18 0: Server started with 12 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:549)
2018.10.30 17:32:18 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/72_XiaomiMQTTDevice.pm line 259.
2018.10.30 17:32:18 1: PERL WARNING: Use of uninitialized value in regexp compilation at ./FHEM/10_MQTT_DEVICE.pm line 251.
2018.10.30 17:32:18 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 252.
2018.10.30 17:32:18 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 253.
2018.10.30 17:32:18 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.30 17:32:18 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.30 18:04:37 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.31 07:42:48 1: Including fhem.cfg
2018.10.31 07:42:49 3: WEB: port 8083 opened
2018.10.31 07:42:49 2: eventTypes: loaded 12 events from ./log/eventTypes.txt
2018.10.31 07:42:51 1: Including ./log/fhem.save
2018.10.31 07:42:51 3: Opening MQTT device localhost:1883
2018.10.31 07:42:51 3: MQTT device opened
2018.10.31 07:42:51 0: Featurelevel: 5.9
2018.10.31 07:42:51 0: Server started with 12 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:651)
2018.10.31 07:42:51 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/72_XiaomiMQTTDevice.pm line 259.
2018.10.31 07:42:51 1: PERL WARNING: Use of uninitialized value in regexp compilation at ./FHEM/10_MQTT_DEVICE.pm line 251.
2018.10.31 07:42:51 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 252.
2018.10.31 07:42:51 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 253.
2018.10.31 07:42:51 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.31 07:42:51 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.31 09:22:59 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.31 14:29:02 1: Including fhem.cfg
2018.10.31 14:29:03 3: WEB: port 8083 opened
2018.10.31 14:29:03 2: eventTypes: loaded 12 events from ./log/eventTypes.txt
2018.10.31 14:29:05 1: Including ./log/fhem.save
2018.10.31 14:29:05 3: Opening MQTT device localhost:1883
2018.10.31 14:29:05 3: MQTT device opened
2018.10.31 14:29:05 0: Featurelevel: 5.9
2018.10.31 14:29:05 0: Server started with 12 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:605)
2018.10.31 14:29:05 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/72_XiaomiMQTTDevice.pm line 259.
2018.10.31 14:29:05 1: PERL WARNING: Use of uninitialized value in regexp compilation at ./FHEM/10_MQTT_DEVICE.pm line 251.
2018.10.31 14:29:05 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 252.
2018.10.31 14:29:05 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 253.
2018.10.31 14:29:05 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.31 14:29:05 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.31 14:50:01 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.31 15:17:11 3: telnetForBlockingFn_1540995431: port 36689 opened
2018.10.31 15:17:13 1:
2018.10.31 15:17:13 1: fhem
2018.10.31 15:17:13 1: RMDIR: ./restoreDir/update/2018-10-25
2018.10.31 15:17:14 1: UPD ./CHANGED
2018.10.31 15:17:14 1: UPD FHEM/01_FHEMWEB.pm
2018.10.31 15:17:14 1: UPD FHEM/42_AptToDate.pm
2018.10.31 15:17:14 1: UPD FHEM/70_ZoneMinder.pm
2018.10.31 15:17:14 1: UPD FHEM/73_AMADCommBridge.pm
2018.10.31 15:17:14 1: UPD FHEM/74_AMADDevice.pm
2018.10.31 15:17:14 1: UPD FHEM/77_UWZ.pm
2018.10.31 15:17:14 1: UPD FHEM/88_HMCCU.pm
2018.10.31 15:17:14 1: UPD FHEM/88_HMCCUDEV.pm
2018.10.31 15:17:14 1: UPD FHEM/89_FULLY.pm
2018.10.31 15:17:14 1: UPD FHEM/93_DbRep.pm
2018.10.31 15:17:15 1: UPD FHEM/93_Log2Syslog.pm
2018.10.31 15:17:15 1: UPD FHEM/98_SmarterCoffee.pm
2018.10.31 15:17:15 1: UPD FHEM/lib/74_AMADautomagicFlowset_4.2.4.xml
2018.10.31 15:17:15 1: UPD FHEM/lib/74_AMADtaskerset_4.2.4.prj.xml
2018.10.31 15:17:15 1: UPD www/pgm2/fhemweb.js
2018.10.31 15:17:15 1: saving fhem.cfg
2018.10.31 15:17:15 1: saving ./log/fhem.save
2018.10.31 15:17:15 1:
2018.10.31 15:17:15 1: New entries in the CHANGED file:
2018.10.31 15:17:15 1: - feature: 77_UWZ: new language support, french and hollandisch
2018.10.31 15:17:15 1: - change: 93_DbRep: V8.6.0, devices and readings can be excluded by
2018.10.31 15:17:15 1: EXCLUDE-option in attributes "reading/device",
2018.10.31 15:17:15 1: reduceLog use attributes "device/reading" - see
2018.10.31 15:17:15 1: commandref for further information
2018.10.31 15:17:15 1: - change: 73_AMADCommBridge 74_AMADDevice: change commandref, change version
2018.10.31 15:17:15 1: - feature: 70_ZoneMinder: introduced Attribute usePublicUrlForZmWeb
2018.10.31 15:17:15 1: - bugfix 98_SmarterCoffee: fix fhem crash bug
2018.10.31 15:17:15 1: - feature: 88_HMCCU: client device update optimized
2018.10.31 15:17:15 1: - bugfix: 89_FULLY: fixed version check bug
2018.10.31 15:17:15 1: - feature: 74_AMADtaskerset: import with share link
2018.10.31 15:17:15 1: - change: 42_AptToDate: change to package methode
2018.10.31 15:17:15 1: - bugfix: 74_XiaomiBTLESens: fix humidity code
2018.10.31 15:17:15 1: - feature: 98_Verkehrsinfo.pm: add attribut disable
2018.10.31 15:17:15 1: - feature: allowed: multi-allowed changes (Forum #92423)
2018.10.31 15:17:15 1: - feature: 93_DbRep: V8.4.0, reduceLog from DbLog integrated into DbRep,
2018.10.31 15:17:15 1: sqlCmd/dbValue with textField-long as default, both
2018.10.31 15:17:15 1: attributes timeOlderThan / timeDiffToNow can be set,
2018.10.31 15:17:15 1: get versionNotes changed to support en/de, new attribute
2018.10.31 15:17:15 1: "countEntriesDetail", countEntries separate count of
2018.10.31 15:17:15 1: every reading if attribute "countEntriesDetail" is set
2018.10.31 15:17:15 1: - change: 49_SSCam: COMPATIBILITY changed to 8.2.1
2018.10.31 15:17:15 1: - bugfix: 74_XiaomiBTLESens : fix warning Illegal hexadecimal digit
2018.10.31 15:17:15 1: ignored
2018.10.31 15:17:15 1: - bugfix: 93_DbLog: timer not deleted if reopen after reopen xxx executed
2018.10.31 15:17:15 1: (forum.fhem.de/index.php/topic,91869.msg848433.html#msg848433)
2018.10.31 15:17:15 1: ... rest of lines skipped.
2018.10.31 15:17:15 1:
2018.10.31 15:17:15 1:
2018.10.31 15:17:15 1: xiaomi-zb2mqtt
2018.10.31 15:17:17 1: nothing to do...
2018.10.31 15:17:17 1: Calling /usr/bin/perl ./contrib/commandref_join.pl -noWarnings, this may take a while
2018.10.31 15:18:08 1: *** EN FHEM/72_XiaomiMQTTDevice.pm: No document text found
2018.10.31 15:18:08 1:
2018.10.31 15:18:08 1: update finished, "shutdown restart" is needed to activate the changes.
2018.10.31 15:18:08 1:
2018.10.31 15:18:08 1: Please consider using the global attribute sendStatistics
2018.10.31 15:19:09 0: Server shutdown
2018.10.31 15:19:09 1: Shutdown executed
2018.10.31 15:19:10 1: Including fhem.cfg
2018.10.31 15:19:10 3: WEB: port 8083 opened
2018.10.31 15:19:10 2: eventTypes: loaded 32 events from ./log/eventTypes.txt
2018.10.31 15:19:13 1: Including ./log/fhem.save
2018.10.31 15:19:13 3: Opening MQTT device localhost:1883
2018.10.31 15:19:13 3: MQTT device opened
2018.10.31 15:19:13 0: Featurelevel: 5.9
2018.10.31 15:19:13 0: Server started with 12 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:831)
2018.10.31 15:19:13 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/72_XiaomiMQTTDevice.pm line 259.
2018.10.31 15:19:13 1: PERL WARNING: Use of uninitialized value in regexp compilation at ./FHEM/10_MQTT_DEVICE.pm line 251.
2018.10.31 15:19:13 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 252.
2018.10.31 15:19:13 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 253.
2018.10.31 15:19:13 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.31 15:19:13 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.31 15:20:14 2: Backup with command: tar -cf - "./CHANGED" "./configDB.pm" "./contrib" "./demolog" "./docs" "./FHEM" "./fhem.cfg" "./fhem.cfg.demo" "./fhem.pl" "./log" "./MAINTAINER.txt" "./README_DEMO.txt" "./restoreDir" "./unused" "./www" |gzip > ./backup/FHEM-20181031_152014.tar.gz
2018.10.31 15:20:14 3: telnetForBlockingFn_1540995614: port 43325 opened
2018.10.31 16:10:26 3: [UtilsHourCounter] Init Done with Version 1.0.1.0 - 10.12.2014 (john)
2018.10.31 16:10:26 1: reload: Error:Modul 99_myUtils deactivated:
2018.10.31 16:10:26 1: Including fhem.cfg
2018.10.31 16:10:26 3: WEB: port 8083 opened
2018.10.31 16:10:26 2: eventTypes: loaded 32 events from ./log/eventTypes.txt
2018.10.31 16:10:32 1: Including ./log/fhem.save
2018.10.31 16:10:32 3: Opening MQTT device localhost:1883
2018.10.31 16:10:32 3: MQTT device opened
2018.10.31 16:10:32 0: Featurelevel: 5.9
2018.10.31 16:10:32 0: Server started with 12 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:1447)
2018.10.31 16:10:32 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/72_XiaomiMQTTDevice.pm line 259.
2018.10.31 16:10:32 1: PERL WARNING: Use of uninitialized value in regexp compilation at ./FHEM/10_MQTT_DEVICE.pm line 251.
2018.10.31 16:10:32 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 252.
2018.10.31 16:10:32 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 253.
2018.10.31 16:10:32 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.31 16:10:32 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.31 16:21:50 0: Server shutdown
2018.10.31 16:21:50 1: Shutdown executed
2018.10.31 16:22:00 3: [UtilsHourCounter] Init Done with Version 1.0.1.0 - 10.12.2014 (john)
2018.10.31 16:22:00 1: reload: Error:Modul 99_myUtils deactivated:
2018.10.31 16:22:00 1: Including fhem.cfg
2018.10.31 16:22:01 3: WEB: port 8083 opened
2018.10.31 16:22:01 2: eventTypes: loaded 32 events from ./log/eventTypes.txt
2018.10.31 16:22:03 1: Including ./log/fhem.save
2018.10.31 16:22:03 3: Opening MQTT device localhost:1883
2018.10.31 16:22:03 3: MQTT device opened
2018.10.31 16:22:03 0: Featurelevel: 5.9
2018.10.31 16:22:03 0: Server started with 12 defined entities (fhem.pl:17613/2018-10-24 perl:5.024001 os:linux user:fhem pid:500)
2018.10.31 16:22:03 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/72_XiaomiMQTTDevice.pm line 259.
2018.10.31 16:22:03 1: PERL WARNING: Use of uninitialized value in regexp compilation at ./FHEM/10_MQTT_DEVICE.pm line 251.
2018.10.31 16:22:03 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 252.
2018.10.31 16:22:03 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/10_MQTT_DEVICE.pm line 253.
2018.10.31 16:22:03 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.31 16:22:03 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.31 16:23:18 3: xBridge: unknown attribute subscribeReading_. Type 'attr xBridge ?' for a detailed list.
2018.10.31 20:07:13 0: Server shutdown
2018.10.31 20:07:13 1: Shutdown executed
2018.10.31 20:19:54 3: [UtilsHourCounter] Init Done with Version 1.0.1.0 - 10.12.2014 (john)
2018.10.31 20:19:54 1: reload: Error:Modul 99_myUtils deactivated:
2018.10.31 20:19:55 1: Including fhem.cfg
2018.10.31 20:19:55 3: telnetPort: port 7072 opened
2018.10.31 20:19:55 3: WEB: port 8083 opened
2018.10.31 20:19:55 3: WEBphone: port 8084 opened
2018.10.31 20:19:55 3: WEBtablet: port 8085 opened
2018.10.31 20:19:55 2: eventTypes: loaded 1744 events from ./log/eventTypes.txt
2018.10.31 20:19:56 1: reload: Error:Modul 01_fronthem deactivated:
Can't locate Net/WebSocket/Server/Connection.pm in @INC (you may need to install the Net::WebSocket::Server::Connection module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/arm-linux-gnueabihf/perl5/5.24 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM) at FHEM/fhwebsocket.pm line 27, <$fh> line 51.
BEGIN failed--compilation aborted at FHEM/fhwebsocket.pm line 27, <$fh> line 51.
Compilation failed in require at ./FHEM/01_fronthem.pm line 30, <$fh> line 51.
BEGIN failed--compilation aborted at ./FHEM/01_fronthem.pm line 30, <$fh> line 51.
2018.10.31 20:19:56 0: Can't locate Net/WebSocket/Server/Connection.pm in @INC (you may need to install the Net::WebSocket::Server::Connection module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/arm-linux-gnueabihf/perl5/5.24 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM) at FHEM/fhwebsocket.pm line 27, <$fh> line 51.
BEGIN failed--compilation aborted at FHEM/fhwebsocket.pm line 27, <$fh> line 51.
Compilation failed in require at ./FHEM/01_fronthem.pm line 30, <$fh> line 51.
BEGIN failed--compilation aborted at ./FHEM/01_fronthem.pm line 30, <$fh> line 51.
2018.10.31 20:19:56 1: PERL WARNING: readline() on closed filehandle DATA at ./FHEM/58_GPIO4.pm line 132.
2018.10.31 20:19:56 1: PERL WARNING: Use of uninitialized value in pattern match (m//) at ./FHEM/58_GPIO4.pm line 132.
2018.10.31 20:19:56 1: HMLAN_Parse: HMLAN1 new condition disconnected
2018.10.31 20:19:56 3: Opening HMLAN1 device 192.168.178.32:1000
2018.10.31 20:19:56 1: HMLAN_Parse: HMLAN1 new condition init
2018.10.31 20:19:56 3: HMLAN1 device opened
2018.10.31 20:19:57 3: HM485: HM485: Loading available device files
2018.10.31 20:19:57 3: HM485: =====================================
2018.10.31 20:19:57 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_central.pm
2018.10.31 20:19:57 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_generic.pm
2018.10.31 20:19:57 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_io12_sw14_dr.pm
2018.10.31 20:19:57 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_io12_sw7_dr.pm
2018.10.31 20:19:57 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_io12_sw7_dr_V3_02.pm
2018.10.31 20:19:57 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_io_12_fm.pm
2018.10.31 20:19:57 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_io_4_fm.pm
2018.10.31 20:19:57 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_io_4_fm_V3_02.pm
2018.10.31 20:19:57 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_io_sr_fm.pm
2018.10.31 20:19:57 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_lc_bl1_dr.pm
2018.10.31 20:19:57 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_lc_bl1_dr_V3_02.pm
2018.10.31 20:19:57 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_lc_dim1l_dr.pm
2018.10.31 20:19:57 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_lc_sw2_dr.pm
2018.10.31 20:19:57 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_lc_sw2_dr_V3_02.pm
2018.10.31 20:19:57 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_sen_sc_12_dr.pm
2018.10.31 20:19:57 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_virtual.pm
2018.10.31 20:19:57 2: hm485: Assigned 0001129C as HMW_IO_12_Sw7_DR_LEQ1286311
2018.10.31 20:19:57 3: Opening FlammTronik device /dev/ttyUSB1
2018.10.31 20:19:57 3: Can't open /dev/ttyUSB1: No such file or directory
2018.10.31 20:19:57 1: PERL WARNING: Can't exec "export": Datei oder Verzeichnis nicht gefunden at ./FHEM/51_RPI_GPIO.pm line 647, <$fh> line 489.
2018.10.31 20:19:57 1: PERL WARNING: Use of uninitialized value $exp_result in pattern match (m//) at ./FHEM/51_RPI_GPIO.pm line 649, <$fh> line 489.
2018.10.31 20:19:57 1: PERL WARNING: Use of uninitialized value $exp_result in concatenation (.) or string at ./FHEM/51_RPI_GPIO.pm line 659, <$fh> line 489.
2018.10.31 20:20:02 1: PERL WARNING: Can't exec "export": Datei oder Verzeichnis nicht gefunden at ./FHEM/51_RPI_GPIO.pm line 647, <$fh> line 489.
2018.10.31 20:20:02 1: Can't open file: GPIOBrennstoffzaehler, active_low
2018.10.31 20:20:02 1: PERL WARNING: Can't exec "export": Datei oder Verzeichnis nicht gefunden at ./FHEM/51_RPI_GPIO.pm line 647, <$fh> line 492.
2018.10.31 20:20:02 1: PERL WARNING: Use of uninitialized value $exp_result in pattern match (m//) at ./FHEM/51_RPI_GPIO.pm line 649, <$fh> line 492.
2018.10.31 20:20:02 1: PERL WARNING: Use of uninitialized value $exp_result in concatenation (.) or string at ./FHEM/51_RPI_GPIO.pm line 659, <$fh> line 492.
2018.10.31 20:20:02 1: Can't open file: GPIOBrennstoffzaehler, edge
2018.10.31 20:20:02 1: PERL WARNING: Can't exec "-g": Datei oder Verzeichnis nicht gefunden at ./FHEM/51_RPI_GPIO.pm line 647, <$fh> line 494.
2018.10.31 20:20:02 1: PERL WARNING: Use of uninitialized value $exp_result in pattern match (m//) at ./FHEM/51_RPI_GPIO.pm line 649, <$fh> line 494.
2018.10.31 20:20:02 1: PERL WARNING: Use of uninitialized value $exp_result in concatenation (.) or string at ./FHEM/51_RPI_GPIO.pm line 659, <$fh> line 494.
2018.10.31 20:20:02 1: PERL WARNING: Useless use of a constant ("Verbrauch") in void context at (eval 33) line 1, <$fh> line 501.
2018.10.31 20:20:02 1: PERL WARNING: Useless use of a constant ("%.2f Kg") in void context at (eval 33) line 1, <$fh> line 501.
2018.10.31 20:20:02 1: PERL WARNING: Useless use of a constant ("Woche") in void context at (eval 33) line 1, <$fh> line 501.
2018.10.31 20:20:02 1: PERL WARNING: Useless use of a constant ("Monat") in void context at (eval 33) line 1, <$fh> line 501.
2018.10.31 20:20:02 1: PERL WARNING: Useless use of a constant ("Jahr") in void context at (eval 33) line 1, <$fh> line 501.
2018.10.31 20:20:02 3: HourCounter HourCounter Initialize.220 Init Done with Version 1.0.1.2 - 24.12.2014
2018.10.31 20:20:02 0: HourCounter CN.BrennstoffverbrauchDay Define.228 parameters: CN.BrennstoffverbrauchDay HourCounter GPIOBrennstoffzaehler:on GPIOBrennstoffzaehler:off
2018.10.31 20:20:02 0: HourCounter CN.BrennstoffverbrauchWeek Define.228 parameters: CN.BrennstoffverbrauchWeek HourCounter GPIOBrennstoffzaehler:on GPIOBrennstoffzaehler:off
2018.10.31 20:20:02 0: HourCounter CN.BrennstoffverbrauchMonth Define.228 parameters: CN.BrennstoffverbrauchMonth HourCounter GPIOBrennstoffzaehler:on GPIOBrennstoffzaehler:off
2018.10.31 20:20:02 0: HourCounter CN.BrennstoffverbrauchYear Define.228 parameters: CN.BrennstoffverbrauchYear HourCounter GPIOBrennstoffzaehler:on GPIOBrennstoffzaehler:off
2018.10.31 20:20:02 1: PERL WARNING: Useless use of a constant ("Kosten") in void context at (eval 34) line 1, <$fh> line 538.
2018.10.31 20:20:02 1: PERL WARNING: Useless use of a constant ("%.2f \x{20ac}") in void context at (eval 34) line 1, <$fh> line 538.
2018.10.31 20:20:02 1: PERL WARNING: Useless use of a constant ("Woche") in void context at (eval 34) line 1, <$fh> line 538.
2018.10.31 20:20:02 1: PERL WARNING: Useless use of a constant ("Monat") in void context at (eval 34) line 1, <$fh> line 538.
2018.10.31 20:20:02 1: PERL WARNING: Useless use of a constant ("Jahr") in void context at (eval 34) line 1, <$fh> line 538.
2018.10.31 20:20:02 0: HourCounter CN.BrennstoffkostenDay Define.228 parameters: CN.BrennstoffkostenDay HourCounter GPIOBrennstoffzaehler:on GPIOBrennstoffzaehler:off
2018.10.31 20:20:02 0: HourCounter CN.BrennstoffkostenWeek Define.228 parameters: CN.BrennstoffkostenWeek HourCounter GPIOBrennstoffzaehler:on GPIOBrennstoffzaehler:off
2018.10.31 20:20:02 0: HourCounter CN.BrennstoffkostenMonth Define.228 parameters: CN.BrennstoffkostenMonth HourCounter GPIOBrennstoffzaehler:on GPIOBrennstoffzaehler:off
2018.10.31 20:20:02 0: HourCounter CN.BrennstoffkostenYear Define.228 parameters: CN.BrennstoffkostenYear HourCounter GPIOBrennstoffzaehler:on GPIOBrennstoffzaehler:off
2018.10.31 20:20:02 1: PERL WARNING: Can't exec "export": Datei oder Verzeichnis nicht gefunden at ./FHEM/51_RPI_GPIO.pm line 647, <$fh> line 572.
2018.10.31 20:20:02 1: PERL WARNING: Use of uninitialized value $exp_result in pattern match (m//) at ./FHEM/51_RPI_GPIO.pm line 649, <$fh> line 572.
2018.10.31 20:20:02 1: PERL WARNING: Use of uninitialized value $exp_result in concatenation (.) or string at ./FHEM/51_RPI_GPIO.pm line 659, <$fh> line 572.
2018.10.31 20:20:07 1: PERL WARNING: Can't exec "export": Datei oder Verzeichnis nicht gefunden at ./FHEM/51_RPI_GPIO.pm line 647, <$fh> line 572.
2018.10.31 20:20:07 1: Can't open file: GPIOWasserstand, active_low
2018.10.31 20:20:07 1: PERL WARNING: Can't exec "export": Datei oder Verzeichnis nicht gefunden at ./FHEM/51_RPI_GPIO.pm line 647, <$fh> line 575.
2018.10.31 20:20:07 1: PERL WARNING: Use of uninitialized value $exp_result in pattern match (m//) at ./FHEM/51_RPI_GPIO.pm line 649, <$fh> line 575.
2018.10.31 20:20:07 1: PERL WARNING: Use of uninitialized value $exp_result in concatenation (.) or string at ./FHEM/51_RPI_GPIO.pm line 659, <$fh> line 575.
2018.10.31 20:20:07 1: Can't open file: GPIOWasserstand, edge
2018.10.31 20:20:07 1: PERL WARNING: Can't exec "-g": Datei oder Verzeichnis nicht gefunden at ./FHEM/51_RPI_GPIO.pm line 647, <$fh> line 577.
2018.10.31 20:20:07 1: PERL WARNING: Use of uninitialized value $exp_result in pattern match (m//) at ./FHEM/51_RPI_GPIO.pm line 649, <$fh> line 577.
2018.10.31 20:20:07 1: PERL WARNING: Use of uninitialized value $exp_result in concatenation (.) or string at ./FHEM/51_RPI_GPIO.pm line 659, <$fh> line 577.
2018.10.31 20:20:08 1: Including ./log/fhem.save
2018.10.31 20:20:08 1: configfile: Cannot load module fronthem
./log/fhem.save: Please define fronthem first
Please define fronthem first
2018.10.31 20:20:08 3: Device HM_32AED8 added to ActionDetector with 000:10 time
2018.10.31 20:20:08 3: Device HM_454323 added to ActionDetector with 000:10 time
2018.10.31 20:20:08 3: Device HM_4EC118 added to ActionDetector with 012:00 time
2018.10.31 20:20:08 3: Device HM_4EC127 added to ActionDetector with 012:00 time
2018.10.31 20:20:08 3: Device Rauchmelder_Dachboden added to ActionDetector with 099:00 time
2018.10.31 20:20:08 3: Device Rauchmelder_Flur added to ActionDetector with 099:00 time
2018.10.31 20:20:08 3: Device Rauchmelder_Schlafzimmer added to ActionDetector with 099:00 time
2018.10.31 20:20:08 1: in INITIALIZED
2018.10.31 20:20:08 1: in INITIALIZED
2018.10.31 20:20:08 1: PERL WARNING: readline() on closed filehandle SLAVES at ./FHEM/58_GPIO4.pm line 85.
2018.10.31 20:20:08 1: in INITIALIZED
2018.10.31 20:20:08 1: usb create starting
2018.10.31 20:20:08 3: Probing CUL device /dev/ttyACM0
2018.10.31 20:20:09 3: Probing TCM_ESP3 device /dev/ttyACM0
2018.10.31 20:20:09 3: Probing ZWDongle device /dev/ttyACM0
2018.10.31 20:20:09 3: Probing FRM device /dev/ttyACM0
2018.10.31 20:20:14 3: Probing CUL device /dev/ttyAMA0
2018.10.31 20:20:14 3: Can't open /dev/ttyAMA0: Permission denied
2018.10.31 20:20:14 3: Probing CUL device /dev/ttyS0
2018.10.31 20:20:14 1: PERL WARNING: can't getattr: Input/output error at FHEM/DevIo.pm line 394.
2018.10.31 20:20:14 3: Can't open /dev/ttyS0: Input/output error
2018.10.31 20:20:14 1: usb create end
2018.10.31 20:20:14 0: Featurelevel: 5.8
2018.10.31 20:20:14 0: Server started with 162 defined entities (fhem.pl:16312/2018-03-02 perl:5.024001 os:linux user:fhem pid:2145)
2018.10.31 20:20:14 3: hm485: Start HM485d with command line: ./FHEM/lib/HM485/HM485d/HM485d.pl --serialNumber SGW0123456 --device /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A504DLYK-if00-port0 --localPort 2000
2018.10.31 20:20:14 3: hm485: HM485d was started with PID: 2165
2018.10.31 20:20:14 3: hm485: Connect to HM485d delayed for 5 seconds
2018.10.31 20:20:14 3: hm485: Warte auf Initialisierung Gateway
2018.10.31 20:20:14 3: CUL_HM set SteckdosePflanzenLEDKeller statusRequest
2018.10.31 20:20:15 3: HMLAN1: Unknown code A164C86534BE1540000000041003D42003943000444FFFC::-88:HMLAN1, help me!
2018.10.31 20:20:15 3: HMLAN1: Unknown code A164D86534BE1540000000041003B42003943000244FFFE::-82:HMLAN1, help me!
2018.10.31 20:20:15 3: HMLAN1: Unknown code A164E86534BE1540000000041003D42003943000444FFFC::-83:HMLAN1, help me!
2018.10.31 20:20:15 3: HMLAN1: Unknown code A164F86534BE1540000000041003E42003B43000344FFFD::-83:HMLAN1, help me!
2018.10.31 20:20:15 3: HMLAN1: Unknown code A165086534BE1540000000041003E42003B43000344FFFD::-82:HMLAN1, help me!
2018.10.31 20:20:15 3: HMLAN1: Unknown code A165186534BE1540000000041003E42003B43000344FFFD::-82:HMLAN1, help me!
2018.10.31 20:20:15 3: HMLAN1: Unknown code A165286534BE1540000000041003E42003B43000344FFFD::-82:HMLAN1, help me!
2018.10.31 20:20:15 3: HMLAN1: Unknown code A165386534BE1540000000041003E42003B43000344FFFD::-82:HMLAN1, help me!
2018.10.31 20:20:15 1: HMLAN_Parse: HMLAN1 new condition ok
2018.10.31 20:20:15 3: CUL_HM set SteckdosePflanzenLEDGarage statusRequest
2018.10.31 20:20:17 0: HourCounter CN.BrennstoffverbrauchDay Run.598 first run done countsOverall:19518
2018.10.31 20:20:17 0: HourCounter CN.BrennstoffverbrauchWeek Run.598 first run done countsOverall:19517
2018.10.31 20:20:17 0: HourCounter CN.BrennstoffverbrauchMonth Run.598 first run done countsOverall:19517
2018.10.31 20:20:17 0: HourCounter CN.BrennstoffverbrauchYear Run.598 first run done countsOverall:22606
2018.10.31 20:20:17 0: HourCounter CN.BrennstoffkostenDay Run.598 first run done countsOverall:19518
2018.10.31 20:20:17 0: HourCounter CN.BrennstoffkostenWeek Run.598 first run done countsOverall:19518
2018.10.31 20:20:17 0: HourCounter CN.BrennstoffkostenMonth Run.598 first run done countsOverall:19518
2018.10.31 20:20:17 0: HourCounter CN.BrennstoffkostenYear Run.598 first run done countsOverall:22606
2018.10.31 20:20:17 3: CUL_HM set Rauchmelder_Dachboden statusRequest
2018.10.31 20:20:18 3: CUL_HM set Rauchmelder_Flur statusRequest
2018.10.31 20:20:19 3: CUL_HM set Rauchmelder_Schlafzimmer statusRequest
2018.10.31 20:20:19 3: hm485: Warte auf Initialisierung Gateway
2018.10.31 20:20:20 3: Opening hm485 device localhost:2000
2018.10.31 20:20:20 3: hm485: connected to device localhost:2000
2018.10.31 20:20:20 3: hm485 device opened
2018.10.31 20:20:20 3: hm485: Lan Device Information
2018.10.31 20:20:20 3: hm485: Protocol-Version: 01
2018.10.31 20:20:20 3: hm485: Interface-Type: HMW-SOFT-GW
2018.10.31 20:20:20 3: hm485: Firmware-Version: 0.2.2
2018.10.31 20:20:20 3: hm485: Serial-Number: SGW0123456
2018.10.31 20:20:20 3: hm485: Initialize the interface
2018.10.31 20:20:20 3: CUL_HM set Rollo_WC statusRequest
2018.10.31 20:20:21 3: CUL_HM set Rollo_WZ_Garten statusRequest
2018.10.31 20:20:22 3: CUL_HM set Rollo_WZ_Terrasse statusRequest
2018.10.31 20:20:23 1: PERL WARNING: Use of uninitialized value $data{"min3"} in concatenation (.) or string at (eval 171) line 1.
2018.10.31 20:20:23 3: eval: { "XXX Min $data{min3}, Max $data{max3}, Last $data{currval3}, Sauerstoff min $data{min1} Max $data{max1} Last $data{currval1}" }
2018.10.31 20:20:23 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at (eval 171) line 1.
2018.10.31 20:20:23 3: eval: { "XXX Min $data{min3}, Max $data{max3}, Last $data{currval3}, Sauerstoff min $data{min1} Max $data{max1} Last $data{currval1}" }
2018.10.31 20:20:23 3: CUL_HM set Rollo_WZ_Tuer statusRequest
2018.10.31 20:20:24 3: hm485: Initialisierung von Modul 0001129C
2018.10.31 20:20:25 3: hm485: HM485_QueueStepFailed Call step
2018.10.31 20:20:25 3: HMW_IO_12_Sw7_DR_LEQ1286311: RESPONSE TIMEOUT for 0001129C
2018.10.31 20:20:30 3: hm485: Initialisierung von Modul 0001129C
2018.10.31 20:20:31 3: hm485: HM485_QueueStepFailed Call step
2018.10.31 20:20:31 3: HMW_IO_12_Sw7_DR_LEQ1286311: RESPONSE TIMEOUT for 0001129C
2018.10.31 20:20:36 3: hm485: Initialisierung von Modul 0001129C
2018.10.31 20:20:36 3: hm485: HM485_QueueStepFailed Call step
2018.10.31 20:20:36 3: HMW_IO_12_Sw7_DR_LEQ1286311: RESPONSE TIMEOUT for 0001129C
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Kosten") in void context at (eval 215) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("%.2f \x{20ac}") in void context at (eval 215) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Woche") in void context at (eval 215) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Monat") in void context at (eval 215) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Jahr") in void context at (eval 215) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Kosten") in void context at (eval 217) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("%.2f \x{20ac}") in void context at (eval 217) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Woche") in void context at (eval 217) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Monat") in void context at (eval 217) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Jahr") in void context at (eval 217) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Kosten") in void context at (eval 219) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("%.2f \x{20ac}") in void context at (eval 219) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Woche") in void context at (eval 219) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Monat") in void context at (eval 219) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Jahr") in void context at (eval 219) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Kosten") in void context at (eval 221) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("%.2f \x{20ac}") in void context at (eval 221) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Woche") in void context at (eval 221) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Monat") in void context at (eval 221) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Jahr") in void context at (eval 221) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Verbrauch") in void context at (eval 223) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("%.2f Kg") in void context at (eval 223) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Woche") in void context at (eval 223) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Monat") in void context at (eval 223) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Jahr") in void context at (eval 223) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Verbrauch") in void context at (eval 225) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("%.2f Kg") in void context at (eval 225) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Woche") in void context at (eval 225) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Monat") in void context at (eval 225) line 1.
2018.10.31 20:20:39 1: PERL WARNING: Useless use of a constant ("Jahr") in void context at (eval 225
Bezüglich:
chown -R fhem: /opf/fhem
Fehler: "To many Fingers on Keyboard" .... habe mich vertippt (sorry). Natürlich:
chown -R fhem: /opt/fhem
f<>t
Bitte versuche bei allen Tipps immer mitzudenken.....
Un .... was denkst Du, will Dir diese Fehlermeldung sagen?
2018.10.31 20:19:57 3: Opening FlammTronik device /dev/ttyUSB1
2018.10.31 20:19:57 3: Can't open /dev/ttyUSB1: No such file or directory
Btw: Bitte arbeite nicht mit den generischen Namen (hier ttyUSB1), sondern lieber durch /dev/by-id/......
Ich würde noch die Gruppe mit rein nehmen, also ein: sudo chown fhem:dialout /opt/fhem -R
Aber daran liegt es nicht..
Was ist genau nun mit Fhem? Startet es nicht?
Weil ein wirklichen schwerwiegenden Fehler sehe ich nicht.
Außer vielleicht das hier:
2018.10.31 20:19:56 1: reload: Error:Modul 01_fronthem deactivated:
Can't locate Net/WebSocket/Server/Connection.pm in @INC (you may need to install the Net::WebSocket::Server::Connection module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/arm-linux-gnueabihf/perl5/5.24 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM) at FHEM/fhwebsocket.pm line 27, <$fh> line 51.
BEGIN failed--compilation aborted at FHEM/fhwebsocket.pm line 27, <$fh> line 51.
Compilation failed in require at ./FHEM/01_fronthem.pm line 30, <$fh> line 51.
BEGIN failed--compilation aborted at ./FHEM/01_fronthem.pm line 30, <$fh> line 51.
2018.10.31 20:19:56 0: Can't locate Net/WebSocket/Server/Connection.pm in @INC (you may need to install the Net::WebSocket::Server::Connection module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/arm-linux-gnueabihf/perl5/5.24 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM) at FHEM/fhwebsocket.pm line 27, <$fh> line 51.
BEGIN failed--compilation aborted at FHEM/fhwebsocket.pm line 27, <$fh> line 51.
Compilation failed in require at ./FHEM/01_fronthem.pm line 30, <$fh> line 51.
BEGIN failed--compilation aborted at ./FHEM/01_fronthem.pm line 30, <$fh> line 51.
Für Fronfhem musst du halt noch die fehlenden Pakete installieren: https://wiki.fhem.de/wiki/Fronthem_Installation
Am besten mit dh-make-perl, als Debian Paket.. Aber das wäre jetzt zu viel zu erklären. :)
Und natürlich das mit /dev/tty1, da würde ich auch lieber den richtigen Pfad vom /dev/serial/by-id/<gerätename> in die fhem.cfg eintragen.
Hmmm, da ist einiges, was nachzuarbeiten ist....
Zum einen ist da was mit gpio-Nutzung. Dann gibt es diverse Usb-Geräte, die man besser by-id einbindet.
Um das zu korrigieren, würde ich ausnahmsweise das editieren der cfg empfehlen. Dort bitte initialUsbCheck deaktivieren und alle usb-Geräte by-id definieren. mcedit verwenden. Nach jeder Änderung fhem neu starten, log kontrollieren. Uns hier interessiert übrigens nur, was für den letzten Start im log steht. Aktuelles log einfach umbenennen...
Bzgl. Gpio:
(eigentlich sollte man Logik und Hardware trennen und daher auf gpio-Nutzung am Pi direkt verzichten)
Der user fhem muss in die Gruppe gpio, wenn ich mich recht entsinne; bitte bei ubuntuusers.de nachlesen, wie man das macht!
Hallo,
Ich muss mich wieder mal entschuldigen.
Klar denken ist heute nicht mehr mein Ding. :'( :'( :'(
Bin mit den Karten und mit den pi´s etwas :-X durcheinander gekommen.
Jetzt habe ich die richtige zuordnung gefunden.
Auf der Testkarte ist das Backup des Hauptsystems installiert.
Diese Karte steckt jetzt im pi 2B angeschlossen sind alle USB Abgänge sowie GPIO´s.
Habe folgendes kontrolliert:
pi@raspberrypi:~ $ sudo journalctl -u zigbee2mqtt.service -f
-- Logs begin at Wed 2018-10-31 21:17:01 CET. --
Okt 31 21:40:33 raspberrypi npm[481]: zigbee2mqtt:warn 2018-10-31 21:40:33 `permit_join` set to `true` in configuration.yaml.
Okt 31 21:40:33 raspberrypi npm[481]: zigbee2mqtt:warn 2018-10-31 21:40:33 Allowing new devices to join.
Okt 31 21:40:33 raspberrypi npm[481]: zigbee2mqtt:warn 2018-10-31 21:40:33 Set `permit_join` to `false` once you joined all devices.
Okt 31 21:40:33 raspberrypi npm[481]: zigbee2mqtt:info 2018-10-31 21:40:33 Zigbee: allowing new devices to join.
Okt 31 21:40:33 raspberrypi npm[481]: zigbee2mqtt:info 2018-10-31 21:40:33 Connecting to MQTT server at mqtt://localhost
Okt 31 21:40:34 raspberrypi npm[481]: zigbee2mqtt:info 2018-10-31 21:40:34 zigbee-shepherd ready
Okt 31 21:40:34 raspberrypi npm[481]: zigbee2mqtt:info 2018-10-31 21:40:34 Connected to MQTT server
Okt 31 21:40:34 raspberrypi npm[481]: zigbee2mqtt:info 2018-10-31 21:40:34 MQTT publish, topic: 'zigbee2mqtt/bridge/state', payload: 'online'
Okt 31 21:40:34 raspberrypi npm[481]: zigbee2mqtt:info 2018-10-31 21:40:34 MQTT publish, topic: 'zigbee2mqtt/0x00158d0002329079', payload: '{"temperature":21.68,"linkquality":0,"humidity":46.79,"pressure":1017.81,"battery":"99.00","voltage":3005}'
Okt 31 21:40:34 raspberrypi npm[481]: zigbee2mqtt:info 2018-10-31 21:40:34 MQTT publish, topic: 'zigbee2mqtt/0x00158d00023213f6', payload: '{"temperature":7.5,"linkquality":26,"humidity":96.02,"pressure":1018,"battery":"99.00","voltage":3025}'
^C
pi@raspberrypi:~ $ sudo service mosquitto status
● mosquitto.service - LSB: mosquitto MQTT v3.1 message broker
Loaded: loaded (/etc/init.d/mosquitto; generated; vendor preset: enabled)
Active: active (running) since Wed 2018-10-31 21:30:49 CET; 14min ago
Docs: man:systemd-sysv-generator(8)
Process: 298 ExecStart=/etc/init.d/mosquitto start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/mosquitto.service
└─347 /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
Okt 31 21:30:48 raspberrypi systemd[1]: Starting LSB: mosquitto MQTT v3.1 message broker...
Okt 31 21:30:49 raspberrypi mosquitto[298]: Starting network daemon:: mosquitto.
Okt 31 21:30:49 raspberrypi systemd[1]: Started LSB: mosquitto MQTT v3.1 message broker.
pi@raspberrypi:~ $ ls -l /dev/serial/by-id
insgesamt 0
lrwxrwxrwx 1 root root 13 Okt 31 21:17 usb-FTDI_FT232R_USB_UART_A504DLYK-if00-port0 -> ../../ttyUSB1
lrwxrwxrwx 1 root root 13 Okt 31 21:17 usb-FTDI_FT232R_USB_UART_AJ038KYV-if00-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root 13 Okt 31 21:17 usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D9DCCF-if00 -> ../../ttyACM0
Zigbee2mqtt funktioniert und
Mosquitto funktioniert.
Aber wo finde ich die Aquara Teile.
Gruß Michael
Nach dem pairen sind die im Fhem Raum "XiaomiMQTTDevice".
Hallo Mark,
Bitte entschuldige,
das ist mir bekannt, denn auf der ursprünglichen TestKarte war der Raum vorhanden. ;)
Jetz nach dem ich das Backup eingespielt habe fehlt er aber.
Ich überlege , ob ich morgen die Brigde erneut installiere und dann versuche die Sensoren neu zu laden,
Gute Nacht
Gruß Michael
Nix für ungut, aber bitte stelle dir ernsthaft die Frage, ob du dich mit Fhem nicht schlicht überforderst.
Es ist OK, wenn man mal was durcheinander bringt (passiert mir selbst auch gar nicht so selten), aber diese Häufung hier ist erschreckend. Die Wortwahl mag drastisch erscheinen, aber bitte glaube mir, dass ich nicht verärgert bin oder so was, und es nicht böse meine. Aber diese ganzen Themen sind komplex, und wenn du es nicht für dich hinbekommst, deine Vorgehensweise zu strukturieren, werden sich die Frusterlebnisse häufen und die Helfer trollen.
Klingt nicht besonders zukunftsfähig.
Aber immerhin scheint du dieses Problem erkannt zu haben, das ist manchmal auch schon ein großer Teil der Lösung.
Just my2ct...
Beta-User
Dann versuche in Fhem mal ein: set xBridge updateDevices
Dadurch sollten die Devices neu angelegt werden, falls es sie gibt.
Wenn das nicht geht, würde ich einfach noch mal pairen... dadurch werden die Devices neu angelegt.
Zitat von: exot am 31 Oktober 2018, 23:24:41
Hallo Mark,
Bitte entschuldige,
das ist mir bekannt, denn auf der ursprünglichen TestKarte war der Raum vorhanden. ;)
Jetz nach dem ich das Backup eingespielt habe fehlt er aber.
Ich überlege , ob ich morgen die Brigde erneut installiere und dann versuche die Sensoren neu zu laden,
Gute Nacht
Gruß Michael
Ist denn auf dem per restore erstellten System schon ein 00_MQTT definiert?
Wenn nein: ist dir klar, was du mit restore gemacht hast und warum es fehlt?
@mark79
ZitatIch würde noch die Gruppe mit rein nehmen, also ein: sudo chown fhem:dialout /opt/fhem -R
Aber daran liegt es nicht..
Wenn Du meinen Befehl gelesen hättest:
chown fhem: /opt/fhem -R
währe Dir aufgefallen, das ich nur ein : eingetragen habe. Ohne Gruppe dürfte auch kein : stehen. Dadurch das dort keine Gruppe steht, nimmt Unix die Standardgruppe des Users. Dieses ist Optimaler, als eine 2. Gruppe (hier dialout) einzutragen. Nicht bei jedem System ist fhem in der Gruppe ... aber eine Standardgruppe hat fhem (wie jeder User) immer.
Hallo,,
Habe mir eben noch mal alles angesehen.
pi@raspberrypi:/opt/zigbee2mqtt $ systemctl status zigbee2mqtt.service
● zigbee2mqtt.service - zigbee2mqtt
Loaded: loaded (/etc/systemd/system/zigbee2mqtt.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2018-11-01 14:25:48 CET; 11min ago
Main PID: 25580 (npm)
CGroup: /system.slice/zigbee2mqtt.service
├─25580 npm
├─25611 sh -c node index.js
└─25612 node index.js
Nov 01 14:25:55 raspberrypi npm[25580]: zigbee2mqtt:warn 2018-11-1 14:25:55 Set `permit_join` to `false` once you joined all devices.
Nov 01 14:25:55 raspberrypi npm[25580]: zigbee2mqtt:info 2018-11-1 14:25:55 Zigbee: allowing new devices to join.
Nov 01 14:25:55 raspberrypi npm[25580]: zigbee2mqtt:info 2018-11-1 14:25:55 Connecting to MQTT server at mqtt://localhost
Nov 01 14:25:56 raspberrypi npm[25580]: zigbee2mqtt:info 2018-11-1 14:25:56 zigbee-shepherd ready
Nov 01 14:25:56 raspberrypi npm[25580]: zigbee2mqtt:info 2018-11-1 14:25:56 Connected to MQTT server
Nov 01 14:25:56 raspberrypi npm[25580]: zigbee2mqtt:info 2018-11-1 14:25:56 MQTT publish, topic: 'zigbee2mqtt/bridge/state', payload: 'online'
Nov 01 14:25:56 raspberrypi npm[25580]: zigbee2mqtt:info 2018-11-1 14:25:56 MQTT publish, topic: 'zigbee2mqtt/0x00158d0002329079', payload: '{"temperature":22.51,"li
Nov 01 14:25:56 raspberrypi npm[25580]: zigbee2mqtt:info 2018-11-1 14:25:56 MQTT publish, topic: 'zigbee2mqtt/0x00158d00023213f6', payload: '{"temperature":12.12,"li
Nov 01 14:30:18 raspberrypi npm[25580]: zigbee2mqtt:info 2018-11-1 14:30:18 MQTT publish, topic: 'zigbee2mqtt/0x00158d0002329079', payload: '{"temperature":22.51,"li
Nov 01 14:30:18 raspberrypi npm[25580]: zigbee2mqtt:info 2018-11-1 14:30:18 MQTT publish, topic: 'zigbee2mqtt/0x00158d0002329079', payload: '{"temperature":22.49,"li
lines 1-19/19 (END)
Hier ist doch eindeutig zu sehen das 2 Temperatursensoren vorhanden sind.
12,12° Gewächshaus und 22,5° Testsensor im Haus.
Wenn ich jetzt:
define xBridge XiaomiMQTTDevice bridge
ausführe und speichere hängt sich Fhem auf.
Die xBridge wird nicht eingebunden deshalb geht natürlich auch ein
set xBridge updateDevices
nicht.
Gruß Michael