[RELEASE] SpeedFan Information Display

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
dbbd Offline
Junior Member
Posts: 48
Joined: Dec 2008
Reputation: 0
Post: #46
I'm trying to use SID (XBMC 12.1 speedfan 4.49), went over the wiki, it displays nothing.
Here's an excerpt from the log. Hope you can help.

20:58:52 T:3808 NOTICE: Thread Background Loader start, auto delete: false
20:58:52 T:3808 DEBUG: Thread Background Loader 3808 terminating
20:58:56 T:5340 DEBUG: CApplication::ProcessMouse: trying mouse action leftclick
20:58:56 T:5340 INFO: initializing python engine.
20:58:56 T:5340 DEBUG: new python thread created. id=13
20:58:56 T:4244 NOTICE: Thread XBPyThread start, auto delete: false
20:58:56 T:4244 DEBUG: Python thread: start processing
20:58:56 T:4244 NOTICE: -->Python Interpreter Initialized<--
20:58:56 T:4244 DEBUG: XBPyThread::Process - The source file to load is C:\Users\dan\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py
20:58:56 T:4244 DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\dan\AppData\Roaming\XBMC\addons\script.speedfaninfo;C:\Program Files\XBMC12.1\addons\script.module.simplejson\lib;C:\Users\dan\AppData\Roaming\​XBMC\addons\weather.wunderground\resources\lib\wunderground;C:\Users\dan\AppData​\Roaming\XBMC\addons\script.module.xmltodict\lib;C:\Users\dan\AppData\Roaming\XB​MC\addons\script.module.beautifulsoup\lib;C:\Program Files\XBMC12.1\addons\script.module.pil\lib;C:\Users\dan\AppData\Roaming\XBMC\ad​dons\script.common.plugin.cache\lib;C:\Users\dan\AppData\Roaming\XBMC\addons\scr​ipt.module.simple.downloader\lib;C:\Users\dan\AppData\Roaming\XBMC\addons\script​.module.mechanize\lib;C:\Users\dan\AppData\Roaming\XBMC\addons\script.module.par​sedom\lib;C:\Users\dan\AppData\Roaming\XBMC\addons\script.module.xbmcswift2\lib;​C:\Users\dan\AppData\Roaming\XBMC\addons\script.web.viewer\lib;C:\Program Files\XBMC12.1\addons\script.module.pysqlite\lib;C:\Program Files\XBMC12.1\system\python\DLLs;C:\Program Files\XBMC12.1\system\python\Lib;C:\Program Files\XBMC12.1\python26.zip;C:\Program Files\XBMC12.1\system\python\lib\plat-win;C:\Program Files\XBMC12.1\system\python\lib\lib-tk;C:\Program Files\XBMC12.1;C:\Program Files\XBMC12.1\system\python;C:\Program Files\XBMC12.1\system\python\lib\site-packages;
20:58:56 T:4244 DEBUG: XBPyThread::Process - Entering source directory C:\Users\dan\AppData\Roaming\XBMC\addons\script.speedfaninfo
20:58:56 T:4244 DEBUG: Instantiating addon using automatically obtained id of "script.speedfaninfo" dependent on version 2.1.0 of the xbmc.python api
20:58:56 T:4244 NOTICE: [speedfaninfo] starting script
20:58:56 T:4244 DEBUG: [speedfaninfo] attempting to create main script object
20:58:56 T:4244 DEBUG: [speedfaninfo] running __init__ from SpeedFanInfoWindow class
20:58:56 T:4244 DEBUG: [speedfaninfo] main script object created
20:58:56 T:4244 DEBUG: [speedfaninfo] attempting to create worker thread
20:58:56 T:4244 DEBUG: [speedfaninfo] worker thread created
20:58:56 T:4244 DEBUG: [speedfaninfo] attempting to start worker thread
20:58:56 T:4420 DEBUG: [speedfaninfo] running the worker thread from inside the def
20:58:56 T:4244 DEBUG: [speedfaninfo] worker thread started
20:58:56 T:4244 DEBUG: [speedfaninfo] request window open via doModal
20:58:56 T:5340 DEBUG: ------ Window Init (C:\Users\dan\AppData\Roaming\XBMC\addons\script.speedfaninfo\resources\skins\De​fault\720p\speedfaninfo-compact.xml) ------
20:58:56 T:5340 INFO: Loading skin file: C:\Users\dan\AppData\Roaming\XBMC\addons\script.speedfaninfo\resources\skins\Def​ault\720p\speedfaninfo-compact.xml, load type: LOAD_ON_GUI_INIT
20:58:56 T:5340 DEBUG: POParser: loaded 0 strings from file C:\Users\dan\AppData\Roaming\XBMC\addons\script.speedfaninfo\resources\language\​english\strings.po
20:58:56 T:5340 DEBUG: CGUIMediaWindow::GetDirectory ()
20:58:56 T:5340 DEBUG: ParentPath = []
20:58:56 T:4244 DEBUG: [speedfaninfo] running inInit from SpeedFanInfoWindow class
20:58:56 T:4420 DEBUG: [speedfaninfo] start counting the delay set in the preference
20:58:56 T:4420 DEBUG: [speedfaninfo] window is still open, sleep 1 second
20:58:56 T:4244 DEBUG: [speedfaninfo] attempting to add info of
20:58:56 T:4244 DEBUG: [speedfaninfo] running populateFromLog from SpeedFanInfoWindow class
20:58:56 T:4244 DEBUG: [speedfaninfo] create new LogParser object
20:58:56 T:4244 DEBUG: [speedfaninfo] running __init__ from LogParser class
20:58:56 T:4244 DEBUG: [speedfaninfo] ask the LogParser to get temps, speeds, voltages, and percents
20:58:56 T:4244 DEBUG: [speedfaninfo] running parseLog from LogParser class
20:58:56 T:4244 DEBUG: [speedfaninfo] started parsing log
20:58:56 T:4244 DEBUG: [speedfaninfo] read the log file
20:58:56 T:4244 DEBUG: [speedfaninfo] running readLogFile from LogParser class
20:58:56 T:4244 DEBUG: [speedfaninfo] trying to open logfile C:\Program Files\SpeedFan\SFLog20130411.csv
20:58:56 T:4244 DEBUG: [speedfaninfo] opened logfile C:\Program Files\SpeedFan\SFLog20130411.csv
20:58:56 T:4244 DEBUG: [speedfaninfo] first line: Seconds GPU HD0 Core 0 Core 1
20:58:56 T:4244 DEBUG: [speedfaninfo] last line: 75534 45.0 38.0 22.0 25.0
20:58:56 T:4244 DEBUG: [speedfaninfo] pair up the heading with the value
20:58:56 T:4244 DEBUG: [speedfaninfo]
20:58:56 T:4244 DEBUG: Previous line repeats 3 times.
20:58:56 T:4244 DEBUG: [speedfaninfo] ended parsing log, displaying results
20:58:56 T:4244 DEBUG: [speedfaninfo] starting to convert output for window
20:58:56 T:4244 DEBUG: [speedfaninfo] add fancy degree symbol to temperatures
20:58:56 T:4244 DEBUG: [speedfaninfo] reset the window to prep it for data
20:58:56 T:4244 DEBUG: [speedfaninfo] put in all the temperature information
20:58:56 T:4244 DEBUG: [speedfaninfo] put in all the speed information (including percentages)
20:58:56 T:4244 DEBUG: [speedfaninfo] put in all the voltage information
20:58:56 T:4244 DEBUG: [speedfaninfo] completed putting information into lists, displaying window
20:58:57 T:4420 DEBUG: [speedfaninfo] window is still open, sleep 1 second
20:59:00 T:4244 DEBUG: Previous line repeats 3 times.
20:59:00 T:4244 DEBUG: [speedfaninfo] running onAction from SpeedFanInfoWindow class
20:59:01 T:4420 DEBUG: Previous line repeats 13 times.
20:59:01 T:4420 DEBUG: [speedfaninfo] window is still open, sleep 1 second
20:59:01 T:4244 DEBUG: [speedfaninfo] running onAction from SpeedFanInfoWindow class
20:59:02 T:4420 DEBUG: Previous line repeats 25 times.
20:59:02 T:4420 DEBUG: [speedfaninfo] window is still open, sleep 1 second
20:59:03 T:4244 DEBUG: [speedfaninfo] running onAction from SpeedFanInfoWindow class
20:59:03 T:4420 DEBUG: Previous line repeats 5 times.
20:59:03 T:4420 DEBUG: [speedfaninfo] window is still open, sleep 1 second
20:59:03 T:4244 DEBUG: [speedfaninfo] running onAction from SpeedFanInfoWindow class
20:59:04 T:4420 DEBUG: Previous line repeats 9 times.
20:59:04 T:4420 DEBUG: [speedfaninfo] window is still open, sleep 1 second
20:59:05 T:5340 DEBUG: Previous line repeats 1 times.
20:59:05 T:5340 DEBUG: Keyboard: scancode: 38, sym: 0134, unicode: 0000, modifier: 100
20:59:05 T:5340 DEBUG: CApplication::OnKey: alt-leftalt (4f0d4) pressed, action is
20:59:05 T:4244 DEBUG: [speedfaninfo] running onAction from SpeedFanInfoWindow class
20:59:05 T:5340 DEBUG: ------ Window Deinit (Pointer.xml) ------
20:59:05 T:5340 DEBUG: CWinEventsWin32::WndProcWindow is inactive
20:59:06 T:4420 DEBUG: [speedfaninfo] window is still open, sleep 1 second
20:59:25 T:3272 DEBUG: Previous line repeats 18 times.
20:59:25 T:3272 DEBUG: Thread Jobworker 3272 terminating (autodelete)
20:59:25 T:4396 DEBUG: Thread Jobworker 4396 terminating (autodelete)
20:59:25 T:4420 DEBUG: [speedfaninfo] window is still open, sleep 1 second
20:59:26 T:4420 DEBUG: [speedfaninfo] window is still open, updating the window with new data
20:59:26 T:4420 DEBUG: [speedfaninfo] attempting to add info of
20:59:26 T:4420 DEBUG: [speedfaninfo] running populateFromLog from SpeedFanInfoWindow class
20:59:26 T:4420 DEBUG: [speedfaninfo] create new LogParser object
20:59:26 T:4420 DEBUG: [speedfaninfo] running __init__ from LogParser class
20:59:26 T:4420 DEBUG: [speedfaninfo] ask the LogParser to get temps, speeds, voltages, and percents
20:59:26 T:4420 DEBUG: [speedfaninfo] running parseLog from LogParser class
20:59:26 T:4420 DEBUG: [speedfaninfo] started parsing log
20:59:26 T:4420 DEBUG: [speedfaninfo] read the log file
20:59:26 T:4420 DEBUG: [speedfaninfo] running readLogFile from LogParser class
20:59:26 T:4420 DEBUG: [speedfaninfo] trying to open logfile C:\Program Files\SpeedFan\SFLog20130411.csv
20:59:26 T:4420 DEBUG: [speedfaninfo] opened logfile C:\Program Files\SpeedFan\SFLog20130411.csv
20:59:26 T:4420 DEBUG: [speedfaninfo] first line: Seconds GPU HD0 Core 0 Core 1
20:59:26 T:4420 DEBUG: [speedfaninfo] last line: 75564 44.0 38.0 26.0 28.0
20:59:26 T:4420 DEBUG: [speedfaninfo] pair up the heading with the value
20:59:26 T:4420 DEBUG: [speedfaninfo]
20:59:26 T:4420 DEBUG: Previous line repeats 3 times.
20:59:26 T:4420 DEBUG: [speedfaninfo] ended parsing log, displaying results
20:59:26 T:4420 DEBUG: [speedfaninfo] starting to convert output for window
20:59:26 T:4420 DEBUG: [speedfaninfo] add fancy degree symbol to temperatures
20:59:26 T:4420 DEBUG: [speedfaninfo] reset the window to prep it for data
20:59:26 T:4420 DEBUG: [speedfaninfo] put in all the temperature information
20:59:26 T:4420 DEBUG: [speedfaninfo] put in all the speed information (including percentages)
20:59:26 T:4420 DEBUG: [speedfaninfo] put in all the voltage information
20:59:26 T:4420 DEBUG: [speedfaninfo] completed putting information into lists, displaying window
20:59:26 T:4420 DEBUG: [speedfaninfo] start counting the delay set in the preference
20:59:26 T:4420 DEBUG: [speedfaninfo] window is still open, sleep 1 second
20:59:26 T:5340 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib.dll)
20:59:27 T:4420 DEBUG: [speedfaninfo] window is still open, sleep 1 second
find quote
dbbd Offline
Junior Member
Posts: 48
Joined: Dec 2008
Reputation: 0
Post: #47
OK, since I really needed this to work, I went in and debugged SID.

