I tried running this command and got this output, although it was 
previously returning packets from my Acurite Atlas:

sudo rtl_433
rtl_433 version 21.05-57-g3c61f600 branch feat-atlas at 202107311123 inputs 
file rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/root/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...
Registered 161 out of 190 device decoding protocols [ 1-4 8 11-12 15-17 
19-23 25-26 29-36 38-60 63 67-71 73-100 102-105 108-116 119 121 124-128 
130-149 151-161 163-168 170-175 177-190 ]
usb_claim_interface error -6

I have also run this command and got no return message:

pi@raspberrypi:~ $ sudo modprobe -r dvb_usb_rtl28xxu
pi@raspberrypi:~ $ 

I get these results in spite of having this file 
/etc/modprobe.d/blacklist.conf with these contents:

blacklist dvb_usb_rtl28xxu
blacklist dvb_usb_rtl28xxu
blacklist rtl2830
blacklist rtl2832
blacklist dvb_usb_rtl2832u

Back to the bme280 driver. Again, this was working, but now I get error 
when running this script:

import smbus2
import bme280

port = 1
address = 0x76
bus = smbus2.SMBus(port)

calibration_params = bme280.load_calibration_params(bus, address)

# the sample method will take a single reading and return a
# compensated_reading object
data = bme280.sample(bus, address, calibration_params)

# the compensated_reading class has the following attributes
print(data.id)
print(data.timestamp)
print(data.temperature)
print(data.pressure)
print(data.humidity)

# there is a handy string representation too
print(data)


*Error when running script:*

python3 bme280_test.py
Traceback (most recent call last):
  File "bme280_test.py", line 8, in <module>
    calibration_params = bme280.load_calibration_params(bus, address)
  File "/usr/local/lib/python3.7/dist-packages/bme280/__init__.py", line 
153, in load_calibration_params
    compensation_params.dig_T1 = read.unsigned_short(0x88)
  File "/usr/local/lib/python3.7/dist-packages/bme280/reader.py", line 40, 
in unsigned_short
    return self._bus.read_word_data(self._address, register) & 0xffff
  File "/usr/local/lib/python3.7/dist-packages/smbus2/smbus2.py", line 474, 
in read_word_data
    ioctl(self.fd, I2C_SMBUS, msg)
OSError: [Errno 121] Remote I/O error

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e2b6d5ac-0948-441b-a164-0ee7dddacd9bn%40googlegroups.com.

Reply via email to