Rate Tweak
1 Star2 Stars3 Stars4 Stars5 Stars

Activate Command

  • Price
    Free
    Repo
    BigBoss
    iOS Version
    3.x or more
    Tweak Version
    1.4.2-1
    Author
    Download

    Activate Command cydia tweak allows you to run shell commands using activator actions.

    This tweak was created to use Activator events like double tapping the sleep button to perform home automation tasks such as turning on and off lights or starting a coffee machine that has a web interface using a command like: curl -s -S “http://192.168.0.100/turnOffLights”.

    Activate Command has many other potential uses which are only limited by your imagination and capabilities writing shell commands. Here are some examples:

    Show current CPU usage: top -l1 2>/dev/null | grep ‘CPU usage:’ | sed ‘s/^.*CPU/CPU/’

    Get Siri to read the current Apple share price: say The Apple share price is “$”`curl -s -S ‘http://download.finance. yahoo.com/d/quotes.csv?s=AAPL&f=l1’`

    Show the current IP address: ifconfig | grep inet | awk ‘{ print $2 }’ | grep -v 127.0.0.1

    Show the current weather and forecast: curl -s -S ‘http://weather.yahooapis.com/forecastrss?w=1103816&u=c’ | sed ‘s///gi’| awk ‘/Current Conditions:/ { inWeather = 1 } /href=/ { inWeather = 0 } { if (inWeather) { print $0 } }’

    No icon is added to the home screen. Configuration is performed in the settings app.

    Categories: BigBoss, Free Tweak, Tweaks

    Leave a Reply

    Your email address will not be published. Required fields are marked *