• 0 Posts
  • 10 Comments
Joined 3 years ago
cake
Cake day: July 8th, 2023

help-circle

  • I’m using rootless podman, not sure if that will make a big difference.

    Add the user running the containers to the video using the following command:

    sudo usermod -a -G video [username]
    

    Then I have this in my quadlet for the containers that need HW acceleration. As I understand it, keep-groups means the user rights to use video resources will be passed from the OS into the container.

    AddDevice=/dev/dri/renderD128:/dev/dri/renderD128
    AddDevice=/dev/dri/card0:/dev/dri/card0
    PodmanArgs=--group-add keep-groups
    

    I don’t think I have anything else relevant in my set up. Hope it helps!






  • I’m running six Shelly Plug S and all working well with Home Assistant, but I could definitely play a bit more with the data it’s drawing from them. Only issue to date was that I bought a new clothes iron and it would trip the plug as it was over the 2.5 kW the plug is rated for, might just be something to keep in mind. The in-wall relays may go higher, I’m not sure.