Looks like the mount definitions require the :ro
(or maybe :rq
?) at the end unlike regular docker volumes, that was the issue.
Looks like the mount definitions require the :ro
(or maybe :rq
?) at the end unlike regular docker volumes, that was the issue.
What’s required to map a folder into one of the containers (i.e. retroarch)? I’ve attempted to edit config.toml to include it, but the main wolf container immediately crashes on boot due to interrupt code 11. There’s no other error messages, just a binary stack trace.
The folder exists. I’ve tried directly mounting the host path as well as mounting it into Wolf-Wolf-1 and using the local path, but nothing works. Even perfectly mirrored paths don’t work. Wolf appears to be running as root so I don’t think it’s a permissions error? I can certainly access the folders. They are a locally mounted NFS, but I’ve used this with dozens of containers without issue.
Imagine you have a household with 2 adults and 2 kids, and you’ve setup some level of presence tracking. You want to use automations to turn off everything if nobody is home, turn on some things if only kids are home, turn on other things if only adults are home, and turn on everything if kids and adults are home. You could build this logic into every automation you have, but it’s a lot of repeated logic to put in every time you wanna add something cool.
Blueprints mean you don’t have to write it out in every automation. But I’ve never found them to be especially convenient for updating. And they still have the automation doing all of the heavy lifting.
You could have a home State sensor that you depend on automations to manually update. But this is only as up to date as you make it, either running every so often (stale data) or using automations based on a change in presence tracking to update a sensor (buggy maybe? have not tried it but sounds prone to race conditions and misfires to me). Closer, but unideal IMO.
Or you could pull this logic into a service that returns 1 of 4 possible states - full, empty, kids, adults. Your automation no longer has any logic to figure out what the state is or who’s home, it just asks what set of rules are in effect and can apply them. This lets the automation focus on a smaller area, which means less shit that needs updating if you change something, less chance for bugs.
There’s not a ton new you can do now that you couldn’t accomplish before, but you can do it in smarter, more maintainable ways.