-
Notifications
You must be signed in to change notification settings - Fork 26
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 SPI Support for BMP388 and BMP390 #2680
Add SPI Support for BMP388 and BMP390 #2680
Comments
@shingle01 do you own i2c or spi? |
The BMP388 I have supports both.
…On Sun, 28 Apr 2024, 9:06 pm Anton Viktorov, ***@***.***> wrote:
@shingle01 <https://github.com/shingle01> do you own i2c or spi?
—
Reply to this email directly, view it on GitHub
<#2680 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKJIOYIZ2CA6PTTESIRJ7X3Y7TJ25AVCNFSM6AAAAABF4BXLU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGQZTMMZZGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Okay, I will take care of this in upcoming days if you can test
|
@shingle01
|
Sorry for the delay. Testing SPI only I get an error: [13:30:09][C][bmp3xx.sensor:151]: BMP3XX: |
@shingle01 please test new PR for SPI
|
Better but getting erroneous results
[08:04:23][D][bmp3xx.sensor:212]: Got temperature=-98.8°C
pressure=-2243.0hPa
[08:04:23][D][sensor:094]: 'Outside Temperature': Sending state -98.76825
°C with 1 decimals of accuracy
[08:04:23][D][sensor:094]: 'Outside Pressure': Sending state -2242.96802
hPa with 1 decimals of accuracy
…On Sun, 12 May 2024, 7:06 am Anton Viktorov, ***@***.***> wrote:
@shingle01 <https://github.com/shingle01> please test new PR for SPI
- source: github://pr#6722
—
Reply to this email directly, view it on GitHub
<#2680 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKJIOYKOT5KCH4FEWIGOPVTZB2B63AVCNFSM6AAAAABF4BXLU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGAZTCNBUGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Please enable very_verbose logging and attach the log.
Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: shingle01 ***@***.***>
Sent: Sunday, May 12, 2024 12:07:53 AM
To: esphome/feature-requests ***@***.***>
Cc: Anton Viktorov ***@***.***>; Comment ***@***.***>
Subject: Re: [esphome/feature-requests] Add SPI Support for BMP388 and BMP390 (Issue #2680)
Better but getting erroneous results
[08:04:23][D][bmp3xx.sensor:212]: Got temperature=-98.8°C
pressure=-2243.0hPa
[08:04:23][D][sensor:094]: 'Outside Temperature': Sending state -98.76825
°C with 1 decimals of accuracy
[08:04:23][D][sensor:094]: 'Outside Pressure': Sending state -2242.96802
hPa with 1 decimals of accuracy
On Sun, 12 May 2024, 7:06 am Anton Viktorov, ***@***.***> wrote:
@shingle01 <https://github.com/shingle01> please test new PR for SPI
- source: github://pr#6722
—
Reply to this email directly, view it on GitHub
<#2680 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKJIOYKOT5KCH4FEWIGOPVTZB2B63AVCNFSM6AAAAABF4BXLU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGAZTCNBUGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
—
Reply to this email directly, view it on GitHub<#2680 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AA6O66WK2S3PWFVN6ZAF23LZB2JDTAVCNFSM6AAAAABF4BXLU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGA2DEMRRGM>.
You are receiving this because you commented.Message ID: ***@***.***>
|
[08:47:15][C][bmp3xx.sensor:151]: BMP3XX: [08:47:15][C][bmp3xx.sensor:152]:
Type: BMP 388 (0x50) [08:47:15][C][bmp3xx.sensor:172]: IIR Filter: OFF
[08:47:15][C][bmp3xx.sensor:173]: Update Interval: 60.0s
[08:47:15][C][bmp3xx.sensor:175]:
Temperature 'Outside Temperature' [08:47:15][C][bmp3xx.sensor:175]: Device
Class: 'temperature' [08:47:15][C][bmp3xx.sensor:175]: State Class:
'measurement' [08:47:15][C][bmp3xx.sensor:175]: Unit of Measurement: '°C'
[08:47:15][C][bmp3xx.sensor:175]: Accuracy Decimals: 1
[08:47:15][C][bmp3xx.sensor:176]:
Oversampling: 16x [08:47:15][C][bmp3xx.sensor:179]: Pressure 'Outside
Pressure' [08:47:15][C][bmp3xx.sensor:179]: Device Class: 'pressure'
[08:47:15][C][bmp3xx.sensor:179]: State Class: 'measurement'
[08:47:15][C][bmp3xx.sensor:179]:
Unit of Measurement: 'hPa' [08:47:15][C][bmp3xx.sensor:179]: Accuracy
Decimals: 1 [08:47:15][C][bmp3xx.sensor:180]: Oversampling: 16x
[08:47:15][C][captive_portal:088]:
Captive Portal: [08:47:15][C][mdns:115]: mDNS: [08:47:15][C][mdns:116]:
Hostname: sensor-box-2 [08:47:15][V][mdns:117]: Services:
[08:47:15][V][mdns:119]:
- _esphomelib, _tcp, 6053 [08:47:15][V][mdns:121]: TXT: version =
2024.6.0-dev [08:47:15][V][mdns:121]: TXT: mac = 0cb815f51084
[08:47:15][V][mdns:121]:
TXT: platform = ESP32 [08:47:15][V][mdns:121]: TXT: board = esp32dev
[08:47:15][V][mdns:121]: TXT: network = wifi [08:47:15][V][mdns:121]: TXT:
api_encryption = Noise_NNpsk0_25519_ChaChaPoly_SHA256 [08:47:15][C][ota:096]:
Over-The-Air Updates: [08:47:15][C][ota:097]: Address: 192.168.86.118:3232
[08:47:15][C][ota:100]: Using Password. [08:47:15][C][ota:103]: OTA
version: 2. [08:47:15][C][api:139]: API Server: [08:47:15][C][api:140]:
Address: 192.168.86.118:6053 [08:47:15][C][api:142]: Using noise
encryption: YES [08:47:35][VV][scheduler:226]: Running interval '' with
interval=60000 last_execution=4294939105 (now=31810)
[08:47:35][VV][scheduler:226]:
Running interval 'update' with interval=60000 last_execution=4294939135
(now=31842) [08:47:35][V][bmp3xx.sensor:189]: Sending conversion
request... [08:47:35][VV][bmp3xx.sensor:202]:
measurement time 67 [08:47:35][VV][scheduler:032]: set_timeout(name='data',
timeout=67) [08:47:35][VV][scheduler:226]: Running timeout 'data' with
interval=67 last_execution=31863 (now=31930) [08:47:35][VV][bmp3xx.sensor:349]:
data ready status 8 [08:47:35][D][bmp3xx.sensor:212]: Got
temperature=-872.0°C pressure=-23136.3hPa [08:47:35][V][sensor:043]:
'Outside Temperature': Received new state -871.951050
[08:47:35][D][sensor:094]:
'Outside Temperature': Sending state -871.95105 °C with 1 decimals of
accuracy [08:47:35][VV][api.service:140]: send_sensor_state_response:
SensorStateResponse { key: 2259435129 state: -871.951 missing_state: NO }
[08:47:35][V][sensor:043]: 'Outside Pressure': Received new state
-23136.251953 [08:47:35][D][sensor:094]: 'Outside Pressure': Sending state
-23136.25195 hPa with 1 decimals of accuracy [08:47:35][VV][api.service:140]:
send_sensor_state_response: SensorStateResponse { key: 3243141300 state:
-23136.3 missing_state: NO } [08:47:35][W][component:237]: Component
bmp3xx_base took a long time for an operation (79 ms).
[08:47:35][W][component:238]:
Components should block for at most 30 ms. [08:47:55][VV][api.service:654]:
on_ping_request: PingRequest {} [08:47:55][VV][api.service:043]:
send_ping_response: PingResponse {} [08:48:12][VV][api.service:654]:
on_ping_request: PingRequest {} [08:48:12][VV][api.service:043]:
send_ping_response: PingResponse {} [08:48:35][VV][scheduler:226]: Running
interval '' with interval=60000 last_execution=31809 (now=91810)
[08:48:35][VV][scheduler:226]:
Running interval 'update' with interval=60000 last_execution=31839
(now=91841) [08:48:35][V][bmp3xx.sensor:189]: Sending conversion
request... [08:48:35][VV][bmp3xx.sensor:202]:
measurement time 67 [08:48:35][VV][scheduler:032]: set_timeout(name='data',
timeout=67) [08:48:35][VV][scheduler:226]: Running timeout 'data' with
interval=67 last_execution=91862 (now=91929) [08:48:35][VV][bmp3xx.sensor:349]:
data ready status 8 [08:48:35][D][bmp3xx.sensor:212]: Got
temperature=69.2°C pressure=-1478.2hPa [08:48:35][V][sensor:043]: 'Outside
Temperature': Received new state 69.150589 [08:48:35][D][sensor:094]:
'Outside Temperature': Sending state 69.15059 °C with 1 decimals of
accuracy [08:48:35][VV][api.service:140]:
send_sensor_state_response: SensorStateResponse { key: 2259435129 state:
69.1506 missing_state: NO } [08:48:35][V][sensor:043]: 'Outside Pressure':
Received new state -1478.219727 [08:48:35][D][sensor:094]: 'Outside
Pressure': Sending state -1478.21973 hPa with 1 decimals of accuracy
[08:48:35][VV][api.service:140]:
send_sensor_state_response: SensorStateResponse { key: 3243141300 state:
-1478.22 missing_state: NO } [08:48:35][W][component:237]: Component
bmp3xx_base took a long time for an operation (79 ms).
[08:48:35][W][component:238]:
Components should block for at most 30 ms.
On Sun, May 12, 2024 at 8:14 AM Anton Viktorov ***@***.***>
wrote:
… Please enable very_verbose logging and attach the log.
Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: shingle01 ***@***.***>
Sent: Sunday, May 12, 2024 12:07:53 AM
To: esphome/feature-requests ***@***.***>
Cc: Anton Viktorov ***@***.***>; Comment ***@***.***>
Subject: Re: [esphome/feature-requests] Add SPI Support for BMP388 and
BMP390 (Issue #2680)
Better but getting erroneous results
[08:04:23][D][bmp3xx.sensor:212]: Got temperature=-98.8°C
pressure=-2243.0hPa
[08:04:23][D][sensor:094]: 'Outside Temperature': Sending state -98.76825
°C with 1 decimals of accuracy
[08:04:23][D][sensor:094]: 'Outside Pressure': Sending state -2242.96802
hPa with 1 decimals of accuracy
On Sun, 12 May 2024, 7:06 am Anton Viktorov, ***@***.***>
wrote:
> @shingle01 <https://github.com/shingle01> please test new PR for SPI
>
> - source: github://pr#6722
>
> —
> Reply to this email directly, view it on GitHub
> <
#2680 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AKJIOYKOT5KCH4FEWIGOPVTZB2B63AVCNFSM6AAAAABF4BXLU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGAZTCNBUGI>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub<
#2680 (comment)>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/AA6O66WK2S3PWFVN6ZAF23LZB2JDTAVCNFSM6AAAAABF4BXLU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGA2DEMRRGM>.
You are receiving this because you commented.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub
<#2680 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKJIOYJVTSCF3B6RVUWARODZB2J3BAVCNFSM6AAAAABF4BXLU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGA2DGNBUGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@shingle01 apologies, its hard to read the log, it is deformed |
|
Describe the problem you have/What new integration you would like
As per feature request #1321
BMP388 and BMP390 sensors 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: