Hi, I'm trying to build a diy ambilight system for my monitor. I'm using a Arduino nano and ws2812B 60LEDs/m 5V, powered with a 5V 8A ps.
First I installed hyperion, then flashed the arduino with this sketch and tried to start Hyperion with: sudo systemctl start hyperiond@root (Looks like hyperion needs to get root permissions access the serial port where my arduino is connected, I read on this forum it'scommon with arduino and ws2812B). Anyway, I set up everything (I'm able to access and use the web interface), but nothing will happen on the LED side, even if I try to use "Identify" to make the LEDs blink. Log says:
2023-02-01T18:56:56.457Z [DAEMON] (ERROR) Lock/unlock handler- Session bus is not connected
2023-02-01T19:19:44.262Z [LEDDEVICE] (INFO) Identify adalight, device: ttyACM0
2023-02-01T19:19:44.262Z [LEDDEVICE] (INFO) Opening UART: ttyACM0
2023-02-01T19:19:44.294Z [LEDDEVICE] (ERROR) Device disabled, device 'adalight' signals error: 'Permission error while locking the device'
And sudo systemctl status hyperiond@root shows:
hyperiond@root.service - Hyperion ambient light systemd service
Loaded: loaded (/usr/lib/systemd/system/hyperiond@.service; enabled; preset: disabled)
Active: active (running) since Wed 2023-02-01 19:56:56 CET; 13min ago
Docs: https://docs.hyperion-project.org
Main PID: 21653 (hyperiond)
Tasks: 11 (limit: 18409)
Memory: 19.3M
CPU: 50.745s
CGroup: /system.slice/system-hyperiond.slice/hyperiond@root.service
└─21653 /usr/bin/hyperiond -u /etc/hyperion/
Feb 01 19:56:56 altair systemd[1]: Started Hyperion ambient light systemd service.
Feb 01 19:56:56 altair hyperiond[21653]: 2023-02-01T19:56:56.457 |__| DAEMON : <ERROR> Lock/unlock>
Feb 01 19:56:56 altair hyperiond[21653]: Lock/unlock handler- Session bus is not connected
Display More
Do you have any idea why this is happening? Am I missing something, or maybe it's some permission conflict?
Additional info: I'm working on arch linux, Kernel is mainline updated today (1st feb) to v6.1.8.
uname -sro
Linux 6.1.8-arch1-1 GNU/Linux
When I connect the arduino to the usb port of the pc the RX led starts blinkig pretty fast, so I guess the board and the PC are exchanging data, I really have no idea on what to do.