Beiträge von Eosphoros

    Hello to the community,


    Being French, I will try to explain my problem.
    Sorry for the quality of my english.


    I set up Hyperion with a functional configuration for the LED from the top of my TV.


    I added to the configuration the other LED, and hyperion service does not start anymore.


    I tried to understand why and I realized that with a configuration of 121 LED (from 0 to 120), when restarting the service, it works.


    By adding the 122nd LED (from 0 to 121) in the configuration file, the service refuses to restart.


    And by removing the 122nd LED, the service is restarting properly.


    I think there is a problem around the configuration of the raspberry or hyperion config, but I can not identify the problem.


    I specify that the LED strip has been tested with an Arduino and the 300 LED work properly.


    Here is the environment :
    Raspberry Pi model 3B with OSMC
    LED strip WS2812B
    Separate power supply between RPi and LED
    The LED strip is connected to the GPIO port of the raspberry 39/40 (Data pin 40, GPIO21)


    Hyperion Version : 1.03.4
    Build Time: Apr 5 2018 01:57:25


    The installation / update was done by the command :

    Code
    curl -k -L --output install_hyperion.sh --get https://raw.githubusercontent.com/hyperion-project/hyperion/master/bin/install_hyperion.sh
    chmod +x install_hyperion.sh
    sudo sh ./install_hyperion.sh


    I tested the installation / update by HyperCon, the service is online butthe LED strip does not turn on.


    The configuration was first generated by HyperCon. The changes only affect the LED.
    LED : Top 72, Left & Right 43, Bottom Gap 0, Start LED 0, Corner LED On.


    When the service is running, the internal grabber is working properly as well as the mobile application.


    The /boot/config.txt file has been modified to support the SPI (dtparam=spi=on)
    I also try to add spidev.bufsiz=32768 but without results.


    I added these lines in the file hyperion.config.json
    "gpio" : 21,
    "dmanum" : 5,
    "freq" : 800000,
    "pwmchannel" : 0,


    Here is the configuration file that works :


    and the one that does not work :


    Here is the hyperion log when it works :


    and the one when that does not work :


    Thank you for any help you can bring me

    Bonjour a la communauté,


    Après avoir beaucoup bataillé, j'ai réussi à mettre en place Hyperion avec une configuration fonctionnelle pour la bande LED du haut de ma TV.


    J'ai rajouté a la configuration les autres LEDs, et là le service hyperion ne démarre plus.


    J'ai cherché à comprendre pourquoi et je me suis rendu compte qu'avec une configuration de 121 LEDs (de 0 a 120), au redémarrage du service, celui-ci fonctionne.


    En rajoutant la 122 eme LED (de 0 a 121) dans le fichier de configuration, le service refuse de se relancer.


    Et en retirant la 122 eme LED, le service se relance correctement.


    Du coup je me retrouve avec un ambi-light à moitié opérationnelle puisque les 121 diodes correspondent environ aux coté haut et droite de la TV.


    Je pense qu'il y a un problème autour de la configuration du raspberry ou du soft mais je n'arrive pas cerner le problème.


    Je précise que la bande LED a été testé avec un arduino et les 300 LED fonctionnent correctement.


    Voici l'environnement :
    Raspberry Pi model 3B avec OSMC
    Bande LED WS2812B
    Alimentation séparé entre RPi et Bande LED
    La bande LED est connecté sur le port GPIO du raspberry en pin 39/40 (Data sur pin 40, GPIO21)


    Version d'hyperion : 1.03.4
    Build Time: Apr 5 2018 01:57:25


    L'installation/mise à jour a été effectué par la commande :

    Code
    curl -k -L --output install_hyperion.sh --get https://raw.githubusercontent.com/hyperion-project/hyperion/master/bin/install_hyperion.sh
    chmod +x install_hyperion.sh
    sudo sh ./install_hyperion.sh



    J'ai testé l'installation/mise a jour par HyperCon, mais pour une raison que j'ignore, même le service online, la bande LED ne s'allume pas.


    La configuration a été généré une première fois par HyperCon, et les modifications ne portent que sur les LEDs.
    Nbre LED : Top 72, Left & Right 43, Bottom Gap 0, LED de départ 0, avec les LEDs des coins activés


    Lorsque le service fonctionne, le grabber interne fonctionne correctement ainsi que l'application mobile.


    Le fichier /boot/config.txt à été modifié pour prendre en charge le SPI (ajout de la ligne dtparam=spi=on)
    J'ai aussi essayer de modifier spidev.bufsiz=32768 mais sans résultats.


    J'ai rajouté ces lignes dans le fichier hyperion.config.json
    "gpio" : 21,
    "dmanum" : 5,
    "freq" : 800000,
    "pwmchannel" : 0,


    Voici le fichier de configuration qui fonctionne :


    et celui qui ne fonctionne pas :


    Voici le log d'hyperion quand cela fonctionne :


    et celui quand cela ne fonctionne pas :


    Merci pour toute aide que vous pouvez m'apporter car c'est frustrant d'avoir un ambi-light qui ne comporte que 2 coté sur 4 :(


    Cdt