hyperion-project / hyperion.control Goto Github PK
View Code? Open in Web Editor NEWKodi Addon to control Hyperion.
License: MIT License
Kodi Addon to control Hyperion.
License: MIT License
Hi, Thx for your add-on!
My Server is Synology 220+ , run hyperion.ng 2.0.0 alpha 11 / 2.0.2 in docker.
It can check WLED,but cant get real time picture, and WLED run hyperion effect.
I tried many combinations of Kodi version & different versions of hyperion.control(hyperion.kodi), neither of them works perfectly.
kodi v17.6 + hyperion.kodi 1.0.2.zip
After the hardware acceleration is turned off, the picture will jam and change once some second.
and my server can see real time picture, but like kodi, the picture will jam and change once some second.
kodi v19.4 + hyperion.kodi 1.0.3.zip
add-on throw some error
kodi v19.4 + hyperion.control 19.0.1.zip
not worked
kodi v20 beta + hyperion.control 19.0.1.zip
not worked
ps: kodi v18.x (18.1, 18.5, 18.9) will flash back on my TV.
I really can't help it,please tell me what I should do? thx!!!
My TV parameter:
HONOR X1 65 inch
RAM&ROM: 4G + 32G
OS: HarmonyOS 1.0
CPU: 4 Core ARM Cortex A532+ARM Cortex A732 1.5GHz
GPU: 4 Core Mali-G51
CPU model:Honghu 818 (鸿鹄818)
About TV: like this, but RAM & ROM diff. https://www.displayspecifications.com/en/model/c6431fe0
XIAOMI 4A 49 inch
RAM&ROM: DDR4 2G + 8G
OS: MI TV OS (Android deep customization)
CPU: Amlogic T962 Cortex A53 4 Core 1.5GHz
GPU: Mali-450 MP5 750MHz
CPU model:-
About TV: https://www.displayspecifications.com/en/model/4599ac0
All the best!
Hi All,
Thanks for the work on this, I had hyperion running on Kodi - Leia, but with recent updates the screen scraping issue has broken it.
I have come across this repo and code, and am trying to install but seeing this error in my kodi.log:
2023-08-02 11:55:09.110 T:547 debug <general>: CAddonInstaller: installing from zip '/home/osmc/hyperion.control-20.0.0.zip'
2023-08-02 11:55:09.112 T:547 error <general>: CAddonInfoBuilder::Generate: Unable to load 'zip://%2fhome%2fosmc%2fhyperion.control-20.0.0.zip/hyperion.control-20.0.0/addon.xml', Line 0
Failed to open file
The file has been downloaded to /home/osmc/
Looking at the zip file, the addon.xml is in the folder, its nested within script.service.hyperion-control
Steps taken to install are:
Reboot of OSMC ( personal choice to restart before update)
select addons
install from zip
select local device (note I have also tried from smb location)
error above comes up in the log, and banner on screen to say install failed.
Not sure if this is an issue with my setup/config? are there any pre-requirements to be installed?
If so, any guidance on what to change? any pre installations that are required?
Env is:
RPI2 - OSMC 2023-07-1 which I think it is 20?
Hyperion - 2.0.15
I have a problem with this add-on. If I start the hyperion service manually, the LED in the Kodi menu will also light up, even if it is disabled in the plugin. If I play the video and then stop it and return to the menu, the LED is no longer lit and everything works as it should. Can you help me with that?
I have Hyperion.ng installed on OSMC Vero 4K +, KODI 18.6 and LEDs connected to Wemos D1 mini with WLED. Thank you for your help.
Hello!
Apologies for creating an issue for this, but it's been difficult for me to wrap my head around what this plugin does vs what else might be required, and I don't know where else to post about it.
My setup:
TV lights attached to a raspberry pi. Kodi running on a different computer that is not a raspberry pi.
Some history:
This week, I got TV lights setup and installed! I originally used Hypercon to configure the server and got it deployed using the built in deployment functionality. That worked well! Then I found a Kodi plugin (https://github.com/hyperion-project/hyperion.kodi) and pointed it at the Hyperion server. Everything seemed to work well! However using this plugin, any content Kodi plays that is > 30fps causes the lights to spaz out.
Googling around for any sort of solution, many suggested using Hyperion.NG and this plugin.
So going back to square one, I installed Hyperion.NG on my raspberry pi. That was an absolute breeze. I confirmed the lights work and respond when selecting colors and effects from the UI. Next, I removed the old Kodi plugin and installed this. The plugin automatically detected my server and connected to it. However the plugin doesn't seem to read any pixel data from Kodi (vs the old plugin). Nothing I did got this working last night, meaning Kodi never was able to control the TV lights like the old setup did.
After a night's sleep and thinking from scratch, now I'm wondering if I need another Hyperion.NG install on my Kodi device configured to forward everything to the first Hyperion.NG instance? So the setup would be:
Kodi plugin on Kodi machine -> Hyperion.NG on Kodi machine (configured to only grab and forward data, no device/led config) -> Hyperion.NG on the raspberry pi (for device/led rendering).
If that's not the case, then I don't understand why this Kodi plugin isn't getting the lights to come on and would appreciate any input!
Thank you for your time.
Hi! First - thanks for that addon/service, it works like a charm!
I am using it on a kodi (with the leds connected) and 2 different sources switchable by an hdmi matrix.
Thing is: I want the ambilight deactivated when in kodimenu (otherwise some LEDs are on the whole time) but I want it activated when using the second source (tv recevier).
Is it possible to temporarily re-activate hyperion / ambilight when it is deactivated by the menu feature but there is "movement" on the grabber because one switched to the second source?
Or deactivate it when cec registers "tv is off"?
problem is here descirbed
https://hyperion-project.org/threads/hyperion-control.4442/
I'm having HDMI signal drops when I'm playing a video and the OSD or some other windows in front of the player.
When I turn off hyperion, the HDMI signal comes back.
If this addon can detect if the player is still in foreground I could fix my issue by turning off hyperion when the player is not in the foreground.
I realized that the debug log level is already handled by kodi settings, so the "debug" settings in the addon is redundant.
Given that the current debug message are a few and infrequent, there's no need to check the current loglevel, we can directly send the debug message and let kodi handle it.
A PR will follow with the proposed changes
After installing Hyperion control on kodi running on an Xbox series X, Hyperion control correctly detects the Hyperion ng instance running in the local network. However it seems that after that, no connection is actually made. Also when I generate the token in Hyperion NG and insert it in Hyperion control, nothing happens. Hyperion ng indicates the token has not been used. What am I doing wrong?
When they should be disabled while playing music and in the menu but only beeing enabled in videos they get enabled when pausing music.
Just upgraded to Kodi 19 and the Plugin is not working anymore.
Error Type: <class 'TypeError'>
Error Contents: 'iconImage' is an invalid keyword argument for this function
Traceback (most recent call last):
File "/var/lib/vdr/.kodi/addons/script.service.hypercon/default.py", line 110, in <module>
iconImage=defaultIcon)
TypeError: 'iconImage' is an invalid keyword argument for this function
-->End of Python script error report<--
Hyperion is running nice but always on.
I installed addon hyperion-control from zip and I had to repeat twice to get it installed.
Authentication is off, no effects running. I want LED/Hyperion running with Video and for everything else (music, menue, ...) LED/Hyperion should be switched off in/with Kodi (this was nice and easy to configure in old hyperion). Addon is enabled but doing nothing. Anyone can help me, some hints?
Raspberry Pi4, Raspberry OS Lite, Kodi 18.7, Hyperion.NG, DispmanX (no external USB grabber),
Thank you for this addon, I have used it a long time and it almost always worked flawlessly. I have now setup another LED instance in Hyperion, and unfortunately, it only works for the first instance.
When having multiple LED instances set up in Hyperion (one Arduino and one WLED in my case), only the first one gets updated according to hyperion-control settings.
According to API documentation, only one instance can be controlled with a connection (defaults to instance 0). To switch to another instance, the following command has to be sent:
// Switch to instance 1 { "command" : "instance", "subcommand" : "switchTo", "instance" : 1 }
This switches the context to instance 1 which can then be controlled normally.
This addon should work with an arbitrary amount of instances. For my case, it would be enough to apply the same settings for all instances for now, but maybe applying different settings (configured in the Control GUI) to different instances should also be considered.
I'm using Hyperion.NG 2.0.0 alpha 4 with Hyperion.control 1.0.1 on LibreElec 9.22 x86_x64.
Every time I change some setting for one component, it change it for all component.
I wanted to have boblight server disable, if I set thing up, it disable everything else.
I don't know if I missing something or if this is really a bug.
HI all,
is it possible to make this addon work with kodi 19 ? is guess somewhere they changed python support from python 2 to python 3.
greetings
boostar
Hello,
Thank you for this Addon! Just installed on my Raspberry PI 3 (osmc + Kodi v18 based) with Hyperion NG
compiled and installed. Auto detect of the server works nicely, however disabling menu, picture, video, photo grabbing doesn't seem to work. Also starting and shutdown of hyperion doesn't work either.
Is there anything I missed, during install / configuration?
Help is very much appreciated.
Greets,
Ray
I'm having issues with Hyperion.ng from the CoreElec repo and Hyperion Control 1.0.1 addon. After enabling the addon I noticed that it turns off the Platform Capture in the Kodi Menu like it should, but it doesn't turn off the LEDs. They just glow in some random colors.
So when I play a Video - everything works fine. When I stop the video - Hyperion Control turns on some random LEDs with random colors (where they should be off) and stops the Platform Capture as when I go through the menu - none of the LEDs change.
I've tried multiple times reinstalling the addons, removing userdata configuration, enabling disabling API etc. I have also checked the logs of addon in Debug mode and I don't see anything that would cause this to happen.
Here are my 2 topics in the CE forums:
https://discourse.coreelec.org/t/hyperion-ng-amlogic-improvements/5476/122?u=newkind
https://discourse.coreelec.org/t/hyperion-ng-amlogic-improvements/5476/124?u=newkind
Hi, thank you for this plugin!
I'm running Hyperion.NG 2.0.0-alpha9 on a Vero 4K+, controlling an WLED instance.
If have ticked the boxes to enable/disable Hyperion, enabled Ambilight for everything except screensaver (because that's what Kodi does on the Vero 4K+, there is no shutdown), and picked "Platform Capture" as the "Component" - so that it's basically always on unless the screensaver is activated (which could be because Kodi is going to sleep).
When sending the Vero 4K+ to sleep, the "Platform Capture" source gets removed from the "Remote Control" -> "Source Selection" table and the LEDs go off, but the the "Capturing Hardware" -> "Instance Capture" -> "Enable platform capture" checkbox is still ticked.
When waking the Vero 4K+ from sleep, the "Platform Capture" source does not get added to "Remote Control" -> "Source Selection" again, and the LEDs stay off.
I can bring the LEDs back by disabling "Capturing Hardware" -> "Instance Capture" -> "Enable platform capture" , saving, enabling "Capturing Hardware" -> "Instance Capture" -> "Enable platform capture", saving again - but that's a bit annoying ;-)
This is the debug log:
2020-12-19 04:50:38.669 T:3398426848 NOTICE: [script.service.hyperion-control] Settings updated!
2020-12-19 04:50:38.670 T:3398426848 NOTICE: [script.service.hyperion-control] Hyperion ip: 127.0.0.1
2020-12-19 04:50:38.670 T:3398426848 NOTICE: [script.service.hyperion-control] Hyperion port: 8090
2020-12-19 04:50:38.670 T:3398426848 NOTICE: [script.service.hyperion-control] Enable H on start: True
2020-12-19 04:50:38.670 T:3398426848 NOTICE: [script.service.hyperion-control] Disable H on stop: True
2020-12-19 04:50:38.670 T:3398426848 NOTICE: [script.service.hyperion-control] VideoMode enabled: False
2020-12-19 04:50:38.671 T:3398426848 NOTICE: [script.service.hyperion-control] Hyperion target comp: GRABBER
2020-12-19 04:50:38.671 T:3398426848 NOTICE: [script.service.hyperion-control] Screensaver enabled: False
2020-12-19 04:50:38.671 T:3398426848 NOTICE: [script.service.hyperion-control] Video enabled: True
2020-12-19 04:50:38.671 T:3398426848 NOTICE: [script.service.hyperion-control] Audio enabled: True
2020-12-19 04:50:38.671 T:3398426848 NOTICE: [script.service.hyperion-control] Pause enabled: True
2020-12-19 04:50:38.672 T:3398426848 NOTICE: [script.service.hyperion-control] Menu enabled: True
2020-12-19 04:50:38.672 T:3398426848 NOTICE: [script.service.hyperion-control] Debug enabled: True
2020-12-19 04:50:38.672 T:3398426848 NOTICE: [script.service.hyperion-control] ChangelogOnUpdate: True
2020-12-19 04:50:38.672 T:3398426848 NOTICE: [script.service.hyperion-control] tasks: 0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.