I found out that the headers of the speedfan CSV are not the headers expected by SID.
My CSV looked like
Code:
Seconds    GPU    Temp1    Temp2
50610    31.0    30.0    25.0

while SID's parseLog was expecting any of "voltage" "speed" "temp" and "percent" (case insensitiive)
I did a quick hack fix and modified the "temp" line to read
Code:
if(item_type == "temp" or item_type == "gpu" or item_type == "temp1" or item_type == "temp2"):

and now my version works.

I guess a better solution was to provide some translation from speedfan header to sensor type, perhaps store that translation table in a user editable xml or a simpler representation.

Dan
find quote
pkscout Offline
Posting Freak
Posts: 1,088
Joined: Jan 2011
Reputation: 23
Location: Honolulu, HI
Post: #48
There are instructions in the wiki (link in sig) on how to name things so that they get paired up properly. Follow those and you won't have to modify the code.
find quote
dbbd Offline
Junior Member
Posts: 48
Joined: Dec 2008
Reputation: 0
Post: #49
(2013-04-14 09:23)pkscuot Wrote:  There are instructions in the wiki (link in sig) on how to name things so that they get paired up properly. Follow those and you won't have to modify the code.
This are the instructions I found in the wiki:
Quote:This is the first tab in the SpeedFan configuration window (labeled Temperatures). Any item you are logging needs it's label to end with .temp (not case sensitive) for SpeedFanInfo to parse it. (i.e. CPU.temp)
However, there is no mention of how you can modify speedfan labels, nor can I find it in speedfan's documentation.
find quote
anarchoi Offline
Senior Member
Posts: 234
Joined: Jul 2011
Reputation: 0
Post: #50
any screenshot ?
find quote
pkscout Offline
Posting Freak
Posts: 1,088
Joined: Jan 2011
Reputation: 23
Location: Honolulu, HI
Post: #51
(2013-04-14 09:49)dbbd Wrote:  
(2013-04-14 09:23)pkscuot Wrote:  There are instructions in the wiki (link in sig) on how to name things so that they get paired up properly. Follow those and you won't have to modify the code.
This are the instructions I found in the wiki:
Quote:This is the first tab in the SpeedFan configuration window (labeled Temperatures). Any item you are logging needs it's label to end with .temp (not case sensitive) for SpeedFanInfo to parse it. (i.e. CPU.temp)
However, there is no mention of how you can modify speedfan labels, nor can I find it in speedfan's documentation.

