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.