@jojoxd/activeuser-mqtt
v1.0.3
Published
Add a binary_switch to your Home Assistant to see if you're using your linux computer
Downloads
6
Maintainers
Readme
@jojoxd/activeuser-mqtt
Add a binary_switch to your home assistant to see if you're using your linux computer!
How to use?
docker run --device=/dev/input/mice:/dev/input/mice:r docker.jojoxd.nl:5005/jojoxd-npm/activeuser-mqtt:latest
# OR
sudo npm run @jojoxd/activeuser-mqtt
Note: When running bare-metal, you WILL need to run this with root permissions, as we're opening an input device to poll.
See example.env
for how to configure your environment.
You can use a .env
file or push those variables directly into your environment