Hi all,

I have managed to have SqueezeCtl be in my notification area no matter
what, when and only when I'm connected to the WiFi network my
SqueezeServer is on.

Having used Tasker for many years, I nowadays use 'Automagic'
(http://automagic4android.com/). 

Currently I use three flows. 

1. WiFi Network in
    
- Trigger: WiFi Connected
- Notification on Statusbar Displayed
  Package: com.angrygoat.android.squeezectrl
- If false: Send Broadcast
  com.angrygoat.android.squeezectrl.REMOTE_CONNECT
  Explicit Component: Package com.angrygoat.android.squeezectrl

2. WiFi Network out
    
- Trigger: WiFi Disconnected
- Send Broadcast
  com.angrygoat.android.squeezectrl.REMOTE_CLOSE
  Explicit Component: Package com.angrygoat.android.squeezectrl

3. Restore SqueezeCtl
    
- Trigger: Notification on Statusbar Removed
  Package: com.angrygoat.android.squeezectrl
- WiFi Connected?
- If true: Send Broadcast
  com.angrygoat.android.squeezectrl.REMOTE_CONNECT
  Explicit Component: Package com.angrygoat.android.squeezectrl

Simple and maybe can be made simpler, but it works for me.

Regards,
Paul


------------------------------------------------------------------------
Paul Guijt's Profile: http://forums.slimdevices.com/member.php?userid=36711
View this thread: http://forums.slimdevices.com/showthread.php?t=96757

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to