Skip to content

Automagic Flows & Widgets

Michael Balzer edited this page Dec 17, 2017 · 3 revisions

Automagic for Android is a very feature rich yet simple to use automation and scripting tool. As it also allows to create custom widgets with a builtin editor, it's a good base for custom OVMS extensions.

See https://automagic4android.com/en/ for details.

Automagic can export & import all script and widget definitions.

Base flows & widgets

  • OVMS.Base.xml
    • Flow "OVMS.Update": basic Intent listener, reading extras into Automagic global variables
      • As soon as this Flow is activated (and the OVMS service broadcast as well), it will populate the Automagic global variables automatically. Open the variables list from the Automagic menu to see the values.
      • Hint: you can trigger your custom flows by global variable change, and custom widgets can use global variables directly.
    • Widget 1: a very simple status display looking like this:
      • Widget1 screenshot
    • Widget 2: a neat status display looking like this:
      • Widget2 screenshot
      • …and reacting on charge state etc.

Forum links