Version 0.6.1.0

Alles m.b.t. de Fritzbox plugin van Robert Hekkers overgenomen door Rien du Pre(DUTCH forum)

Moderator: RdP

Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Version 0.6.1.0

Post by Digit »

Hi there,

The latest version is available here: http://www.hekkers.net/files/FBF_0610.rar

Some things you need to know:

Database
The FBF.mdb Access db has been changed; a new table has been added, named PhoneBook.
So if you want to save your CallLog, you'll have to find a way to transfer the CallLog table from your current FBF.mdb to the new one. But i'm sure there are people here who know more about Access then me, so be creative :)

Phonebook
A Phonebook has been added. The Plugin will retrieve the Phonebook from the Fritz!Box and store it locally in the Access db. The locally stored Phonebook can be re-retrieved from the Fritz!Box by going to the Phonebook in the config pages and pressing the "Refresh" button.

WLAN
Now you can switch the WLAN on and off of your Fritz!Box !
Any donations you want to make by all the power/money being saved are welcome :lol:

Devices
2 new devices have been added: one called "Fritz!Box WLAN" and the other one is called "Last Caller Name".
So the first time you start the new Plugin, all devices will be deleted and recreated, including the 2 mentioned.
Remember, you can reload from your CallLog table by hitting the "Reload CallLog" button; it is in the Phonebook section of the config pages.

Password
This version of the Plugin should work with the newest firmware available; of course the Plugin will be backwards compatible so if you are experiencing any problems with this new version then contact me and we'll figure out how this can be fixed. After upgrading my own Fritz!Box, it was rather hard to test the Plugin on older firmware...
The Plugin works with both password- and un-protected Fritz!Box web interface. But make sure you disable the nagging screen that reminds you that you are working with an unprotected Fritz!Box. Either you have your Fritz!Box password protected or not; there's nothing in between in my opinion, so disable that nagging screen.

The Plugin will ask you for your password (config page, interface button). Don't be scared to fill in your password, it is well protected. But do look over your shoulder, cause the textbox will show what you are typing.

Caller Name
With the Fritz!Box Phonebook included, some things have changed:
- a new format specifier, %CN (as in Caller Name) has been added.
- a new Device has been added that will show (if found) the Name of the Last Caller/Called and if no name could be found, it will still show you the latest phone number.

Well that's about it...
It took me quite some time to get it all stable in Homeseer, so please be gentle with me if something doesn't work out as it should.
You can always go back to previous versions, they're all still on my server.

Have fun :)
jeroenkl
Starting Member
Starting Member
Posts: 47
Joined: Tue Dec 08, 2009 6:41 pm
Location: Netherlands

Re: Version 0.6.1.0

Post by jeroenkl »

Beste Digit,

Zojuist de plugin geupgrade. Wifi schakelen werkt uitstekend, alleen als iemand belt, een incoming call, crashed homeseer.
Ik zal even zoeken naar een logfile, anders wordt het troubleshooten wat moeilijk.

gr,

Jeroen
jeroenkl
Starting Member
Starting Member
Posts: 47
Joined: Tue Dec 08, 2009 6:41 pm
Location: Netherlands

Re: Version 0.6.1.0

Post by jeroenkl »

Hi Digit,

Another error occured as well:
26-1-2010 7:28:30 - Error - Web Server Error 404, cannot serve file: C:\Program Files\HomeSeer HSPRO\html/FBF/style.css

If you want me to perform any other actions, tests, please let me know.

best regards,

Jeroen
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Version 0.6.1.0

Post by Digit »

Regarding the last error:
I updated the download; extract and use the newer version of FBF.aspx; the rest is still the same.
You should place this file one in <homeseer dir>\html\FBF directory.

There is a fbf.log created in your Homseer directory when Debugmode is checked in the configuration.
Mail it to me and i'll see what's going on.
evja78
Member
Member
Posts: 61
Joined: Mon Sep 28, 2009 4:05 pm
Location: Netherlands

Re: Version 0.6.1.0

Post by evja78 »

Hi Digit, excellent updates on an allready excellent plugin.

Since I was having issues with firmware .76 with my Siemens Gigaset handsets, I reverted back to .67 on my 7270.
Will this new version still work with the older version or are there fundamental differences between the 2 ?

Evja
jeroenkl
Starting Member
Starting Member
Posts: 47
Joined: Tue Dec 08, 2009 6:41 pm
Location: Netherlands

