Own Label with Information
#1
Hello,

i am using the nebula skin because my rasbperry pi 2 is used in an smart mirror project and a bright skin is very useful for that suppose. We also did managed to have the DHT22 sensor working on openelec, it´s not easy, because openelec don´t have git. So we installed the unofficial addon repository and installed the GPIO python lib and created a python program to read the sensor.

Now we want to customize the skin. On the homescreen on the weather page we wan´t to see the weather data from openweathermap (which is quite working) and also the own messured data. How to put the output from the python script (stored at /storage/scripts/temp.py) to the GUI of openelec without creating a whole app? I thought this will work with a little custimazation of the weather.xml in userdata/addon_data/script.skinshortcuts

Code:
    <shortcut>
        <defaultID />
        <label></label>
        <label2>Benutzerdefinierte Einträge</label2>
        <icon>DefaultShortcut.png</icon>
        <thumb />
        <action>RunScript('/storage/scripts/temp')</action>
    </shortcut>
Reply

Logout Mark Read Team Forum Stats Members Help
Own Label with Information0