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

SOLVED Random color after successful boot animation

Discussion in 'Hardware Support' started by Supersimo88, 17 May 2017.

  1. Supersimo88

    Supersimo88 New Member

    Messages:
    9
    Hardware:
    RPi1/Zero
    I just finished installing my hyperion with 141 ws2812b and apart from the first boot in which I saw the working rainbow animation, whatever color I set I see the LEDs flashing in white in random order.
    The power supply is 10A and is connected to the led in 4 points.

    I attach the configuration file below and a brief video of the problem
    https://drive.google.com/open?id=0B2O3ZA5yzXTPbnc5d2lJVTR5N3M
     

    Attached Files:

  2. Supersimo88

    Supersimo88 New Member

    Messages:
    9
    Hardware:
    RPi1/Zero
    I forgot to say that everything runs on a raspberry pi 1 b + and i do not use a logic levelshifter
     
  3. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    724
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino
    you need more infos, example:

    // DEVICE CONFIGURATION
    "device" :
    {
    "name" : "MyPi",
    "type" : "ws281x",
    "leds" : 165,
    "colorOrder" : "grb"
    "gpio" : 18,
    "dmanum" : 5,
    "freq" : 800000,
    "pwmchannel" : 0,
    },
     
  4. Supersimo88

    Supersimo88 New Member

    Messages:
    9
    Hardware:
    RPi1/Zero
    the strange thing is that works at boot and for a minute or so.
    I've tried adding the additional config and now it wont start...
    ssh in: May 17 19:26:25 raspberrypi systemd[1]: Starting Hyperion Systemd service...
    ssh in: May 17 19:26:26 raspberrypi systemd[1]: Started Hyperion Systemd service.
    ssh in: May 17 19:26:26 raspberrypi hyperiond[1077]: Hyperion Ambilight Deamon (1077)
    ssh in: May 17 19:26:26 raspberrypi hyperiond[1077]: Version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
    ssh in: May 17 19:26:26 raspberrypi hyperiond[1077]: Build Time: Jul 25 2016 06:54:40
    ssh in: May 17 19:26:26 raspberrypi hyperiond[1077]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
    ssh in: May 17 19:26:26 raspberrypi hyperiond[1077]: terminate called after throwing an instance of 'std::runtime_error'
    ssh in: May 17 19:26:26 raspberrypi systemd[1]: hyperion.service: main process exited, code=killed, status=6/ABRT
    ssh in: May 17 19:26:26 raspberrypi hyperiond[1077]: what(): Failed to parse configuration: * Line 18, Column 2
    ssh in: May 17 19:26:26 raspberrypi hyperiond[1077]: Missing '}' or object member name
    ssh in: May 17 19:26:26 raspberrypi systemd[1]: Unit hyperion.service entered failed state.
    ssh in: May 17 19:26:26 raspberrypi systemd[1]: hyperion.service holdoff time over, scheduling restart.
    ssh in: May 17 19:26:26 raspberrypi systemd[1]: Stopping Hyperion Systemd service...
    ssh in: May 17 19:26:26 raspberrypi systemd[1]: Starting Hyperion Systemd service...
    ssh in: May 17 19:26:26 raspberrypi systemd[1]: Started Hyperion Systemd service.
    ssh in: May 17 19:26:27 raspberrypi hyperiond[1094]: Hyperion Ambilight Deamon (1094)
    ssh in: May 17 19:26:27 raspberrypi hyperiond[1094]: Version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
    ssh in: May 17 19:26:27 raspberrypi hyperiond[1094]: Build Time: Jul 25 2016 06:54:40
    ssh in: May 17 19:26:27 raspberrypi hyperiond[1094]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
    ssh in: May 17 19:26:27 raspberrypi hyperiond[1094]: terminate called after throwing an instance of 'std::runtime_error'
    ssh in: May 17 19:26:27 raspberrypi hyperiond[1094]: what(): Failed to parse configuration: * Line 18, Column 2
    ssh in: May 17 19:26:27 raspberrypi hyperiond[1094]: Missing '}' or object member name
    ssh in: May 17 19:26:27 raspberrypi systemd[1]: hyperion.service: main process exited, code=killed, status=6/ABRT
    ssh in: May 17 19:26:27 raspberrypi systemd[1]: Unit hyperion.service entered failed state.

    Here is the new config file
     

    Attached Files:

    Last edited: 17 May 2017
  5. Supersimo88

    Supersimo88 New Member

    Messages:
    9
    Hardware:
    RPi1/Zero
  6. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    724
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino
    ssh in: May 17 19:26:27 raspberrypi hyperiond[1094]: what(): Failed to parse configuration: * Line 18, Column 2
    ssh in: May 17 19:26:27 raspberrypi hyperiond[1094]: Missing '}' or object member name

    config has an error...
     
  7. Supersimo88

    Supersimo88 New Member

    Messages:
    9
    Hardware:
    RPi1/Zero
    I did not have to add any parameters to the configuration, the first I posted actually worked after changing those two parameters described in the above article about hdmi on raspberry. The problem then was that I did not have any hdmi cable connected to the raspberry.