I need some help installing the BMP390 Sensor using the ESPHome and ESP-WROOM-32.
I’m looking for the pin-outs connections, and any other code besides ESPHome.com web site.
The ESPHome.com web site doesn’t show any pin-outs connections for the BMP388/BMP390 Sensor.
Thanks Mr. Pavel for fast response… I need to know what pins on the ESP32 to connect it to. Also what code should I use for the ESPHome install it. My ESP32 is already setup in ESPHome already, just add the sensor script for the new sensor now.
However, as i already said for relative pressure, i think that formula is wrong, because temperature is already taken into account inside sensor before it sends absolute pressure, so calculating it again si wrong. But, try out and see if your altitude will change with temperature or not…
Hi Pavel, please help a brother out :), I’m fairly versed in HA however I am only trying my first sensor via ESPHome integration. I use a BMP388 and a D1 mini. I’ve added the i2c section to the esphome sensor yaml.
i2c:
sda: 4
scl: 5
scan: true
id: bus_a
but I am unsure where to add the platform section (in the sensor yaml file or in the HA configuration file) and if the platform is correct (bmp3xx or should be bmp388?):
sensor:
Just change your “STANDARD_ALTITUDE” height to match your area.
Note that HERE is an example of relative air pressure sensor formula, but it includes temperature, which is WRONG. BMx sensors already DO take temperature into account when they send out absolute pressure information. I did point out this erorr a while ago , but there was no particular interest of this fault, so formula on that page is still wrong.
After that you run and connect your D1 mini board to your wifi and HA should recognize it and you’ll have your sensors in HA.