Search on site:  
 
 
Unit Type Command Info
LCD GET DISPLAY:0 STATUS Give display status & info.
LCD SET DISPLAY:0 MSG "Hello World" Displays message.
LCD SET DISPLAY:0 CLEAR Clear message.
LCD SET DISPLAY:0 BACKLIGHT ON Set backlight ON.
LCD SET DISPLAY:0 BACKLIGHT OFF Set backlight OFF.
LCD SET DISPLAY:0 MSG "L1\nL2" Show two lines of text.
BUZZER GET BUZZER:0 STATUS Give buzzer status & info.
BUZZER SET BUZZER:0 BEEP Single beep (default duration 0.2 seconds).
BUZZER SET BUZZER:0 BEEP 3 3 beeps with default timing.
BUZZER SET BUZZER:0 BEEP 2 0.3 0.1 Custom: 2 beeps, 0.3s long, 0.1s interval.
GPIO GET GPIO:ALL STATE Get states of all configured GPIO buttons.
GPIO GET GPIO:17 STATE Get button state | no reset (Default PEEK).
GPIO GET GPIO:17 STATE PEEK Get button state | no reset (explicit PEEK).
GPIO GET GPIO:17 STATE POP Get button state + reset (POP)
GPIO SET GPIO:17 RESET Reset a specific GPIO button state.
SERVER GET SYSTEM:CONFIG Returns current config file content.
SERVER GET SYSTEM:STATUS Returns managers on use.
SERVER GET HEALTH:I2C_INFO Basic I2C info (baudrate, bus status).
SERVER GET HEALTH:I2C_STATS get I2C statistics (requests, collisions).
SERVER GET HEALTH:SPI_STATS get SPI Stats (requests, collisions).
SERVER SET HEALTH:SPI_STATS RESET Reset stats SPI.
ADC SET ADC:ALL ENABLED ON/OFF Enable/disable all ADCs (I2C thread/channel).
ADC SET ADC:1 ENABLED ON/OFF Enable/disable ADC:1 (I2C thread/channel).
ADC GET ADC:1:CH:1 STATUS Get status of specific ADC device (1).
ADC GET ADC:1:CH:1 LAST Get last meas. value from ADC:0:CH:0 (default address): LAST, or: AVG, MIN, MAX, PKPK.
ADC GET ADC:1:CH:2 PKPK 10 Get pk-pk values removing 10 extrem points (farest from BUFFER points average).
ADC GET ADC:1:CH:1 READ_RATE Get current read_rate (Samples Per Second) setting.
ADC GET ADC:3:CH:2 BUFFER_DATA Return buffer measurements in CSV format.
ADC GET ADC:3:CH:2 BUFFER_SIZE Return buffer size.
ADC RESET ADC:3:CH:2 Reset channel (MIN/MAX/AVG/PKPK) + collect new data.
ADC GET ADC:1 ENABLED Return ENABLED status.
ADC CONFIG ADC:1:CH:2 PGA 4 Configure PGA (gain) for ADC:0:CH:2 to 4.
ADC CONFIG ADC:1:CH:1 READ_RATE 5 Set current read_rate (Samples Per Second) setting.
ADC CONFIG ADC:3:CH:2 BUFFER_SIZE 100 Configure BUFFER_SIZE (nb of pts) in order to process AVG, MIN, MAX, PKPK data.
DAC SET DAC:ALL ENABLED ON Enable/disable all ADCs (I2C thread/channel).
DAC SET DAC:1 ENABLED ON Enable/disable ADC:1 (I2C thread/channel).
DAC SET DAC:1:CH:1 2048 Set raw value (0-4095) for DAC:1:CH:1.
DAC GET DAC:1:CH:1 Get DAC:1:CH:1 current raw value.
DAC SET DAC:1:CH:2 VOLTAGE 1.5 Set voltage value for for DAC:1:CH:2.
DAC GET DAC:1:CH:1 VOLTAGE Get DAC:1:CH:1 current voltage value.
DAC SET DAC:1:CH:1 SINE 2.5 1.0 10 Set sine ref: 2.5Vdc 1.0 Vpk-pk 10 Hz.
DAC SET DAC:2:CH:1 SQUARE 1 1 20 Set square ref: 1Vdc 1.0 Vpk-pk 20 Hz.
DAC GET DAC:1:CH:1 WAVEFORM_STATUS Check status of waveform.
DAC SET DAC:1:CH:1 STOP Stop sinus execution.
DAC GET DAC:1 ENABLED Return ENABLED status.
DAC MCP4728 SET DAC:1:CH:1 VREF 1 Set voltage reference for DAC:1:CH:1 (0 = VDD, 1 = internal 2.048 V reference).
Output range:
VREF=0 => 0V to VDD;
VREF=1 => 0V to 2.048V (GAIN=1) or 0V to 4.096V (GAIN=2).
DAC MCP4728 SET DAC:1:CH:2 GAIN 2 Set output gain for DAC:1:CH:2 (1 or 2).
Applies when internal reference is selected.
DAC MCP4728 SAVE DAC:1 Save current DAC configuration to EEPROM (MCP4728 only).
Settings persist after power cycle.
PWR GET PWR:1 BUFFER_SIZE Return number of points stored in buffer.
PWR GET PWR:1 BUFFER_DATA Return all stored buffer measurements.
PWR GET PWR:1 BUS_VOLTAGE Return measured bus voltage.
PWR GET PWR:1 CURRENT Return measured current.
PWR GET PWR:1 POWER Return calculated power.
PWR GET PWR:1 SHUNT_VOLTAGE Return measured shunt voltage.
PWR SET PWR:1 CLEAR_BUFFER Clear measurement buffer.
PWR GET PWR:1 STATS Return json stats (min, max, avg, pts).
PWR GET PWR:1 CONFIG Return current device configuration.
PWR CONFIG PWR:1 BUFFER_SIZE 50 Set buffer size to 50 entries.
PWR CONFIG PWR:1 READ_RATE 50 Set read rate to 50 Hz.
PWR INA219 CONFIG PWR:2 ACQUISITION_MODE 3 Set acquisition mode
MOD = [ 0 |  1 |  2 |  3 |  9| 10| 11 | 12 |13 |14 | 15]
BIT > [09 | 10 | 11 | 12 | 12| 12| 12 | 12 |12 |12 | 12]
AVG > [ 1 |  1 |  1 |  1 |  2|  4|  8 | 16 |32 |64 |128]
ACQ > [84u|148u|276u|532u| 1m| 2m|4.3m|8.5m|17m|34m|68m]
PWR INA226 CONFIG PWR:2 AVERAGING 3 Set averaging mode
[0;7] > [1;4;16;64;128;256;512;1024].
PWR INA226 CONFIG PWR:2 VBUS_CONV_TIME 4 Set bus voltage conversion (avg) time.
[0;7] > [140u, 204u, 332u, 588u, 1.1m, 2.1m, 4.2m, 8.2m] s".
PWR INA226 CONFIG PWR:2 VSHUNT_CONV_TIME 4 Set shunt voltage conversion (avg) time.
[0;7] > [140u, 204u, 332u, 588u, 1.1m, 2.1m, 4.2m, 8.2m] s".
PWR INA226 CONFIG PWR:2 MODE 7 Set operating mode (7: continuous meas.).
[0-7] > [PwrDown, ShuntTriggered, BusTriggered, ShuntBusTriggered, PwrDown2, ShuntContinuous, BusContinuous, ShuntBusContinuous]".
PWR INA226 SET PWR:2 MODE Return operating mode.
PWR INA226 SET PWR:2 RESET Reset acquired meas/data.
ENV GET ENV:1 LAST temperature Return last measured temperature.
ENV GET ENV:1 LAST humidity Return last measured humidity.
ENV GET ENV:1 AVG humidity Return average humidity.
ENV GET ENV:1 MIN temperature Return minimum temperature.
ENV GET ENV:1 MAX humidity Return maximum humidity.
ENV GET ENV:1 BUFFER_DATA Return all measurements in CSV format.
ENV GET ENV:1 BUFFER_DATA temperature Return temperature meas (CSV format).
ENV GET ENV:1 BUFFER_DATA humidity Return humidity meas (CSV format).
ENV GET ENV:1 BUFFER_SIZE Return number of points stored in buffer.
ENV GET ENV:1 STATS Return full statistical summary.
ENV GET ENV:1 CONFIG Return current sensor configuration.
ENV GET ENV:1 TYPE Return sensor type.
ENV GET ENV:1 STATUS Return detailed sensor status.
ENV GET ENV:0 ALL_STATUS Return status of all ENV sensors.
ENV SHT40/41 SET ENV:2 HEATER 1000 Activate internal heater for 1000 ms (meas pause required before next read).
ENV SHT40/41 SET ENV:2 HEATER_OFF Disable internal heater.
ENV SHT40/41 SET ENV:2 PRECISION medium Set meas precision (low, medium, high).
MCP GET MCP:1:DEVICE:STATUS Return full status of device 1.
MCP GET MCP:1:0:MODE Return mode of pin 0 (INPUT or OUTPUT).
MCP GET MCP:1:1:PULLUP Return pull-up status of pin 1.
MCP GET MCP:1:8:STATE Return logic state of pin 8 (HIGH or LOW).
MCP SET MCP:1:0:MODE OUTPUT Set pin 0 to OUTPUT mode.
MCP SET MCP:1:0:STATE HIGH Set pin 0 to HIGH level.
MCP SET MCP:1:0:PULLUP ON Enable pull-up resistor on pin 0.
MCP GET MCP:1:BANK 0 Return full state of Bank A (pins 0-7) as decimal value.
MCP GET MCP:1:BANK 1 Return full state of Bank B (pins 8-15) as decimal value.
MCP SET MCP:1:BANK:0 255 Write dec value 255 to Bank A (pins 0-7).
MCP SET MCP:1:BANK:1 128 Write dec value 128 to Bank B (pins 8-15).