show string from a txt or xml file in kodi
#1
hello,

i ve some txt and XML files on my system (data from my weather station)

is it e.g. possible to show infos from this files in Kodi?

samples.txt
Code:
actual_solar_irradiance_wqm 260
actual_thb0_height_m 10
actual_thb0_height_ft 33
actual_thb0_temp_c 15.9
actual_thb0_temp_f 60.6
actual_thb0_hum_rel 74
actual_thb0_hum_abs 10.0

or sample.xml
Code:
<?xml version="1.0" standalone="yes"?>
<weather>
    <actual>
        <actual_solar_irradiance_wqm>260</actual_solar_irradiance_wqm>
        <actual_thb0_height_m>10</actual_thb0_height_m>
        <actual_thb0_height_ft>33</actual_thb0_height_ft>
        <actual_thb0_temp_c>15.9</actual_thb0_temp_c>
        <actual_thb0_temp_f>60.6</actual_thb0_temp_f>
        <actual_thb0_hum_rel>74</actual_thb0_hum_rel>                                                
    </actual>
</weather>

Is it possible, to show the actual temp value (here 15.9) in Kodi?

Regard[/quote]
Reply
#2
Best bet you need to create a addon. Speedfan addon works off txt files to read the pc temperature. Maybe could look in the code to see how it works.
Aussie, Aussie, Aussie, Oi, Oi, Oi

Don't forget the Thank User button if i have helped!
|
V
Reply
#3
You need a module for reading from a file and one that cut the info as you wish.

I have it all in my script.featherence.service addon, will be available for downloading in a few weeks.
Reply
#4
(2015-11-29, 22:42)finalmakerr Wrote: You need a module for reading from a file and one that cut the info as you wish.

I have it all in my script.featherence.service addon, will be available for downloading in a few weeks.

I'm interested in this too. Any date yet?
Reply
#5
I will release it this month.
Meanwhile you're more then welcome to test it, PM me.

Edit:
Released!
script.featherence.service
Reply

Logout Mark Read Team Forum Stats Members Help
show string from a txt or xml file in kodi0