• 1
  • 5
  • 6
  • 7
  • 8
  • 9(current)
[RELEASE] SpeedFan Information Display
0.7.3 Released

0.7.3 was released today and should be available in the main Kodi repo and my beta repo.

v.0.7.3
- convert Celcius in Speedfan log to Fahrenheit when Fahrenheit is selected in settings
Reply
Just to say thanks for this.
It took a while to configure, I had to rename the attributes via the config file as the GUI was being a bloody pain. But got there in the end.

Works like a charm. Thanks
Reply
Hi pkscount,
I would like to bring an idea to SpeedFan add-on.
Now it allow us to display temperatures and fan's speed.
I'm generating a log file on my NAS that is perfectly maintained by your add-on so when I'm pressing a button on my TV remote I'm always able to see what are the parameters of my NAS:
Image

Log file is having the following format (fields are TAB delimited):
Seconds    NAS.temp    HD1.temp    HD2.temp    HDU.temp    NAS.speed
183146    39.0    40    43    36    6000
183246    39.0    40    43    36    6000
183346    39.0    40    43    36    6000
183446    39.0    40    43    36    6000
183547    39.0    40    43    36    6000
183647    39.0    40    43    36    6000
183747    39.0    40    43    36    6000
183848    39.0    40    43    36    6000
183948    39.0    40    43    36    6000
184048    39.0    40    43    36    6000
184150    39.0    40    43    36    6000
184253    39.0    40    43    36    6000
184354    40.0    40    43    36    6000
184454    39.0    40    43    36    6000
184554    39.0    40    43    37    6000
184852    39.0    40    43    36    6000



My idea is that there is one parameter more to be displayed: disk size.
I don't know how big effort it is to add this functionality but it would be great to see this new value.
So my proposal is that if there is a field .size (there are already: .temp and .speed) then the value is displayed as it is.
Example with new log file format:
Seconds    NAS.temp    HD1.temp    HD2.temp    HDU.temp    NAS.speed    DSK-Free.size
183146    39.0    40    43    36    6000    930.3G
183246    39.0    40    43    36    6000    930.3G
183346    39.0    40    43    36    6000    930.3G
183446    39.0    40    43    36    6000    930.3G
183547    39.0    40    43    36    6000    930.3G
183647    39.0    40    43    36    6000    930.3G
183747    39.0    40    43    36    6000    930.3G
183848    39.0    40    43    36    6000    930.3G
183948    39.0    40    43    36    6000    930.3G
184048    39.0    40    43    36    6000    930.3G
184150    39.0    40    43    36    6000    930.3G
184253    39.0    40    43    36    6000    930.3G
184354    40.0    40    43    36    6000    930.3G
184454    39.0    40    43    36    6000    930.3G
184554    39.0    40    43    37    6000    930.3G
184852    39.0    40    43    36    6000    1.1T



Column with disk size (in above example free disk space) should be displayed as it is without a need to add any suffix like it is for speed (rpm) and temperature (ºC)
With current SpeedFan version I can simulate disk size as speed but there are two drawbacks: value is rounded so I'm loosing information what exactly free space I have and there is added "rpm" suffix which is a little confusing for disk size, isn't it?
What do you think pkscount about this idea? Is it doable?
Big thanks to you for this add-on - it's really handy tool that allow me to detect few times that fan in my NAS "hanged" with low speed and temperature increased significantly so I had have to reboot it in order to cool it down by bringing back fan to high speed.
And of course: Marry Christmas and Happy New Year 2018 Smile
Reply
Let me see what I can do.  I don't think it would be too hard to add a .size option.  I'll probably have to do it as a "passthrough" though.  That means whatever is in the log file for size is what gets output.  Since this is something that has to be added outside SpeedFan anyway I'll assume whatever script you have can handle the size stuff however you want it to.
Reply
(2017-12-23, 21:41)rafikW Wrote: Hi pkscount,
I would like to bring an idea to SpeedFan add-on.
Now it allow us to display temperatures and fan's speed.
I'm generating a log file on my NAS that is perfectly maintained by your add-on so when I'm pressing a button on my TV remote I'm always able to see what are the parameters of my NAS:
Image

Log file is having the following format (fields are TAB delimited):
Seconds    NAS.temp    HD1.temp    HD2.temp    HDU.temp    NAS.speed
183146    39.0    40    43    36    6000
183246    39.0    40    43    36    6000
183346    39.0    40    43    36    6000
183446    39.0    40    43    36    6000
183547    39.0    40    43    36    6000
183647    39.0    40    43    36    6000
183747    39.0    40    43    36    6000
183848    39.0    40    43    36    6000
183948    39.0    40    43    36    6000
184048    39.0    40    43    36    6000
184150    39.0    40    43    36    6000
184253    39.0    40    43    36    6000
184354    40.0    40    43    36    6000
184454    39.0    40    43    36    6000
184554    39.0    40    43    37    6000
184852    39.0    40    43    36    6000



My idea is that there is one parameter more to be displayed: disk size.
I don't know how big effort it is to add this functionality but it would be great to see this new value.
So my proposal is that if there is a field .size (there are already: .temp and .speed) then the value is displayed as it is.
Example with new log file format:
Seconds    NAS.temp    HD1.temp    HD2.temp    HDU.temp    NAS.speed    DSK-Free.size
183146    39.0    40    43    36    6000    930.3G
183246    39.0    40    43    36    6000    930.3G
183346    39.0    40    43    36    6000    930.3G
183446    39.0    40    43    36    6000    930.3G
183547    39.0    40    43    36    6000    930.3G
183647    39.0    40    43    36    6000    930.3G
183747    39.0    40    43    36    6000    930.3G
183848    39.0    40    43    36    6000    930.3G
183948    39.0    40    43    36    6000    930.3G
184048    39.0    40    43    36    6000    930.3G
184150    39.0    40    43    36    6000    930.3G
184253    39.0    40    43    36    6000    930.3G
184354    40.0    40    43    36    6000    930.3G
184454    39.0    40    43    36    6000    930.3G
184554    39.0    40    43    37    6000    930.3G
184852    39.0    40    43    36    6000    1.1T



Column with disk size (in above example free disk space) should be displayed as it is without a need to add any suffix like it is for speed (rpm) and temperature (ºC)
With current SpeedFan version I can simulate disk size as speed but there are two drawbacks: value is rounded so I'm loosing information what exactly free space I have and there is added "rpm" suffix which is a little confusing for disk size, isn't it?
What do you think pkscount about this idea? Is it doable?
Big thanks to you for this add-on - it's really handy tool that allow me to detect few times that fan in my NAS "hanged" with low speed and temperature increased significantly so I had have to reboot it in order to cool it down by bringing back fan to high speed.
And of course: Marry Christmas and Happy New Year 2018 Smile
 It turns out there is a previously undocumented feature of SFID that allows you to show any other log information in an OTHER section by labeling it thing.other.  So if you change your labels from .size to .other they should show up.  I'd forgotten I added that, and I'd also never documented it in the wiki.  Give that a try.  I also updated the wiki page with that information.
Reply
Yes!
I can confirm .other section works.
Image
That was amazing quick solution.
I'm glad you have found that undocumented feature.
Many thanks!
Reply
There is a new version imminent for Kodi 17 and newer that brings Python 2/3 compatibility (necessary for Kodi 19).  Due to some security concerns, the option to run an external script to generate a log file has been removed from version 1.0.0 of SPID.  If you depend on that functionality, you should set SPID not to auto update.  Please note though that once you upgrade to Kodi 19 you will have to use version 1.0.0 or later of SPID.
Reply
New Beta Available (1.1.0~beta2)
v.1.1.0~beta2
- moved common libs to lib folder and eliminated unused common libraries
- SpeedFan Information Display no longer uses python threads to accomplish window updates
- changed XBMC to Kodi in addon description

I'm not sure why I decided I needed to use threads to make this addon work, but I removed the thread stuff and rewrote it in a more sane way.  These are all internal changes and shouldn't affect the way the addon works.  The beta is available in my beta repo.  There is information on the SPID wiki page on the Kodi wiki on where to download the beta repo if you want to try this.
Reply
Tiny Little Beta

