2022-03-03, 10:56 PM
(2022-03-03, 08:11 PM)schrammie Wrote: jay,renze,
Thanks a lot for replying.
I did try to run the script but i failed. See picture. I copied and named it bme.py and and run it but is stopped. See foto 9093.
By IC@ connections i have 2 because i tried a lot, but both are not working see picture 9091.
by signal K you see ic2 and ic201 but at the data browser there is a lot (1 wire and prypilot) but no ic2 (and that is strange because the prypilot is the same board) and i attachted a seperate BME 280 incase. therefore two adresses 0x68 and 0x76 see pictures 9094 and 9095
and the last picture 9096.
Iam lost.
So thanks a lot.
Have the Pican-m too by the way.
renze
I'm not sure if I can help. But I will offer some suggestions. Hope they help.
1. I'm not a python wizard but the error message is pointing to the "print" statement. Python is indent and space sensitive so formats make a difference. Check the print statement format it may need indent spaces.
2. Looks like signal K has your connections setup correct. At least the I2C looks right. However on the I2C app connection tab it looks like the BME280 sensor is only defined for the I2C01 connection. BTW the I2C address button above the "connections" tab will show the I2C addresses of the sensors connected(uses i2cdetect). I would only create one BME280 connection to the address of your sensor shown in the I2C addresses.
3. Try executing the following command in a terminal;
openplotter-i2c-read
see my post;
https://forum.openmarine.net/showthread....7#pid20417
If you get a similiar output as I did then your problem is openplotter-i2c-read.py. If that's the case see this post for how to fix it.
https://forum.openmarine.net/showthread....1#pid20441
If that is not the case then I'm out of suggestions. Maybe someone else can jump in to help you.
Jay