-
Notifications
You must be signed in to change notification settings - Fork 27
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
SPI Support for BMP280 #1321
SPI Support for BMP280 #1321
Comments
I will support this feature request! Thanks The case is that I have a need for greater distance and the sensor supports this, in the I2C case shorter distance is required. |
any progress? |
Did something done for this ? |
I vote for this for sensor distance. It was not clear to me it did not support it until I read this and I was attempting to research how to do exactly what is requested. |
I will try to make a version of bme280 for SPI within a couple of weeks |
I also look forward to this. |
I am also looking forward to this as I need to extend the distance to my sensors. |
Is there any work in progress on this issue? |
Hello! I don’t have a BMP280, I can try to write a pull request blindly, but it’s not very convenient |
I happen to have one I could spare but am in the domestic US, and would not even begin to know how to get something like that to Moscow. But, out of curiosity why did you say the above if you could not do it blindly? |
I have a draft pull request which adds support for BMP280 via SPI. You can test it out by adding the following to your yaml file: external_components:
- source:
type: git
url: https://github.com/ademuri/esphome
ref: bmp280-spi
components: [ bmp280_spi, bmp280_base ]
sensor:
- platform: bmp280_spi
temperature:
name: "Board Temperature"
oversampling: 16x
pressure:
name: "Board Pressure"
oversampling: 16x
update_interval: 5s
cs_pin: GPIO16
spi:
clk_pin: GPIO13
mosi_pin: GPIO15
miso_pin: GPIO14
interface: hardware If you do, feedback on whether it worked or not would be helpful. |
Thanks all |
Describe the problem you have/What new integration you would like
BMP280 sensor supports I2C as well as SPI but ESPHome currently supports only I2C for it. It would be great if SPI support was added for this sensor as well.
Please describe your use case for this integration and alternatives you've tried:
Same as above
Additional context
Same as above
The text was updated successfully, but these errors were encountered: