Grüßgott,
1.) Habe vor 2 Tagen iobroker auf mein Raspberry Pi 4 installiert. (Minimal image von 2019.11)
2.) Alles upgraded
4.) I2C enabled (raspi-config), RPi restarted, installed:
sudo apt-get update
sudo apt-get install i2c-tools libi2c-dev python-smbus
- i2cdetect -l << kann die Busse schön listen:
pi@hv:~ $ sudo i2cdetect -l
i2c-1 i2c bcm2835 I2C adapter I2C adapter
i2c-7 i2c i2c-tiny-usb at bus 001 device 014 I2C adapter
3.) Gab kommand:
sudo usermod -G i2c iobroker
Trozdem, findet dieses Adapter nicht mal den Bus:
host.hv 2020-03-30 17:31:56.944 info instance system.adapter.i2c.0 terminated with code 0 (NO_ERROR)
host.hv 2020-03-30 17:31:56.943 error Caught by controller[0]: at objects.getObjectView (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:6061:26)
host.hv 2020-03-30 17:31:56.943 error Caught by controller[0]: at Adapter.getForeignStates (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:6018:26)
host.hv 2020-03-30 17:31:56.943 error Caught by controller[0]: at Adapter._processStates (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5958:22)
host.hv 2020-03-30 17:31:56.943 error Caught by controller[0]: at Adapter._processStatesSecondary (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5892:25)
host.hv 2020-03-30 17:31:56.943 error Caught by controller[0]: at StateRedis.getStates (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:594:20)
host.hv 2020-03-30 17:31:56.943 error Caught by controller[0]: at states.getStates (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5922:17)
host.hv 2020-03-30 17:31:56.942 error Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.i2c/i2c.js:129:14
host.hv 2020-03-30 17:31:56.942 error Caught by controller[0]: at I2CAdapter.main (/opt/iobroker/node_modules/iobroker.i2c/i2c.js:43:20)
host.hv 2020-03-30 17:31:56.942 error Caught by controller[0]: at Object.openSync (/opt/iobroker/node_modules/i2c-bus/i2c-bus.js:47:3)
host.hv 2020-03-30 17:31:56.942 error Caught by controller[0]: at checkBusNumber (/opt/iobroker/node_modules/i2c-bus/i2c-bus.js:55:11)
host.hv 2020-03-30 17:31:56.941 error Caught by controller[0]: Error: Invalid I2C bus number 7
i2c.0 2020-03-30 17:31:56.430 info (7112) Terminated (NO_ERROR): Without reason
i2c.0 2020-03-30 17:31:56.429 info (7112) terminating
i2c.0 2020-03-30 17:31:56.424 error at objects.getObjectView (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:6061:26)
i2c.0 2020-03-30 17:31:56.424 error at Adapter.getForeignStates (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:6018:26)
i2c.0 2020-03-30 17:31:56.424 error at Adapter._processStates (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5958:22)
i2c.0 2020-03-30 17:31:56.424 error at Adapter._processStatesSecondary (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5892:25)
i2c.0 2020-03-30 17:31:56.424 error at StateRedis.getStates (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:594:20)
i2c.0 2020-03-30 17:31:56.424 error at states.getStates (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5922:17)
i2c.0 2020-03-30 17:31:56.424 error at /opt/iobroker/node_modules/iobroker.i2c/i2c.js:129:14
i2c.0 2020-03-30 17:31:56.424 error at I2CAdapter.main (/opt/iobroker/node_modules/iobroker.i2c/i2c.js:43:20)
i2c.0 2020-03-30 17:31:56.424 error at Object.openSync (/opt/iobroker/node_modules/i2c-bus/i2c-bus.js:47:3)
i2c.0 2020-03-30 17:31:56.424 error at checkBusNumber (/opt/iobroker/node_modules/i2c-bus/i2c-bus.js:55:11)
i2c.0 2020-03-30 17:31:56.424 error (7112) Error: Invalid I2C bus number 7
i2c.0 2020-03-30 17:31:56.423 error (7112) uncaught exception: Invalid I2C bus number 7
i2c.0 2020-03-30 17:31:56.313 info (7112) starting. Version 0.0.6 in /opt/iobroker/node_modules/iobroker.i2c, node: v10.19.0