ESP3D icon indicating copy to clipboard operation
ESP3D copied to clipboard

[FEATURE REQUEST] Add BME280/BMP280 support

Open nanogennari opened this issue 6 years ago • 13 comments

BME280 and BMP280 sensors are much more reliable than DHT11 and DHT22, it would be nice to have support.

nanogennari avatar May 16 '20 23:05 nanogennari

Thank your for submiting, please be sure you followed template or your issue may be dismissed.

github-actions[bot] avatar May 16 '20 23:05 github-actions[bot]

do you have a recommended library for esp32 and esp8266?

luc-github avatar May 17 '20 02:05 luc-github

The library Adafruit_BME280 (https://github.com/adafruit/Adafruit_BME280_Library) is in the Arduino repositories and it is quite simple to implement.

nanogennari avatar May 17 '20 04:05 nanogennari

need also sensor library from adafruit...


From: Nano Gennari [email protected] Sent: Sunday, May 17, 2020 6:39:54 AM To: luc-github/ESP3D [email protected] Cc: Luc [email protected]; Comment [email protected] Subject: Re: [luc-github/ESP3D] [FEATURE REQUEST] Add BME280/BMP280 support (#464)

The library Adafruit_BME280 (https://github.com/adafruit/Adafruit_BME280_Library) is in the Arduino repositories and it is quite simple to implement.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/luc-github/ESP3D/issues/464#issuecomment-629742205, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACDJ6GDZTPIOUEPCCK2KHPDRR5TBVANCNFSM4NDD4NTA.

luc-github avatar May 17 '20 06:05 luc-github

this one looks more monolitic : https://github.com/MartinL1/BMP280_DEV

luc-github avatar May 17 '20 08:05 luc-github

I need to think how to do more generic sensor support/interface, there is also https://github.com/luc-github/ESP3D/issues/432 Current sensor support is focused on DHT but would be better to make more generic for communication with webUI - As sensor support is not yet done in webUi 3.0 there is some time to think - TBD

luc-github avatar May 17 '20 08:05 luc-github

Also I do not have any BMP280 device for the moment...

luc-github avatar May 17 '20 09:05 luc-github

If you need i can test and debug any code for the BME/BMP sensor. The idea of generic sensor support is nice, i even tried to alter your code to add it myself but like you said the code is too focused on the DHT, anything i could do would be too jerryriged in place.

this one looks more monolitic : https://github.com/MartinL1/BMP280_DEV

This library looks nice also, and it has some extra features. Although i use BMEs frequently, I'm not very intimate with programming for it, normally i use it with tasmota and extract the data via MQTT (mqtt support would also be nice, something like a simple json telemetry with printer and sensor status).

nanogennari avatar May 17 '20 14:05 nanogennari

I have ordered one BMP280 and one BME280 3.3V and will got them next week, I will prepare the code to support them and make output more generic for WebUI

luc-github avatar Aug 22 '20 08:08 luc-github

Nice, looking forward to it...

nanogennari avatar Aug 22 '20 14:08 nanogennari

@nanogennari what sensor do you have BMP or BME ? It seems I only got BMP sensors which do not have the humidity support

luc-github avatar Aug 25 '20 08:08 luc-github

Implemented in FW - now I will update webUI to display it in notification area

luc-github avatar Aug 25 '20 20:08 luc-github

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Sep 21 '20 10:09 github-actions[bot]