2022-10-09, 06:16 PM
(2022-10-09, 05:50 PM)Sailoog Wrote:Im using Raspbian 11 bullseyes on armv7l 32 bits, openplotter settings 3.4.4 and in system check is asking me to allow permissions read/write for I2C in Signal K.(2022-10-09, 04:57 PM)hrios Wrote:(2022-10-09, 02:14 PM)Sailoog Wrote:(2022-10-09, 01:45 PM)hrios Wrote: pi@raspberrypi:~ $ openplotter-i2c
Error: Could not open file `/dev/i2c-0' or `/dev/i2c/0': No such file or directory
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/openplotterI2c/openplotterI2c.py", line 313, in OnAddButton
for i in self.i2c_sensors:
AttributeError: 'MyFrame' object has no attribute 'i2c_sensors'
Have you approved the signal k connection?
EDITED
I have been able to reproduce your error, you must approve the signal k connection before adding sensors. I will disable the "Add" button in those cases. thanks for reporting, please let me know if your BMP3XX sensor works and I will mark it as "tested".
I would like to do it but the approve button in I2C settings is disabled and i dont have any request message to aprove or allow in signal K.
Also Openplotter I2C device is at the list of devices with admin permissions and device_id already. But no connection is created... and no new token to approve.
I tried uninstalling I2C and reinstalling but same situation.
Could you provide more details about your context? I can see that you are not using an openplotter image.
Raspberry OS version? 32bit 64 bit? openplotter settings version? what happenbs when you click "check system"?
I think is something related on comunication in between signal k and the openplotter installer
Do you think i should reinstall signal k? I would like to avoid this option actually...