bradsjm / hassio-addons Goto Github PK
View Code? Open in Web Editor NEWHome Assistant Add-ons
Home Page: https://www.home-assistant.io/hassio/installing_third_party_addons/
License: MIT License
Home Assistant Add-ons
Home Page: https://www.home-assistant.io/hassio/installing_third_party_addons/
License: MIT License
Would it possible to run Hyperion with root access? Then hardware lights would be controllable
Alpha 10 just released.
https://hyperion-project.org/forum/index.php?thread/11973-alpha-10-is-out/
I would like to try you addon on this version.
Thanks
I am using a RPI400 for my HA OS install. I have added Hyperion NG as an add-on, but for some reason when I try to choose the capture card I have plugged into it, it says "No Capture Device Discovered". I've tried rebooting, I've tried using other usb ports, nothing.
Logs:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
2023-08-14T11:15:56.004 |__| MAIN : <INFO> Starting Hyperion [non-GUI mode] - 2.0.15, (HEAD detached at 2.0.15) (GitHub-70e1043/24a00e3-1676809483), built: Feb 19 2023:15:46:14
2023-08-14T11:15:56.010 |__| MAIN : <INFO> Set user data path to '/config/hyperion'
2023-08-14T11:15:56.540 |__| DAEMON : <INFO> CEC handler created
2023-08-14T11:15:56.609 |__| EFFECTFILES : <INFO> 40 effects loaded from directory :/effects/
2023-08-14T11:15:56.624 |__| EFFECTFILES : <INFO> 22 effect schemas loaded from directory :/effects/schema/
2023-08-14T11:15:56.629 |__| EFFECTFILES : <INFO> 0 effects loaded from directory /config/hyperion/custom-effects/
2023-08-14T11:15:56.780 |__| FLATBUFSERVER : <INFO> Started on port 19400
2023-08-14T11:15:56.781 |__| PROTOSERVER : <INFO> Started on port 19445
2023-08-14T11:15:56.810 |I0| EFFECTENGINE : <INFO> Run effect "Rainbow swirl fast" on channel 1
2023-08-14T11:15:56.811 |I0| LEDDEVICE : <INFO> Start LedDevice 'philipshue'.
2023-08-14T11:15:56.831 |__| DAEMON : <ERROR> Suspend/resume handler - System bus is not connected
2023-08-14T11:15:56.832 |__| DAEMON : <ERROR> Lock/unlock handler- Session bus is not connected
2023-08-14T11:15:56.865 |I0| HYPERION : <INFO> Initial foreground effect 'Rainbow swirl fast' started
2023-08-14T11:15:56.868 |__| HYPERION-INSTMGR : <INFO> Hyperion instance 'First LED Hardware instance' has been started
2023-08-14T11:15:56.870 |__| JSONSERVER : <INFO> Started on port 19444
2023-08-14T11:15:56.988 |__| WEBSERVER : <INFO> 'Hyperion http-Webserver' started on port 8090
2023-08-14T11:15:57.035 |__| WEBSERVER : <INFO> 'Hyperion https-Webserver' started on port 8092
2023-08-14T11:15:59.865 |I0| LEDDEVICE : <ERROR> Cannot resolve mDNS hostname for given service [DIYHue._hue._tcp.local]!
2023-08-14T11:16:00.008 |I0| EFFECTENGINE : <INFO> Effect [Rainbow swirl fast] finished
Thank you for including v4l-utils package as now I can modify the values for the default video device. I'm using a camera as my grabber which is working fine but I need to modify some values to make it respond faster. What I'm using now are those values:
v4l2-ctl -c auto_exposure=1 -c white_balance_auto_preset=3 -c iso_sensitivity_auto=0 -c exposure_metering_mode=2
but to call this I need to log into docker container and call it from there. Ideally, I would like to have a parameter in HA plugin config page to do it. If you could add it, it would be great.
Can't work it out.
I'm getting "Operation not permitted" when trying to turn on adalight usb device.
Looks like addon or hyperion itself doesn't have enough permissions.
I'm also tried "full_access", but no luck
Do you have an idea how to make access hyperion in docker to usb?
When starting the addon with version 2.0.13 the log shows:
s6-overlay-suexec: fatal: can only run as pid 1
Reverting back to 2.0.12 and the addon starts with no errors.
Hi,
Could you please update to Alpha 10.1?
https://hyperion-project.org/forum/index.php?thread/12265-alpha-10-1-is-out/
Thanks.
When pressing the HA light toggle for Hyperion-NG (2.0.12) the LED array switches off as intended without changing any of the other states (eg. the used capture methods in this case)
However when you click on the light toggle again, it will toggle the LED array back on but will disable the opposite capture mode of the one active.
Eg. When Screen Capture is enabled and the LED array is switched on from HA it toggles off the USB Capture and vice versa.
Both capture methods should remain unchanged regardless of the LED output state
The non-active capture method will be toggled into the OFF state
Home Assistant Server
Hyperion Server:
Hyperion Server OS:
Hello,
today i have installed the core update 2021.2.3. After the update my leds turn off, on, off, on and so on.
My brother has the same bug after the update. My brother and i have an rpi4
Does anyone have the same problem?
This problem with only HomeAssistant addons. With I start hyperion-ng in debian its OK.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Improvement proposal:
Would it be possible to upgrade container image for the latest hyperion.ng build?
Added
WLED: Support storing/restoring state, fixes #1101
I've tested it and it's working as expected so I would like to move my hyperion.ng rpi setup to my hassio vm installation.
On Raspberry Pi 3+ the LED WS281x isn’t working with PWM. Tried it with GPIO 18. It works with the standalone Hyperion OS, but with the same settings on the Hassio Add on, it does not work. The Log:
Can’t open device file
: Operation not permitted
2021-01-12T13:45:23.769 hyperiond LEDDEVICE : Device disabled, device ‘ws281x’ signals error: ‘Failed to open. Error message: Failed to create mailbox device’
Can’t open device file
: Operation not permitted
At the Remote Control page, the LED device button on the right side is also always off. When i push it on, directly the message
Can’t open device file
: Operation not permitted
appears in the log.
The Hassio System is installed with 32 bit image directly with the hassio OS standalone on the SD Card.
I also tried deactivating Audio in the config file and hdmi forcing. Both did not work.
HassOS 5.3 on RPi 4
The installation worked fine and GUI is available under the port 8090 but I cannot connect to it with any external grabber.
Even with Flatbuffers Server on port 19400 and Protocol Buffers Server on port 19445 enabled I cannot send any information to the Hyperion.
Is there any way to debug the issue of why those ports behave differently than 8090? Any suggestions will be greatly appreciated.
hi i am using hyperion as an addon(vm on vmware esx). but I can't see the live video on hyperion ...
root@dba1ceb5-hyperion:/# v4l2-ctl --all
Driver Info:
Driver name : uvcvideo
Card type : USB Video: USB Video
Bus info : usb-0000:03:00.0-2.1
Driver version : 5.4.83
Capabilities : 0x84a00001
Video Capture
Metadata Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
Width/Height : 1920/1080
Pixel Format : 'MJPG' (Motion-JPEG)
Field : None
Bytes per Line : 0
Size Image : 4147200
Colorspace : sRGB
Transfer Function : Default (maps to sRGB)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
Quantization : Default (maps to Full Range)
Flags :
Crop Capability Video Capture:
Bounds : Left 0, Top 0, Width 1920, Height 1080
Default : Left 0, Top 0, Width 1920, Height 1080
Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 1920, Height 1080, Flags:
Selection: crop_bounds, Left 0, Top 0, Width 1920, Height 1080, Flags:
Streaming Parameters Video Capture:
Capabilities : timeperframe
Frames per second: 30.000 (30/1)
Read buffers : 0
brightness 0x00980900 (int) : min=-128 max=127 step=1 default=-11 value=-11
contrast 0x00980901 (int) : min=0 max=255 step=1 default=148 value=148
saturation 0x00980902 (int) : min=0 max=255 step=1 default=180 value=180
hue 0x00980903 (int) : min=-128 max=127 step=1 default=0 value=0
I've recently moved from a Pi4 to a NUC and would love to use your docker on amd64.
I've added the repository and the log file acknowledged the new git as expected:
21-12-12 18:56:47 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/bradsjm/hassio-addons repository
But the Hyperion add-on does not show up for selection at the bottom of the Add-on Store as expected.
I already tried running it with full_access enabled but I still can't get the LEDs to light up. Here's my error code:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
2024-03-30T11:27:19.422 |__| MAIN : <INFO> Starting Hyperion [non-GUI mode] - 2.0.16, (HEAD detached at 2.0.16) (Paulchen-Panther-cb85d2d/a93d79b-1705568419), built: Jan 18 2024:12:06:38
2024-03-30T11:27:19.422 |__| MAIN : <INFO> Set user data path to '/config/hyperion'
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
2024-03-30T11:27:19.519 |I255| SETTINGSMGR : <INFO> Migration completed to version [2.0.16]
2024-03-30T11:27:19.553 |__| EFFECTFILES : <INFO> 41 effects loaded from directory :/effects/
2024-03-30T11:27:19.556 |__| EFFECTFILES : <INFO> 23 effect schemas loaded from directory :/effects/schema/
2024-03-30T11:27:19.556 |__| EFFECTFILES : <INFO> 0 effects loaded from directory /config/hyperion/custom-effects/
2024-03-30T11:27:19.592 |__| V4L2 : <INFO> Set image size decimation to 4
2024-03-30T11:27:19.592 |__| V4L2 : <INFO> Set flipmode to NO_CHANGE
2024-03-30T11:27:19.592 |__| V4L2 : <INFO> Set new frames per second to: 30 fps
2024-03-30T11:27:19.602 |I0| LEDDEVICE : <INFO> Start LedDevice 'ws281x'.
2024-03-30T11:27:19.602 |__| V4L2 : <INFO> Started
2024-03-30T11:27:19.603 |I0| LEDDEVICE : <ERROR> Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: Hardware revision is not supported'
2024-03-30T11:27:19.604 |I0| LEDDEVICE : <INFO> Start 1. attempt of 6 to enable the device in 15 seconds
2024-03-30T11:27:19.607 |I0| EFFECTENGINE : <INFO> Run effect "Rainbow swirl fast" on channel 1
2024-03-30T11:27:19.607 |__| PROTOSERVER : <INFO> Started on port 19445
2024-03-30T11:27:19.609 |__| EVENTS-SCHED : <INFO> Disabling event scheduler
2024-03-30T11:27:19.609 |__| FLATBUFSERVER : <INFO> Started on port 19400
2024-03-30T11:27:19.610 |I0| HYPERION : <INFO> Initial foreground effect 'Rainbow swirl fast' started
2024-03-30T11:27:19.615 |__| EVENTS-OS : <INFO> The suspend/resume feature is not supported by your system configuration
2024-03-30T11:27:19.616 |__| DAEMON : <INFO> CEC event handler created
libcec.so.4: cannot open shared object file: No such file or directory
2024-03-30T11:27:19.617 |__| EVENTS-CEC : <ERROR> Failed loading libCEC library. CEC is not supported.
2024-03-30T11:27:19.617 |__| HYPERION-INSTMGR : <INFO> Hyperion instance 'First LED Hardware instance' has been started
2024-03-30T11:27:19.619 |__| JSONSERVER : <INFO> Started on port 19444
2024-03-30T11:27:19.634 |__| WEBSERVER : <INFO> 'Hyperion http-Webserver' started on port 8090
2024-03-30T11:27:19.639 |__| WEBSERVER : <INFO> 'Hyperion https-Webserver' started on port 8092
2024-03-30T11:27:22.644 |I0| EFFECTENGINE : <INFO> Effect [Rainbow swirl fast] finished
2024-03-30T11:27:34.617 |I0| LEDDEVICE : <ERROR> Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: Hardware revision is not supported'
2024-03-30T11:27:34.618 |I0| LEDDEVICE : <INFO> Start 2. attempt of 6 to enable the device in 15 seconds
2024-03-30T11:27:49.633 |I0| LEDDEVICE : <ERROR> Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: Hardware revision is not supported'
2024-03-30T11:27:49.634 |I0| LEDDEVICE : <INFO> Start 3. attempt of 6 to enable the device in 15 seconds
2024-03-30T11:28:04.644 |I0| LEDDEVICE : <ERROR> Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: Hardware revision is not supported'
2024-03-30T11:28:04.644 |I0| LEDDEVICE : <INFO> Start 4. attempt of 6 to enable the device in 15 seconds
2024-03-30T11:28:19.659 |I0| LEDDEVICE : <ERROR> Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: Hardware revision is not supported'
2024-03-30T11:28:19.659 |I0| LEDDEVICE : <INFO> Start 5. attempt of 6 to enable the device in 15 seconds
2024-03-30T11:28:34.662 |I0| LEDDEVICE : <ERROR> Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: Hardware revision is not supported'
2024-03-30T11:28:34.663 |I0| LEDDEVICE : <INFO> Start 6. attempt of 6 to enable the device in 15 seconds
2024-03-30T11:28:49.676 |I0| LEDDEVICE : <ERROR> Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: Hardware revision is not supported'
2024-03-30T11:28:49.676 |I0| LEDDEVICE : <ERROR> Device disabled. Maximum number of 6 attempts enabling the device reached. Tried for 105 seconds.
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.