BME688 UDP, BME Data Analysis developed by ICAZA MEDIA.

Retrieve and display data from your bme688 sensor in real time under Windows, and save to a database for analysis and more.

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    |
+------------+------------------+

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:

Copy "bme688_iaq.py" and "bme688.py" file, on your Rasp or use your own bme688 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

Start BME688 UDP on your computer and click "Start UDP" button to display real-time data.

Start "BME688_DataAnalysis" to view recorded data.

