Neues Modul: Signalbot (Integration für den Signal Messenger) via signal-cli

Begonnen von Adimarantis, 31 Januar 2021, 19:16:19

Vorheriges Thema - Nächstes Thema

Flachzange

Zitat von: Gisbert am 10 Oktober 2022, 18:02:38
Na klasse, und was machen die, die keine Container haben, u.a. weil sie es gerade mal geschafft haben einen Raspi oder einen Server mit Debian einzurichten?
Windows installieren und irgendetwas anderes als FHEM benutzen? Mal ernsthaft: Wenn es nicht Container sind, die Dich abhängen, dann ist die nächste Technologie. Container haben eigentlich nichts mit Linux zu tun, auch wenn sie da natürlich vornehmlich auftreten und ehrlich gesagt sollte es Dir damit sogar viel leichter fallen ein lauffähiges FHEM schnell zu deployen.

Zitat von: Gisbert am 10 Oktober 2022, 18:02:38
Eine Lösung, die auch die mitnimmt, die sich mit Linux nicht sehr gut auskennen, würde mir besser gefallen.
Ist die Lösung nicht eher, sich mehr mit Linux vertraut zu machen? Adimarantis macht hier einen Mordsjob und hat eine mehr oder wenige out-of-the-box-Lösung geschaffen, aber es wird aufgrund von so vielen Faktoren immer wieder Probleme geben, bei denen man selber "Hand anlegen" muss und auch zumindest in groben Zügen verstehen, was da so im Hintergrund passiert. Ich bin auch wahrlich kein Profi, aber mit der Zeit muss man sich einfach etwas reinfuchsen.

Und der Vorschlag rubinho schlägt ja genau in diese Kerbe. Ich bin mir nicht sicher, ob er die viele Kommentare und Nachfragen nach so einem Update verhindert hätte, aber damit könnte man zumindest einfach und schnelle einen Fix für die breite Masse bereitstellen ohne dass jeder selber das Update händisch durchführt.

rubinho

@Gisbert

Meine Intension war/ist ja die Sache für alle Beteiligten einfacher zu machen.
Mir ist auch klar, dass die meiste Arbeit an Adimarantis hängen würde, sofern er dies machen würde.
Auch kenne ich nicht alle Fallstricke die mit einem Umstieg auf Docker verbunden sind. Allerdings sehe ich, seitdem ich mich mit Docker auseinandersetze die enormen Vorteile. Man muss sich keine Gedanken mehr über Abhängikeiten, Versionsunterschiede oder Wechselwirkungen machen.
Ja Adimarantis Script funktioniert in der Regel auf einem frischen System tadelos, aber bei eingefahrenen Systemen kann es das ein oder andere Mal zu Problemen kommen auf die Adimarantis keinen Einfluss hat.
Und ehrlich, ein Docker mitsamt eines Containers aufzusetzen ist nicht komplizierter, wie das Ausführen des bisherigen Scriptes.

Wie schon geschrieben, es soll nur ein Denkanstoß sein um es auf Dauer einfacher zu machen, nicht komplizierter.

Wenn die Realisierung zu kompliziert ist, oder entscheidende Nachteile dadurch entstehen, kann ich auch sehr gut mit der vorhandenen Lösung leben.

Gruß
Rubinho
Fhem 5.9@Zotac Zbox Ci327 | HMCCU | Z-Wave@ZMEEUZB1 | HUE Bridge Gen2 | knxd over IP

Kohle77

