Elixir and E-Robot for Android by Tamás Barta

23Aug/142

E-Robot 1.28 is available

What is new

  • New event: Control / Variable is set
  • New event: System / Clipboard changed
  • New action: System / Cancel notifications, all or by package, Android 4.3 needed
  • New expressions: Audio / Is in ringer mode
  • New expressions: Accounts / Auto-sync state
  • Mobile signal strength event: can handle LTE
  • Execute Robot command action: new "wait for finish" parameter
  • Wait action: new "wakelock" parameter
  • Variable value expression: "name" parameter can be an expression
  • Expression editor: boolean expressions can be wrapped by AND, OR and NOT operators easily
  • Variables screen: convert expression variables to constant
  • New "polling interval" option: never
  • Other fixes and changes
Filed under: Uncategorized 2 Comments
7Aug/145

E-Robot 1.27 is available

What is new

  • New action: Audio / Stop playing
  • New action: Control / Reinit robot command
  • New expression: Constant / Timestamp value
  • New expression: Date / Increase timestamp
  • New expression: Date / Set timestamp
  • New expression: Location / Current location
  • Alarm event: "when" parameter can be an expression
  • Location events: can work without automatic location detection
  • Play sound/ringtone action: new "loop" parameter to play sound until stopped
  • Update location action: can update location by "cell"
  • Clock alarm alert event: handles SonyEricsson built-in clock
  • Other fixes and changes

Schedule command execution

In E-Robot you can use the Alarm event to execute a command at a specified time. You had to set start time manually in previous versions. Now from this version when parameter of this event could be an expression, for example a variable with timestamp value.

Let's imagine you want to play a sound right after one hour of turning gps on maybe for remembering turn it off it not needed:

  • Create a PlaySound command with an Alarm event, where when parameter is set to Variable value with name PlaySoundTime.
  • Add a Play sound action to this command to play a sound file.
  • Create a GpsOn command with an event to detect GPS turned on.
  • Add a Set variable action to this command to set PlaySoundTime variable.
  • The value of this variable will be the new Increase timestamp expression. Set timestamp parameter to Timestamp expression to get current time and set hours parameter to 1 to increase current time by 1 hour.
  • After that all we need to do is to add Reinit robot command action to reinitialize Alarm event of PlaySound command

Locations without continuous detection

In previous versions if you used location-based events like Enter location then continuous gps or cell detection were active depending on your location settings.

From this version it is possible to disable automatic detection for these kind of events and use Update location action even for cells to force location detection only once and try to determine where you are. So now you can control when and how location detection is needed.

For example if you want cell-based detection but only when you turn screen on to save power you create a command with Screen turned on event and add an Update location action to this command by selecting cells. It will use current cell information to determine in which location you are and triggers location-based events if location changes.

Filed under: Uncategorized 5 Comments