openplotter-i2c 3.x.x released - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2) +--- Thread: openplotter-i2c 3.x.x released (/showthread.php?tid=4276) |
RE: openplotter-i2c 3.x.x released - hrios - 2022-10-09 (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 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... RE: openplotter-i2c 3.x.x released - nebosa - 2022-10-09 (2022-10-08, 02:35 PM)Sailoog Wrote: We have ported all the sensor supported in OpenPlotter 2 to OpenPlotter 3 and added a few more. not quite there are problems with that ADS1115 ? RE: openplotter-i2c 3.x.x released - hrios - 2022-10-09 (2022-10-09, 06:16 PM)hrios Wrote:(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 I finnally deleted the old client_id for I2C device and I could approve the device. Once refresh says its allowed but i cant add sensors. pi@raspberrypi:~ $ openplotter-i2c Traceback (most recent call last): File "/usr/lib/python3/dist-packages/openplotterI2c/openplotterI2c.py", line 142, in OnRefreshButton self.readSensors() File "/usr/lib/python3/dist-packages/openplotterI2c/openplotterI2c.py", line 253, in readSensors channel = self.i2c_sensors[name]['channel'] KeyError: 'channel' 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 314, in OnAddButton if address == self.i2c_sensors[i]['address'] and channel == self.i2c_sensors[i]['channel']: KeyError: 'channel' In SignalK no proper connection is created, but just temporary connection activity string related to the device_id. Ok no worries ill play with it... U dont waste your time with this. I was just asking in case it was a trivial mistake of mine... or something obvious tx anyway RE: openplotter-i2c 3.x.x released - Sailoog - 2022-10-10 (2022-10-09, 06:39 PM)nebosa Wrote:(2022-10-08, 02:35 PM)Sailoog Wrote: We have ported all the sensor supported in OpenPlotter 2 to OpenPlotter 3 and added a few more. It should not RE: openplotter-i2c 3.x.x released - Sailoog - 2022-10-10 (2022-10-09, 08:21 PM)hrios Wrote: I finnally deleted the old client_id for I2C device and I could approve the device. Once refresh says its allowed but i cant add sensors. Remove all sensors and start from scratch. If that does not work, open this file: /home/pi/.openplotter/openplotter.conf and remove everything under the [I2C] tag. You will have to approve the SK connection again. (2022-10-09, 08:21 PM)hrios Wrote: In SignalK no proper connection is created, but just temporary connection activity string related to the device_id. sorry, I do not understand this RE: openplotter-i2c 3.x.x released - hrios - 2022-10-10 Hi I reinstalled the older version.. sudo apt-get install openplotter-i2c=2.2.1-stable and everithing is at its place and working perfect again. No errors in anyplace and all sensors working. Just to let you know RE: openplotter-i2c 3.x.x released - Sailoog - 2022-10-10 (2022-10-10, 05:10 PM)hrios Wrote: HiI do not understand, you can not install openplotter-i2c 2.x.x from bullseye You can not mix openplotter 3.x.x with openplotter 2.x.x apps RE: openplotter-i2c 3.x.x released - hrios - 2022-10-10 (2022-10-10, 05:23 PM)Sailoog Wrote:(2022-10-10, 05:10 PM)hrios Wrote: HiI do not understand, you can not install openplotter-i2c 2.x.x from bullseye Its working perfect, and also kept the sensors configuration (BMP388 and HTU21D) Im also using SDR VHF v2.1.1-beta and working perfect for months already. RE: openplotter-i2c 3.x.x released - Sailoog - 2022-10-10 (2022-10-10, 05:46 PM)hrios Wrote:(2022-10-10, 05:23 PM)Sailoog Wrote:(2022-10-10, 05:10 PM)hrios Wrote: HiI do not understand, you can not install openplotter-i2c 2.x.x from bullseye Then that means that you have the sources for both openplotter versions and probably 2 Debian distributions. Please do not relay on that system, you will have unexpected errors just as you had with the I2C app. RE: openplotter-i2c 3.x.x released - hrios - 2022-10-10 (2022-10-10, 06:01 PM)Sailoog Wrote:nope ... 1 debian distribution clean and openplotter 3 clean also(2022-10-10, 05:46 PM)hrios Wrote:(2022-10-10, 05:23 PM)Sailoog Wrote:(2022-10-10, 05:10 PM)hrios Wrote: HiI do not understand, you can not install openplotter-i2c 2.x.x from bullseye |