Sandman main is part of the Sandman Project, which aims to provide a device that allows hospital style beds to be controlled by voice. This component will provide the main functionality, such as receiving commands, manipulating GPIO to move the bed, and more. However, it is currently being rebuilt from the previous C++ implementation. At the moment, Linux is the only supported operating system.
Sandman relies on Rhasspy to provide voice control and auditory feedback. It must be set up first in order for Sandman to work. You can find instructions for setting up Rhasspy here.
If you are interested in running Sandman in development mode, please read CONTRIBUTING. If you wish to run it in deployment mode, you can use the following instructions.
At the moment, in order to for GPIO to work inside the Docker container, we need the group ID in an environment variable. This command will do that:
export GPIO_GID=$(getent group gpio | cut --delimiter ':' --fields 3)You will have to repeat this command for each shell instance that starts the container. Then,
cd ~/sandman_maindocker compose up -d