A simple MQTT power switch for ATX-Based computers. It is developed mainly for the NodeMCU v2 board. PlatformIO is used as a development environment.
- Install the PlatformIO CLI or IDE
- Clone this repository
- Build it with
platformio run
- Upload it with
platformio run -t upload
.
After these steps you should be able to see the ESP-PC
access point, connect to it and configure WiFi settings for the board.
NOTE: This project relies on ESP8266 WiFiManager Library for WiFi configuration, you don't have to specify your credentials anywhere in source code.
This repository contains an accessory description file for the HomeKit Accessory Server.
Simply copy PowerSwitch_accessory.js into HAP-NodeJS/accessories
and restart the Server.