Description
Database schema
+---------+---------+--------+--------+---------+----------+--------+
| bm_date | bm_time | bm_air | bm_gas | bm_temp | bm_press | bm_hum |
+---------+---------+--------+--------+---------+----------+--------+
API BME688 UDP
If you use your own sensor script for send UDP data, use this command-lines in your script for connect to BME688 UDP software.
+------------+------------------+
| Data send | command send |
+------------+------------------+
+------------+------------------+
| Air | Air: value %aq |
+------------+------------------+
| Gas | Gas: value kOhm |
+------------+------------------+
| Temp | Tmp: value C |
+------------+------------------+
| Pression | Pres: value hPa |
+------------+------------------+
| Humidity | Hum: value %RH |
+------------+------------------+
| Cycle Burn | cycle burn value |
+------------+------------------+
| Burn-in | burn-in value |
+------------+------------------+
Sample script
out_string = "Air: {0:.2f} %aq".format(AQ) sendData(out_string)
The “bme688_iaq.py” script that retrieves data from the bme688 sensor has been modified. The author of the original script is thstielow. Read the README.md file to learn more about how the original script works. The changes made concern UDP transfer, etc. You can use your own script to communicate in UDP with the BME688 UDP software API.
Use:
After download archive. Copy “bme688_iaq.py” and “bme688.py” file, on your Rasp or use your own script with BM688 UDP software API.
! Change values in “bme688_iaq.py” file if necessary.
- bme680_temp_offset = -1 # T° To be adapted according to your configuration - sensor680 = bme680.BME680(i2c_addr=bme680.I2C_ADDR_PRIMARY) - udpdataSend = 1 # 0 None; 1 = send UDP data on local network; 2 = No UDP send, print result on console - UDP_IP = "0.0.0.0" # Change with your Local IP
Open command console and type:
> python3 bme688_iaq.py
On PC:
Start BME688 UDP on your computer and click “Start UDP” button to display real-time data.
Start “BME688 Data Analysis” to view recorded data. You can modify the MySql commands in the config.xml file from the software by clicking on the menu. Customize your charts plots.
Checksum SHA-512 *BME688_Soft.zip
b43a1bbbb1b383c62b86847fa3a98296e3398909a2d2bb36679fb28db2784e64c2e42f11f5a48a3b424bfff45ecbbf2817aaa97bfc42ddfcc46109786b8fbeb9
To check the checksum of a software we recommend the software ChecksumVerify https://www.microsoft.com/