http://www.almico.com/sfscreenshots.php
find quote
dbbd Offline
Junior Member
Posts: 48
Joined: Dec 2008
Reputation: 0
Post: #52
(2013-04-15 04:17)pkscuot Wrote:  
(2013-04-14 09:49)dbbd Wrote:  
(2013-04-14 09:23)pkscuot Wrote:  There are instructions in the wiki (link in sig) on how to name things so that they get paired up properly. Follow those and you won't have to modify the code.
This are the instructions I found in the wiki:
Quote:This is the first tab in the SpeedFan configuration window (labeled Temperatures). Any item you are logging needs it's label to end with .temp (not case sensitive) for SpeedFanInfo to parse it. (i.e. CPU.temp)
However, there is no mention of how you can modify speedfan labels, nor can I find it in speedfan's documentation.

http://www.almico.com/sfscreenshots.php

Thank you, but this was NOT helpful.
find quote
stefx Offline
Junior Member
Posts: 11
Joined: Oct 2008
Reputation: 0
Post: #53
don't be rude Confused

you have to search a little

[Image: configtemps.gif]

you have to double click the label to edit it
find quote
HD Life Offline
Junior Member
Posts: 38
Joined: Apr 2013
Reputation: 0
Post: #54
Can you please add some screenshot on how it looks in XBMC before I decide to install it, I've been searching for it but can't find any.

