Version: 1.1.0
Nano Automator is a software that enables a Binaris Nano_D++ device to support various functions on a computer. This software now supports both Windows and MacOS.
- On Windows: AutoHotkey2 must be installed.
-
Clone the repository:
git clone https://github.com/vlorian-de/nano-automator.git
-
Change to the project directory:
cd nano-automator
-
Install the dependencies:
npm install
The following scripts are available to start the software:
-
Start:
npm start
This starts the application with
node
. -
Development:
npm run dev
This starts the application with
nodemon
for development, which means the application will automatically restart with each change.
In the config.js
file, you can easily link different combinations of trigger conditions and actions without real code modifications. The path for AutoHotkey is also set in this file.
Here is an example configuration:
const MAPPINGS = [
{
condition: [knobTurned],
action: setVolume
},
{
condition: [keyDown(0)],
action: lockComputer,
},
{
condition: [macOS, keyDown(1)],
action: macShortcut('Homekit - Turn office light on'),
},
{
condition: [macOS, keyDown(2)],
action: playPause,
},
{
condition: [macOS, keyDown(3)],
action: nextTrack,
},
{
condition: [windows, keyDown(2)],
action: copy,
},
{
condition: [windows, keyDown(3)],
action: paste,
},
]
Windows | MacOS | |
---|---|---|
copy / paste | ✅ | |
undo / redo | ✅ | |
run AutoHotKey scripts | ✅ | |
play / pause | ✅ | ✅ |
previous track | ⏳ |
✅ |
next track | ⏳ |
✅ |
volume control | ✅ |
✅ |
run terminal command | ✅ |
✅ |
webhook | ⏳ | ⏳ |
switch nano profile | ⏳ | ⏳ |
lock computer | ⏳ | ✅ |
run (Siri) "shortcuts" | ✅ |
|
control Homekit devices (with "shortcuts") | ✅ |
Windows | MacOS | |
---|---|---|
key down | ✅ | ✅ |
key up | ✅ | ✅ |
key long press | ⏳ | ⏳ |
key combinations | ⏳ | ⏳ |
knob turned | ✅ | ✅ |
nano profile is | ⏳ | ⏳ |
os is Windows | ✅ | ✅ |
os is macOS | ✅ | ✅ |
✅ indicates implemented features, while ⏳ indicates features currently under development.
@serialport/parser-readline
^12.0.0node-windows
^1.0.0-beta.8serialport
^12.0.0
nodemon
^3.1.3
This project is licensed under the MIT License. See the LICENSE file for more details.