1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RPi + OpenELEC WS2812b always on white to red color

Discussion in 'Software Support' started by Subucni, 10 August 2019.

  1. Subucni

    Subucni New Member

    Messages:
    2
    Hardware:
    RPi3, +Arduino
    Hi Guys,

    i'm new here to this forum and couldnt find a solution to my problem. I know that there are many errors with this setup and i'm probably going to use an Arduino in the future but it's really bothering me because i think its just a little problem.

    So i've set up an RPi 3 Modell B with OpenELEC and 5m of WS2812b LED (only rough version).

    I've connected the Data line to Pin 19 (SPI) and configured everything in HyperCon. The LED's are working but they always remain in a state of shining from white to red. (as you can see in the picture) I can send a color change per SSH in Hypercon and it works too but just a second an then the LED's go back to white to red.

    I can even use the Android App but its still the same, all Effects and Color changes remain only a second an then it goes back to white --> red.

    I've noticed that i can use the Effect "UDP listener" in the App and the LED goes off. But if i use another effect or color change it blinks again back to white --> red.

    The Hypercon Log looks quite good also

    I really hope someone has a hint for me :)

    Thanks!
     

    Attached Files:

    Last edited: 10 August 2019
  2. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,324
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    1. UDP listener waits for udp signals...so it is normal that the leds going off...
    2. Do you use a levelshiffter?
    3. your white to red looks more like a extrem voltage drop...did you power the stripe only from one side?
    4. did you make a screenshot with hyperion to see what it captures?
    5. no config, no help, please post your config
     
  3. Subucni

    Subucni New Member

    Messages:
    2
    Hardware:
    RPi3, +Arduino
    Hi TPmodding,

    first thank you for your answer, i really appreciate this :)

    1. ok i just thought its interesting because it shows that there is a chance the LED's turn off, in all other cases the LED's are always on. Even if i Disconnect the RPi.

    2. no i dont use a levelshifter , is it possible that this causes the always on effect?

    3. thank you! you were totally right! i connected the other end and now the LED are all white. But the main problem is still the same :(

    4. when i want to take a picture from the internal grabber it says this is not possible.

    5. my config is attached

    6. and here is the Log vom SSH:

    sftp Send Hyperion Config - Sourcepath: C:/Users/Tim/Desktop/Hyperion, Targetpath: /storage/.config/, Filename: hyperion.config.json
    ssh out: killall hyperiond 2>/dev/null
    ssh out: /storage/.config/autostart.sh > /dev/null 2>&1 &
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c 4c65ff
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 76 101 255
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c 74ffcb
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 116 255 203
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c 50ff29
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 80 255 41
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c f2ff2e
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 242 255 46
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c ffa429
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 255 164 41
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c ff752e
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 255 117 46
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c ff4734
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 255 71 52
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c ff3e3e
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 255 62 62
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c ff5278
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 255 82 120
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c ff49b9
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 255 73 185
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c ff2fa7
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 255 47 167
    ssh out: killall hyperiond 2>/dev/null
    ssh out: cat /storage/logfiles/hyperion.log
    ssh in: Hyperion Ambilight Deamon (438)
    ssh in: Version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: Build Time: Apr 5 2018 01:57:25
    ssh in: INFO: Selected configuration file: /storage/.config/hyperion.config.json
    ssh in: HYPERION INFO: ColorTransform 'default' => [0; 299]
    ssh in: HYPERION INFO: ColorCorrection 'default' => [0; 299]
    ssh in: HYPERION INFO: ColorAdjustment 'default' => [0; 299]
    ssh in: LEDDEVICE INFO: configuration:
    ssh in: {
    ssh in: "colorOrder" : "grb",
    ssh in: "name" : "Laptop Config",
    ssh in: "type" : "ws2812spi"
    ssh in: }
    ssh in: HYPERION INFO: Json forward to 127.0.0.1:19446
    ssh in: HYPERION INFO: Proto forward to 127.0.0.1:19447
    ssh in: INFO: Creating linear smoothing
    ssh in: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
    ssh in: EFFECTENGINE INFO: 27 effects loaded from directory /storage/hyperion/effects
    ssh in: EFFECTENGINE INFO: Initializing Python interpreter
    ssh in: INFO: Hyperion started and initialised
    ssh in: INFO: Boot sequence 'Strobe blue' EFFECTENGINE INFO: run effect Strobe blue on channel 0
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: started
    ssh in: INFO: Kodi checker created and started
    ssh in: INFO: Json server created and started on port 19444
    ssh in: PROTOCONNECTION INFO: Connecting to Hyperion: 127.0.0.1:19447
    ssh in: INFO: Proto server created and started on port 19445
    ssh in: INFO: Boblight server created and started on port 19333
    ssh in: DISPMANXGRABBER INFO: Display opened with resolution: 1920x1080
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: INFO: Frame grabber created and started
    ssh in: KODICHECK INFO: Kodi Connected
    ssh in: KODICHECK INFO: switching to OFF mode
    ssh in: EFFECTENGINE INFO: effect finished
    ssh in: JSONSERVER INFO: New connection
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: JSONSERVER INFO: Connection closed
    ssh in: JSONSERVER INFO: New connection
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: JSONSERVER INFO: Connection closed
    ssh in: JSONSERVER INFO: New connection
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: JSONSERVER INFO: Connection closed
    ssh in: JSONSERVER INFO: New connection
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: JSONSERVER INFO: Connection closed
    ssh in: JSONSERVER INFO: New connection
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: JSONSERVER INFO: Connection closed
    ssh in: JSONSERVER INFO: New connection
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: JSONSERVER INFO: Connection closed
    ssh in: JSONSERVER INFO: New connection
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: JSONSERVER INFO: Connection closed
    ssh in: JSONSERVER INFO: New connection
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: JSONSERVER INFO: Connection closed
    ssh in: JSONSERVER INFO: New connection
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: JSONSERVER INFO: Connection closed
    ssh in: JSONSERVER INFO: New connection
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: JSONSERVER INFO: Connection closed
    ssh in: JSONSERVER INFO: New connection
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: JSONSERVER INFO: Connection closed
    ssh in: INFO: Application closed with code 0
    ssh in: KODICHECK INFO: Kodi Disconnected
    ssh in: EFFECTENGINE INFO: Cleaning up Python interpreter
    ssh out: killall hyperiond 2>/dev/null
    ssh out: /storage/.config/autostart.sh > /dev/null 2>&1 &
    ssh out: killall hyperiond 2>/dev/null
    ssh out: /storage/.config/autostart.sh > /dev/null 2>&1 &
    ssh out: cat /storage/logfiles/hyperion.log
    ssh in: Hyperion Ambilight Deamon (505)
    ssh in: Version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: Build Time: Apr 5 2018 01:57:25
    ssh in: INFO: Selected configuration file: /storage/.config/hyperion.config.json
    ssh in: HYPERION INFO: ColorTransform 'default' => [0; 299]
    ssh in: HYPERION INFO: ColorCorrection 'default' => [0; 299]
    ssh in: HYPERION INFO: ColorAdjustment 'default' => [0; 299]
    ssh in: LEDDEVICE INFO: configuration:
    ssh in: {
    ssh in: "colorOrder" : "grb",
    ssh in: "name" : "Laptop Config",
    ssh in: "type" : "ws2812spi"
    ssh in: }
    ssh in: HYPERION INFO: Json forward to 127.0.0.1:19446
    ssh in: HYPERION INFO: Proto forward to 127.0.0.1:19447
    ssh in: INFO: Creating linear smoothing
    ssh in: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
    ssh in: EFFECTENGINE INFO: 27 effects loaded from directory /storage/hyperion/effects
    ssh in: EFFECTENGINE INFO: Initializing Python interpreter
    ssh in: INFO: Hyperion started and initialised
    ssh in: INFO: Boot sequence 'Strobe blue' EFFECTENGINE INFO: run effect Strobe blue on channel 0
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: started
    ssh in: INFO: Kodi checker created and started
    ssh in: INFO: Json server created and started on port 19444
    ssh in: PROTOCONNECTION INFO: Connecting to Hyperion: 127.0.0.1:19447
    ssh in: INFO: Proto server created and started on port 19445
    ssh in: INFO: Boblight server created and started on port 19333
    ssh in: DISPMANXGRABBER INFO: Display opened with resolution: 1920x1080
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: INFO: Frame grabber created and started
    ssh in: KODICHECK INFO: Kodi Connected
    ssh in: KODICHECK INFO: switching to OFF mode
    ssh out: killall hyperiond 2>/dev/null
    sftp Send Hyperion Config - Sourcepath: C:/Users/Tim/Desktop/Hyperion, Targetpath: /storage/.config/, Filename: hyperion.config.json
    ssh out: /storage/.config/autostart.sh > /dev/null 2>&1 &
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c ff3e43
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 255 62 67
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c ff352d
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 255 53 45
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c ff9a32
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 255 154 50
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c ffac2f
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 255 172 47
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c ffdf34
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 255 223 52
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c f7ff38
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 247 255 56
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c f77bff
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 247 123 255
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c 373bff
    ssh in: hyperion-remote:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:05
    ssh in: Connected to localhost:19444
    ssh in: Set color to 55 59 255
    ssh out: killall hyperiond 2>/dev/null ; /storage/hyperion/bin/hyperion-v4l2.sh --device /dev/video0 --video-standard PAL --input 0 --width -1 --height -1 --crop-left 0 --crop-right 0 --crop-top 0 --crop-bottom 0 --size-decimator 1 --frame-decimator 2 --red-threshold 0.0 --green-threshold 0.0 --blue-threshold 0.0 --screenshot
    ssh in: hyperion-v4l2:
    ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: build time: Apr 5 2018 01:57:25
    ssh out: V4L2GRABBER ERROR: Cannot identify '/dev/video0' ERROR 2, No such file or directory
    sftp getFile(./screenshot.png, java.awt.Image)
     

    Attached Files: