Documentation

Toggle Menu

Progress Bar

This tile is good for displaying the progress of a task.

Settings

Tag

This is a unique String ID assigned to this tile and is used (by you) to identify what tile sent what data by your script.
Note that this is case sensitive, and cannot contain any white space.

Size

This modifies the size of the button as it appears on your screen. Its units of measurement is tiles. Since each tile that can have its size modified is aware of its surroundings, the numeric steppers used to adjust the tile size will stop you from overlapping with other tiles or going over the edge of the screen.

Progress

Here you can set the type of data that should be reflected on the progress bar. Either a Percentage 0 → 100 or a Decimal 0.0 → 1.0.

Input

You can set the value of the progress bar by sending a integer or a float.

  • Integer0 → 100 → Set progress.

  • Float0.0 → 1.0 → Set progress.

Usage Demo

Set the switch to the ON state.

                            def updateBatteryPowerLeft(self, batteryPowerLeft):
                                self.force.sendMessage("Jordan's iPhone", "BatteryBar", batteryPowerLeft)