(2015-08-15, 08:47)Trillian_M1 Wrote: Hi pkscout
thanks for your quick reply and for adding this as a feature request. As my system is passive cooled I like to have an eye on temperature and what is going on with the system. So this is vital information for me. It would be great if I could display this information in the home screen all the time.
Looking forward to a release with this feature.
Thanks in advance.
Hi,
As I understand your request can't be implemented in SpeedFan Add-on as it is doing a "static" read of values in log files so it is impossible to display temp or fan speed on home screen all the time. But I was able to find the way how to accomplish your need and successfully implement it on my Kodi.
So this is what I did:
- copy original Confluence skin to Confluence.My (cp -r /usr/share/kodi/addons/skin.confluence /storage/.kodi/addons/skin.confluence.My)
- edit addon ID so it looks different then the original Confluence (nano /storage/.kodi/addons/skin.confluence.My/addon.xml -> id="skin.confluence.My-Kodi)
- edit /storage/.kodi/addons/skin.confluence.My/720p/VideoFullScreen.xml below the section:
<control type="label" id="1">
<description>Clock label</description>
<left>450</left>
<top>5</top>
<width>800</width>
<height>25</height>
<align>right</align>
<aligny>center</aligny>
<font>font15</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<label>$INFO[System.Time]</label>
<animation effect="slide" start="0,0" end="-70,0" time="0" condition="Window.IsVisible(VideoOSD)">conditional</animation>
</control>
I have added one more "Clock label" section as follow:
<control type="label" id="1">
<description>Clock label</description>
<left>450</left>
<top>25</top>
<width>800</width>
<height>25</height>
<align>right</align>
<aligny>center</aligny>
<font>font10</font>
<textcolor>yellow</textcolor>
<shadowcolor>black</shadowcolor>
<label>CPU Temp: $INFO[System.CPUTemperature]</label>
<animation effect="slide" start="0,0" end="-70,0" time="0" condition="Window.IsVisible(VideoOSD)">conditional</animation>
</control>
As the result all the time when you are at home screen of your Kodi you will see in yellow color in upper right corner information about Temp.
I hope this is what you are looking for.
And now back to SpeedFan Add-on.
First: this is really good idea and really nice Add-on but... it would be perfect if can be extended to fulfill some of more common configurations which I guess a lot of users running: Openelec (or another Unix-based OS) + Kodi installed on Raspberry Pi / Pi2 / Pi3 + library running on NAS box. My idea is an Add-on which can be configured to read remote files which store Temperature and Fan values. As different vendors of NAS boxes use different Linux distributions it can be tricky to configure Add-on to read different formats of those files.
One example from my Alt-F which is running on my D-Link DNS-320 - current Temperature value is stored in /tmp/sys/temp1_input file. This file contain only one value, e.g 43000 which means 43°C:
[root@dns320]# cat /tmp/sys/temp1_input
43000
[root@dns320]#
Current Fan speed value is located in /tmp/sys/fan1_input file and contain one value too, but it is exact value of fan's speed:
[root@dns320]# cat /tmp/sys/fan1_input
3000
[root@dns320]#
Second thing which should be configurable is ability to read data from mentioned files when connecting to the NAS using NFS protocol instead of SAMBA.
So this is my idea - kind of parser for reading values of Temperature and/or Fan speed from different files located on different locations (NFS, SAMBA shares)
How do you see this idea? Is it possible to build Add-on which do what I provided?