-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Bosch BMP3xx Pressure sensors #4689
Comments
Hmm, haven't seen those before. |
Hi @TD-er is there a plan to support Bosch Sensortec BMP3xx? |
As we speak I am labelling all stuff I received yesterday from the postman. |
Ok, I will receive a BMP390 next week so I can support for testing. |
Hi @TD-er the BMP390 sensor is now delivered here, when you are ready I can support for testing. |
Hi @TD-er any news about implementing these sensors series? |
Well I can already see the color of my floors and even parts of the original color of my anti-static mats on my desks. |
Thanks! |
OK, ADS1x15 is done, so this is next :) |
Great! |
I've just looked into the datasheets of both BMP388/390 and the already supported BMP280. They are so completely different, that I will allocate a new plugin ID for this BMP3xx series. |
Yes, BMP3xx series is different from the already supported BMP280, this is why I asked on this issue to support BMP3xx series. |
Just started with just using the Adafruit library, to get an idea of how this sensor may work. But I'm a bit surprised it only took like 30 minutes to write this. :) not yet tested, but I see no reason why this shouldn't work. Now I have to dig up some of the ordered modules as I'm sure they have to be somewhere.... |
Indeed, just asking for "Altitude" parameter only. |
That's a standard conversion, |
Thanks, I will test tomorrow. |
Hello and thanks! Just a note, also in this new Plugin returning "nan" when I disconnect VCC or I2C signals (between the sensor and the ESP32) is not covered. Apart to manage read error (returning "nan" instead to return 0) for me this PR can be merged. Thanks. |
Well I can't yet merge it as we're missing 1 important aspect of the PR... Good to know the BMP390 is also working as expected, as I never received the BMP390 I ordered. I will think about the NaN option... |
OK. |
The check does actually probe the device for accessibility via the I2C bus, and only after 10 failures in a row, it is disabled. |
Ok but if I have a sensor with 10 seconds of polling and I accidentally disconnect a signal cable and I notice it after some hours I will have the sensor marked as disabled and then I must manually re-erbale it. For me, by default, a sensor must remain enabled until the user will go to disable it and ESPEasy should manage the "read error" (or disconnection) returing nan. Thanks. |
You can uncheck this I2C check. |
The sensor will become disabled also if I2C check is disabled. |
Ah yep, if But that's done with many more plugins. I have to dig a bit more into the code to see if we added a 'retry' later, as I'm sure that option has been discussed before. |
Ok, for now as told, the sensor will become disabled also if I2C check is disabled and this is annoying. |
And that exact part is what I'm looking into right now. So if you will double check your solder joints, I will double check the code and together we will end up with something that's working as expected :) |
Great and thanks! |
Hi!
Is it possible to add Bosch Sensortec BMP3xx series Pressure sensors in ESPEasy?
Sensors are BMP380 / BMP384 / BMP388 / BMP390.
Docs and Libraries:
https://github.com/boschsensortec/BMP3-Sensor-API
https://github.com/adafruit/Adafruit_BMP3XX
https://github.com/MartinL1/BMP388_DEV
Datasheets:
BMP384
BMP388
BMP390
Many thanks!
The text was updated successfully, but these errors were encountered: