OpenMarine
BME280 > SignalK no data/gauges - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://forum.openmarine.net/forumdisplay.php?fid=4)
+--- Thread: BME280 > SignalK no data/gauges (/showthread.php?tid=3542)

Pages: 1 2 3


BME280 > SignalK no data/gauges - faurmic - 2021-07-15

Hi

I have a BME280 sensor connected to a PICAN-M (REV B 06/20) on a Raspberry 4 (2GB) running Openplotter (v2 starting).

I followed this tutorial :
https://cdn.shopify.com/s/files/1/0563/2029/5107/files/pican-m_UGB_20.pdf?v=1619008196
(Only from page 17 to 22 in order to use the BME280.)

But when starting the instrument panel (page 21) I don't get any gauges. The page is blank.
In SignalK > Databrowser search for pressure or temperature : NOTHING

I was able with a python script to get readings from the sensor. So the sensor works.

Did someone had the same issue? Any idea?

Thanks for your help


RE: BME280 > SignalK no data/gauges - aywwa - 2021-07-15

I would double check page 20, and that via Connections you added BME280 to SignalK .


RE: BME280 > SignalK no data/gauges - Lazzz - 2021-07-15

I have recently lost all info from my BMP280 since an update. Was working fine until then.

I haven't yet had a chance to investigate but I wonder if something was changed recently!!


RE: BME280 > SignalK no data/gauges - faurmic - 2021-07-15

(2021-07-15, 03:11 AM)aywwa Wrote: I would double check page 20, and that via Connections you added BME280 to SignalK .

Hi aywwa. Double checked every steps already. Sensor are added with address 0x76 and connection added to SignalK.


RE: BME280 > SignalK no data/gauges - baltika_no_9 - 2021-07-15

(2021-07-15, 01:55 AM)faurmic Wrote: Hi

I have a BME280 sensor connected to a PICAN-M (REV B 06/20) on a Raspberry 4 (2GB) running Openplotter (v2 starting).

I followed this tutorial :
https://cdn.shopify.com/s/files/1/0563/2029/5107/files/pican-m_UGB_20.pdf?v=1619008196
(Only from page 17 to 22 in order to use the BME280.)

But when starting the instrument panel (page 21) I don't get any gauges. The page is blank.
In SignalK > Databrowser search for pressure or temperature : NOTHING

I was able with a python script to get readings from the sensor. So the sensor works.

Did someone had the same issue? Any idea?

Thanks for your help

Hi

Could you post the output from your python script?


RE: BME280 > SignalK no data/gauges - mfaircloth - 2021-07-16

I am having the same issue on a new install.


RE: BME280 > SignalK no data/gauges - baltika_no_9 - 2021-07-16

(2021-07-16, 01:45 AM)mfaircloth Wrote: I am having the same issue on a new install.

Hi

Did you validate that the sensor was working via a python script, or some other method, as the OP did?


RE: BME280 > SignalK no data/gauges - mfaircloth - 2021-07-16

(2021-07-16, 09:08 AM)baltika_no_9 Wrote:
(2021-07-16, 01:45 AM)mfaircloth Wrote: I am having the same issue on a new install.

Hi

Did you validate that the sensor was working via a python script, or some other method, as the OP did?

yes, works great with a python script
[attachment=1536]


RE: BME280 > SignalK no data/gauges - faurmic - 2021-07-16

(2021-07-15, 10:25 AM)baltika_no_9 Wrote:
(2021-07-15, 01:55 AM)faurmic Wrote: Hi

I have a BME280 sensor connected to a PICAN-M (REV B 06/20) on a Raspberry 4 (2GB) running Openplotter (v2 starting).

I followed this tutorial :
https://cdn.shopify.com/s/files/1/0563/2029/5107/files/pican-m_UGB_20.pdf?v=1619008196
(Only from page 17 to 22 in order to use the BME280.)

But when starting the instrument panel (page 21) I don't get any gauges. The page is blank.
In SignalK > Databrowser search for pressure or temperature : NOTHING

I was able with a python script to get readings from the sensor. So the sensor works.

Did someone had the same issue? Any idea?

Thanks for your help

Hi

Could you post the output from your python script?

Hi baltika_no_9,

Thanks for your reply.
The ouput is just the readings from the sensors (temperature, pressure, humidity).

Here's the script. If it can help anyone at least to validate his/her sensor is well functionning.


Code:
from __future__ import print_function
import qwiic_bme280
import time
import sys

def runExample():

print("\nSparkFun BME280 Sensor  Example 1\n")
mySensor = qwiic_bme280.QwiicBme280(0x76)

if mySensor.connected == False:
print("The Qwiic BME280 device isn't connected to the system. Please check your connection", \
file=sys.stderr)
return

mySensor.begin()

while True:
print("Humidity:\t%.3f" % mySensor.humidity)

print("Pressure:\t%.3f" % mySensor.pressure)



print("Temperature:\t%.2f" % mySensor.temperature_celsius)

print("")

time.sleep(1)


if __name__ == '__main__':
try:
runExample()
except (KeyboardInterrupt, SystemExit) as exErr:
print("\nEnding Example 1")
sys.exit(0)



RE: BME280 > SignalK no data/gauges - mfaircloth - 2021-07-16

(2021-07-16, 10:02 PM)faurmic Wrote:
(2021-07-15, 10:25 AM)baltika_no_9 Wrote:
(2021-07-15, 01:55 AM)faurmic Wrote: Hi

I have a BME280 sensor connected to a PICAN-M (REV B 06/20) on a Raspberry 4 (2GB) running Openplotter (v2 starting).

I followed this tutorial :
https://cdn.shopify.com/s/files/1/0563/2029/5107/files/pican-m_UGB_20.pdf?v=1619008196
(Only from page 17 to 22 in order to use the BME280.)

But when starting the instrument panel (page 21) I don't get any gauges. The page is blank.
In SignalK > Databrowser search for pressure or temperature : NOTHING

I was able with a python script to get readings from the sensor. So the sensor works.

Did someone had the same issue? Any idea?

Thanks for your help

Hi

Could you post the output from your python script?

Hi baltika_no_9,

Thanks for your reply.
The ouput is just the readings from the sensors (temperature, pressure, humidity).

Here's the script. If it can help anyone at least to validate his/her sensor is well functionning.


Code:
from __future__ import print_function
import qwiic_bme280
import time
import sys

def runExample():

print("\nSparkFun BME280 Sensor  Example 1\n")
mySensor = qwiic_bme280.QwiicBme280(0x76)

if mySensor.connected == False:
print("The Qwiic BME280 device isn't connected to the system. Please check your connection", \
file=sys.stderr)
return

mySensor.begin()

while True:
print("Humidity:\t%.3f" % mySensor.humidity)

print("Pressure:\t%.3f" % mySensor.pressure)



print("Temperature:\t%.2f" % mySensor.temperature_celsius)

print("")

time.sleep(1)


if __name__ == '__main__':
try:
runExample()
except (KeyboardInterrupt, SystemExit) as exErr:
print("\nEnding Example 1")
sys.exit(0)

Exact same script I'm using - see output above.