Beiträge von Chris_R.

    Erstmal vielen Dank für die Antwort! :)

    Das mit der falschen Seite habe ich auch schon in Betracht gezogen, laut diversen Seiten, Tutorials und Bildern benutze ich die richtige Seite! Habe aber auch schon, um sicher zu gehen, die andere Seite getestet! ;)


    Die Farbbefehle laufen inzwischen, auf:

    Code
    version   : V1.01.1 (brindosch-d4ad877/fc7bc3c-1458755689
           build time: Mar 23 2016 14:19:58
    Unable to connect to host

    Warum ich jetzt "Unable to connect to host" bekomme muss ich noch ermitteln, ich weiß allerdings, dass er den Befehl auch schon mal erfolgreich absetzen konnte, die LEDs blieben auch da dunkel. :(

    Ohne grabber hab ich mit entsprechender [font="verdana, arial, helvetica, sans-serif"]hyperion.config.json auch versucht, ohne erfolg.[/font]

    Das gibt übrigens hyperiond /etc/hyperion.config.json aus:

    Hat vllt noch jemand eine Idee warum die die LEDs ihren Dienst verweigern?

    Hallo

    bevor ich zu meinem Problem komme, erstmal die Hardware:

    Raspberry Pi B + Netzteil 5v / [font="arial, sans-serif"]1500mA[/font]
    [font="arial, sans-serif"]LEDs: [font="verdana, arial, helvetica, sans-serif"]50 Stück 8mm RGB LEDs mit WS2801 Controller | http://www.amazon.de/12mm-RGB-LED-Strang-pcs/dp/B00KGDYOKS/ref=sr_1_2?s=lighting&ie=UTF8&qid=1458957255&sr=1-2&keywords=12mm+RGB+LED+Strang&tag=psblog-21 [Anzeige][/font][/font]
    [font="arial, sans-serif"]Netzteil: [/font][font="Arial, sans-serif"]Ausgang - 5V 4A (4000mA) DC http://www.amazon.de/Netzteil-Trafo-Netzadapter-5V-4A/dp/B004S7U4IO/ref=pd_bxgy_201_img_2?ie=UTF8&refRID=14HRV7K4FN58B38SGKQZ&tag=psblog-21 [Anzeige][/font]

    Grabber und HDMI Converter geb ich nicht an, diese scheinen laut Screenshots zu funktionieren.

    Ich verwende das aktuelle Image von [font="Source Sans Pro, Tahoma, Helvetica Neue, Arial, sans-serif"]sigi28[/font][font="Source Sans Pro, Tahoma, Helvetica Neue, Arial, sans-serif"] mit entsprechend angepasster hyperion.config.json.[/font]

    Mein Problem ist, dass ich die LED's absolut nicht kontrolliert zum leuchten bringe.

    Ich schließe die LED's den Farben nach wie in der Artikelbeschreibung an:
    [font="verdana, arial, helvetica, sans-serif"]Rot: +5V [/font]
    [font="verdana, arial, helvetica, sans-serif"]Blau: Minus GND [/font]
    [font="verdana, arial, helvetica, sans-serif"]3 Pin, Stecker Anschluß: [/font]
    [font="verdana, arial, helvetica, sans-serif"]Weiß: Data [/font]
    [font="verdana, arial, helvetica, sans-serif"]Grün: Clock [/font]
    [font="verdana, arial, helvetica, sans-serif"]Blau: Minus GND [/font]

    [font="verdana, arial, helvetica, sans-serif"](siehe Bild)[/font]
    [font="verdana, arial, helvetica, sans-serif"]24986178zk.jpg
    [/font]
    [font="verdana, arial, helvetica, sans-serif"]Ich hoffe man kann das nötigste erkennen. :)

    [/font]
    [font="verdana, arial, helvetica, sans-serif"]Wenn ich die die GND verbindung zum PI mal weg lasse blinken ALLE LEDs wild vor sich hin! Das sagt mir, dass sie zumindest funktionieren.[/font]
    Schließe ich alles nach diesem Schema an, leuchtet KEINE LED mehr.
    schaltung.png

    [font="verdana, arial, helvetica, sans-serif"]Ich hab auch schon versucht weiß und grün mal zu tauschen, ohne Erfolg. Die LED's bleiben einfach dunkel. Ich hab auch schon mehrere config files versucht!
    [/font]
    [font="verdana, arial, helvetica, sans-serif"]Hier die aktuelle hyperion.config.json:

    Code
    // Automatically generated configuration file for 'Hyperion daemon'[/font][/size][/color]// Generated by: HyperCon (The Hyperion deamon configuration file builder{/// Device configuration contains the following fields: /// * 'name'       : The user friendly name of the device (only used for display purposes)/// * 'type'       : The type of the device or leds (known types for now are/// APA102, Adalight, AmbiLed, Atmo, Hyperion-USBASP-WS2801, Hyperion-USBASP-WS2812, Lightberry, Lightpack, LPD6803, LPD8806, Multi-Lightpack, P9813, Paintpack, PhilipsHUE, PiBlaster, SEDU, Test, ThinkerForge, TPM2, WS2801, WS2812b, None)/// * [device type specific configuration]/// * 'colorOrder' : The order of the color bytes ('rgb', 'rbg', 'bgr', etc.)."device" :{"name"       : "MyPi","type"       : "ws2801","output"     : "/dev/spidev0.0","rate"     : 250000,"colorOrder" : "rgb"},/// Color manipulation configuration used to tune the output colors to specific surroundings. /// The configuration contains a list of color-transforms. Each transform contains the /// following fields:///  * 'id'   : The unique identifier of the color transformation (eg 'device_1') ///  * 'leds' : The indices (or index ranges) of the leds to which this color transform applies///             (eg '0-5, 9, 11, 12-17'). The indices are zero based. ///  * 'hsv' : The manipulation in the Hue-Saturation-Value color domain with the following ///            tuning parameters:///            - 'saturationGain'  The gain adjustement of the saturation///            - 'valueGain'       The gain adjustement of the value///  * 'red'/'green'/'blue' : The manipulation in the Red-Green-Blue color domain with the ///                           following tuning parameters for each channel:///            - 'threshold'       The minimum required input value for the channel to be on ///                                (else zero)///            - 'gamma'           The gamma-curve correction factor///            - 'blacklevel'      The lowest possible value (when the channel is black)///            - 'whitelevel'      The highest possible value (when the channel is white)////// Next to the list with color transforms there is also a smoothing option.///  * 'smoothing' : Smoothing of the colors in the time-domain with the following tuning ///                  parameters:///            - 'type'            The type of smoothing algorithm ('linear' or 'none')///            - 'time_ms'         The time constant for smoothing algorithm in milliseconds///            - 'updateFrequency' The update frequency of the leds in Hz///            - 'updateDelay'     The delay of the output to leds (in periods of smoothing)"color" :{"transform" :[ { "id"   : "default", "leds" : "*", "hsv" : { "saturationGain" : 1.0000, "valueGain"      : 1.0000 }, "red" : { "threshold"  : 0.0000, "gamma"      : 1.0000, "blacklevel" : 0.0000, "whitelevel" : 1.0000 }, "green" : { "threshold"  : 0.0000, "gamma"      : 1.0000, "blacklevel" : 0.0000, "whitelevel" : 1.0000 }, "blue" : { "threshold"  : 0.0000, "gamma"      : 1.0000, "blacklevel" : 0.0000, "whitelevel" : 1.0000 } } ],"smoothing" :{"type"            : "linear","time_ms"         : 150,"updateFrequency" : 30.0000,"updateDelay"     : 0}},/// The black border configuration, contains the following items: ///  * enable    : true if the detector should be activated///  * threshold : Value below which a pixel is regarded as black (value between 0.0 and 1.0)"blackborderdetector" : {"enable" : true,"threshold" : 0.1},/// The configuration of the effect engine, contains the following items: ///  * paths        : An array with absolute location(s) of directories with effects ///  * bootsequence : The effect selected as 'boot sequence'"effects" : {"paths" : [ "/opt/hyperion/effects" ]},"bootsequence" : {"effect" : "Rainbow swirl fast","duration_ms" : 3000},///  The configuration for the frame-grabber, contains the following items: ///   * width        : The width of the grabbed frames [pixels]///   * height       : The height of the grabbed frames [pixels]///   * frequency_Hz : The frequency of the frame grab [Hz]// "framegrabber" : // {// "width" : 64,// "height" : 64,// "frequency_Hz" : 10.0// },/// The configuration of the XBMC connection used to enable and disable the frame-grabber. Contains the following fields: ///  * xbmcAddress       : The IP address of the XBMC-host///  * xbmcTcpPort       : The TCP-port of the XBMC-server///  * grabVideo         : Flag indicating that the frame-grabber is on(true) during video playback///  * grabPictures      : Flag indicating that the frame-grabber is on(true) during picture show///  * grabAudio         : Flag indicating that the frame-grabber is on(true) during audio playback///  * grabMenu          : Flag indicating that the frame-grabber is on(true) in the XBMC menu///  * grabScreensaver   : Flag indicating that the frame-grabber is on(true) when XBMC is on screensaver///  * enable3DDetection : Flag indicating that the frame-grabber should switch to a 3D compatible modus if a 3D video is playing// "xbmcVideoChecker" : // {// "xbmcAddress" : "127.0.0.1",// "xbmcTcpPort" : 9090,// "grabVideo" : true,// "grabPictures" : true,// "grabAudio" : true,// "grabMenu" : false,// "grabScreensaver" : true,// "enable3DDetection" : true// },/// The configuration of the Json server which enables the json remote interface///  * port : Port at which the json server is started// "jsonServer" : // {// "port" : 19444// },/// The configuration of the Proto server which enables the protobuffer remote interface///  * port : Port at which the protobuffer server is started// "protoServer" : // {// "port" : 19445// },/// The configuration of the boblight server which enables the boblight remote interface///  * port : Port at which the boblight server is started// "boblightServer" : // {// "port" : 19333// },/// Configuration for the embedded V4L2 grabber///  * device          : V4L2 Device to use [default="/dev/video0"]///  * input           : V4L2 input to use [default=0]///  * standard        : Video standard (no-change/PAL/NTSC) [default="no-change"]///  * width                : V4L2 width to set [default=-1]///  * height               : V4L2 height to set [default=-1]///  * frameDecimation      : Frame decimation factor [default=2]///  * sizeDecimation       : Size decimation factor [default=8]///  * priority             : Hyperion priority channel [default=800]///  * mode                 : 3D mode to use 2D/3DSBS/3DTAB (note: no autodetection) [default="2D"]///  * cropLeft             : Cropping from the left [default=0]///  * cropRight            : Cropping from the right [default=0]///  * cropTop              : Cropping from the top [default=0]///  * cropBottom           : Cropping from the bottom [default=0]///  * redSignalThreshold   : Signal threshold for the red channel between 0.0 and 1.0 [default=0.0]///  * greenSignalThreshold : Signal threshold for the green channel between 0.0 and 1.0 [default=0.0]///  * blueSignalThreshold  : Signal threshold for the blue channel between 0.0 and 1.0 [default=0.0]"grabber-v4l2" : {"device" : "/dev/video0","input" : 0,"standard" : "no-change","width" : -1,"height" : -1,"frameDecimation" : 2,"sizeDecimation" : 8,"priority" : 800,"mode" : "2D","cropLeft" : 0,"cropRight" : 0,"cropTop" : 0,"cropBottom" : 0,"redSignalThreshold" : 0.0,"greenSignalThreshold" : 0.0,"blueSignalThreshold" : 0.0},///  The configuration for each individual led. This contains the specification of the area ///  averaged of an input image for each led to determine its color. Each item in the list ///  contains the following fields:///  * index: The index of the led. This determines its location in the string of leds; zero ///           being the first led.///  * hscan: The fractional part of the image along the horizontal used for the averaging ///           (minimum and maximum inclusive)///  * vscan: The fractional part of the image along the vertical used for the averaging ///           (minimum and maximum inclusive)"leds" : [ { "index" : 0, "hscan" : { "minimum" : 0.4559, "maximum" : 0.5441 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } }, { "index" : 1, "hscan" : { "minimum" : 0.3971, "maximum" : 0.4853 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } }, { "index" : 2, "hscan" : { "minimum" : 0.3382, "maximum" : 0.4265 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } }, { "index" : 3, "hscan" : { "minimum" : 0.2794, "maximum" : 0.3676 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } }, { "index" : 4, "hscan" : { "minimum" : 0.2206, "maximum" : 0.3088 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } }, { "index" : 5, "hscan" : { "minimum" : 0.1618, "maximum" : 0.2500 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } }, { "index" : 6, "hscan" : { "minimum" : 0.1029, "maximum" : 0.1912 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } }, { "index" : 7, "hscan" : { "minimum" : 0.0441, "maximum" : 0.1324 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } }, { "index" : 8, "hscan" : { "minimum" : 0.0000, "maximum" : 0.0735 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } }, { "index" : 9, "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } }, { "index" : 10, "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 }, "vscan" : { "minimum" : 0.7917, "maximum" : 1.0000 } }, { "index" : 11, "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 }, "vscan" : { "minimum" : 0.6250, "maximum" : 0.8750 } }, { "index" : 12, "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 }, "vscan" : { "minimum" : 0.4583, "maximum" : 0.7083 } }, { "index" : 13, "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 }, "vscan" : { "minimum" : 0.2917, "maximum" : 0.5417 } }, { "index" : 14, "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 }, "vscan" : { "minimum" : 0.1250, "maximum" : 0.3750 } }, { "index" : 15, "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.2083 } }, { "index" : 16, "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 17, "hscan" : { "minimum" : 0.0000, "maximum" : 0.0735 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 18, "hscan" : { "minimum" : 0.0441, "maximum" : 0.1324 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 19, "hscan" : { "minimum" : 0.1029, "maximum" : 0.1912 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 20, "hscan" : { "minimum" : 0.1618, "maximum" : 0.2500 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 21, "hscan" : { "minimum" : 0.2206, "maximum" : 0.3088 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 22, "hscan" : { "minimum" : 0.2794, "maximum" : 0.3676 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 23, "hscan" : { "minimum" : 0.3382, "maximum" : 0.4265 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 24, "hscan" : { "minimum" : 0.3971, "maximum" : 0.4853 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 25, "hscan" : { "minimum" : 0.4559, "maximum" : 0.5441 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 26, "hscan" : { "minimum" : 0.5147, "maximum" : 0.6029 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 27, "hscan" : { "minimum" : 0.5735, "maximum" : 0.6618 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 28, "hscan" : { "minimum" : 0.6324, "maximum" : 0.7206 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 29, "hscan" : { "minimum" : 0.6912, "maximum" : 0.7794 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 30, "hscan" : { "minimum" : 0.7500, "maximum" : 0.8382 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 31, "hscan" : { "minimum" : 0.8088, "maximum" : 0.8971 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 32, "hscan" : { "minimum" : 0.8676, "maximum" : 0.9559 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 33, "hscan" : { "minimum" : 0.9265, "maximum" : 1.0000 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 34, "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.0300 } }, { "index" : 35, "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 }, "vscan" : { "minimum" : 0.0000, "maximum" : 0.2083 } }, { "index" : 36, "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 }, "vscan" : { "minimum" : 0.1250, "maximum" : 0.3750 } }, { "index" : 37, "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 }, "vscan" : { "minimum" : 0.2917, "maximum" : 0.5417 } }, { "index" : 38, "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 }, "vscan" : { "minimum" : 0.4583, "maximum" : 0.7083 } }, { "index" : 39, "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 }, "vscan" : { "minimum" : 0.6250, "maximum" : 0.8750 } }, { "index" : 40, "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 }, "vscan" : { "minimum" : 0.7917, "maximum" : 1.0000 } }, { "index" : 41, "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } }, { "index" : 42, "hscan" : { "minimum" : 0.9265, "maximum" : 1.0000 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } }, { "index" : 43, "hscan" : { "minimum" : 0.8676, "maximum" : 0.9559 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } }, { "index" : 44, "hscan" : { "minimum" : 0.8088, "maximum" : 0.8971 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } }, { "index" : 45, "hscan" : { "minimum" : 0.7500, "maximum" : 0.8382 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } }, { "index" : 46, "hscan" : { "minimum" : 0.6912, "maximum" : 0.7794 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } }, { "index" : 47, "hscan" : { "minimum" : 0.6324, "maximum" : 0.7206 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } }, { "index" : 48, "hscan" : { "minimum" : 0.5735, "maximum" : 0.6618 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } }, { "index" : 49, "hscan" : { "minimum" : 0.5147, "maximum" : 0.6029 }, "vscan" : { "minimum" : 0.9700, "maximum" : 1.0000 } } ],"endOfJson" : "endOfJson"}[color=#333333][size=12][font="verdana, arial, helvetica, sans-serif"]


    Ich hoffe ich hab Euch alle nötigen Infos gegeben und Ihr könnt mir den einen oder anderen Tipp geben.
    Ich habe auch schon mehrere Tutorials gelesen! Keines führte dazu das die LEDs taten was sie sollten.

    Evtl. sind die LEDs auch defekt!? Wie könnt eich das mal sinnvoll testen?

    Danke schon mal! :danke_ATDE:
    Frohe Ostern! :angel:


    [/font][/size][/color]

    Ich grüße Euch! :)

    Mein Adalight funktioniert mit Boblight so weit ganz gut!
    Ich habe allerdings das Problem, dass bei hellen Szenen die LED's anfangen zu blinken.
    Das stört schon enorm! Wenn ihr Euch nichts darunter vorstellen könnt mache ich auf Anfrage auch gerne ein Video davon!

    Zu meinem Setup:
    Raspberry Pi 2
    Arduino Uno
    2x25 WS2801 LED's
    5V DC 4A Netzteil

    Das Arduino board wurde mit folgendem gefüttert:
    [font="monospace"]

    Code
    #include "FastLED.h"[/font][/size][/color]// How many leds in your strip?#define NUM_LEDS 50// For led chips like Neopixels, which have a data line, ground, and power, you just// need to define DATA_PIN.  For led chipsets that are SPI based (four wires - data, clock,// ground, and power), like the LPD8806 define both DATA_PIN and CLOCK_PIN#define DATA_PIN 11#define CLOCK_PIN 13#define COLOR_ORDER RGB// Adalight sends a "Magic Word" (defined in /etc/boblight.conf) before sending the pixel datauint8_t prefix[] = {'A', 'd', 'a'}, hi, lo, chk, i;// Baudrate, higher rate allows faster refresh rate and more LEDs (defined in /etc/boblight.conf)#define serialRate 115200// Define the array of ledsCRGB leds[NUM_LEDS];void setup() {      // Uncomment/edit one of the following lines for your leds arrangement.     // FastLED.addLeds<TM1803, DATA_PIN, RGB>(leds, NUM_LEDS);     // FastLED.addLeds<TM1804, DATA_PIN, RGB>(leds, NUM_LEDS);     // FastLED.addLeds<TM1809, DATA_PIN, RGB>(leds, NUM_LEDS);     // FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS);     // FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS);     // FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS);     // FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);     // FastLED.addLeds<UCS1903, DATA_PIN, RGB>(leds, NUM_LEDS);     // FastLED.addLeds<UCS1903B, DATA_PIN, RGB>(leds, NUM_LEDS);     // FastLED.addLeds<GW6205, DATA_PIN, RGB>(leds, NUM_LEDS);     // FastLED.addLeds<GW6205_400, DATA_PIN, RGB>(leds, NUM_LEDS);           FastLED.addLeds<WS2801, RGB>(leds, NUM_LEDS);     // FastLED.addLeds<SM16716, RGB>(leds, NUM_LEDS);     // FastLED.addLeds<LPD8806, RGB>(leds, NUM_LEDS);     // FastLED.addLeds<WS2801, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);     // FastLED.addLeds<SM16716, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);     // FastLED.addLeds<LPD8806, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);            // initial RGB flash       LEDS.showColor(CRGB(255, 0, 0));       delay(500);       LEDS.showColor(CRGB(0, 255, 0));       delay(500);       LEDS.showColor(CRGB(0, 0, 255));       delay(500);       LEDS.showColor(CRGB(0, 0, 0));              Serial.begin(serialRate);       Serial.print("Ada\n"); // Send "Magic Word" string to host}void loop() {  // wait for first byte of Magic Word for(i = 0; i < sizeof prefix; ++i) {   waitLoop: while (!Serial.available()) ;;   // Check next byte in Magic Word   if(prefix[i] == Serial.read()) continue;   // otherwise, start over   i = 0;   goto waitLoop; }  // Hi, Lo, Checksum  while (!Serial.available()) ;; hi=Serial.read(); while (!Serial.available()) ;; lo=Serial.read(); while (!Serial.available()) ;; chk=Serial.read();  // if checksum does not match go back to wait if (chk != (hi ^ lo ^ 0x55)) {   i=0;   goto waitLoop; }  memset(leds, 0, NUM_LEDS * sizeof(struct CRGB)); // read the transmission data and set LED values for (uint8_t i = 0; i < NUM_LEDS; i++) {   byte r, g, b;       while(!Serial.available());   r = Serial.read();   while(!Serial.available());   g = Serial.read();   while(!Serial.available());   b = Serial.read();   leds[i].r = r;   leds[i].g = g;   leds[i].b = b; } // shows new valuesFastLED.show();[color=#333333][size=10][font="monospace"]}


    [/font][/size][/color]Und das boblight confic file schaut so aus:


    Code
    #config file for adalight from http://www.ladyada.net/make/adalight/[global]interface 127.0.0.1port      19333[device]name            ambilighttype            momooutput          /dev/ttyACM0channels        150prefix 41 64 61 00 31 64interval        60000rate            115200debug           off #turn this on to see what it's doing with the serial portdelayafteropen 1000000[color]name            redrgb             FF0000[color]name            greenrgb             00FF00[color]name            bluergb             0000FF[light]name            50color           red     ambilight 148color           green   ambilight 149color           blue    ambilight 150hscan           46.04 54.01vscan           90 100[light]name            1color           red     ambilight 1color           green   ambilight 2color           blue    ambilight 3hscan           40.16 48.12vscan           90 100[light]name            2color           red     ambilight 4color           green   ambilight 5color           blue    ambilight 6hscan           34.27 42.24vscan           90 100[light]name            3color           red     ambilight 7color           green   ambilight 8color           blue    ambilight 9hscan           28.39 36.35vscan           90 100[light]name            4color           red     ambilight 10color           green   ambilight 11color           blue    ambilight 12hscan           22.5 30.47vscan           90 100[light]name            5color           red     ambilight 13color           green   ambilight 14color           blue    ambilight 15hscan           16.61 24.58vscan           90 100[light]name            6color           red     ambilight 16color           green   ambilight 17color           blue    ambilight 18hscan           10.73 18.69vscan           90 100[light]name            7color           red     ambilight 19color           green   ambilight 20color           blue    ambilight 21hscan           4.84 12.81vscan           90 100[light]name            8color           red     ambilight 22color           green   ambilight 23color           blue    ambilight 24hscan           0 5.88vscan           90 100[light]name            9color           red     ambilight 25color           green   ambilight 26color           blue    ambilight 27hscan           0 5.88vscan           78.15 91.85[light]name            10color           red     ambilight 28color           green   ambilight 29color           blue    ambilight 30hscan           0 5.88vscan           68.15 81.85[light]name            11color           red     ambilight 31color           green   ambilight 32color           blue    ambilight 33hscan           0 5.88vscan           58.15 71.85[light]name            12color           red     ambilight 34color           green   ambilight 35color           blue    ambilight 36hscan           0 5.88vscan           48.15 61.85[light]name            13color           red     ambilight 37color           green   ambilight 38color           blue    ambilight 39hscan           0 5.88vscan           38.15 51.85[light]name            14color           red     ambilight 40color           green   ambilight 41color           blue    ambilight 42hscan           0 5.88vscan           28.15 41.85[light]name            15color           red     ambilight 43color           green   ambilight 44color           blue    ambilight 45hscan           0 5.88vscan           18.15 31.85[light]name            16color           red     ambilight 46color           green   ambilight 47color           blue    ambilight 48hscan           0 5.88vscan           8.15 21.85[light]name            17color           red     ambilight 49color           green   ambilight 50color           blue    ambilight 51hscan           0 5.88vscan           0 10[light]name            18color           red     ambilight 52color           green   ambilight 53color           blue    ambilight 54hscan           4.84 12.81vscan           0 10[light]name            19color           red     ambilight 55color           green   ambilight 56color           blue    ambilight 57hscan           10.72 18.69vscan           0 10[light]name            20color           red     ambilight 58color           green   ambilight 59color           blue    ambilight 60hscan           16.61 24.57vscan           0 10[light]name            21color           red     ambilight 61color           green   ambilight 62color           blue    ambilight 63hscan           22.49 30.45vscan           0 10[light]name            22color           red     ambilight 64color           green   ambilight 65color           blue    ambilight 66hscan           28.37 36.34vscan           0 10[light]name            23color           red     ambilight 67color           green   ambilight 68color           blue    ambilight 69hscan           34.25 42.22vscan           0 10[light]name            24color           red     ambilight 70color           green   ambilight 71color           blue    ambilight 72hscan           40.13 48.1vscan           0 10[light]name            25color           red     ambilight 73color           green   ambilight 74color           blue    ambilight 75hscan           46.02 53.98vscan           0 10[light]name            26color           red     ambilight 76color           green   ambilight 77color           blue    ambilight 78hscan           51.9 59.86vscan           0 10[light]name            27color           red     ambilight 79color           green   ambilight 80color           blue    ambilight 81hscan           57.78 65.75vscan           0 10[light]name            28color           red     ambilight 82color           green   ambilight 83color           blue    ambilight 84hscan           63.66 71.63vscan           0 10[light]name            29color           red     ambilight 85color           green   ambilight 86color           blue    ambilight 87hscan           69.55 77.51vscan           0 10[light]name            30color           red     ambilight 88color           green   ambilight 89color           blue    ambilight 90hscan           75.43 83.39vscan           0 10[light]name            31color           red     ambilight 91color           green   ambilight 92color           blue    ambilight 93hscan           81.31 89.28vscan           0 10[light]name            32color           red     ambilight 94color           green   ambilight 95color           blue    ambilight 96hscan           87.19 95.16vscan           0 10[light]name            33color           red     ambilight 97color           green   ambilight 98color           blue    ambilight 99hscan           94.12 100vscan           0 10[light]name            34color           red     ambilight 100color           green   ambilight 101color           blue    ambilight 102hscan           94.12 100vscan           8.15 21.85[light]name            35color           red     ambilight 103color           green   ambilight 104color           blue    ambilight 105hscan           94.12 100vscan           18.15 31.85[light]name            36color           red     ambilight 106color           green   ambilight 107color           blue    ambilight 108hscan           94.12 100vscan           28.15 41.85[light]name            37color           red     ambilight 109color           green   ambilight 110color           blue    ambilight 111hscan           94.12 100vscan           38.15 51.85[light]name            38color           red     ambilight 112color           green   ambilight 113color           blue    ambilight 114hscan           94.12 100vscan           48.15 61.85[light]name            39color           red     ambilight 115color           green   ambilight 116color           blue    ambilight 117hscan           94.12 100vscan           58.15 71.85[light]name            40color           red     ambilight 118color           green   ambilight 119color           blue    ambilight 120hscan           94.12 100vscan           68.15 81.85[light]name            41color           red     ambilight 121color           green   ambilight 122color           blue    ambilight 123hscan           94.12 100vscan           78.15 91.85[light]name            42color           red     ambilight 124color           green   ambilight 125color           blue    ambilight 126hscan           94.12 100vscan           90 100[light]name            43color           red     ambilight 127color           green   ambilight 128color           blue    ambilight 129hscan           87.19 95.16vscan           90 100[light]name            44color           red     ambilight 130color           green   ambilight 131color           blue    ambilight 132hscan           81.31 89.28vscan           90 100[light]name            45color           red     ambilight 133color           green   ambilight 134color           blue    ambilight 135hscan           75.43 83.39vscan           90 100[light]name            46color           red     ambilight 136color           green   ambilight 137color           blue    ambilight 138hscan           69.55 77.51vscan           90 100[light]name            47color           red     ambilight 139color           green   ambilight 140color           blue    ambilight 141hscan           63.66 71.63vscan           90 100[light]name            48color           red     ambilight 142color           green   ambilight 143color           blue    ambilight 144hscan           57.78 65.75vscan           90 100[light]name            49color           red     ambilight 145color           green   ambilight 146color           blue    ambilight 147hscan           51.9 59.87vscan           90 100


    Vllt. könnt Ihr mir ja einen Tipp geben! Bin für jeden Hinweis dankbar!!

    Bis dann! :)

    Hallo :)

    Ich hab meinen Pi mit Raspbian komplett neu aufgesetzt und alles nach diesem Tutorial konfiguriert:

    Per Konsole kann ich alles problemlos schalten, per App allerdings noch nicht.

    die netio_server.py startet mit dem Pi automatisch, gibt aber folgende Fehlermeldung aus:

    "
    init light status
    read state from file
    lights state: {'WohnzimmerSteLa': ‘0’, ‘Kinderzimmer’: 0, ‘KuecheLEDS’: ‘0’, ‘Brunnen’: 0, ‘Kueche’: 0, ‘SchreibtischLampe’: 0, ‘Heimkino’: ‘0’, ‘SchlafzimmerSteLa’: ‘1’, ‘Fernseher’: 0, ‘WohnzimmerSofa’: ‘0’, ‘Flur’: 0}
    create socket server
    [ERROR] Address already in use

    Diese Meldung erhalte ich auch immer wenn ich ”sudo python netio_server.py" ausführe.

    Wenn ich in der App die Buttons betätige bleiben sie gedrückt, es passiert allerdings nichts.

    Ich hoffe mir kann geholfen werden!

    Einen schönes Wochenende allen

    Hallo :)

    Ich habe es anhand des Tutorials erfolgreich hin bekommen meine Funksteckdosen im Heimischen Netzwerk zu schalten.

    Hut ab erstmal für das tolle Tutorial :)

    Ich würde das ganze jetzt allerdings gern auch von außen steuern können,dass funktioniert allerdings nicht so wie ich mir das vorstelle.

    Ich habe im NetIO Designer als Host meine no-ip Adresse eingegeben + dem Port sen ich auch intern verwende, dieser ist auch in der EasyBox für den PI freigegeben.

    Wenn ich in der App auf die externe Page wechsel, das WLAN am Smartphone deaktiviere und per UMTS Online bin leuchten die Buttons in der App auf... aber es passiert nichts, die Steckdosen werden nicht geschalten. Wenn ich WLAN aktiviere wird die Verbindung nicht hergestellt, die Buttons bleiben grau.

    Hab ich irgendwas vergessen? Muss ich einen anderen Port verwenden als intern?

    MfG Chris

    Hallo! :)

    Ich bin seit einigen Monaten glücklicher Besitzer eines Raspberry PI der in meiner Küche mit Openelec ein nettes MediaCenter + MediaServer bietet.
    Jetzt habe ich mich entschlossen den PI zusätzlich zum schalten meiner Funksteckdosen zu verwenden.

    Nach Möglichkeit würde ich diese beiden Anforderungen gern auf dem selben PI umsetzen!

    Ist das denn überhaupt machbar im zusammenspiel mit Openelec?

    Gibt's alternativen mit denen mein Plan aufgehen würde?

    Ich danke schon mal für eure Hilfe!

    MfG Chris