room-assistant icon indicating copy to clipboard operation
room-assistant copied to clipboard

Can't start in HassIO x86 (can't find I2C)

Open MTrab opened this issue 5 years ago • 6 comments

I can't start this in my HassIO (x86) install, just getting this in HassIO system logs:

20-02-21 22:08:16 INFO (SyncWorker_18) [hassio.docker.interface] Clean addon_6e66619d_room_assistant application
20-02-21 22:08:16 ERROR (SyncWorker_18) [hassio.docker] Can't start addon_6e66619d_room_assistant: 500 Server Error: Internal Server Error ("error gathering device information while adding custom device "/dev/i2c-1": no such file or directory")

Any ideas?

MTrab avatar Feb 21 '20 22:02 MTrab

Huh, I tested the add-on on my NUC without i2c as well and didn't run into problems there. Anyway, I put up a hot fix for this that just removes the mapping until I can figure this out. You will need to uninstall the add-on, refresh the add-on store and then re-install it again. Don't forget to copy your config if you already had something setup.

mKeRix avatar Feb 21 '20 22:02 mKeRix

Still same error - tried both stable and beta.

MTrab avatar Feb 22 '20 08:02 MTrab

Oh - just tried again, now it starts. Perhaps I was too fast and it hadn't cleaned up completely before I started a new instance.

MTrab avatar Feb 22 '20 08:02 MTrab

Oh - just tried again, now it starts. Perhaps I was too fast and it hadn't cleaned up completely before I started a new instance.

@MTrab Got the same error. Can you describe the steps you have taken to make it work? Thanks.

vash3d avatar Feb 23 '20 22:02 vash3d

fyi: I talked with the Home Assistant Supervisor devs and currently there is no way to make an add-on that supports both machines with and without i2c device. While ultimately I would like to help them get this developed I think for now the easiest solution is to just offer a new add-on version (like the beta) that also maps the i2c device.

mKeRix avatar Feb 29 '20 18:02 mKeRix

There hasn't been any activity on this issue recently. In an effort to provide a better overview of current issues we automatically clean some of the old ones. Many of them may already be resolved in newer versions of room-assistant. This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar May 05 '21 02:05 github-actions[bot]