Re: Version 0.6.1.0

Post by jeroenkl »

Hi Robert,

I updated the file as provided. Error dissapeared.
But, same issue occured, homeseer crashes after an incoming phonecall.
The main homeseer log reports:

Code: Select all

26-1-2010 10:37:52 ~!~Web Server~!~Web Server stopped
26-1-2010 10:37:52 ~!~Warning~!~Error sending UPNP announcement: De thread is afgebroken.
2 minutes later, windows reboots.

Unfortunately I cannot find your email address and I'm not allowed (yet) to PM you.

snapshot of my FBF.log:

Code: Select all

010 10:35:39 Hostname  = 192.168.2.254
26-1-2010 10:35:39 Password  = xxxxxx
26-1-2010 10:35:39 DebugMode = True
26-1-2010 10:35:39 Devices = 2
26-1-2010 10:35:39 UnknownCaller  = unknown
26-1-2010 10:35:39 AnonymousTrigger  = True
26-1-2010 10:35:39 DeviceStringFormat = %D %N %N %T
26-1-2010 10:35:39 Split Calls = True
26-1-2010 10:35:39 Search for Names = True
26-1-2010 10:35:39 Database = C:\Program Files\HomeSeer HSPRO\data\FBF\FBF.mdb
26-1-2010 10:35:39 Database Found = True
26-1-2010 10:35:39 .InitDevices()
26-1-2010 10:35:39 .EnumerateDevices()
26-1-2010 10:35:39 Found a plug-in device at \3
26-1-2010 10:35:39 Adding 3 with \3
26-1-2010 10:35:39 Found a plug-in device at \5
26-1-2010 10:35:39 LastCallCode = \5
26-1-2010 10:35:39 Found a plug-in device at \4
26-1-2010 10:35:39 Adding 4 with \4
26-1-2010 10:35:39 Found a plug-in device at \2
26-1-2010 10:35:39 Adding 2 with \2
26-1-2010 10:35:39 Found a plug-in device at \1
26-1-2010 10:35:39 Adding 1 with \1
26-1-2010 10:35:39 Found a plug-in device at \6
26-1-2010 10:35:39 WLANCode = \6
26-1-2010 10:35:39 Found a plug-in device at \7
26-1-2010 10:35:39 LastNameCode = \7
26-1-2010 10:35:39 gBaseCode=\
26-1-2010 10:35:39 .CreateDevices()
26-1-2010 10:35:39 Have BaseCode.
26-1-2010 10:35:39 Device Collection Count=4
26-1-2010 10:35:39 Need number of Devices=4
26-1-2010 10:35:39 All CallDevices Exist.
26-1-2010 10:35:39 Last Phonecall does exist.
26-1-2010 10:35:39 WLAN does exist.
26-1-2010 10:35:39 Last Caller Name does exist.
26-1-2010 10:35:39 .InitCommon()
26-1-2010 10:35:39 Initializing TCP Socket
26-1-2010 10:35:39 TCP.Connect()
26-1-2010 10:35:39 TCP.BeginRead()
26-1-2010 10:35:39 TCP Socket Initialized
26-1-2010 10:36:03 Hostname  = 192.168.2.254
26-1-2010 10:36:03 Password  = xxxxxxx
26-1-2010 10:36:03 DebugMode = True
26-1-2010 10:36:03 Devices = 2
26-1-2010 10:36:03 UnknownCaller  = unknown
26-1-2010 10:36:03 AnonymousTrigger  = True
26-1-2010 10:36:03 DeviceStringFormat = %D %N %N %T
26-1-2010 10:36:03 Split Calls = True
26-1-2010 10:36:03 Search for Names = True
26-1-2010 10:36:03 Database = C:\Program Files\HomeSeer HSPRO\data\FBF\FBF.mdb
26-1-2010 10:36:03 Database Found = True
26-1-2010 10:36:03 Interface Panel Load
26-1-2010 10:36:03 Activate Panel InterfacePanel
26-1-2010 10:36:04 Page_PreRender call
26-1-2010 10:36:04 NextPage=InterfacePanel
26-1-2010 10:36:04 Interface Panel init
26-1-2010 10:36:04 Activate Panel InterfacePanel
26-1-2010 10:36:09 Page_Load call
26-1-2010 10:36:09 Log Path = C:\Program Files\HomeSeer HSPRO
26-1-2010 10:36:09 What to do 
26-1-2010 10:36:09 is geen postback
26-1-2010 10:36:09 Hostname  = 192.168.2.254
26-1-2010 10:36:09 Password  = xxxxxxx
26-1-2010 10:36:09 DebugMode = True
26-1-2010 10:36:09 Devices = 2
26-1-2010 10:36:09 UnknownCaller  = unknown
26-1-2010 10:36:09 AnonymousTrigger  = True
26-1-2010 10:36:09 DeviceStringFormat = %D %N %N %T
26-1-2010 10:36:09 Split Calls = True
26-1-2010 10:36:09 Search for Names = True
26-1-2010 10:36:09 Database = C:\Program Files\HomeSeer HSPRO\data\FBF\FBF.mdb
26-1-2010 10:36:09 Database Found = True
26-1-2010 10:36:09 Phonebook Panel Load
26-1-2010 10:36:09 Activate Panel PhonebookPanel
26-1-2010 10:36:09 Page_PreRender call
26-1-2010 10:36:09 NextPage=PhoneBookPanel
26-1-2010 10:36:09 Panel PhoneBookPanel not found.
26-1-2010 10:36:18 Page_Load call
26-1-2010 10:36:18 Log Path = C:\Program Files\HomeSeer HSPRO
26-1-2010 10:36:18 What to do 
26-1-2010 10:36:18 is geen postback
26-1-2010 10:36:18 Hostname  = 192.168.2.254
26-1-2010 10:36:18 Password  = xxxxxx
26-1-2010 10:36:18 DebugMode = True
26-1-2010 10:36:18 Devices = 2
26-1-2010 10:36:18 UnknownCaller  = unknown
26-1-2010 10:36:18 AnonymousTrigger  = True
26-1-2010 10:36:18 DeviceStringFormat = %D %N %N %T
26-1-2010 10:36:18 Split Calls = True
26-1-2010 10:36:18 Search for Names = True
26-1-2010 10:36:18 Database = C:\Program Files\HomeSeer HSPRO\data\FBF\FBF.mdb
26-1-2010 10:36:18 Database Found = True
26-1-2010 10:36:18 Interface Panel Load
26-1-2010 10:36:18 Activate Panel InterfacePanel
26-1-2010 10:36:19 Page_PreRender call
26-1-2010 10:36:19 NextPage=InterfacePanel
26-1-2010 10:36:19 Interface Panel init
26-1-2010 10:36:19 Activate Panel InterfacePanel
26-1-2010 10:36:21 Page_Load call
26-1-2010 10:36:21 Log Path = C:\Program Files\HomeSeer HSPRO
26-1-2010 10:36:21 What to do 
26-1-2010 10:36:21 is geen postback
26-1-2010 10:36:21 Hostname  = 192.168.2.254
26-1-2010 10:36:21 Password  = xxxxxxx
26-1-2010 10:36:21 DebugMode = True
26-1-2010 10:36:21 Devices = 2
26-1-2010 10:36:21 UnknownCaller  = unknown
26-1-2010 10:36:21 AnonymousTrigger  = True
26-1-2010 10:36:21 DeviceStringFormat = %D %N %N %T
26-1-2010 10:36:21 Split Calls = True
26-1-2010 10:36:21 Search for Names = True
26-1-2010 10:36:21 Database = C:\Program Files\HomeSeer HSPRO\data\FBF\FBF.mdb
26-1-2010 10:36:21 Database Found = True
26-1-2010 10:36:21 Settings Panel Load
26-1-2010 10:36:21 Activate Panel SettingsPanel
26-1-2010 10:36:21 Page_PreRender call
26-1-2010 10:36:21 NextPage=SettingsPanel
26-1-2010 10:36:21 Panel SettingsPanel not found.
26-1-2010 10:36:25 Page_Load call
26-1-2010 10:36:25 Log Path = C:\Program Files\HomeSeer HSPRO
26-1-2010 10:36:25 What to do 
26-1-2010 10:36:25 is geen postback
26-1-2010 10:36:25 Hostname  = 192.168.2.254
26-1-2010 10:36:25 Password  = xxxxxx
26-1-2010 10:36:25 DebugMode = True
26-1-2010 10:36:25 Devices = 2
26-1-2010 10:36:25 UnknownCaller  = unknown
26-1-2010 10:36:25 AnonymousTrigger  = True
26-1-2010 10:36:25 DeviceStringFormat = %D %N %N %T
26-1-2010 10:36:25 Split Calls = True
26-1-2010 10:36:25 Search for Names = True
26-1-2010 10:36:25 Database = C:\Program Files\HomeSeer HSPRO\data\FBF\FBF.mdb
26-1-2010 10:36:25 Database Found = True
26-1-2010 10:36:25 Phonebook Panel Load
26-1-2010 10:36:25 Activate Panel PhonebookPanel
26-1-2010 10:36:25 Page_PreRender call
26-1-2010 10:36:25 NextPage=PhoneBookPanel
26-1-2010 10:36:25 Panel PhoneBookPanel not found.
26-1-2010 10:36:27 Page_Load call
26-1-2010 10:36:27 Log Path = C:\Program Files\HomeSeer HSPRO
26-1-2010 10:36:27 What to do 
26-1-2010 10:36:27 SELECT TOP 2 * FROM CallLog WHERE Incoming=True ORDER BY Start DESC
26-1-2010 10:36:27 Incoming:
26-1-2010 10:36:27 Start   =26-1-2010 7:21:11
26-1-2010 10:36:27 Caller  =06xxxxxxxx
26-1-2010 10:36:27 Called  =03569xxxxxxxx
26-1-2010 10:36:27 Duration=0
26-1-2010 10:36:27 SetDeviceString \1
26-1-2010 10:36:27 DeviceStr B = %D %N %N %T
26-1-2010 10:36:28 Numbers To Display = 2
26-1-2010 10:36:28 DeviceStr E = I 06xxxxxxx 03569xxxxxxx 0
26-1-2010 10:36:28 Incoming:
26-1-2010 10:36:28 Start   =26-1-2010 6:55:39
26-1-2010 10:36:28 Caller  =033xxxxxxxx
26-1-2010 10:36:28 Called  =035xxxxxxxx
26-1-2010 10:36:28 Duration=51
26-1-2010 10:36:28 SetDeviceString \2
26-1-2010 10:36:28 DeviceStr B = %D %N %N %T
26-1-2010 10:36:28 Numbers To Display = 2
26-1-2010 10:36:28 DeviceStr E = I 033xxxxxxx 03569xxxxxxx 51
26-1-2010 10:36:28 SELECT TOP 2 * FROM CallLog WHERE Incoming=False ORDER BY Start DESC
26-1-2010 10:36:28 Page_PreRender call
26-1-2010 10:36:28 NextPage=PhoneBookPanel
26-1-2010 10:36:28 Panel PhoneBookPanel not found.
26-1-2010 10:36:30 Page_Load call
26-1-2010 10:36:30 Log Path = C:\Program Files\HomeSeer HSPRO
26-1-2010 10:36:30 What to do 
26-1-2010 10:36:30 is geen postback
26-1-2010 10:36:30 Hostname  = 192.168.2.254
26-1-2010 10:36:30 Password  = xxxxxxx
26-1-2010 10:36:30 DebugMode = True
26-1-2010 10:36:30 Devices = 2
26-1-2010 10:36:30 UnknownCaller  = unknown
26-1-2010 10:36:30 AnonymousTrigger  = True
26-1-2010 10:36:30 DeviceStringFormat = %D %N %N %T
26-1-2010 10:36:30 Split Calls = True
26-1-2010 10:36:30 Search for Names = True
26-1-2010 10:36:30 Database = C:\Program Files\HomeSeer HSPRO\data\FBF\FBF.mdb
26-1-2010 10:36:30 Database Found = True
26-1-2010 10:36:30 Interface Panel Load
26-1-2010 10:36:30 Activate Panel InterfacePanel
26-1-2010 10:36:30 Page_PreRender call
26-1-2010 10:36:30 NextPage=InterfacePanel
26-1-2010 10:36:30 Interface Panel init
26-1-2010 10:36:30 Activate Panel InterfacePanel
26-1-2010 10:36:39 TCPCheck()
26-1-2010 10:36:39 Connected:True
26-1-2010 10:36:39 TCP.Send()
26-1-2010 10:36:39 TCP.SendCallback()
26-1-2010 10:36:39 Sent:1 bytes
26-1-2010 10:37:39 TCPCheck()
26-1-2010 10:37:39 Connected:True
26-1-2010 10:37:39 TCP.Send()
26-1-2010 10:37:39 TCP.SendCallback()
26-1-2010 10:37:39 Sent:1 bytes
26-1-2010 10:37:46 TCP.ReceiveCallback()
26-1-2010 10:37:46 TCP.ReceiveCallback():192.168.2.254:1012, Data:26.01.10 10:40:16;RING;0;06xxxxxxx;03569xxxxx;POTS;

