Programming the SiB


ALERT
Sends an urgent IM to one or more contacts

AP
Configures WiFi

AUTH
Manages authorized users for your SiB

BT
Allows a SiB to run a function on another SiB

BUTTON
Runs a function when button is pressed in SiD mode.

CALIB
Performs calibration on SiB components.

CHART
Creates a chart or graph of measured data for display on the SiBCloud portal.

CONF
Applies various configuration options to the SiB

DEBUG
This command enables or disables debug messaging.

DIM
Dimmer function for a Triac dimmer

DL
Pauses a running program for a specified amount of time.

DM
Sends a silent, opened message to SiMP.

EI
Marks the end of an IF instruction block

ELSE
In an IF statement, runs the opposite condition

EN
Exits a FOR ... NEXT block

FL
Clears and resets all input and outputs of a GPIO.

FLUSH
Waits for WiFi to finish connecting after PRE

FN
Creates and manages functions.

FOR
Creates a loop with a counter

FORMAT
Factory Resets your SiB

FREQ
Outputs a square frequency on a GPIO.

GET
This command does a basic HTTP GET request.

HALL
Reads the HALL sensor (magnetic presence)

HALT
Powers down the SiB

HM
Sends a hidden message to SiMP

HMTO
Sends a hidden message to one or more recipients

HOLD
Holds a GPIO's output to HIGH or LOW during deep sleep.

HR
Sets the interval between polling for new commands.

IF
Runs a block of instructions conditionally.

IGNORE
Manages ignored users for your SiB

IIC
Allows communication with a connected I2C device.

IIS
Record or play audio via an I2S device

IISMCLK
Sets the I2S Master clock GPIO

IM
Sends an instant message to SiMP.

IMTO
Sends an instant message to one or more recipients

INIT
Initalizes a variable if it does not exist

IO
Disables the LEDs and allows the GPIOs to be used.

LOOP
Loops to the start or to a specified line

MASK
Applies an AND mask to a variable.

mode
Changes the SiB operation mode

NEWCHAT
Creates a new chat with one or more recipients, and your SiB.

NEXT
End of a FOR Loop

NOSAVE
Prevents the SiB from saving the program state.

NOTIFS
Temporarily disables inbound IMs.

PAUSE
Pauses the running program.

POST
Connects to WiFi when a program starts in PREWIFI

PRE
Starts WiFi in a PREW program but does not wait.

PREW
Starts a program with WiFi OFF

PROG
Creates and manages programs.

PWM
Produces a pulse-width modulation output on a GPIO for a specified number of milliseconds

RA
Reads an analog value from a GPIO into the specified variable

RAX
Reads a raw voltage value in millivolts from a GPIO into the specified variable.

RC
Reads a capacitive touch GPIO

RD
Reads a digital value from a pin

RDH
Reads a digital value from a pin with pull-up

RDL
Reads a digital value from a pin with pull-down

RESET
Reboots the SiB

RESUME
Resumes a PAUSED program

RUN
Run a program

RUNFN
Runs a function.

RV
Reads the voltage level of the SiB's power source.

SET
Assigns a value or calculation to a variable.

SHIFT
Performs a bit-shift operation on a variable

SL
Sleeps for the given amount of time.

SLB
Sleeps for the given amount of time with active button.

SM
Sends a silent message to SiMP.

SMSTO
Sends an SMS via SiMP to a mobile recipient.

SMTO
Sends a silent message to one or more recipients

STATE
Outputs via IM the state of a specific, or all GPIOs

STATUS
Sends in an IM the status of your SiB

STEP
Controls up to 4 steppers

STOP
Stops the running function, program, or delay.

TEMP
Reads the current temperature.

TILE
Updates the SiB Tile Text in SiMP

TZ
Sets your Timezone

UDL
Pause for microseconds

UNTIL
Pauses execution without sleeping until a GPIO reaches a target value

UPDATE
Updates the SiB Firmware.

WA
Outputs pulse-width modulation to the specified pin.

WAKEAT
Sleeps until the specified tine(s).

WAKECAP
Goes to sleep until a capacitive touch GPIO threshold is reached.

WAKEHALL
Wakes up the SiB when a magnet is added or removed

WAKEIO
Goes to sleep until a specific GPIO event is triggered.

WAKESSID
Sleeps until an SSID is found, or lost.

WD
Digital output high or low to a GPIO

Yes or No