Ich sehe es mir an, bitte aber noch um etwas Geduld. Folgende Punkte vorab:
- Bei WeeWX 4.6 (im Gegensatz zu 4.5) sollte es ein Verzeichnis /home/weewx/skins/Seasons/lang geben, das mehrere Dateien mit .conf am Ende (darunter de.conf) enthält. Wenn nicht, bitte von Github herunterladen und dahin kopieren. - In /home/weewx/weewx.conf muß es im Abschnitt [[Seasons]] einen Eintrag "lang = de" geben. Den gab es früher nicht, also muß er ergänzt werden. Dann bitte prüfen, ob die Seasons-Skin noch richtig erzeugt wird. - Die Abschnitte für die einzelnen airQs können sprechende Namen haben. Das muß nicht "first_device" usw. sein. Das kann der Aufstellort des Gerätes sein. Hilfreich wäre noch der Abschnitt [airQ] aus /home/weewx/weewx.conf. [email protected] schrieb am Samstag, 4. September 2021 um 08:32:24 UTC+2: > Guten Morgen, > ich habe versucht zwei airQ's hinzuzufügen. > Ich verwende weewx 4.6.0.b1 > mit Pythin 3.9 > Debian Bullseye auf einem BananaPi > > als Driver habe ich "cmon" eingesetzt sonst wird die Datenbank einfach zu > groß > cmon.sdb ist eingerichtet dann der Versuch > 1. > root@ba001:/home/weewx/bin# ./airq_conf --device=first_device > --add-columns > Using configuration file /home/weewx/weewx.conf > Adding columns for device 'first_device', prefix 'og' > Traceback (most recent call last): > File "/home/weewx/bin/./airq_conf", line 6, in <module> > user.airq_conf.main() > File "/home/weewx/bin/user/airq_conf.py", line 154, in main > addDropColumns(config_dict, db_binding, device, action_add, > action_drop) > File "/home/weewx/bin/user/airq_conf.py", line 214, in addDropColumns > schema = manager_dict.get('schema',{}).get('table',{}) > AttributeError: 'list' object has no attribute 'get' > > root@ba001:/home/weewx/bin# ./airq_conf --device=second_device > --add-columns > Using configuration file /home/weewx/weewx.conf > Adding columns for device 'second_device', prefix 'eg' > Traceback (most recent call last): > File "/home/weewx/bin/./airq_conf", line 6, in <module> > user.airq_conf.main() > File "/home/weewx/bin/user/airq_conf.py", line 154, in main > addDropColumns(config_dict, db_binding, device, action_add, > action_drop) > File "/home/weewx/bin/user/airq_conf.py", line 214, in addDropColumns > schema = manager_dict.get('schema',{}).get('table',{}) > AttributeError: 'list' object has no attribute 'get' > > 2. > root@ba001:/home/weewx/bin# ./airq_conf --create-skin > Using configuration file /home/weewx/weewx.conf > device 'first_device': > sensors ['co', 'co2', 'no2', 'o3', 'oxygen', 'particulates', 'pressure', > 'so2', 'sound', 'temperature', 'tvoc', 'humidity', 'humidity_abs', 'dewpt'] > obstypes in database [] > device 'second_device': > sensors ['co', 'co2', 'no2', 'particulates', 'pressure', 'sound', > 'temperature', 'tvoc', 'humidity', 'humidity_abs', 'dewpt'] > obstypes in database [] > Seasons skin path: /home/weewx/skins/Seasons > airQ skin path: /home/weewx/skins/airQ > Seasons skin lang: None > '/home/weewx/skins/airQ' already exists, contents will be overwritten > copy seasons.css > copy seasons.js > copy favicon.ico > font directory already exists > copy OpenSans-Regular.ttf > copy OpenSans.woff > copy OpenSans-Bold.ttf > copy OpenSans.woff2 > copy Kanit-Bold.ttf > copy license.txt > copy OFL.txt > copy Kanit-Regular.ttf > language directory already exists > creating skin file '/home/weewx/skins/airQ/skin.conf' > writing section [CheetahGenerator] > writing section [CopyGenerator] > writing section [ImageGenerator] > writing section [Generators] > done. > no language defined > Traceback (most recent call last): > File "/home/weewx/bin/./airq_conf", line 6, in <module> > user.airq_conf.main() > File "/home/weewx/bin/user/airq_conf.py", line 152, in main > createSkin(config_path,config_dict, db_binding) > File "/home/weewx/bin/user/airq_conf.py", line 664, in createSkin > airqlang = SkinLanguage(seasons_skin_path,airq_skin_path,seasons_lang) > File "/home/weewx/bin/user/airq_conf.py", line 805, in __init__ > if os.path.isfile(self.seasons_lang_path): > File "/usr/lib/python3.9/genericpath.py", line 30, in isfile > st = os.stat(path) > TypeError: stat: path should be string, bytes, os.PathLike or integer, not > NoneType > > 3. jedoch > root@ba001:/home/weewx/bin# ./airq_conf --device=second_device > --set-location=53.605963,11.341407 > Using configuration file /home/weewx/weewx.conf > device 'second_device' host '192.168.38.19' set {'geopos': {'lat': > 53.605963, 'long': 11.341407}} > Are you sure you want to proceed (y/n)?y > id: 21...63 > content: Success: new setting saved for key 'geopos': {'lat': 53.60597, > 'long': 11.34141} > und > root@ba001:/home/weewx/bin# ./airq_conf --device=second_device --set-ntp=de > Using configuration file /home/weewx/weewx.conf > device 'second_device' host '192.168.38.19' set {'TimeServer': ' > ptbtime3.ptb.de'} > Are you sure you want to proceed (y/n)?y > id: 21..63 > content: Success: new setting saved for key 'TimeServer': ptbtime3.ptb.de > erfolgreich > > Ich bitte um Hilfe > > Hartmut > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/356e6df9-ee3d-4607-aa4a-a1bb8c4278e3n%40googlegroups.com.
