OpenMarine
Probles with IC2 - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3)
+--- Thread: Probles with IC2 (/showthread.php?tid=761)



Probles with IC2 - Snijdor - 2017-09-14

Hello,

Been a while since I was tinkering with Openplotter (see brag-board Smile
With the new version (10) however I am not able to get the IC2 sensors going.
I can see them in Openplotter, selected a SignalK sentence but they don't show up in the SignalK diagnostics (see attachment) I've tried my BMP180 and HTU21, together and separate but with no avail.
With 
Code:
/usr/sbin/i2cdetect -y 1

I see that get an address.
Can someone point me in the right direction?
Thx!


RE: Probles with IC2 - Sailoog - 2017-09-15

That screenshot is from 0.8.0?
Please try with 0.10.0 and update to latest (today 0.15.1). I2C management has been rebuilt.


RE: Probles with IC2 - Snijdor - 2017-09-20

Thanks for your response.
Update looks complete (nice wallpaper Smile) but openplotter won't start....

Output:
pi@openplotter:~ $ openplotter
Traceback (most recent call last):
File "/home/pi/.config/openplotter/openplotter", line 3517, in <module>
MainFrame().Show()
File "/home/pi/.config/openplotter/openplotter", line 244, in __init__
self.read_triggers()
File "/home/pi/.config/openplotter/openplotter", line 2341, in read_triggers
op = self.operators_list[ii[2]]
TypeError: list indices must be integers, not str

I've googled around but my python is as good as my chinese.


RE: Probles with IC2 - e-sailing - 2017-09-21

Your configuration file (.openplotter/openplotter.conf) has a problem in the section
[ACTION]
triggers =

You can try to copy the configuration file .config/openplotter/openplotter.conf to .openplotter


RE: Probles with IC2 - Snijdor - 2017-09-21

Thanks, that worked!!
I2C is als working again now.