Skip to content

IOError: [Errno 121] Remote I/O error when LAN cable unplugged #28

Description

@JsBergbau

I have RPI 3.
I run ./demo.py after I've set adress to 0x03 and Bus to 0x01
Everything is fine.
As soon as I unplug LAN cable and connect via Wifi, I get

pi@raspberrypi:~/RaspberryPi-AS3935 $ ./demo.py
Traceback (most recent call last):
File "./demo.py", line 15, in
sensor.set_indoors(True)
File "/home/pi/RaspberryPi-AS3935/RPi_AS3935/RPi_AS3935.py", line 162, in set_indoors
self.read_data()
File "/home/pi/RaspberryPi-AS3935/RPi_AS3935/RPi_AS3935.py", line 234, in read_data
self.registers = self.i2cbus.read_i2c_block_data(self.address, 0x00)
IOError: [Errno 121] Remote I/O error

Beeing connected via Wifi and LAN and then pulling the cable also leads to an error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions