Beiträge von bastianum

    Hi Sabaat,


    I set up Hyperion on a Raspberry Pi 3 with WS2812B LEDs connected, and it works fine from HyperCon on my windows machine. I can send colors through the panel and the LEDs change accordingly.
    I then installed your ScreenGrabber and tried to set it up, but it does not work for me. using Windows 10, I think I configured something wrong.
    Which IP do I need to enter? I connect to my Pi over 192.168.3.116 in HyperCon, the SSH Log says localhost:19444 though.
    As well, is it right that I deactivate the internal and the external grabber in the config.json?
    Thanks for your help in advance.


    Bastian


    EDIT: I am able to get a connection now (with 192.168.2.116:19444), I get a message that the connection is established. As soon as I start a YT video though, I get this error message:


    2018-10-24 13:49:59 [ERROR] [5] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: 1c49f1]: Exception in screen capture attempt: 1
    System.Exception: Error occured while sending image to server: In die Übertragungsverbindung können keine Daten geschrieben werden: Eine vorhandene Verbindung wurde vom Remotehost geschlossen. ---> System.IO.IOException: In die Übertragungsverbindung können keine Daten geschrieben werden: Eine vorhandene Verbindung wurde vom Remotehost geschlossen. ---> System.Net.Sockets.SocketException: Eine vorhandene Verbindung wurde vom Remotehost geschlossen
    bei System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
    bei System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
    --- Ende der internen Ausnahmestapelüberwachung ---
    bei System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
    bei HyperionScreenCap.ProtoClient.SendRequest(IMessageLite request)
    bei HyperionScreenCap.ProtoClient.SendImageToServer(Byte[] pixeldata, Int32 width, Int32 height)
    bei HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
    --- Ende der internen Ausnahmestapelüberwachung ---
    bei HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
    bei HyperionScreenCap.Helper.HyperionTask.StartCapture()

    It basically says that there is an error while screen capturing and that no data can be written into the established connection.. any idea what went wrong here?


    Best


    Bastian

    Thanks man that literary works flawless!
    You saved my day. Let me know if I can help you with any other things, I definitely owe you something.
    One last thing tho: Why should I power it with the power adapter and the Micro USB as you mentioned in your 2nd post? Does that has any advantages compared to power both with the external?

    Yes. However my test Pi is powered from the GPIO's and not the usb. In production setup that would spell disaster as the led can draw a lot of amps and kill the Pi.


    It would be wise to remove the 5v positive pin and connect the led's directly to to 5v positive power supply.


    Yeah that's what I thought. I am kinda new to this whole pi thing honestly tho, to avoid breaking things up: How exactly do I connect the 5V external power adapter, the LED stripe and the pi together? I know that's a totally noob question but I do not want to break the pi.
    Thanks in advance!


    I am using PINs 6 and 12 - my 5v LED channel is connected to an external power adapter.
    I'll upload my json.config in a minute.


    Could you maybe post me the exact hardware wise setup as an image or something so I can rebuild and test that? Seems as if our setups are different.

    On your setup what pins are the WS2812B attached to on the pi? And the contents of hyperion.config.json?


    It's been a wile since I used the Pi's gpios to drive leds directly. Going to see if I can reproduce the issue.


    I attached an image of my setup. I used this guide: https://dordnung.de/raspberrypi-ledstrip/ws2812
    And as I said, it works perfectly with the library mentioned in the guide - however Hyperion does not work and I have no clue why.
    Thanks in advance for you help, appreciate that a lot.


    Thanks for the reply. I actually am able to get the leds working with another script, it just wont work with Hyperion. That's why I am curious, I honestly have no clue what 'Error while reading data from host' means. You think that it might work with an older Raspian image?

    Hi together,


    I have a Pi 3 running Raspian Stretch Lite and a WS2812B LED stripe.
    I connected everything as supposed to and tested it with an external library (Strandtest.py), i guess you guys know that here. Everything works fine there.


    I then installed Hypercon, set my settings regarding the LEDs and my device and uploaded it to the Pi via SSH.


    When I then try to manually select a color in the color wheel and send it over, i get this error message:


    [INDENT]ssh out: hyperion-remote -c 1100ff
    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 17 0 255
    ssh out: Error while reading data from host
    [/INDENT]
    It seems as if the connection is established and works, however I have no clue what the last line means.


    Do you guys have any idea?


    Thanks in advance,


    Bastian


    Edit: No LED lights up anytime here, just when I stop it the LEDS flash up for a milisecond.