I’m trying to figure out on how to add an Bosch Sensortec BME680 using this help page …but it gives me this error under home-assistant log: “BME680 sensor not detected at 0x76
23:16 components/sensor/bme680.py (ERROR)”
but i know that my sensor gots i2c_address: 0x76!
…how can i use the RPI gpio readall command to make sure? does anyone knows a way to list gpio under hassio? thanks for the help
meanwhile ive rebooted hassio and reseted RPI with no changes!
i only set i2c_address: 0x76 because my sensor says it haves that specific address! sorry, i should have quoted the .yaml paste
but i think the format is correct, because homeassistant loads but not finds the sensor
I have installed “SSH Server” and through “Putty” I access the console “Hass.io” as “root”.
In it appears “core-ssh:~#dir”.
From here, I don’t know how to get to “mv/etc/modules-load/” and add “rpi-i2c.conf”.
Can you help me? Thank you.
@El_Viejo do the following:
from here on i’m struggeling myself. i created the rpi-i2c.conf file at this spot, but it is empty and i don’t know what is supposed to go in there. Apparently one should copy another file here, but i didn’t understand which…
What is: " mv /etc/modules-load.d/* /etc/modules-load.d/rpi-i2c.conf" supposed to do?
Secondly, @brunofosi writes about editing “mnt/boot/config.txt” which doesn’t exist on my system…
I guess, this solution is based around using a so called configuration usb stick, wich i don’t use or know anything about.
To my own problem:
I try to connect a Bosch BME680 to my RaspberryPi 2B running the latest Hass.io OS
I added it to my config.yaml and checked the i2c Address of my Sensor in Raspbian. It is 0x76, wich i noted in my config.yaml It looks like this:
Following your instructions, I have managed to modify the file "config.txt".
However, I don’t know everything about “rpi-i2c.conf”, so I asked for help.
In my opinion, there are unresolved problems with Hass.io and these devices. In addition, many different manufacturers use Bosch sensors. It seems certain that those manufactured by Adafruit, always use the address 0x77 and those of other manufacturers the address 0x76.
Thank you very much for your interest fosi. But, due to my limited knowledge of the Linux environment and my poor level of English, I have not been able to follow your instructions (I am a 78 year old Spaniard).
Extracting the microSD card, I modified the file “config.txt” in my PC, adding the three parameters “dt…”.
I’m running Hass.io (0.86.4).
From my PC, with Putty, I have accessed the Hassio console. The console displays “core-ssh:~#dir”. Here I typed the command ls /etc/modules-load.d/, but nothing happens.
Where should I write the commands?
I have done with the greatest care the first 5 steps of your guide. In step 6, I run Putty from a second computer (port 22222) and the following message appears: "Network error: Connection refused".( port 22 connects correctly)
My doubts and questions:
1.- In step 3, I copied and saved all the characters of the window using a plain text processor (EditPad Lite) in a file authorized_keys.txt. I saved it in the root directory of a USB drive, formatted with CONFIG.
Is that correct?
2.- In step 5, when you click on the HARDWARE button, the disk section appears the following: /dev/sda and /dev/sda.
Is it correct?
The generated public key must be copied in a file called authorized_keys (without .txt or any other extension). Then copy the authorized_keys file to your USB flash root directory, after that connect this flash to the USB port of your Raspberry Pi and click Import from USB in your hassio WEB interface.
Once it is done, use your private key to ssh to your hassio’s port 22222.
If you use PuTTY, configuration should looke like this:
It is wonderful that in this forum there are people who dedicate their time to help and who have enough patience to attend the queries of newbies.
Following your instructions, I have corrected my mistakes and I have achieved a clear advance. Now I access the Hass.IO console, as you can see in the image.
My problem is that I don’t know how to navigate through the folders, to modify the config.txt file and add the rpi-i2c.conf file.
I’ve typed ‘help’, I’ve tested some commands, but I haven’t been able to find the solution. I resigned to avoid corrupting the whole system.
Do you still have the patience to keep helping?
In any case, thank you very much.