vitormhenrique / OctoPrint-Enclosure

OctoPrint Enclosure Plugin
GNU General Public License v3.0
396 stars 201 forks source link

Si7021 no reading #409

Open Susterki opened 3 years ago

Susterki commented 3 years ago

Sorry I'm am new at this.

I connected the Si7021 sensor (VIN-pin1 GND-pin6 SCL-pin5 SDA-pin3). I did this:

Run sudo raspi-config Use the down arrow to select 9 Advanced Options Arrow down to A7 I2C Select yes when it asks you to enable I2C Also select yes when it asks about automatically loading the kernel module Use the right arrow to select the button Select yes when it asks to reboot Install some packages:

sudo apt-get install i2c-tools python-pip Find the address of the sensor:

i2cdetect -y 1

image

I went in Octoprint and did this

image

and I get this

image

I toggeld "use sudo" in "advanced options" nothing changes

here is the log, I think octoprint.log

what am I doing wrong?

FritzWlan commented 3 years ago

I have the exact same issue. Also tried with sudo on and off (advanced settings). Did not change anything. Removing sudo password did not help either.

Log says it expects two values to be generated but could only find one (ValueError).

2021-04-18 14:29:15,767 - octoprint.plugins.enclosure - WARNING - An exception of type ValueError occurred on log_error. Arguments: ('not enough values to unpack (expected 2, got 1)',)

octoprint (1).log

Settings /Screenshots are basically the same as above.

ab-tools commented 3 years ago

Same here as well, any further ideas on this?

n3roGit commented 3 years ago

same here

andiatbaden commented 3 years ago

Hello,

got the same issue. Additional i got no seperate tab for the plugin octoprint.log

thanks for your support

bigmac5753 commented 3 years ago

has anyone found a fix for this?