Control Frameo photo frames via cloud API or ADB.
pip3 install requests pillowecho '{"access_token": "YOUR_TOKEN"}' > ~/.frameo_tokenpython3 scripts/frameo_client.py --framesadb tcpip 5555 to enable wirelessadb connect :5555 python3 scripts/frameo_client.py --frames
adb push photo.jpg /sdcard/DCIM/
# Or to Frameo's photo directory:
adb push photo.jpg /sdcard/Frameo/
# Screen on/off
adb shell input keyevent 26
# Set brightness (0-255)
adb shell settings put system screen_brightness 128
# Next photo (swipe right)
adb shell input swipe 800 500 200 500
# Previous photo (swipe left)
adb shell input swipe 200 500 800 500
If frame is on local network and agent is remote:
ssh user@local-mac "adb push /tmp/photo.jpg /sdcard/DCIM/"
references/api-endpoints.md - Frameo cloud API endpointsreferences/adb-commands.md - Common ADB commands for FrameoFrameo tokens expire in ~5 minutes. Get fresh token from Proxyman.
Wireless ADB not enabled. Need USB cable first to run adb tcpip 5555.
Ensure using a data cable, not charge-only. Data cables are usually thicker.
共 1 个版本