apms

command module
v0.0.0-...-99a6a5b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2024 License: MIT Imports: 9 Imported by: 0

README

APMS - Access Point Management Service

Button based power control for TP-Link EAP225 devices using an Raspberry Pi. On-off switches for Access Points in LAN.

Hardware

  • Raspberry Pi (Pi 1 B Rev 2 was tested, but basically all Pis with Ethernet adapter should work)
  • Push Buttons and LEDs (in my case four times)
  • Housing + Wires
  • (optional) PoE Splitter for Power support such as this one

layout

Setup

Enter your Access Point credentials as env variables or in a .env file next to the executable.

Edit the build script and add the IP of your Access Point. Run the script to build and upload the apms binary.

Run the following command once on the Raspberry Pi to register the service:

sudo cp apms.service /lib/systemd/system/apms.service
sudo chmod 644 /lib/systemd/system/apms.service
sudo systemctl start apms
sudo systemctl enable apms
sudo reboot 0

Debug

Run the following command on your Raspberry Pi to see the debug logs for the service:

journalctl -e -u apms.service

Update

Upgrade firmware of devices via: https://www.tp-link.com/de/support/download/eap225/v3/#Firmware

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
eap

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL