Code designer (updated: 15 Jun 2017, 11:31:34)

Code designer allows you to write own module in the C language. For example to add a sensor or sequence of actions. If feature enabled don't forget to write initial code before compiling.

Some examples of community peoples you can see here - https://github.com/ZigFisher/wifi-iot-cda



Russian version


Variable / Function Description
system_get_free_heap_size() Free RAM
timersrc uptime device
wifi_station_get_rssi() Signal level (not older SDK)
readvdd33() Supply voltage (ESP8266)
system_adc_read() Internal ADC (ESP8266)
lmt temperature sensors LM75 or DS1621
ina_v Voltage sensor with INA219
ina_a Current sensor with INA219
dht_tX Temperature sensors DHT22 DHT11
dht_hX Humidity sensors DHT22 DHT11
bmp_t temperature sensors BMP180/085
bmp_p Pressure sensors BMP180 / 085
count60end[x] Data counter 60
bh_l The illuminance sensor with BH1750
am_t temperature sensors AM2321
am_h Humidity sensor AM2321
data1wire[x] temperature sensors DS18B20
bme_t Temperature sensor with BME280
bme_h Humidity sensor BME280
bme_p Pressure sensor with BME280
sht_t Temperature sensor with SHT21
sht_h Humidity sensor SHT21
sht30_t Temperature sensor with SHT30
sht30_h Humidity sensor SHT30
maxtemp temperature sensors MAX6675
cccvv Voltage sensor with CC/CV
cccvc Current sensor with CC/CV
pmv,pmvf Voltage sensor with Power Monitor
pmcn,pmcf Current sensor with Power Monitor
pmw Power devices with Power Monitor
pmwh Flow from the device Power Monitor
rfidd Data from the RFID
co2data Sensors CO2 MH-Z1x
vsens[y][x] Data from Virtual SENS sensors
ADCdata[x] data from ADC PCF8591
RC_KEYSND Receiving the code with radio control
temp_DS3231 Temperature DS3231
rssigsm RSSI GSM
IR_KEYSND Receiving the code with IR Remote
pcf_countX Pulse counter PCF8583
pcf_county[x] Pulse counter PCF8583 yesterday
rcsendata[x] Temperature sensor with modules RC
rcsendata[x] Humidity sensor module with RC
rcsendata[x] ADC modules RC sensor
countint[x] Pulse counters.
pwm_state(x) PWM Channel status, set status same topic
digitalRead(x) GPIO Input status (MajorDoMo)
digitalRead(x) GPIO Input status (MQTT)
valdes[x] Global variables constructor code
hx711 scale HX711
datamcp1 data from ADC MCP3201
smsmsg The text of incoming SMS GSM module
ADSDATA[x] data from ADC ADS1115
vz89co2 CO2 VZ-89T
vz89co2 Sensor VZ-89T CO2
vz89tvoc Sensor VZ-89T tvoc
nootemp[x] Temperature sensors with NooLite
noohum[x] Humidity sensor with NooLite
readsonar HC-SR04
tsllux data from TSL2561
IMAPMESSAGES The number of messages in the email box
IMAPUNSEEN The number of unread messages in your email box
ibdata ID iButton key
ups_vi Data from UPS Monitor. Input voltage.
ups_vf Data from UPS Monitor. Input voltage.
ups_vo Data from UPS Monitor. The voltage at the output.
ups_hz Data from UPS Monitor. Network frequency
ups_t Data from UPS Monitor. The temperature in the housing
ups_bat Data from UPS Monitor. Battery voltage.
ups_st Data from UPS Monitor. Load
mlx_o Object temperature MLX90614
mlx_a Ambient temperature MLX90614
vw_t[x][y] Temperature VirtualWire
vw_h[x][y] Humidity VirtualWire
vw_c[x][y] Counters VirtualWire
vw_a[x][y] ADC VirtualWire
vw_b[x][y] One byte VirtualWire