need help creating Add-On

  • Hello,

    i trie to implement the wiringPi "https://l.facebook.com/l.php?u=http%3…VABRwMpA4nTpWao"

    to use it with "https://l.facebook.com/l.php?u=https%…ZbaGBum0g3BXCzI" this.

    my Python Script look like this

    I can start the script but nothing happens

    What do I missing?

    This is inside my virtual.wiringPi

    Fernseher:~/.kodi/addons/virtual.wiringPi # ls *

    addon.xml default.py icon.png

    bin:

    gpio hddledPi netledPi

    include:

    wiringPi.h wiringPiSPI.h wiringShift.h

    wiringPiI2C.h wiringSerial.h

    lib:

    libwiringPi.so libwiringPiDev.so

    resources:

    fanart.png icon.png


    thank you for help.

  • Is the bin subdir in PATH, and the lib subdir in LD_LIBRARY_PATH? If not, add them.

    Are the files in the bin subdir executable. If not, make them executable.

    Once you have checked this, try to run the commands from the shell, eg, hddledPi -d

    Hope this helps

  • Hi,

    i made the files executable and netledPi works

    but on hddledPi I get this error

    Could not find required lines in /proc/vmstatFernseher:~/.kodi/addons/script.hddledPi.kodi #

    found this in the code but I do not know what it means.