I found the FritzCall Monitor in the Hardware list. I have a Fritzbox and want to use the Call Monitor for Domoticz.
But how can i use it?
What is it good for?
Thx for Messages

Moderator: leecollings
Code: Select all
if deviceSvalue[FritzBox] =="Received From: telnumber to: telnumber" then
commandArray['Lamp'] = "On"
end
return commandArray
Hi!Hoggle wrote:Hi,
did you solve your problem?
Hoogle
Code: Select all
if devicechanged['Call']=='On' and otherdevices['NieuweOproepen']=='On' and otherdevices['smsNieuweOproepenActief']=='On' then
local i = 1
for i =1 , 10 do
local number = tostring("t"..i)
local FrizBoxText = tostring("Connected ID: 0 Number: "..uservariables[number])
if otherdevices_svalues['FritzBox'] == FrizBoxText then
local teller = uservariables['NewMessages'] + 1
commandArray['Variable:NewMessages'] = tostring(teller)
print(FrizBoxText.. 'nieuwe te melden bericht binnen')
commandArray['Bureau R 15'] = "On"
end
i = i+1
end
end
if devicechanged['NieuweOproepen']== 'Off' and otherdevices['smsNieuweOproepenActief']=='On' then
if (uservariables['NewMessages'] == 1) then
print('één nieuw bericht')
commandArray["SendSMS"] = "1 nieuwe bestelling voor leveringen Frankrijk"
elseif (uservariables['NewMessages'] > 1 ) then
print(uservariables['NewMessages']..' nieuwe berichten')
commandArray["SendSMS"] = uservariables['NewMessages'].." nieuwe bestellingen voor leveringen Frankrijk"
elseif (uservariables['NewMessages'] == 0 ) then
print('geen nieuwe berichten')
commandArray["SendSMS"] = "GEEN nieuwe bestellingen voor leveringen Frankrijk"
end
commandArray['Variable:NewMessages'] = tostring(0)
end
return commandArray
It is not possible to extract "Call From" from the text "Fritzbox" to say "telephone is ringing"?For incomming connections (before it is answered by someone or the ansewring machine i didn't know how to implement it..
Exactly.but normally yes, its possible to put parts from the sValue from the fritzbox in a uservariable (string)
Users browsing this forum: No registered users and 1 guest