26-1-2010 10:37:46 Received: 26.01.10 10:40:16;RING;0;06xxxxxxx;03569xxxxx;POTS;
26-1-2010 10:37:46 New Callsession:0
26-1-2010 10:37:46 DeviceID = 1
26-1-2010 10:37:46 Incoming Call from 06xxxxxxxx
26-1-2010 10:37:46 SetDeviceString \5 06xxxxxxxx
26-1-2010 10:37:46 INSERT INTO CallLog (Incoming, Caller, Called, SessionID) values (1, '06xxxxxxx', '03569xxxxx', 0)
26-1-2010 10:37:52 Shifting 0 to 1
26-1-2010 10:37:52 Shifting \1 to \2
26-1-2010 10:37:52 SetDeviceString \2 I 06xxxxxxxx 03569xxxxx 0
26-1-2010 10:37:52 Finished Shifting
26-1-2010 10:37:52 DeviceStr B = %D %N %N %T
26-1-2010 10:37:52 Numbers To Display = 2
26-1-2010 10:37:52 Keep DeviceStr I 06xxxxxxx 03569xxxxx %T
26-1-2010 10:37:52 SetDeviceString \1 I 06xxxxxxxx 03569xxxxx ?
26-1-2010 10:37:52 .DeviceTrigger()
26-1-2010 10:37:52 Calling CheckTrigger:Fritz! BoxFritz!Box PhoneCallIncoming Call106xxxxxxx
26-1-2010 10:37:52 Calling CheckTrigger:Fritz! BoxFritz!Box PhoneCallIncoming Call0*
26-1-2010 10:38:05 TCP.ReceiveCallback()
26-1-2010 10:38:05 TCP.ReceiveCallback():192.168.2.254:1012, Data:26.01.10 10:40:36;DISCONNECT;0;0;

