We have moved at community.getvera.com

Author Topic: [_CODE_] FCM - FRITZ!Box Call Monitor V0.2  (Read 14459 times)

Offline Ap15e

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1998
  • Karma: +12/-0
[_CODE_] FCM - FRITZ!Box Call Monitor V0.2
« on: May 28, 2011, 06:05:27 pm »
EOL, unsupported.

Installation:


Usage:
  • FCM provides the following Luup events:  'Incoming call from', 'Outgoing call to', 'Call state', 'Duration of last call'  :)

Limitations:
  • Tested with FRITZ!Box 7170/firmware 29.04.67 and 7390/84.04.88.

History:
  • V0.2 add compatibility for UI5; new Luup events: call state, duration of last call; remove duration of last call from UI4 dashboard

Download:
« Last Edit: May 08, 2012, 12:54:01 pm by Ap15e »

Offline oTi@

  • Community Beta
  • Master Member
  • ******
  • Posts: 4041
  • Karma: +32/-6
  • UI what ?!
Re: [_CODE_] FCM - FRITZ!Box Call Monitor V0.1
« Reply #1 on: May 28, 2011, 08:37:30 pm »
For clarification, Fritz!Box is an xDSL modem (with ISDN/DECT phone capabilities) specific to the European market, I think.
« Last Edit: May 29, 2011, 07:21:12 am by oTi@ »
Dezwaved at the moment...

Offline Henk

  • Hero Member
  • *****
  • Posts: 820
  • Karma: +3/-0
Re: [_CODE_] FCM - FRITZ!Box Call Monitor V0.1
« Reply #2 on: May 29, 2011, 06:58:23 am »
For clarification, Fritz!Box is a DSL modem (with ISDN/DECT phone  capabilities) specific to the European market, I think.

Owning one myself i can state that its not specifically for the European market.
It supports international standards for:
Annex A
Annex B
GAP
SIP
UpNP
also theres a choice for models that support cable and ADSL (up to 2+) WAN acces

and therefore provides a LOT of funtionality in one box.

Will try the plugin later on today. Thx Ap15e... Guess i got you inspired a bit ;-)
« Last Edit: May 29, 2011, 07:43:39 am by Henk »
| Vera2 @ UI4 1.1.1350 / 3.20 | Vera Lite @ UI5 | Vera 3 @ UI5 | 2x Merten  504519 | 1x Duewi  064374 | 1x Everspring SM103 doorbell mod |1 Y-cam IP cam | various LUUP plugins |

Offline Ap15e

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1998
  • Karma: +12/-0
Re: [_CODE_] FCM - FRITZ!Box Call Monitor V0.1
« Reply #3 on: May 29, 2011, 09:56:59 am »
FCM V0.1 is available.

Offline Henk

  • Hero Member
  • *****
  • Posts: 820
  • Karma: +3/-0
Re: [_CODE_] FCM - FRITZ!Box Call Monitor V0.1
« Reply #4 on: May 29, 2011, 10:16:50 am »
Installation:

@Ap15e
--edit--
Works for my 7390 on FW84.04.88.
Using Prowl notifications in the luup section of a scenebased event works too!
using
Code: [Select]
-- Inform me when mum calls my house.
luup.inet.wget("https://prowl.weks.net/publicapi/add?apikey=0123456789012345678901234567890123456789&application=Vera&event=Incoming+phonecall&description=Mum+Calls&priority=-1")
return true
« Last Edit: May 29, 2011, 11:51:46 am by Henk »
| Vera2 @ UI4 1.1.1350 / 3.20 | Vera Lite @ UI5 | Vera 3 @ UI5 | 2x Merten  504519 | 1x Duewi  064374 | 1x Everspring SM103 doorbell mod |1 Y-cam IP cam | various LUUP plugins |

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3722
  • Karma: +34/-2
  • Vera 1,3 & V light
Re: [_CODE_] FCM - FRITZ!Box Call Monitor V0.1
« Reply #5 on: May 29, 2011, 11:46:46 am »
Its a shame they don't seem to do one of these with an integrated cable modem, or even just a WAN port!?
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline Henk

  • Hero Member
  • *****
  • Posts: 820
  • Karma: +3/-0
Re: [_CODE_] FCM - FRITZ!Box Call Monitor V0.1
« Reply #6 on: May 29, 2011, 11:49:28 am »
Its a shame they don't seem to do one of these with an integrated cable modem, or even just a WAN port!?

@Strangely
You mean like this one?!?

