Thank you Lord-Grey this is very helpful, I think just adding a tan argument into my requests to be able to identify/filter responses should be enough, as I can use node red to match the contents of the response payload and control the button colours.
So if any response contains a tan value of something other than the one designated for that button then a command will be sent to turn the button 'off' and change the colour back to dim red.
The idea is to only allow control of the Hyperion server via Node-Red, and not use the browser interface at all.
Posts by keep-on-walking
-
-
Hi all, I'm controlling my Hyperion server using JSON commands via Node-Red, and need to have 'feedback' from Hyperion so that I can change the color of the button.
As an example I have a button on my Node-Red dashboard with a dark red background colour that when pressed sends a Json Rpc command that sets the LEDs to Red, I then need the button colour to change to a bright red when the response from the Hyperion server reports back that the LED's are Red.
If the status is anything other than 'Red' then I want the button colour to change back to dark red.
I've tried looking at the json response sent back from Hyperion after I send a command, but can't see how I can filter that to only relate to a specific request, as I only see a response such as:
Thanks in advance for any help. -
I've now discovered that I can 'clear' the LEDs and this will also switch back to the 'Ambilight' mode and display colours based on the video input from the capture card.
-
Hi all, I'm building a touchscreen control dashboard to control multiple devices including Hyperion/Hyperbian and I've managed to send JSON commands to my device as a HTTP Request to port 8090/json-rpc to control the LEDs.
I'm sending JSON requests such as:
{"command":"color",
"color": [
255,
0,
0
],
"priority":50,
"origin": "My Fancy App"
}
I've copied this command from the Hyperion website but assume that the priority and origin values aren't required?
I now need to turn off the LEDs when a toggle button is selected and also switch between colours/effects to running the Ambilight effect controlled by a usb capture card.
Can anyone help me with the commands to do this, any assistance would be much appreciated. -
Thanks for the replies.
So there's no issue with the Pi/Hyperion being able to control/send data to 600 LED's, just need to make sure I power the LED's correctly.
When I've tested all 300 leds powered from just one end I haven't noticed any issues with loss of power or dim LED's. -
Hi all, I have tried searching but not able to find a definitive answer, I'm using a Pi 4 and would like to use 600 LED's, I understand that I'd need approx 40amps to supply enough power, but is Hyperion/Pi4 able to control 600 Leds?
I've successfully tested a 5mtr 60 led/mtr strip with a single 5v 20 amp PSU, but I want to double the length/number of LEDs, or should I just get 30 led/mtr to keep the total LEDs at 300?
My plan would be to power the LED strip from both ends with a 2x 5v 20amp PSU's