26-1-2010 10:38:05 Received: 26.01.10 10:40:36;DISCONNECT;0;0;
26-1-2010 10:38:05 Triggering Disconnect
26-1-2010 10:38:05 UPDATE CallLog SET DisConnected=1, Duration=0 WHERE Start = (SELECT MAX(Start) FROM CallLog WHERE SessionID=0)
26-1-2010 10:38:05 .DeviceTrigger()
26-1-2010 10:38:05 Calling CheckTrigger:Fritz! BoxFritz!Box PhoneCallDisconnect1
26-1-2010 10:38:05 Calling CheckTrigger:Fritz! BoxFritz!Box PhoneCallDisconnect0*
26-1-2010 10:38:05 Found Session 0 at Index 0
26-1-2010 10:38:05 Call Duration = 0 seconds
26-1-2010 10:38:05 Old Devicestring: I 06XXXXXXX 03569XXXX %T
26-1-2010 10:38:05 SetDeviceString \1 I 06XXXXXXX 03569XXXX 0
26-1-2010 10:38:05 Removing Session 0
26-1-2010 10:38:39 TCPCheck()
26-1-2010 10:38:39 Connected:True
26-1-2010 10:38:39 TCP.Send()
26-1-2010 10:38:39 TCP.SendCallback()
26-1-2010 10:38:39 Sent:1 bytes
26-1-2010 10:39:39 TCPCheck()
26-1-2010 10:39:39 Connected:True
26-1-2010 10:39:39 TCP.Send()
26-1-2010 10:39:39 TCP.SendCallback()
26-1-2010 10:39:39 Sent:1 bytes

