diff --git a/INSTALL b/INSTALL index 53fa8f4..1b34894 100644 --- a/INSTALL +++ b/INSTALL @@ -5,7 +5,7 @@ Python muß mindestens Version 3.10 sein. apt-get install python3-cairo python3-gi python3-gi-cairo gir1.2-rsvg-2.0 \ python3-serial python3-nmea2 python3-smbus2 python3-bme280 python3-astral \ - python3-can python3-paho-mqtt + python3-can python3-paho-mqtt python3-setproctitle gir1.2-gtk3.0 Zusätzlich zu diesem Programm muß auch die zugehörige NMEA2000-Bibliothek für Python vorhanden sein. Diese kann momentan am besten parallel zu dem diff --git a/obp60v.conf-sample b/obp60v.conf-sample index 4b56e1c..bff47bb 100644 --- a/obp60v.conf-sample +++ b/obp60v.conf-sample @@ -51,6 +51,7 @@ mqtt_ssl = false mqtt_user = demo mqtt_pass = 123456 trace = false +interval = 15 [boat] name = My boat diff --git a/obp60v.py b/obp60v.py index 098856f..67080e9 100755 --- a/obp60v.py +++ b/obp60v.py @@ -83,6 +83,10 @@ Version Datum Änderung(en) von import os import sys +if sys.version_info < (3, 10): + print("Python version not compatible!") + sys.exit(1) + import configparser import logging, logging.handlers from setproctitle import setproctitle, setthreadtitle