Skip to content

Instantly share code, notes, and snippets.

View Gast114's full-sized avatar

Jo Gast114

  • germany
View GitHub Profile
@Hypfer
Hypfer / valetudo_gamepad_experiments_v1.js
Created April 1, 2021 21:06
Control your Valetudo-enabled Vacuum Robot using a gamepad
/*
* This small JS script enables you to control your Valetudo-enabled robot using a gamepad
* You will need to install node-hid as well as needle by running npm install node-hid and npm install needle
*
* Then, please edit VALETUDO_HOST so that it matches your setup.
*
* Keep in mind that there are no sanity checks and there's also no error handling.
* Your robot needs to implement the ManualControlCapability and your controller needs to be already connected
*
* Keymap: