Zitat von: betateilchen am 04 April 2026, 09:06:35keine schlaflosen Nächte machen.Normale Arbeitszeit. Keiner stört...
Zitat von: Marko1976 am 26 März 2026, 23:31:08Nach wie vor liege ich mit Regex auf Kriegsfuss.
Zitat von: Marko1976 am 24 März 2026, 15:57:48Ist es in Deutschland mitlerweile Verpönt mal normale ganze Wörter zu benutzen? Das bringt mich genauso weit wie gar nichts zu sagen.Eben. Darum sagt man auch "Regulärer Ausdruck", nicht "Regex".
Zitat von: schwatter am 03 April 2026, 21:46:11Ja Chromium, da werde ich nochmal in Ruhe schauen warum der Button nicht auftaucht.Bei meinem Code dachte ich, es läge nach der JS-Konsole an der Syntax. Jetzt ist das Mikro aber auch an Chromium@Linux da. Es tut nur nix in Richtung STT-Reading
.Zitat von: schwatter am 04 April 2026, 08:27:512ter Informchannel auf ein reading deiner Wahl
.ZitatUraltversion des FritzOS benutztWas fällt darunter?
Zitat4 April 2026, 03:45:50
function startExternalTunnel() {
if (!isJamesActive) return;
if (jamesSocket) jamesSocket.close();
if (globalSocket) globalSocket.close();
const protocol = location.protocol === "https:" ? "wss:" : "ws:";
const combinedFilter = `(${DEVICE}|global)`;
jamesSocket = new WebSocket(`${protocol}//${FHEM_IP}/fhem?XHR=1&inform=type=status;filter=${combinedFilter}`);
jamesSocket.onmessage = (e) => {
if (!isJamesActive) return;
if (!isWaitingForCommand && !isSpeaking && e.data.includes(DEVICE) && e.data.includes(TRIGGER)) {
startJamesSTT();
}
if (e.data.includes("global-voiceSpeak")) {
let raw = e.data.split('global-voiceSpeak')[1];
let txt = raw.replace(/^[^\w\däöüÄÖÜß]+/, '').split(/[",\]<]/)[0];
txt = txt.replace(/_/g, ' ').trim();
if (txt && txt !== "no" && txt !== "definition") {
showBubble("🤖 " + txt);
speak(txt);
}
}
};
jamesSocket.onopen = () => console.log("DEBUG: James-Kombi-Socket verbunden");
}