npm install iohook mqtt robotjs
var options = { username: 'MQTT_SERVER_USERNAME', password: 'MQTT_SERVER_PASSWORD', port: 'MQTT_SERVER_PORT' };
var client = mqtt.connect('mqtt://MQTT_SERVER_URL', options)
USE MQTT DASH FOR CREATING A BUTTON AND CONTROLLING THE PC-2FA LOCK
https://play.google.com/store/apps/details?id=net.routix.mqttdash&hl=en&gl=US
TOPIC: security
VALUES: 0 (off) / 1 (on) (Number)
Copyrights Nikolaos Astyrakakis 2020