CRASH, reboot it selfs

26-1-2010 10:42:53 Hostname  = 192.168.2.254
26-1-2010 10:42:54 Password  = xxxxxx
26-1-2010 10:42:54 DebugMode = True
26-1-2010 10:42:54 Devices = 2
26-1-2010 10:42:54 UnknownCaller  = unknown
26-1-2010 10:42:54 AnonymousTrigger  = True
26-1-2010 10:42:54 DeviceStringFormat = %D %N %N %T
26-1-2010 10:42:54 Split Calls = True
26-1-2010 10:42:54 Search for Names = True
26-1-2010 10:42:54 Database = C:\Program Files\HomeSeer HSPRO\data\FBF\FBF.mdb
26-1-2010 10:42:54 Database Found = True
26-1-2010 10:42:54 .InitDevices()
26-1-2010 10:42:54 .EnumerateDevices()
26-1-2010 10:42:54 Found a plug-in device at \3
26-1-2010 10:42:54 Adding 3 with \3
26-1-2010 10:42:54 Found a plug-in device at \5
26-1-2010 10:42:54 LastCallCode = \5
26-1-2010 10:42:54 Found a plug-in device at \4
26-1-2010 10:42:54 Adding 4 with \4
26-1-2010 10:42:54 Found a plug-in device at \2
26-1-2010 10:42:54 Adding 2 with \2
26-1-2010 10:42:54 Found a plug-in device at \1
26-1-2010 10:42:54 Adding 1 with \1
26-1-2010 10:42:54 Found a plug-in device at \6
26-1-2010 10:42:54 WLANCode = \6
26-1-2010 10:42:54 Found a plug-in device at \7
26-1-2010 10:42:54 LastNameCode = \7
26-1-2010 10:42:54 gBaseCode=\
26-1-2010 10:42:54 .CreateDevices()
26-1-2010 10:42:54 Have BaseCode.
26-1-2010 10:42:54 Device Collection Count=4
26-1-2010 10:42:54 Need number of Devices=4
26-1-2010 10:42:54 All CallDevices Exist.
26-1-2010 10:42:54 Last Phonecall does exist.
26-1-2010 10:42:54 WLAN does exist.
26-1-2010 10:42:54 Last Caller Name does exist.
26-1-2010 10:42:54 .InitCommon()
Last edited by Alexander on Tue Jan 26, 2010 5:12 pm, edited 1 time in total.
Reason: use code tag please!
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Version 0.6.1.0

