-
Notifications
You must be signed in to change notification settings - Fork 1
Webthing
This is pretty straight forward just type git clone git@github.com:Runkunkun/webthing-bme680-weatherstation.gitinto the console if you have not installed git yet do this by typing sudo apt install git into the console.
Things you will need to install with apt install
- i2c-tools
- python3
Things you will need to install with pip3 install
- requierements.txt or
- webthing
- bme680
You should run i2cdetect -y 1 now there should appear a number in the matrix likely 76 or 77. If there are only "--" your sensor is not connected correctly. When you have 77 you are good to go, but when you have something different you have to change the line sensor = bme680.BME680(0x77) in sensorBME680.py to sensor = bme680.BME680(0x76) or to whatever your number was.
Now you can run it by typing in python3 app.py or you run the screen script ./screen if you want the program to run in a screen.
Now you should be able to add it in your Mozilla Webthing Gateway either as an temperature sensor or multilevel sensor whether you want the temperature displayed or air quality to be displayed in big.