Documentation

Toggle Menu

Numerical Stepper

This tile is good for receiving integers that increment at a set value within a set range.

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.

Stepper Settings

Here you can set how the stepper responds by setting a maximum, a minimum, and a step value for the stepper. Step value is the amount the value of the tile increments or decrements by, when + or - is tapped.

Input

You can set the current value of the numeric stepper by sending an integer value.

  • IntegerAn integer in the range set in the tile settings. → Set the value of the tile.

Usage Demo

Set the value of the numeric stepper to 1.

                            self.force.sendMessage("Jordan's iPhone", "Stepper", 1)
                            

Output

The following is what data is sent from this tile to the server/your script. It is in the format:
Action → Data TypeValue

  • Stepper Value Changed → IntegerAn Integer between set range.

Note that a tile's tag is always sent to the server for identification purposes.

Usage Demo

Set the gearing number to the value received.

                            def forceServerDidReceiveData(self, deviceName, senderTag, data):
                                if senderTag == "Stepper":
                                    self.setGearingTo(data)