@@ -119,26 +119,33 @@ comet@orangepizero2:~/.comet $ cat config.yaml
119119--- # The I2C config file
120120
121121i2c:
122- smb: i2c-3 # set bus i2c-1
123- smb_detect: 0..3 # list of monitored smb bus by i2cdetect
122+ smb: i2c-3 # set bus i2c-1
123+ smb_detect: 0..3 # list of monitored smb bus by i2cdetect
124124 eeprom:
125- ic: ' 24c01'
125+ # ic: '24c256'
126+ # slaveaddr: 0x57 # for eeprom (main i2c address)
127+ ic: ' 24c02'
126128 slaveaddr: 0x50
127- writestrobe: 26 # hold pin low to write to eeprom
129+ writestrobe: 26 # hold pin low to write to eeprom
128130 sensor:
129131 ms5637:
130132 pressure:
131- { min: 600, max: 1300 }
133+ { min: 600, max: 1300 } # accepted only values in interval min..max
132134 sn_gcja5:
133135 PM1_0:
134- { min: 0, max: 1200 }
136+ { min: 0, max: 1200 } # accepted only values in interval min..max
135137 PM2_5:
136- { min: 0, max: 1200 }
138+ { min: 0, max: 1200 } # accepted only values in interval min..max
137139 PM10:
138- { min: 0, max: 1200 }
140+ { min: 0, max: 1200 } # accepted only values in interval min..max
141+ hdc1080:
142+ { measure_mode: ' only' , # 'only' (individual measurement), 'both' (measurement in sequence)
143+ heating: ' disable' , # 'disable', 'enable'
144+ temperature_resolution: ' 14' , # '11','14' bit
145+ humidity_resolution: ' 14' # '8','11','14' bit
146+ }
139147 pca9632:
140- { address: 0x62 }
141-
148+ { address1: 0x62 } # IC1 address
142149` ` `
143150
144151| parameter | sub-parameter | description | example value |
0 commit comments