NEWS
Fritz CallMonitor Status vom Klingelknopf 2n Türstation abfragen
-
Möchte mittels Fritz CallMonitor den Status vom Klingelknopf meiner 2n Türstation analog an Adpater Loxone übergeben.
Leider habe ich keine ausreichenden Programmier Kenntnisse und benötige Hilfe.
Die 2n Türstation wählt die interner Kurzwahl **715 die im Telefonbuch der Fritbox hinterlegt ist (dort die Rufnummer klingel@127.0.0)
Im Callmonitor wir die ID fritzbox.0.callmonitor.call mit dem Wert „10.06. 10:31 klingel@127.0.0“ angezeigt bei Anruf.
Ich möchte abfragen ob in der ID fritzbox.0.callmonitor.call der Wert klingel@127.0.0 enthalten ist,
und darauf die ID loxone.0.11c0ee80-0301-d019-ffffbb9247aaxxxx.active"/TasterIObroker: active/ auf true setzen.
Habe versucht aus der Scripteinführung mir eine paar Schnipsel zusammen zu suchen.
Scheitere aber bei der Abfrage das nur der Wert klingel@127.0.0 als Bedingung wahr sein soll.
on({id: '"fritzbox.0.callmonitor.call"/callmonitor call/'}, function (obj) {
setState("loxone.0.11c0ee80-0301-d019-ffffbb9247aaxxxx.active"/TasterIObroker: active/,true);
});
Benötige hier mal Anfängerhilfe
Grüße tvtotal
-
Scheitere aber bei der Abfrage das nur der Wert klingel@127.0.0 als Bedingung wahr sein soll.
on({id: '"fritzbox.0.callmonitor.call"/callmonitor call/'}, function (obj) {
setState("loxone.0.11c0ee80-0301-d019-ffffbb9247aaxxxx.active"/TasterIObroker: active/,true);
}); `
on({id: 'fritzbox.0.callmonitor.call'/*callmonitor call*/, change: 'ne', val: true}, function () { setState("loxone.0.11c0ee80-0301-d019-ffffbb9247aaxxxx.active"/*TasterIObroker: active*/,true); });Alternativ:
on('fritzbox.0.callmonitor.call'/*callmonitor call*/, function(obj) { if(obj.state.val) setState("loxone.0.11c0ee80-0301-d019-ffffbb9247aaxxxx.active"/*TasterIObroker: active*/,true); });
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login