pepogpioctld

What is pepogpioctld

  • It is a daemon that quantifies the air quality based on the input / output control of gpio and the data of the environmental gas sensor BME680.

  • When the BME680 sensor is connected, the gas resistance value is 50 counts every 5 minutes from the 2021/02/04/17:22: 23,10.2,43.0,1018.9,3436 value created by pepobme680. Based on the average value of 80%, temperature of 10%, and humidity of 10%, the following air quality: IAQ (indoor air quality) is calculated and added.

  • IAQ is Sample 0(Good) to 500(Hazardous) Temperature(17-28℃):10% Humidity(40-70%):10% Gas(Gas±Gas_base/Gas_base):80%

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    [iot00f:root#] cat /www/remote-hand/tmp/.pepobme680
    2021/02/04/17:22:23,10.2,43.0,1018.9,3436
    Date/time, temperature, humidity, pressure, gas resistance

    [iot00f:root#] cat /www/remote-hand/tmp/.gpiodi_read_data
    di[0]=1
    di[1]=1
    di[2]=1
    di[3]=0
    gpio_i2c=17:25:15,10.2,43.0,1019,3436,21
    Date/time, temperature, humidity, pressure, gas resistance, air quality
    [iot00f:root#] cat /www/remote-hand/tmp/.gpiodo_write_data
    do[0]=0
    do[1]=0
    do[2]=0
    do[3]=0

    Connect the BME680 environmental gas sensor to display a graph

  • Please check the source code below
    https://github.com/kujiranodanna/IOT-House/blob/master/raspberrypi/usr/local/bin/pepogpioctld