-
Notifications
You must be signed in to change notification settings - Fork 14
AirPyrt
AirPyrt is a tool written in Python for controlling AirPort devices, including querying / updating ACP properties.
GitHub: https://github.com/x56/airpyrt-tools
To install AirPyrt, run:
git clone https://github.com/x56/airpyrt-tools.git
cd airpyrt-tools
python setup.py install --user
You need to use the IPv4 address to connect.
python -m acp -t {ipv4-address} -p {password} --getprop {property}
{ipv4-address}
should be the IPv4 address of the AirPort device.
{password}
should be the admin password of the AirPort device.
{property}
should be the 4 character code to specify which property you want to get. See ACP Properties for more information.
Example:
python -m acp -t 10.0.1.1 -p password --getprop syNm
AirPort Extreme
python -m acp -t {ipv4-address} -p {password} --setprop {property} {value}
{ipv4-address}
should be the IPv4 address of the AirPort device.
{password}
should be the admin password of the AirPort device.
{property}
should be the 4 character code to specify which property you want to set. See ACP Properties for more information.
{value}
should be the new value of the property.
Example:
python -m acp -t 10.0.1.1 -p password --setprop syNm AirPort\ Extreme
python -m acp -t {ipv4-address} -p {password} --reboot
{ipv4-address}
should be the IPv4 address of the AirPort device.
{password}
should be the admin password of the AirPort device.
Example:
python -m acp -t 10.0.1.1 -p password --reboot