MQTT Client for home assistant binary_switch to show you are moving your mouse
Find a file
2021-11-12 15:19:37 +01:00
dist chore(release): 1.0.2 [skip ci] 2021-11-12 12:04:35 +00:00
src feat: Initial Commit 2021-11-11 20:30:59 +01:00
.dockerignore fix(docker-image): Fix bloated docker image 2021-11-12 11:47:52 +01:00
.gitignore feat: Initial Commit 2021-11-11 20:30:59 +01:00
.gitlab-ci.yml fix(build-system): Update NodeJS build environment to 16.x 2021-11-11 20:42:07 +01:00
.npmignore feat: Initial Commit 2021-11-11 20:30:59 +01:00
.releaserc hopefully fix this nextRelease is undefined error 2021-11-12 11:05:03 +01:00
activeuser-mqtt.ts fix(npx): Fix NPX names hopefully 2021-11-12 13:01:35 +01:00
docker-compose.yml feat: Initial Commit 2021-11-11 20:30:59 +01:00
Dockerfile fix(docker): Fix broken CMD 2021-11-12 15:18:54 +01:00
example.env feat: Initial Commit 2021-11-11 20:30:59 +01:00
index.ts feat: Initial Commit 2021-11-11 20:30:59 +01:00
package.json fix(npx): Fix NPX names hopefully 2021-11-12 13:01:35 +01:00
README.md chore(readme): Update readme to reflect neccesary permissions 2021-11-12 11:52:58 +01:00
tsconfig.json feat: Initial Commit 2021-11-11 20:30:59 +01:00
yarn.lock fix(npx): Fix NPX names hopefully 2021-11-12 13:01:35 +01:00

@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