Post by Digit »

What i see is that the reboot occurs >90 seconds after the last incoming call.
That's strange. The most obvious cause is that an Internet search times out and the error isn't handled well.
Does the HS machine have rigths to connect to internet? (firewall etc.)
Disable the "Search for Names" temporarily and see what happens then; that will give me a clue where to search.

BTW, in the future just send the log to my mailbox at home. Saves you censoring and gives me full detail without pieces missing from the log.
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Version 0.6.1.0

Post by Digit »

evja78 wrote:Will this new version still work with the older version or are there fundamental differences between the 2 ?
I really wouldn't know; yes there are some fundamental changes, but i have only 1 Fritz, so no possibility to test new version on old firmware...
But as i said, give it a try and we can maybe find a way to make the new plugin backwards compatible.. but i'll need help for that!
mo046
Member
Member
Posts: 186
Joined: Thu Nov 08, 2007 4:12 pm
Location: Netherlands

Re: Version 0.6.1.0

Post by mo046 »

I also have crashes of HS2 (not prof version) with your latest updated version:

Code: Select all

26-1-2010 11:22:08
Kan bestand of assembly Interop.ADODB, Version=2.8.0.0, Culture=neutral, PublicKeyToken=null of een van de afhankelijkheden hiervan niet laden. Het systeem kan het opgegeven bestand niet vinden.
HomeSeer version: 2.4.0.6
Source: HSPI_FBF
Target: Void GetCallerInfo()
Stack trace: 
   bij HSPI_FBF.CallerInfo.GetCallerInfo()
   bij System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   bij System.Threading.ExecutionContext.runTryCode(Object userData)
   bij System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   bij System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bij System.Threading.ThreadHelper.ThreadStart()

Please specify what you were doing at the time of this error:
I didn't have debug on, I will activate it and report results. Obviously they happened with outgoing calls.

Furthermore, the %CN doesn't work properly. I have "%CN 05:51" shown in the device string, instead of a readable name or number. My setting is "%CN %TM"
** Maurice **
jeroenkl
Starting Member
Starting Member
Posts: 47
Joined: Tue Dec 08, 2009 6:41 pm
Location: Netherlands

Re: Version 0.6.1.0

Post by jeroenkl »