Hi,
irgendwie habe ich meine Signalbot installation zerschossen :-(
Also dachte ich mir ich lade mir das neuste install script auf meinen PI aber dort bekomme ich dann folgenden Fehler:
ZitatChecking user fhem ...found
Downloading Java from adoptium...successful
Unpacking ...tar (child): OpenJDK17U-jre__linux_hotspot_17.0.4.1_1.tar.gz: Funktion open fehlgeschlagen: Datei oder Verzeichnis nicht gefunden
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
mv: der Aufruf von stat für 'jdk*' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
rm: das Entfernen von 'OpenJDK17U-jre__linux_hotspot_17.0.4.1_1.tar.gz' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
done
./signal_install.sh: Zeile 305: /opt/java/bin/java: Datei oder Verzeichnis nicht gefunden
./signal_install.sh: Zeile 330: /opt/java/bin/java: Datei oder Verzeichnis nicht gefunden
Error: Java  found, but Java 17.0 required
Something went wrong that this script cannot resolved - please fix manually

Zitatpi@raspberrypi:~ $ whoami
pi
pi@raspberrypi:~ $

ZitatPRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Ich starte das install script mit sudo ./signal_install.sh
Wenn ich die Passage in dem script richtig verstehe wird java nach /opt heruntergeladen aber ich kann dort nichts sehen was java betrifft....  :(

Gruß
Christian

Adimarantis

Was gibt bei dir der Befehl
arch
aus?

Das Script erwartet hier entweder armv7l or x86_64 - und hat wohl leider keine Fehlerbehandlung wenn das nicht zutrifft.
Da du auf einem Raspi bist, kannst du mal testweise bei Zeile 175 (nach GLIBC=) einfügen
ARCH=armhf
ARCHJ=arm

Eventuell tuts dann erstmal.
Raspberry 4 + HM-MOD-RPI-PCB (pivCCU) + RfxTrx433XL + 2xRaspberry 1
Module: 50_Signalbot, 52_I2C_ADS1x1x , 58_RPI_1Wire, (50_SPI_MAX31865)

laberlaib

Zitat von: Adimarantis am 06 Oktober 2022, 21:38:49
Update auf signal-cli 0.11.2

Dieses Update ist zwingend erforderlich, da sich anscheinend intern etwas beim Signal Server verändert hat.
Ich habe zwar Signalbot auch aktualisiert, aber neu ist nur dass er bei Versionen <0.11.2 meckert. Es ist nur ein signal-cli update notwendig.

Vorgehensweise:
1. in FHEM
set reinit
Sollte das aktuelle Install script nach www/signal laden - zur Kontrolle: SCRIPTVERSION="3.10"
2. in der Shell im Verzeichnis www/signal
sudo -E ./signal_install.sh
Installation durchführen, alte signal-cli version überschreiben.
Achtung an alle V0.9.2 und Java11 Nutzer - update auf Java17 ist notwendig!
3. wieder in FHEM
set reinit
Sollte das Account nicht mehr gesetzt sein, mit
set signalAccount <nummer>
neu setzen.

Danach sollte eigentlich alles wieder funktionieren.

Funktioniert! Top! Danke!

Habe 5 Tage gebraucht um zu merken, dass etwas nicht stimmt.
--
Proxmox, Homematic, G-Tags, Zigbee2MQTT, Rhasspy Sprachsteuerung im Aufbau (beta)

cwagner

Auch bei mir hat es super geklappt - danke für die schnelle Arbeit der Anpassung. Im Hilfetext des Moduls steht noch als Aufruf des Scriptes zum update sudo ./signal_install.sh, also der Parameter -E nicht genannt wird. Ich kann nicht beurteilen, ob die damit verlangte Erhaltung der User-Umgebung zwingend notwendig für den Erfolg des Scripte ist.

Herzliche Grüße

Christian
PI 2B+/3B+ Raspbian 12, Perl 5.36.0, FHEM 6.3: 295 Module in ConfigDB: Steuerung Heizkessel, FBH, Solarthermie, kontr. Lüftung mit WRG. Smarthome u.a. HMCUL, 1-Wire (FT232RL ; DS2480B), EnOcean (TCM EPS3), MQTT2. DOIF, PID20, Threshold, OWX; Micropelt IRTV, Volkszähler, SolarForecast; MariaDB

Adimarantis

Danke für den Hinweis. Werd ich updaten.
Das "-E" ist wichtig für Leute die ein eigenes JAVA_HOME gesetzt haben - sonst wird das Environment nicht über sudo weitergegeben.
Raspberry 4 + HM-MOD-RPI-PCB (pivCCU) + RfxTrx433XL + 2xRaspberry 1
Module: 50_Signalbot, 52_I2C_ADS1x1x , 58_RPI_1Wire, (50_SPI_MAX31865)

enno

Moin,

ich versuche gerade die Stellschraube zu finden, um Umlaute (UTF-8) in Plots (plotAsPng) richtig dargestellt zu bekommen. Wenn ich mit send @Joerg &SVG_MYSQL_1 den Plot FHEM_02.jpg sende, kommen die Umlaute nicht an. Ergebnis in Signal siehe FHEM_01.jpg. An welcher "Schraube" muss ich drehen, damit die Sonderzeichen im Plot richtig ankommen. Sonderzeichen mit Signal als Text gesendet kommen richtig an. Es muss also irgendwo in der Funktion plotAsPng bei mir nicht stimmen. Ideen?

Die SVG_MYSQL_1.gplot:
# Created by FHEM/98_SVG.pm, 2022-10-11 20:39:53
set terminal png transparent size <SIZE> crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel " "
set title 'Umlaute öäü und Emojis
set ytics
set y2tics
set grid
set ylabel ""
set y2label ""

#MYSQL DG_HM_Wetterstation:temperature

plot "<IN>" using 1:2 axes x1y2 title 'ö ä ü ' ls l0 lw 1 with lines


Gruss
  Enno
Einfacher FHEM Anwender auf Intel®NUC

Adimarantis

Hi Enno,

da hilft es FHEM komplett auf Unicode umzustellen:
attr global encoding unicode

Achtung:
- Das Ändern dieses Attributs führt zu einem sofortigen FHEM Neustart (ohne Nachfrage)
- Nicht alle Module unterstützen Unicode schon sauber - es kann also sein, dass du das Problem für SVG zwar löst, es dir aber woanders auf die Füße fällt

Ich fahre meine FHEM Umgebung bereits seit längerem mit dieser Einstellung. Von den Modulen die ich verwende, weiss ich nur das PROPLANTA Probleme hat (das hab ich mir gepatched). Es gibt aber natürlich noch 100+ Module die ich nicht verwende.

Jörg


Raspberry 4 + HM-MOD-RPI-PCB (pivCCU) + RfxTrx433XL + 2xRaspberry 1
Module: 50_Signalbot, 52_I2C_ADS1x1x , 58_RPI_1Wire, (50_SPI_MAX31865)

enno

Zitat von: Adimarantis am 11 Oktober 2022, 21:39:47
- Nicht alle Module unterstützen Unicode schon sauber - es kann also sein, dass du das Problem für SVG zwar löst, es dir aber woanders auf die Füße fällt

ok, das wird eine grössere OP: 2022.10.11 22:18:40.936 1: PERL WARNING: UTF-8 "\xED\xAE" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.936 1: PERL WARNING: UTF-8 "\xB7" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.936 1: PERL WARNING: UTF-8 "\x87" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.936 1: PERL WARNING: UTF-8 "\xC7" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.937 1: PERL WARNING: UTF-8 "\xBF" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.937 1: PERL WARNING: UTF-8 "\x85" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.937 1: PERL WARNING: UTF-8 "\x94" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.937 1: PERL WARNING: UTF-8 "\xA0" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.937 1: PERL WARNING: UTF-8 "\xB6" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.937 1: PERL WARNING: UTF-8 "\x8D" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.937 1: PERL WARNING: UTF-8 "\xAC" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.937 1: PERL WARNING: UTF-8 "\xE1" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.937 1: PERL WARNING: UTF-8 "\xAB" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.937 1: PERL WARNING: UTF-8 "\xC6" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.938 1: PERL WARNING: UTF-8 "\x96" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.938 1: PERL WARNING: UTF-8 "\xB1" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.938 1: PERL WARNING: UTF-8 "\xE5" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.938 1: PERL WARNING: UTF-8 "\xA7" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.938 1: PERL WARNING: UTF-8 "\xA1" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.938 1: PERL WARNING: UTF-8 "\x88" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.938 1: PERL WARNING: UTF-8 "\xDF" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.938 1: PERL WARNING: UTF-8 "\xB3" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.938 1: PERL WARNING: UTF-8 "\xF8" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.939 1: PERL WARNING: UTF-8 "\x84" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.939 1: PERL WARNING: UTF-8 "\xFF\xAC" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.939 1: PERL WARNING: UTF-8 "\xA9" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.939 1: PERL WARNING: UTF-8 "\xF5" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.939 1: PERL WARNING: UTF-8 "\xFC" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.939 1: PERL WARNING: UTF-8 "\xA4" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.940 1: PERL WARNING: UTF-8 "\xA6" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.940 1: PERL WARNING: UTF-8 "\xBC" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.940 1: PERL WARNING: UTF-8 "\xA8" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.940 1: PERL WARNING: UTF-8 "\xF5\xBF" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.940 1: PERL WARNING: UTF-8 "\xD7" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.940 1: PERL WARNING: UTF-8 "\xEA\xB8" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.940 1: PERL WARNING: UTF-8 "\xD4" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.941 1: PERL WARNING: UTF-8 "\xC1" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.941 1: PERL WARNING: UTF-8 "\xEC" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.941 1: PERL WARNING: UTF-8 "\xE0" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.941 1: PERL WARNING: UTF-8 "\xED\xB0\xBE" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.942 1: PERL WARNING: UTF-8 "\xC2" does not map to Unicode at fhem.pl line 1405, <$fh> line 5844.
2022.10.11 22:18:40.943 1: PERL WARNING: UTF-8 "\xAB" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.943 1: PERL WARNING: UTF-8 "\x90" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.943 1: PERL WARNING: UTF-8 "\xA6" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.943 1: PERL WARNING: UTF-8 "\xD1" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.943 1: PERL WARNING: UTF-8 "\xC1\xB0" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.943 1: PERL WARNING: UTF-8 "\xB1" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.943 1: PERL WARNING: UTF-8 "\x83" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.943 1: PERL WARNING: UTF-8 "\xC0" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.943 1: PERL WARNING: UTF-8 "\xD6" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.944 1: PERL WARNING: UTF-8 "\xC4" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.944 1: PERL WARNING: UTF-8 "\x85" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.944 1: PERL WARNING: UTF-8 "\x80" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.944 1: PERL WARNING: UTF-8 "\x97" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.944 1: PERL WARNING: UTF-8 "\x94" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.944 1: PERL WARNING: UTF-8 "\x9C" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.944 1: PERL WARNING: UTF-8 "\xA4" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.944 1: PERL WARNING: UTF-8 "\xC7" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.944 1: PERL WARNING: UTF-8 "\x84" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.944 1: PERL WARNING: UTF-8 "\xB0" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.944 1: PERL WARNING: UTF-8 "\xEA\xB1" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.945 1: PERL WARNING: UTF-8 "\xFD" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.945 1: PERL WARNING: UTF-8 "\x93" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.945 1: PERL WARNING: UTF-8 "\xAC" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.945 1: PERL WARNING: UTF-8 "\xDF" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.945 1: PERL WARNING: UTF-8 "\xA5" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.945 1: PERL WARNING: UTF-8 "\xB6" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.945 1: PERL WARNING: UTF-8 "\xAE" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.945 1: PERL WARNING: UTF-8 "\x92" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.945 1: PERL WARNING: UTF-8 "\xFA" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.945 1: PERL WARNING: UTF-8 "\xEC" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.945 1: PERL WARNING: UTF-8 "\xD8" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.945 1: PERL WARNING: UTF-8 "\xD7" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.946 1: PERL WARNING: UTF-8 "\xDC" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.946 1: PERL WARNING: UTF-8 "\xC2" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.946 1: PERL WARNING: UTF-8 "\x9B" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.946 1: PERL WARNING: UTF-8 "\xC8" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.946 1: PERL WARNING: UTF-8 "\xFA\x86" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.946 1: PERL WARNING: UTF-8 "\xE3" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.946 1: PERL WARNING: UTF-8 "\xEA" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.946 1: PERL WARNING: UTF-8 "\x89" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.946 1: PERL WARNING: UTF-8 "\xD0" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.947 1: PERL WARNING: UTF-8 "\xE5" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.947 1: PERL WARNING: UTF-8 "\xC1" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.947 1: PERL WARNING: UTF-8 "\xBF" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.947 1: PERL WARNING: UTF-8 "\x8A" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.947 1: PERL WARNING: UTF-8 "\xDD" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.947 1: PERL WARNING: UTF-8 "\xED\xB1" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.947 1: PERL WARNING: UTF-8 "\xA3" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.947 1: PERL WARNING: UTF-8 "\xED" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.947 1: PERL WARNING: UTF-8 "\x88" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.947 1: PERL WARNING: UTF-8 "\xFA\x9C\xB0" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.948 1: PERL WARNING: UTF-8 "\xFC\x90" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.948 1: PERL WARNING: UTF-8 "\x9A" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.948 1: PERL WARNING: UTF-8 "\x82" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.948 1: PERL WARNING: UTF-8 "\xB3" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.948 1: PERL WARNING: UTF-8 "\xBB" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.948 1: PERL WARNING: UTF-8 "\xDB" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.948 1: PERL WARNING: UTF-8 "\xF0" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.948 1: PERL WARNING: UTF-8 "\xB4" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.948 1: PERL WARNING: UTF-8 "\x96" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.949 1: PERL WARNING: UTF-8 "\xF5" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.949 1: PERL WARNING: UTF-8 "\x8E" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.949 1: PERL WARNING: UTF-8 "\xF3\x88" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.949 1: PERL WARNING: UTF-8 "\xDA" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.949 1: PERL WARNING: UTF-8 "\xFE" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.949 1: PERL WARNING: UTF-8 "\xFF" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.949 1: PERL WARNING: UTF-8 "\x8D" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.949 1: PERL WARNING: UTF-8 "\xA2" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.949 1: PERL WARNING: UTF-8 "\xE2" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.949 1: PERL WARNING: UTF-8 "\xEA\x9E" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.950 1: PERL WARNING: UTF-8 "\x95" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.950 1: PERL WARNING: UTF-8 "\xDE" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.950 1: PERL WARNING: UTF-8 "\xD9" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.950 1: PERL WARNING: UTF-8 "\xEB" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.950 1: PERL WARNING: UTF-8 "\xAF" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.950 1: PERL WARNING: UTF-8 "\xAD" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.950 1: PERL WARNING: UTF-8 "\xB2" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.950 1: PERL WARNING: UTF-8 "\xA0" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.951 1: PERL WARNING: UTF-8 "\xE4" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.951 1: PERL WARNING: UTF-8 "\xE8" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.951 1: PERL WARNING: UTF-8 "\x81" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.951 1: PERL WARNING: UTF-8 "\xCA" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.951 1: PERL WARNING: UTF-8 "\xF7" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.951 1: PERL WARNING: UTF-8 "\xC9" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.951 1: PERL WARNING: UTF-8 "\xF3" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.951 1: PERL WARNING: UTF-8 "\xE9" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.951 1: PERL WARNING: UTF-8 "\xCF" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.952 1: PERL WARNING: UTF-8 "\xF9" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.952 1: PERL WARNING: UTF-8 "\xF2" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.952 1: PERL WARNING: UTF-8 "\xF4" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.952 1: PERL WARNING: UTF-8 "\xB7" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.952 1: PERL WARNING: UTF-8 "\xB9" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.952 1: PERL WARNING: UTF-8 "\xFB" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.952 1: PERL WARNING: UTF-8 "\xE1" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.952 1: PERL WARNING: UTF-8 "\xD5" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.952 1: PERL WARNING: UTF-8 "\x8B" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.953 1: PERL WARNING: UTF-8 "\xF9\xB3" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.953 1: PERL WARNING: UTF-8 "\xE0" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.953 1: PERL WARNING: UTF-8 "\xC5" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.953 1: PERL WARNING: UTF-8 "\xBD" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.953 1: PERL WARNING: UTF-8 "\xA9" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.953 1: PERL WARNING: UTF-8 "\xD4" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.953 1: PERL WARNING: UTF-8 "\xE6" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.954 1: PERL WARNING: UTF-8 "\xA8" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.954 1: PERL WARNING: UTF-8 "\xF8\x8D" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.954 1: PERL WARNING: UTF-8 "\xF4\xB9\x98" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.954 1: PERL WARNING: UTF-8 "\xFC" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.954 1: PERL WARNING: UTF-8 "\x9D" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.954 1: PERL WARNING: UTF-8 "\xBE" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.954 1: PERL WARNING: UTF-8 "\xC6" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.954 1: PERL WARNING: UTF-8 "\x87" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.955 1: PERL WARNING: UTF-8 "\xEB\x83" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.955 1: PERL WARNING: UTF-8 "\xF2\x80" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.955 1: PERL WARNING: UTF-8 "\xEA\xA9" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.955 1: PERL WARNING: UTF-8 "\xF6\xB5" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.955 1: PERL WARNING: UTF-8 "\xC1\x88" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.955 1: PERL WARNING: UTF-8 "\xB5" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.955 1: PERL WARNING: UTF-8 "\xCE" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.955 1: PERL WARNING: UTF-8 "\xAA" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.956 1: PERL WARNING: UTF-8 "\xC1\x95" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.956 1: PERL WARNING: UTF-8 "\xF8\xB9" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.956 1: PERL WARNING: UTF-8 "\x99" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.956 1: PERL WARNING: UTF-8 "\xEE" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.956 1: PERL WARNING: UTF-8 "\xE2\xAD" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.956 1: PERL WARNING: UTF-8 "\xEF" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.956 1: PERL WARNING: UTF-8 "\xA1" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.957 1: PERL WARNING: UTF-8 "\xF1" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.957 1: PERL WARNING: UTF-8 "\xCB" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.957 1: PERL WARNING: UTF-8 "\x86" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.957 1: PERL WARNING: UTF-8 "\x8F" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.957 1: PERL WARNING: UTF-8 "\xF5\x92" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.957 1: PERL WARNING: UTF-8 "\xE4\xA8" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.958 1: PERL WARNING: UTF-8 "\xE0\x9E\x91" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.958 1: PERL WARNING: UTF-8 "\xA7" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.958 1: PERL WARNING: UTF-8 "\xF5\x9F" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.958 1: PERL WARNING: UTF-8 "\xE7" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.958 1: PERL WARNING: UTF-8 "\xE5\xB9" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.958 1: PERL WARNING: UTF-8 "\x9E" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.959 1: PERL WARNING: UTF-8 "\xF8" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.959 1: PERL WARNING: UTF-8 "\xE8\xA5" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.960 1: PERL WARNING: UTF-8 "\xCD" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.960 1: PERL WARNING: UTF-8 "\xBC" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.960 1: PERL WARNING: UTF-8 "\xF1\xA6\x94" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.960 1: PERL WARNING: UTF-8 "\xF0\x86" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:40.960 1: PERL WARNING: UTF-8 "\xFC\x9F\xB4" does not map to Unicode at fhem.pl line 1405, <$fh> line 5850.
2022.10.11 22:18:41.494 1: PERL WARNING: UTF-8 "\xFC" does not map to Unicode at fhem.pl line 1405, <$fh> line 9664.
2022.10.11 22:18:41.496 1: PERL WARNING: UTF-8 "\xFC" does not map to Unicode at fhem.pl line 1405, <$fh> line 9701.


Ich muss erst mal wieder zurück stellen und mich schlau machen, warum FHEM mit "unicode" nicht mehr startet.

Gruss
  Enno
Einfacher FHEM Anwender auf Intel®NUC

Kohle77

Hi,
sorry ich war gestern unterwegs.
Der arch Befehl liefert bei mir
Zitataarch64

Hab es mal angepasst auf:
GLIBC=`ldd --version |  grep -m1 -o '[0-9]\.[0-9][0-9]' | head -n 1`

IDENTSTR=$ARCH-glibc$GLIBC-$LIBRARYVERSION
KNOWN=("amd64-glibc2.27-0.11.2" "amd64-glibc2.28-0.11.2" "amd64-glibc2.31-0.11.2" "armhf-glibc2.28-0.11.2" "armhf-glibc2.31-0.11.2" "aarch64")


Aber der Fehler bleibt.

Ein
Zitatjava -version
ergibt
Zitatopenjdk version "11.0.12" 2021-07-20
OpenJDK Runtime Environment (build 11.0.12+7-post-Raspbian-2deb10u1)
OpenJDK Server VM (build 11.0.12+7-post-Raspbian-2deb10u1, mixed mode)

Was nicht Java 17 ist, oder?

Hab auf einem alten Image beim install script (3.1) diese Meldung (using signal 0.9.0) noch erhalten:
Zitataarch64-glibc2.28-0.9.0 is an unsupported combination - signal-cli binary libraries might not work
Kann ich das irgendwie beheben?

Gruß
Christian

Adimarantis

Hi Christian,

Du hast anscheinend das 64 bit OS auf deinem Raspi. Möglicherweise müsste man dafür die Libraries spezifisch übersetzen. Allerdings habe ich aktuell nur 32 bit Systeme bei mir am Laufen.
Ich weiss nicht ob das Rückwärtskompatibel ist.
Deine Änderung am Script passt so nicht.
Der einfachste Hack wäre
if [ $ARCH = "armv7l" ]; then
nach
if [ $ARCH = "aarch64" ]; then

Schau mal ob das was bringt.

Jörg
Raspberry 4 + HM-MOD-RPI-PCB (pivCCU) + RfxTrx433XL + 2xRaspberry 1
Module: 50_Signalbot, 52_I2C_ADS1x1x , 58_RPI_1Wire, (50_SPI_MAX31865)

Kohle77

Hi Jörg,
hab die Änderung gemacht.
ZitatChecking for /etc/systemd/system/signal.service...found
3,4c3,4
< Requires=dbus.socket
< After=dbus.socket
---
> Requires=dbus.socket network-online.target
> After=dbus.socket network-online.target
6d5
< After=network-online.target
10a10,11
> Environment="JAVA_HOME=/opt/java"
> ExecStartPre=/bin/sleep 10
14d14
< Timeout=200
/etc/systemd/system/signal.service differs, update (Y/n)?
y
/etc/systemd/system/signal.service updated
Start signal-cli service
Job for signal.service failed because the control process exited with error code.
See "systemctl status signal.service" and "journalctl -xe" for details.
Checking installation via dbus-send command...Error org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.asamk.Signal': timed out (service_start_timeout=25000ms)
unexpected reply

Sending a message via perl Protocol::DBus...Error getting reply

Schaue ich mir das journalctl -xe an habe ich:
Zitat
<--- A start job for unit signal.service has begun execution.
--
-- The job identifier is 1375.
Okt 13 10:23:13 raspberrypi signal-cli[13768]: OpenJDK Server VM warning: You have loaded library /tmp/resource5379853924653732243.so which might have disabled stack guard. The VM will try to fix the stack guard now.
Okt 13 10:23:14 raspberrypi signal-cli[13768]: It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Okt 13 10:23:14 raspberrypi signal-cli[13768]: WARN  ServiceConfig - Failed to call libsignal-client: /tmp/resource5379853924653732243.so: /tmp/resource5379853924653732243.so: falsche ELF-Klasse: ELFCLASS64 (Possible cause: can't load AM
Okt 13 10:23:14 raspberrypi signal-cli[13768]: Missing required native library dependency: libsignal-client
Okt 13 10:23:15 raspberrypi systemd[1]: signal.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit signal.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Okt 13 10:23:15 raspberrypi systemd[1]: signal.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit signal.service has entered the 'failed' state with result 'exit-code'.
Okt 13 10:23:15 raspberrypi systemd[1]: Failed to start Send secure messages to Signal clients.
-- Subject: A start job for unit signal.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit signal.service has finished with a failure.
--
-- The job identifier is 1375 and the job result is failed.
Okt 13 10:23:21 raspberrypi dbus-daemon[351]: [system] Failed to activate service 'org.asamk.Signal': timed out (service_start_timeout=25000ms)
Okt 13 10:23:21 raspberrypi sudo[13178]: pam_unix(sudo:session): session closed for user root

Gruß
Christian

Adimarantis

Hab ich befürchtet - aarch64 ist nicht mit armhf kompatibel.
Mal sehen, ich hab noch einen Raspi als Ersatz rumliegen, evtl. kann ich den für 64bit aufsetzen und eine Version bauen.
Kann aber 1-2 Wochen dauern bis ich dazu komme.

Alternativ könntest du versuchen die Library selber zu bauen.
Was wir brauchen ist das hier:
https://github.com/signalapp/libsignal

Erfordert halt eine ganze Reihe von zusätzlichen apt Paketen die installiert werden müssen. Falls du dich versuchen willst und Probleme hast, können wir das ja per PM weiterdiskutieren.
Raspberry 4 + HM-MOD-RPI-PCB (pivCCU) + RfxTrx433XL + 2xRaspberry 1
Module: 50_Signalbot, 52_I2C_ADS1x1x , 58_RPI_1Wire, (50_SPI_MAX31865)

kroman

Ich habe 64bit raspbian bullseye im Einsatz und diese lib für libsignal v0.20.0 gebaut, siehe Anhang.
War schon ziemlich ein Gemurkse...