Besides that, any Fritz!box can work as a regular router using a static route to your existing cable modem!
« Last Edit: May 29, 2011, 12:46:38 pm by Henk »
| Vera2 @ UI4 1.1.1350 / 3.20 | Vera Lite @ UI5 | Vera 3 @ UI5 | 2x Merten  504519 | 1x Duewi  064374 | 1x Everspring SM103 doorbell mod |1 Y-cam IP cam | various LUUP plugins |

Offline Henk

  • Hero Member
  • *****
  • Posts: 820
  • Karma: +3/-0
Re: [_CODE_] FCM - FRITZ!Box Call Monitor V0.1
« Reply #7 on: May 29, 2011, 12:00:21 pm »
@Ap15e

Request:

1. Is it possible to have FCM store/show the last lets say 3 calling/called numbers and show the last event on FCM?
Standard i get a DISCONNECt (0s) in my display now, maybe its possible to show the event just before that (eg last incoming and/or last outgoing call).

2. Is it possible (for instance with ISDN MSN's) to distinguish between number called?
Now FCM allows to trigger only on incoming number or dialed number.
It would be nice to trigger a scene where number 12345 is calling msn 54321. Should be possible, the FCM monitor shows the info....

Henk
« Last Edit: May 29, 2011, 12:46:10 pm by Henk »
| Vera2 @ UI4 1.1.1350 / 3.20 | Vera Lite @ UI5 | Vera 3 @ UI5 | 2x Merten  504519 | 1x Duewi  064374 | 1x Everspring SM103 doorbell mod |1 Y-cam IP cam | various LUUP plugins |

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3722
  • Karma: +34/-2
  • Vera 1,3 & V light
Re: [_CODE_] FCM - FRITZ!Box Call Monitor V0.1
« Reply #8 on: May 30, 2011, 01:12:37 am »
Its a shame they don't seem to do one of these with an integrated cable modem, or even just a WAN port!?

@Strangely
You mean like this one?!?

Besides that, any Fritz!box can work as a regular router using a static route to your existing cable modem!

The trouble is that I live in the USA and I'm not sure its compatible?!

I wish it was, as this would mean I can downsize from 4 devices to one, as I'd be combing my SIP adapter, DECT phone, Cable modem and Router.
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline oTi@

  • Community Beta
  • Master Member
  • ******
  • Posts: 4041
  • Karma: +32/-6
  • UI what ?!
Re: [_CODE_] FCM - FRITZ!Box Call Monitor V0.1
« Reply #9 on: May 30, 2011, 01:25:28 am »
The trouble is that I live in the USA and I'm not sure its compatible?!

I wish it was, as this would mean I can downsize from 4 devices to one, as I'd be combing my SIP adapter, DECT phone, Cable modem and Router.
Right; I think the Fritz!Box is targeted at the European market. The cable modem standard might be specific to Europe (EuroDOCSIS vs. DOCSIS), the DECT flavor over here in the U.S. I believe is different (DECT6.0), there's variations in the WLAN channels, etc. So it's probably not a given; you may end up with a reduced feature set.
« Last Edit: May 30, 2011, 01:39:52 am by oTi@ »
Dezwaved at the moment...

Offline Henk

  • Hero Member
  • *****
  • Posts: 820
  • Karma: +3/-0
Re: [_CODE_] FCM - FRITZ!Box Call Monitor V0.1
« Reply #10 on: May 30, 2011, 01:38:49 am »
The trouble is that I live in the USA and I'm not sure its compatible?!

I wish it was, as this would mean I can downsize from 4 devices to one, as I'd be combing my SIP adapter, DECT phone, Cable modem and Router.
Right; I think the Fritz!Box is targeted at the European market. The cable modem standard might be specific to Europe (EuroDOCSIS vs. DOCSIS), the DECT flavor over here in the U.S. I believe is different (DECT6.0), there's variations in the WLAN channels, etc.


I would have to do some research on the cable stuff. Looks like youre right there, (euro DOSIS 3.0)

WLAN is no problem, US suport channel 1-11, europe goes beyond that up to ch13 but that can be switched in the firmware (GUI is easy)

Dect is an international standard. Commonly used is GAP, Fritz also supports CAT-IQ which is a newr standard

Of course any existing cablemodem can be used icw a Fritz.

@Strangely
As far as i can see you could do with a slightly cheaper model (withou modem)  and still downsize from 4 to 2 devices. Keep your cablemodem intact and use Fritz as router, dect gateway and Voip device.
Check around on the web, i think i have read reviews from people who actually too the step, ordered one and got stuff to work in the US.

If all else fails, you could always contact AVM (maker of Fritz!box). They provide good support and reply in english.
« Last Edit: May 30, 2011, 04:30:46 am by Henk »
| Vera2 @ UI4 1.1.1350 / 3.20 | Vera Lite @ UI5 | Vera 3 @ UI5 | 2x Merten  504519 | 1x Duewi  064374 | 1x Everspring SM103 doorbell mod |1 Y-cam IP cam | various LUUP plugins |

Offline oTi@

  • Community Beta
  • Master Member
  • ******
  • Posts: 4041
  • Karma: +32/-6
  • UI what ?!
Re: [_CODE_] FCM - FRITZ!Box Call Monitor V0.1
« Reply #11 on: May 30, 2011, 09:52:33 am »
Dect is an international standard.
Not uncommon to have differences at the physical layer though.
So the Fritz!Box supports DECT 6.0 / the U.S. frequency band?
Dezwaved at the moment...

Offline Henk

  • Hero Member
  • *****
  • Posts: 820
  • Karma: +3/-0
Re: [_CODE_] FCM - FRITZ!Box Call Monitor V0.1
« Reply #12 on: May 30, 2011, 10:34:25 am »
Dect is an international standard.
Not uncommon to have differences at the physical layer though.
So the Fritz!Box supports DECT 6.0 / the U.S. frequency band?

DECT is an international standard using 10 channels spaced 1,728 MHz apart within the 1880 MHz to 1900 MHz band. New generation DECT is compatible with older generations and improves functionality like Ip integration and quality of speech. Also VoIP support for SIP and H.323 are integrated

US standards PTW and PTW/E are based on DECT (frequencies) but use a different modulation type.
Seemingly theres a frequencyband discrepancy entioned somewhere for DECT where EU uses 1880 MHz tot 1900 MHz and US uses 1920-1930 MHz. Then again i could not find anything to verify that.

By the way The "6.0" in DECT 6.0 does not specify a spectrum band (see wiki

You could check with AVM if US frequencies are also supported of course..

« Last Edit: May 30, 2011, 04:15:45 pm by Henk »
| Vera2 @ UI4 1.1.1350 / 3.20 | Vera Lite @ UI5 | Vera 3 @ UI5 | 2x Merten  504519 | 1x Duewi  064374 | 1x Everspring SM103 doorbell mod |1 Y-cam IP cam | various LUUP plugins |

Offline Ap15e

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1998
  • Karma: +12/-0
Re: [_CODE_] FCM - FRITZ!Box Call Monitor V0.1
« Reply #13 on: May 30, 2011, 10:56:25 am »
Place in 'Edit Startup Lua':

Code: [Select]
luup.variable_watch( 'forward_incoming_call_via_email', 'urn:upnp-ap15e-com:serviceId:FCM1', 'Message', 26 )

function forward_incoming_call_via_email()

 local msg = luup.variable_get(  'urn:upnp-ap15e-com:serviceId:FCM1', 'Message', 26 )

 if string.find( msg or '', 'RING' ) ~= nil
  then
   luup.call_action( "urn:upnp-ap15e-com:serviceId:SND1", "SendMail", { subject = msg, body = '' }, 25 )
  end

end

Requirements:
FRITZ!Box, SND plugin, FCM plugin. Adjust the device IDs accordingly.

Offline Ap15e

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1998
  • Karma: +12/-0
Re: [_CODE_] FCM - FRITZ!Box Call Monitor V0.1
« Reply #14 on: May 30, 2011, 11:13:44 am »
Quote
Request:

1. Is it possible to have FCM store/show the last lets say 3 calling/called numbers and show the last event on FCM?
Standard i get a DISCONNECt (0s) in my display now, maybe its possible to show the event just before that (eg last incoming and/or last outgoing call).

2. Is it possible (for instance with ISDN MSN's) to distinguish between number called?
Now FCM allows to trigger only on incoming number or dialed number.
It would be nice to trigger a scene where number 12345 is calling msn 54321. Should be possible, the FCM monitor shows the info....

I'll leave FCM as basic as it is. Please use my forward_incoming_call_via_email example for more complex scenarios (e.g., replace SendMail with RunScene).

The list of calls is available from your FRITZ!Box:
http://www.wehavemorefun.de/fritzbox/index.php/Anrufliste_von_der_Box_holen