Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/becheran/apms
Access Point Management Service. Button based power control for TP-Link EAP225 devices.
https://github.com/becheran/apms
accesspoint eap225 golang on-off-switch powermanagement raspberry-pi tp-link
Last synced: 6 days ago
JSON representation
Access Point Management Service. Button based power control for TP-Link EAP225 devices.
- Host: GitHub
- URL: https://github.com/becheran/apms
- Owner: becheran
- License: mit
- Created: 2021-01-14T18:48:49.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-21T21:35:26.000Z (3 months ago)
- Last Synced: 2024-11-15T01:43:56.148Z (about 1 month ago)
- Topics: accesspoint, eap225, golang, on-off-switch, powermanagement, raspberry-pi, tp-link
- Language: Go
- Homepage:
- Size: 706 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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](berrybase.de/raspberry-pi-co/raspberry-pi/stromversorgung/zubehoer/poe-splitter-rj45-48v-micro-usb-5v/2-5a#)![layout](doc/layout.jpg)
## Setup
Enter your Access Point credentials as env variables or in a `.env` file next to the executable.
Edit the [build script](./build.sh) 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:
``` sh
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:
``` sh
journalctl -e -u apms.service
```## Update
Upgrade firmware of devices via: