bradsjm / hassio-addons

Home Assistant Add-ons
https://www.home-assistant.io/hassio/installing_third_party_addons/
MIT License
31 stars 21 forks source link

ws281x LED device hardware revision compatibility problem #18

Open maroonds opened 3 months ago

maroonds commented 3 months ago

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.
bradsjm commented 2 months ago

Are you trying to use a Pi 5? I do not believe Ws281x is compatible with it if so. If not, remember that using hardware devices with this add-on is not a supported configuration due to restrictions in docker and Hassio.