Thanks
find quote
pkscout Offline
Posting Freak
Posts: 1,088
Joined: Jan 2011
Reputation: 23
Location: Honolulu, HI
Post: #55
(2013-05-14 10:04)HD Life Wrote:  Can you please add some screenshot on how it looks in XBMC before I decide to install it, I've been searching for it but can't find any.

Thanks

SpeedFan Info has two display options: Normal and Compact. Compact is designed to be shown as an overlay (i.e. if you're watching a show you could popup SpeedFan Info to see what's going on with your fans).

Normal
[Image: uc?export=&amp;confirm=no_antivirus&...XZUZGxkY2M]

Compact
[Image: uc?export=&amp;confirm=no_antivirus&...zVseWg1WTg]

I've also added these to the wiki page for the addon.
find quote
HD Life Offline
Junior Member
Posts: 38
Joined: Apr 2013
Reputation: 0
Post: #56
Thank you, I appreciate that.
find quote
rebep Offline
Junior Member
Posts: 2
Joined: May 2013
Reputation: 0
Post: #57
Did a great job with this plugin Smile
In my works beautifully.
But I need to make the information display them on the page in a browser.
Is it possible to rework the script in the HTML code?
I'm very concerned about this, and I can not do that.
Is it a difficult job?
Has anyone taken to such a task?

Sorry for my English, I use Google Translate Wink
find quote
pkscout Offline
Posting Freak
Posts: 1,088
Joined: Jan 2011
Reputation: 23
Location: Honolulu, HI
Post: #58
This add on is designed to display this information from within XBMC. There are no plans to add any other output (like HTML). You might check the SpeedFan site and see if there is a forum there where someone else has tackled the process of outputting log information in HTML.
find quote
rebep Offline
Junior Member
Posts: 2
Joined: May 2013
Reputation: 0
Post: #59
I've never heard of it. Only the XAP automation, but for me it's "black magic". Thanks for the reply, I'll keep looking.
find quote
Odar Offline
Junior Member
Posts: 38
Joined: Apr 2010
Reputation: 0
Post: #60
Hello.

Is this working with SpeedFan 4.49? I have installed last version of XBMC, SpeedFan Add-on from repository and it doesn't show anything. LOG file exists in /Program Files/SpeedFan/ folder.

Thank you for help.

EDIT:
Probably, I have to rename titles in SpeedFan settings - I will try
http://forum.xbmc.org/showthread.php?tid...pid1396386

[Image: widget]
(This post was last modified: 2013-06-20 15:39 by Odar.)
find quote
Post Reply