Sorry, just saw your message, issue is created
Posts by NeeeeB
-
-
Hi,
I was playing with signal detection today and noticed what I would call a bug.
At first I thought signal detection didn't work at all.
In fact I have 3 instances, the first being the main one, TV Leds.
The 2 other are 2 little lights I made with leds rings, and placed them on both side of my couch.
Signal detection works as intended, it detects the blue band as I've configured it, but the thing is that it only switches off the 3rd instance (one of the 2 little lights).
If i delete the 3rd instance, signal detection switches off the 2nd one.
What I would expect would be for signal detection to switch off ALL the instances and not only the last one on the list.
Thanks.
-
-
-
Sorry to resurrect an old post, but I had a question about your physical setup.
My goal would be to plug my Roku Ultra Into my Denon AVR, into an HDMI splitter with CEC out both sides:I found this one: Splitter TESmart Support Compatible Blu Ray
I want to run the onside to my TV, the other to the USB video grabber plugged into the raspberrypi which would have nodemcu or arduino for my led controller.This is where I get confused, does CEC pass through the USB Video Grabber into the RaspberryPi?
Hi,
No, as mentionned in the first post, you need to plug an HDMI cable from the TV to the Pi.
-
@NeeeeB Thanks for asking the API question.
It triggered that I tested the multi-instance scenario for global objects (e.g. USB-grabber) which resulted into the following finding:
https://github.com/hyperion-project/hyperion.ng/issues/1189LED-Devices should not be affected, as they are instance specific.
ahah, at least my stupid questions turned into something useful -
No. The point I tried to make is that the commands executed need to be in the same session.
If one executes two curl commands in sequence, that is two sessions.
As it was not clear how you are going to solution your scenario, I just wanted to be on the save side that there is no misunderstanding and wrong expectations....e.g. if you use Web-sockets, then you open the web-socket (1 session) and you can run as many commands as you like...
Ah yes I see, sorry for the misunderstanding
And thanks for the info. -
If you do not switch the instance, the data for instance 0 will be returned by default.
Just to reiterate, you need to execute the instance switch and the command in one session!!!
Otherwise the switch instance will be executed and then the command will be executed independently (which means it will run against instance 0).In case you are scripting something, you find the following library useful:
https://github.com/dermotduffy/hyperion-py
Wait...are you telling me that switching to an instance, and after that running another request to execute an action on it would fail ?
Because that is not at all the results I get currently.
I do a first request to switch to a particular instance, and after that another request to disable LEDDEVICE (or run an effect, or set a color), and everything works as intended...
Also, thanks for the python library, but I'm writing an Android app in my native language which is Delphi, so it will be no use for me -
I already parse the JSON response
I'll compare 2 queries, each one with a different instance disabled, to see if the components section is related to the "current" instance.
Thanks btw. -
Yeah that is what I thought too but I wanted a confirmation before writing a lot of code to switch instance before running serverinfo, for nothing
-
@Lord-Grey I'm sorry to bother you again, but I have another question about the JSON API.
In particular, the serverinfo command.
Let's say I have 3 instances running on my Hyperion.
Now I do a serverinfo to get infos.
To what instance are related the infos returned by "Components" ?
https://docs.hyperion-project.…erverInfo.html#componentsI need to know this, because I use LEDDEVICE to disable leds from an instance (which I find more reliable than disabling the instance).
Thanks !!
-
Fallait acheter un vrai téléphone
-
C'est normal car la gestion des effets ou changement des couleurs n'est applicable que sur la premiere instance, la seconde ne reagira jamais.
Par contre en utilisation Ambilight c'est pas la meme, les 2,3,4 instances reagiront.
Faux avec mon appli il est tout a fait possible d'appliquer un effet ou une couleur sur une instance autre que la première lol . -
Ok, many thanks for your answer.
I can't use curl in my app, so no big deal, I'll send commands one after the other -
Thanks for the replies guys and gals. I'm looking at controlling it from Control4 which means it needs to be ideally 232 or HTTP.
have a look here, you'll find everything you need:
https://docs.hyperion-project.org/en/json/ -
No problem
-
Hi,
Any update on this ?
thanks. -
Hi,
I'm trying to build a little android app for myself, so I can manage my instances.
I need some info please.
@Lord-Grey can you tell me if it is possible to aggregate more than 1 json command in a single request ?
Let's say, I want to switch to instance 1 and then disable LEDDEVICE.
Currently I need to run 2 requests, with the 2 JSON parts.
Is it possible to do this in a single request ?
If so can you show me how ?Many thanks.
-
Automatically toggling tone-mapping based on if my Denon Receiver outputs HDR or SDR is done! Home-Assistant is great for these kind of automations.Thanks for adding this API feature @Awawa! Makes my life a bit easier
Would you mind giving me the correct API command to enable/disable HDR ?
Thanks -
I would suggest downloading the pre-built image. You just need to copy the image using something like rufus to a SD/MicroSD card and pop it in.
https://github.com/hyperion-project/HyperBian
Download the Zip on a windows machine, extract and use rufus to image to SD/MicroSD
That won't help him, his Pi is running pi-hole and pivpn so he can not use the prebuilt image.