Beiträge von mczeus

    Hi,

    Ich bin neu hier und lese schon die ganze Zeit mit einfach spitze diese Forum. Habe nun auch paar Sachen realisieren können so wie ich sie wollte, unter anderem diese Garagen Tor Steuerung.Habe es auch hin bekommen meine Funk Steckdosen zu schalten über die konsole. Jetzt zu meiner Frage wie kann ich es am einfachsten realisieren diese befehle auf der schönen Weboberfläche zu integrieren? Schön wäre es wenn es mal so funktioniert das man auf der Weboberfläche eine Konfigurations Seite hat bei der man dann die master und Steuer codes einträgt und diese dann als button auf der Hauptseite unter den Tor buttons erscheinen. Ist evtl. etwas viel für mich der sich nicht sehr mit programmieren auskennt, schön wäre es mal einfach 2 buttons unter der Steuerung zu haben mit der ich mein Licht ein und aus schalten kann. Wie gehe ich da am besten vor mit welcher Programmiersprache muss ich mich da anfreunden. Wenn ich das richtig erkannt habe wird diese steuerung mit java realisiert!?!

    vielen dank schon mal

    Gruß

    Hi, ist es möglich das ans laufen zu bekommen? Am noobs system habe ich es ans laufen bekommen aber am osmc system hebt es an dem Befehl "sudo pip install rpi.gpio Flask configparser" dann bekomme ich die Fehlermeldung

    Spoiler anzeigen

    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.

    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Fri Oct 9 13:05:20 2015 from 192.168.1.6
    osmc@osmc:~$ sudo pip install rpi.gpio Flask configparser
    Downloading/unpacking rpi.gpio
    Downloading RPi.GPIO-0.5.11.tar.gz
    Running setup.py (path:/tmp/pip-build-i8ktMc/http://rpi.gpio/setup.py) egg_info for package rpi.gpio

    Downloading/unpacking Flask
    Downloading Flask-0.10.1.tar.gz (544kB): 544kB downloaded
    Running setup.py (path:/tmp/pip-build-i8ktMc/Flask/setup.py) egg_info for package Flask

    warning: no files found matching '*' under directory 'tests'
    warning: no previously-included files matching '*.pyc' found under directory 'docs'
    warning: no previously-included files matching '*.pyo' found under directory 'docs'
    warning: no previously-included files matching '*.pyc' found under directory 'tests'
    warning: no previously-included files matching '*.pyo' found under directory 'tests'
    warning: no previously-included files matching '*.pyc' found under directory 'examples'
    warning: no previously-included files matching '*.pyo' found under directory 'examples'
    no previously-included directories found matching 'docs/_build'
    no previously-included directories found matching 'docs/_themes/.git'
    Downloading/unpacking configparser
    Downloading configparser-3.3.0r2.tar.gz
    Running setup.py (path:/tmp/pip-build-i8ktMc/configparser/setup.py) egg_info for package configparser

    Downloading/unpacking Werkzeug>=0.7 (from Flask)
    Downloading Werkzeug-0.10.4-py2.py3-none-any.whl (293kB): 293kB downloaded
    Downloading/unpacking Jinja2>=2.4 (from Flask)
    Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB): 263kB downloaded
    Downloading/unpacking itsdangerous>=0.21 (from Flask)
    Downloading itsdangerous-0.24.tar.gz (46kB): 46kB downloaded
    Running setup.py (path:/tmp/pip-build-i8ktMc/itsdangerous/setup.py) egg_info for package itsdangerous

    warning: no previously-included files matching '*' found under directory 'docs/_build'
    Downloading/unpacking MarkupSafe (from Jinja2>=2.4->Flask)
    Downloading MarkupSafe-0.23.tar.gz
    Running setup.py (path:/tmp/pip-build-i8ktMc/MarkupSafe/setup.py) egg_info for package MarkupSafe

    Installing collected packages: rpi.gpio, Flask, configparser, Werkzeug, Jinja2, itsdangerous, MarkupSafe
    Running setup.py install for rpi.gpio
    building 'RPi.GPIO' extension
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c source/py_gpio.c -o build/temp.linux-armv7l-2.7/source/py_gpio.o
    unable to execute 'arm-linux-gnueabihf-gcc': No such file or directory
    error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
    Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-i8ktMc/http://rpi.gpio/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-_19A8j-record/install-record.txt --single-version-externally-managed --compile:
    running install

    running build

    running build_py

    creating build

    creating build/lib.linux-armv7l-2.7

    creating build/lib.linux-armv7l-2.7/RPi

    copying RPi/__init__.py -> build/lib.linux-armv7l-2.7/RPi

    running build_ext

    building 'RPi.GPIO' extension

    creating build/temp.linux-armv7l-2.7

    creating build/temp.linux-armv7l-2.7/source

    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c source/py_gpio.c -o build/temp.linux-armv7l-2.7/source/py_gpio.o

    unable to execute 'arm-linux-gnueabihf-gcc': No such file or directory

    error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

    ----------------------------------------
    Cleaning up...
    Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-i8ktMc/http://rpi.gpio/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-_19A8j-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-i8ktMc/rpi.gpio
    Storing debug log for failure in /root/.pip/pip.log
    osmc@osmc:~$

    Ist es möglich den Fehler zu beheben, was mache ich falsch oder was fehlt?

    Vielen dank schon mal für die Hilfe


    Edit: habe es hin bekommen es fehlte "sudo apt-get install build-essential"