v.1.1.1~beta1 (v.1.1.101~beta1 for Matrix)
- changing in logging to accommodate new logging requirements for Kodi 19

It's in my beta repo as ususal.
Reply
Hi,
Now I'm on Kodi Matrix and unfortunately getting the following error when trying to display my log file:

2021-04-10 18:41:48.354 T:8380    ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'AttributeError'>
                                                   Error Contents: module 'kodi_six.xbmc' has no attribute 'LOGNOTICE'
                                                   Traceback (most recent call last):
                                                     File "/storage/.kodi/addons/script.speedfaninfo/default.py", line 4, in <module>
                                                       window = SpeedFan.Main()
                                                     File "/storage/.kodi/addons/script.speedfaninfo/resources/lib/spid.py", line 34, in __init__
                                                       self.LW.log( ['script version %s started' % self.SETTINGS['ADDONVERSION']], xbmc.LOGNOTICE )
                                                   AttributeError: module 'kodi_six.xbmc' has no attribute 'LOGNOTICE'
                                                   -->End of Python script error report<--


Log file has the following structure:
Seconds    CPU0.temp    CPU1.temp    HD1.temp    HD2.temp    HD3.temp    HD4.temp    FreeSize.other    CPU.other    LOAD.other
183924    35.0    36.0    30    31    33    32    4.60TB    3.9%    0.15
184024    36.0    36.0    30    31    33    32    4.60TB    2.0%    0.12
184125    36.0    36.0    30    31    33    32    4.60TB    5.0%    0.05
184226    36.0    35.0    30    31    33    32    4.60TB    2.9%    0.12
184326    36.0    36.0    30    31    33    32    4.60TB    3.9%    0.17
184427    39.0    36.0    30    31    33    32    4.60TB    5.8%    0.14
184527    36.0    35.0    30    31    33    32    4.60TB    2.9%    0.05
184628    35.0    36.0    30    31    33    32    4.60TB    2.0%    0.08
184728    36.0    36.0    30    31    33    32    4.60TB    1.0%    0.06
184829    36.0    35.0    30    31    33    32    4.60TB    4.8%    0.06

Using Version 1.2.0+matrix.1

Of course it used to work on Kodi Leia.
Reply
(2021-04-10, 18:49)rafikW Wrote: Hi,
Now I'm on Kodi Matrix and unfortunately getting the following error when trying to display my log file:

Using Version 1.2.0+matrix.1

Of course it used to work on Kodi Leia.
Not sure how that slipped through testing or the addon review process, but that error is because of a change in logging levels available with Matrix.  I'll submit an update to fix it.
Reply
(2021-04-11, 01:19)pkscout Wrote:
(2021-04-10, 18:49)rafikW Wrote: Hi,
Now I'm on Kodi Matrix and unfortunately getting the following error when trying to display my log file:

Using Version 1.2.0+matrix.1

Of course it used to work on Kodi Leia.

Not sure how that slipped through testing or the addon review process, but that error is because of a change in logging levels available with Matrix.  I'll submit an update to fix it.

Hi
Last update work with Matrix
Thank you
Windows 10 + MariaDB base + Matrix | Kodi Build for intel Kodi-Native 3D MVC Playback (as possible)
Skin Titan Mod | Link: Color themes for Titan Mod | Link: Littles mods
For Intel Nuc : Kit Mpc-HC/BE : Config External player with 3D and Pathrought
Reply
(2021-04-11, 01:19)pkscout Wrote:
(2021-04-10, 18:49)rafikW Wrote: Hi,
Now I'm on Kodi Matrix and unfortunately getting the following error when trying to display my log file:

Using Version 1.2.0+matrix.1

Of course it used to work on Kodi Leia.
Not sure how that slipped through testing or the addon review process, but that error is because of a change in logging levels available with Matrix.  I'll submit an update to fix it.
pkscout: Thanks a lot, updated version works fine.
Reply
  • 1
  • 5
  • 6
  • 7
  • 8
  • 9(current)

Logout Mark Read Team Forum Stats Members Help
[RELEASE] SpeedFan Information Display0