sudo apt-get install lameattr TTS TTS_MplayerCall /usr/bin/mplayer -ao alsa:device=bluealsa -af resample=44100
attr TTS TTS_PiperModel /opt/piper/models/de_DE-thorsten-high.onnx
attr TTS TTS_Ressource Piper
attr TTS TTS_Speed -5
Zitat von: ch.eick am 16 April 2026, 14:15:292026.04.16 13:51:56.206 1: define ZentrumRepeater03 FRITZBOX 192.168.178.4: ERROR: Cannot define a FRITZBOX device. Perl modul Soap::Lite is missing.
sub ntfy {
my ($message, $topic, $priority, $tags, $title) = @_;
# Set defaults
if (!defined $topic) {$topic = "fhem"}
if (!defined $priority) {$priority = 3}
if (!defined $tags) {$tags = "house_with_garden"};
if (!defined $title or $title eq "") {$title = "FHEM"}
if ($tags !~ m/house_with_garden/) {
$tags = $tags.",house_with_garden";
}
# Prepare headers
my $param = {
url => "https://ntfy.example.org/$topic",
method => "POST",
timeout => 10,
callback => sub() {},
header => "Content-Type: application/json\r\nAuthorization: Bearer REDACTED\r\np: $priority\r\nta: $tags\r\nt: $title",
data => $message
};
# Make request
HttpUtils_NonblockingGet($param);
}Zitat von: Sidey am 16 April 2026, 18:23:46@passible:Ah, danke, jetzt sehe ich den Hinweis, dass dort steht, dass man CPAN benutzen soll.
FHEM nutzt nicht die OS Pakete.
Wie CPAN Nachinstalliert wird, stehr in der Readme.
Vermutlich ist es ein Fehler, dass das Paket fehlt. Leider hat es andere Pakete auch schon erwischt. Ein Muster konnte ich da noch nicht erkennen
Aber das ist jetzt spitzfindig, der Hinweis auf die docker-compose.yml ist ja da. Dort steht dann auch was zu CPAN (bzw. cpm).cpm install --show-build-log-on-failure --configure-timeout=360 --workers=$(nproc) --local-lib-contained /usr/src/app/3rdparty/ SOAP::LiteAber wichtig: vorher muss man noch build-essential per apt installieren, sonst klappt cpm nicht.Zitat von: passibe am 16 April 2026, 18:08:29auch da bleibt ein perldoc -l Soap::Lite leer.
<div data-type="thermostat"
data-device="Schlafzimmer"
data-get="desired-temp"
data-set="desired-temp"
data-temp="temperature"
data-height="200"
data-width="200"
data-step="0.5"
data-min="7.5"
data-max="30">
</div>desired-temp:slider,5.0,0.5,30.0,1 $DEVICETOPIC/set {"current_heating_setpoint": $EVTPART1 }[hidden]="Settings_Tablet:Wetter_Ort | map('Elspe:false, .*:true')"