Digit wrote:What i see is that the reboot occurs >90 seconds after the last incoming call.
That's strange. The most obvious cause is that an Internet search times out and the error isn't handled well.
Does the HS machine have rigths to connect to internet? (firewall etc.)
Disable the "Search for Names" temporarily and see what happens then; that will give me a clue where to search.

BTW, in the future just send the log to my mailbox at home. Saves you censoring and gives me full detail without pieces missing from the log.
Hi Robert, yes HS has full access to internet without firewalss.
I disabled 'search for names' and no crashes anymore!!
This option I only can change it in FBF.ini instead of the plugin 'tab' as it won't remember the setting. (bug)

anyway, appreciate all your work!

Jeroen
mo046
Member
Member
Posts: 186
Joined: Thu Nov 08, 2007 4:12 pm
Location: Netherlands

Re: Version 0.6.1.0

Post by mo046 »

mo046 wrote:Furthermore, the %CN doesn't work properly. I have "%CN 05:51" shown in the device string, instead of a readable name or number. My setting is "%CN %TM"
Problem solved. The plugin needed some time to check the numbers. Now the %CN is gone from the DeviceString

I've also found another bug: the "last change" date and time of the WLAN virtual Device is not updated

Then you wrote:
Don't be scared to fill in your password, it is well protected
But the password is logged in the FBF.log, fully unprotected!!
** Maurice **
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Version 0.6.1.1

Post by Digit »

Here's a list of all bugs/crashes etc of the first day and their status:

Web Server Error, cannot serve file: C:\Program Files\HomeSeer HSPRO\html/FBF/style.css
Status:Fixed.

Will this new version still work with the older version or are there fundamental differences between the 2 ?
See my previous comment on this. To accommodate getting backward compatible again i included some extra logging when the Fritz!Box responds in a way that was not expected.
Status:Open

HS crashes on Search for Names procedure
Status: open

The %CN doesn't work properly.
This is a bit tricky; the search for a caller name could take more time then there is available. Setting the device string, triggering events, i didn't want to just sit and wait for the caller name to be found and hold everything else. So i introduced a thread that does all the searching and that will return the name 'somewhere in the near future'. Updating of the %CN in the Devicestring has to be tuned a bit; it's on the list.
Status: Open

'Search For Names' setting needs manual change in FBF.ini instead of the plugin 'tab'
Status:Fixed.

The "last change" date and time of the WLAN virtual Device is not updated
Status:Fixed.

The password is logged in the FBF.log, fully unprotected!!
This was the last thing that i have worked on before publishing and forgot to delete it; i needed it to see if it was working ok.
Status:Fixed.

Here's the updated version: http://www.hekkers.net/files/FBF_0611.rar
(Access db hasn't changed)
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Version 0.6.1.0

Post by Digit »

mo046 wrote:I also have crashes of HS2 (not prof version) with your latest updated version:

Code: Select all

26-1-2010 11:22:08
Kan bestand of assembly Interop.ADODB, Version=2.8.0.0, Culture=neutral, PublicKeyToken=null of een van de afhankelijkheden hiervan niet laden. Het systeem kan het opgegeven bestand niet vinden.
HomeSeer version: 2.4.0.6
Source: HSPI_FBF
Target: Void GetCallerInfo()
Maurice,
Could you please check if you have this file?
Capture26-1-2010-20.42.21.png
Capture26-1-2010-20.42.21.png (2.76 KiB) Viewed 16032 times
mo046
Member
Member
Posts: 186
Joined: Thu Nov 08, 2007 4:12 pm
Location: Netherlands

Re: Version 0.6.1.0

Post by mo046 »

Robert,

I don't have interop.adodb.dll in the Homeseer program directory, but it is being used by the RFXChart plugin. I've copied that file into the homeseer folder. Now everything seems to work with your latest version of the FBF plugin. Incoming call is working with lookup result from FBF internal phonebook.

However, now it seems that the plugin is causing homeseer to use up all CPU load. I've disabled the plugin (renamed HSPI_FBF.dll and restarted Homeseer). Now CPU load is back to normal.
** Maurice **
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Version 0.6.1.0

Post by Digit »

Eating all CPU is something i've never seen before... :?:
What happens when you re-enable the Plugin, does CPU go up right away after a restart of HS?
Or do you have any other clue or hint? Since most of the time the Plugin is just waiting for information coming from the Fritz!Box, nothing more..
Locked

Return to “Homeseer Fritz!box Plugin Forum”