I really think you need to take a more systematic approach to tracking down the problem. Looking at the end product (the web page) and seeing a missing plot is useful for noticing a problem, but in itself does not point you to the source of the error. I would be troubleshooting as follows:
1. Is WeeWX seeing data in field extraTemp4. Run WeeWX directly <https://weewx.com/docs/5.1/usersguide/running/#running-directly> so you see loop packets (LOOP:) and archive records (REC:) on the console. Let WeeWX run until you see at least one REC: line. Did you see extraTemp4 in any loop packets *and* archive records? If so that means WeeWX is successfully obtaining extraTemp4 data from your station/driver. If not you need to troubleshoot your station/driver to find out why WeeWX is not seeing extraTemp4 data. 2. Is extraTemp4 data being saved to the database. Have a look at the data in the archive table of your database, is the field extraTemp4 there? Does it contain numeric data? If the answer to both is yes WeeWX is saving extraTemp4 data to database, if not add extraTemp4 to the database schema using weectl database. 3. Does the skin have a suitable plot generation definition with extraTemp4 data. Have a look at the [ImageGenerator] stanza in the skin config file for your skin, is there a stanza definition there for a suitable plot using extraTemp4? Is the stanza active or disabled/commented out? 4. Is the extraTemp4 plot file being generated? Have a look on your WeeWX system (not web server) to see if the file was generated. Where it will be located will depend on the HTML_ROOT setting being used, but if your skin is generating other plots without problem you should find it with them. 5. If you have a web server is the extraTemp4 plot file being uploaded to the web server from the WeeWX machine or maybe copied to another directory if both web server and WeeWX machine are the same machine (if this is the case there may be no copying but rather just use of a symlink to the original plot files). If you work through systematically you should be able to identify the general area of the fault and then home in with more detailed checks. Another tip, be extremely careful with case. Within WeeWX (and python) case matters; 'extratemp4' is not the same as 'extraTemp4'. Gary On Tuesday, 24 December 2024 at 05:36:55 UTC+10 hajsek...@gmail.com wrote: > > Ok thank you I will check mysql database. This didn't worked before > because I add new temp and humidity sensors > maybe someone who make this code can specify more what to look? > ponedeljek, 23. december 2024 ob 18:54:02 UTC+1 je oseba w0ep Chris Howard > napisala: > >> >> I looked at xtypes.py. The problem is in function called get_series. >> The error is actually right there in the error stack trace "Unknown >> Type". >> That is not extremely helpful. But I assume that means the system is >> choking on some data that is >> not in the format expected. I don't know anything about xtypes as a >> thing, or if it is a special thing. >> But just the idea that it is unexpected data makes me suspicious that >> there is something messed up >> in the database. If it were my system I would probably try to look at >> the data and see if there >> are weird characters in amongst the number and letters. Maybe some field >> expected to be number has >> some words in it. Or maybe there are some records that got mangled or >> are only partial. >> >> If that didn't work. I would follow the stack trace and try to figure >> out what is going on and >> maybe build an understanding of how the data flows through the code. >> >> It is possible that whatever capability xtypes provides is not working. >> So if the data is OK, >> that may be an angle to explore. But if the system worked at one time >> and now does not, I would >> expect a data problem. >> >> >> >> On 12/23/24 11:11, Jeff A. D. wrote: >> >> I don't know if this applies to you or not, I'm probably the least >> qualified one to respond so far, and I may have missed if this was already >> mentioned. >> >> But I'm using Seasons skin, and >> under /etc/weewx/skins/Seasons/index.html.tmpl has >> >> #if $day.extraTemp1.has_data or $day.extraTemp2.has_data or >> $day.extraTemp3.has_data >> <img src="daytemp.png" alt="$obs.label.extraTemp1" /> >> <img src="daytemp1.png" alt="$obs.label.extraTemp2" /> >> #end if >> >> and same thing is pretty much repeated for week, day, and year. I think >> that's what tells it to generate or add the graph. >> >> So I think you may be missing something in an html template? >> >> If I can't get something to work I basically go through all the files and >> see what I'm missing. >> >> >> >> On Monday, December 23, 2024 at 8:43:17 AM UTC-7 hajsek...@gmail.com >> wrote: >> >>> I tested it with default skin "Standard" but is the same no graph for >>> extratemp4. Fourth graph is not show up. >>> And I get this error in logfile. >>> Dec 23 16:39:16 web weewxd[1494989]: ERROR weewx.reportengine: Caught >>> unrecoverable exception in generator 'weewx.imagegenerator.ImageGenerator' >>> Dec 23 16:39:16 web weewxd[1494989]: ERROR weewx.reportengine: >>> **** extraTemp4 >>> Dec 23 16:39:16 web weewxd[1494989]: ERROR weewx.reportengine: >>> **** Traceback (most recent call last): >>> Dec 23 16:39:16 web weewxd[1494989]: ERROR weewx.reportengine: >>> **** File "/usr/share/weewx/weewx/reportengine.py", line 248, in run >>> Dec 23 16:39:16 web weewxd[1494989]: ERROR weewx.reportengine: >>> **** obj.start() >>> Dec 23 16:39:16 web weewxd[1494989]: ERROR weewx.reportengine: >>> **** File "/usr/share/weewx/weewx/reportengine.py", line 465, in start >>> Dec 23 16:39:16 web weewxd[1494989]: ERROR weewx.reportengine: >>> **** self.run() >>> Dec 23 16:39:16 web weewxd[1494989]: ERROR weewx.reportengine: >>> **** File "/usr/share/weewx/weewx/imagegenerator.py", line 37, in run >>> Dec 23 16:39:16 web weewxd[1494989]: ERROR weewx.reportengine: >>> **** self.gen_images(self.gen_ts) >>> Dec 23 16:39:16 web weewxd[1494989]: ERROR weewx.reportengine: >>> **** File "/usr/share/weewx/weewx/imagegenerator.py", line 102, in >>> gen_images >>> Dec 23 16:39:16 web weewxd[1494989]: ERROR weewx.reportengine: >>> **** self.image_dict[timespan][plotname]) >>> Dec 23 16:39:16 web weewxd[1494989]: ERROR weewx.reportengine: >>> **** File "/usr/share/weewx/weewx/imagegenerator.py", line 242, in >>> gen_plot >>> Dec 23 16:39:16 web weewxd[1494989]: ERROR weewx.reportengine: >>> **** **option_dict) >>> Dec 23 16:39:16 web weewxd[1494989]: ERROR weewx.reportengine: >>> **** File "/usr/share/weewx/weewx/xtypes.py", line 125, in get_series >>> Dec 23 16:39:16 web weewxd[1494989]: ERROR weewx.reportengine: >>> **** raise weewx.UnknownType(msg) >>> Dec 23 16:39:16 web weewxd[1494989]: ERROR weewx.reportengine: >>> **** weewx.UnknownType: extraTemp4 >>> Dec 23 16:39:16 web weewxd[1494989]: ERROR weewx.reportengine: >>> **** Generator terminated >>> Dec 23 16:39:16 web weewxd[1494989]: INFO weewx.reportengine: Copied 0 >>> files to /var/www/html/weewx[image: 2024-12-23 16_20_27-Domzale – >>> Mozilla Firefox.png] >>> >>> ponedeljek, 23. december 2024 ob 09:16:45 UTC+1 je oseba >>> hajsek...@gmail.com napisala: >>> >>>> Thank you for info. >>>> I have checked all files in that skin and all have extratemp3 and >>>> extratemp4 in it. But I get only data for extratemp3. That's why I thought >>>> it must be something with weewx. >>>> >>>> nedelja, 22. december 2024 ob 19:49:41 UTC+1 je oseba Tom Keffer >>>> napisala: >>>> >>>>> Check with the author of the skin. Which graphs to include is decided >>>>> by the skin, not by weewx. >>>>> >>>>> On Sun, Dec 22, 2024 at 1:56 AM hajsek...@gmail.com < >>>>> hajsek...@gmail.com> wrote: >>>>> >>>>>> I have turned around all files but still can't find what is missing >>>>>> also mysql tables are all in. >>>>>> I just like to add a graph 4 and humidity graphs for all four >>>>>> sensors. at the bottom is JUD instead of graph. >>>>>> https://vreme.povej.net/ >>>>>> >>>>>> [image: 2024-12-22 10_55_48-please - Iskanje Google – Mozilla >>>>>> Firefox.png] >>>>>> sreda, 11. december 2024 ob 20:10:54 UTC+1 je oseba >>>>>> hajsek...@gmail.com napisala: >>>>>> >>>>>>> Can someone please help me please and tell me which file I need to >>>>>>> edit to add extraTemp sensor to get graph? Two works but third doesn't >>>>>>> show >>>>>>> up. >>>>>>> Thank you >>>>>>> >>>>>>> ponedeljek, 2. december 2024 ob 18:19:51 UTC+1 je oseba >>>>>>> hajsek...@gmail.com napisala: >>>>>>> >>>>>>>> I have managed to add all what was missing in mysql not it work. It >>>>>>>> didn't worked when weewx create all new tables. But just cant get a >>>>>>>> graph >>>>>>>> to work, what else I miss here? http://vreme.povej.net >>>>>>>> at the bottom is all mixed instead of graphs? >>>>>>>> >>>>>>>> četrtek, 28. november 2024 ob 13:59:27 UTC+1 je oseba >>>>>>>> hajsek...@gmail.com napisala: >>>>>>>> >>>>>>>>> this is what I now get in log. >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: Caught >>>>>>>>> unrecoverable exception: >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> (1050, "Table 'archive_day_altimeter' already exists") >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> Traceback (most recent call last): >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/share/weewx/weedb/mysql.py", line 53, in guarded_fn >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> return fn(*args, **kwargs) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/share/weewx/weedb/mysql.py", line 247, in execute >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> self.cursor.execute(mysql_string, tuple(sql_tuple)) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/lib/python3.6/site-packages/pymysql/cursors.py", line >>>>>>>>> 163, in >>>>>>>>> execute >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> result = self._query(query) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/lib/python3.6/site-packages/pymysql/cursors.py", line >>>>>>>>> 321, in >>>>>>>>> _query >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> conn.query(q) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line >>>>>>>>> 505, >>>>>>>>> in query >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> self._affected_rows = self._read_query_result(unbuffered=unbuffered) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line >>>>>>>>> 724, >>>>>>>>> in _read_query_result >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> result.read() >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line >>>>>>>>> 1069, >>>>>>>>> in read >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> first_packet = self.connection._read_packet() >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line >>>>>>>>> 676, >>>>>>>>> in _read_packet >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> packet.raise_for_error() >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/lib/python3.6/site-packages/pymysql/protocol.py", line >>>>>>>>> 223, in >>>>>>>>> raise_for_error >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> err.raise_mysql_exception(self._data) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/lib/python3.6/site-packages/pymysql/err.py", line 107, in >>>>>>>>> raise_mysql_exception >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> raise errorclass(errno, errval) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> pymysql.err.OperationalError: (1050, "Table 'archive_day_altimeter' >>>>>>>>> already exists") >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> During handling of the above exception, another exception occurred: >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> Traceback (most recent call last): >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/share/weewx/weewxd.py", line 160, in main >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> engine = weewx.engine.StdEngine(config_dict) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/share/weewx/weewx/engine.py", line 89, in __init__ >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> self.loadServices(config_dict) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/share/weewx/weewx/engine.py", line 157, in loadServices >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> obj = weeutil.weeutil.get_object(svc)(self, config_dict) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/share/weewx/weewx/wxservices.py", line 104, in __init__ >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> initialize=True) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/share/weewx/weewx/manager.py", line 755, in get_manager >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> self.manager_cache[data_binding] = open_manager(manager_dict, >>>>>>>>> initialize) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/share/weewx/weewx/manager.py", line 906, in open_manager >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> manager_dict['schema']) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/share/weewx/weewx/manager.py", line 244, in >>>>>>>>> open_with_create >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> dbmanager = cls(connection, table_name=table_name, schema=schema) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/share/weewx/weewx/manager.py", line 1051, in __init__ >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> self._initialize_day_tables(schema) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/share/weewx/weewx/manager.py", line 1113, in >>>>>>>>> _initialize_day_tables >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> self._initialize_day_table(obs[0], obs[1].lower(), cursor) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/share/weewx/weewx/manager.py", line 1136, in >>>>>>>>> _initialize_day_table >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> cursor.execute(sql_create_str) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> File "/usr/share/weewx/weedb/mysql.py", line 62, in guarded_fn >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> raise klass(e) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> weedb.TableExistsError: (1050, "Table 'archive_day_altimeter' >>>>>>>>> already >>>>>>>>> exists") >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: CRITICAL __main__: **** >>>>>>>>> Exiting. >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: Traceback (most recent call >>>>>>>>> last): >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/share/weewx/weedb/mysql.py", line 53, in guarded_fn >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: return fn(*args, **kwargs) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/share/weewx/weedb/mysql.py", line 247, in execute >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: >>>>>>>>> self.cursor.execute(mysql_string, tuple(sql_tuple)) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/lib/python3.6/site-packages/pymysql/cursors.py", line 163, in >>>>>>>>> execute >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: result = self._query(query) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/lib/python3.6/site-packages/pymysql/cursors.py", line 321, in >>>>>>>>> _query >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: conn.query(q) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 505, >>>>>>>>> in >>>>>>>>> query >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: self._affected_rows = >>>>>>>>> self._read_query_result(unbuffered=unbuffered) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 724, >>>>>>>>> in >>>>>>>>> _read_query_result >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: result.read() >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 1069, >>>>>>>>> in >>>>>>>>> read >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: first_packet = >>>>>>>>> self.connection._read_packet() >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 676, >>>>>>>>> in >>>>>>>>> _read_packet >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: packet.raise_for_error() >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/lib/python3.6/site-packages/pymysql/protocol.py", line 223, in >>>>>>>>> raise_for_error >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: >>>>>>>>> err.raise_mysql_exception(self._data) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/lib/python3.6/site-packages/pymysql/err.py", line 107, in >>>>>>>>> raise_mysql_exception >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: raise errorclass(errno, >>>>>>>>> errval) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: pymysql.err.OperationalError: >>>>>>>>> (1050, "Table 'archive_day_altimeter' already exists") >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: During handling of the above >>>>>>>>> exception, another exception occurred: >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: Traceback (most recent call >>>>>>>>> last): >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/share/weewx/weewxd.py", line 265, in <module> >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: main() >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/share/weewx/weewxd.py", line 160, in main >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: engine = >>>>>>>>> weewx.engine.StdEngine(config_dict) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/share/weewx/weewx/engine.py", line 89, in __init__ >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: self.loadServices(config_dict) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/share/weewx/weewx/engine.py", line 157, in loadServices >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: obj = >>>>>>>>> weeutil.weeutil.get_object(svc)(self, config_dict) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/share/weewx/weewx/wxservices.py", line 104, in __init__ >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: initialize=True) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/share/weewx/weewx/manager.py", line 755, in get_manager >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: >>>>>>>>> self.manager_cache[data_binding] = open_manager(manager_dict, >>>>>>>>> initialize) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/share/weewx/weewx/manager.py", line 906, in open_manager >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: manager_dict['schema']) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/share/weewx/weewx/manager.py", line 244, in open_with_create >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: dbmanager = cls(connection, >>>>>>>>> table_name=table_name, schema=schema) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/share/weewx/weewx/manager.py", line 1051, in __init__ >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: >>>>>>>>> self._initialize_day_tables(schema) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/share/weewx/weewx/manager.py", line 1113, in >>>>>>>>> _initialize_day_tables >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: >>>>>>>>> self._initialize_day_table(obs[0], obs[1].lower(), cursor) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/share/weewx/weewx/manager.py", line 1136, in >>>>>>>>> _initialize_day_table >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: cursor.execute(sql_create_str) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: File >>>>>>>>> "/usr/share/weewx/weedb/mysql.py", line 62, in guarded_fn >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: raise klass(e) >>>>>>>>> Nov 28 13:58:17 web weewxd[3684]: weedb.TableExistsError: (1050, >>>>>>>>> "Table 'archive_day_altimeter' already exists") >>>>>>>>> Nov 28 13:58:17 web systemd[1]: weewx.service: Main process >>>>>>>>> exited, code=exited, status=1/FAILURE >>>>>>>>> Nov 28 13:58:17 web systemd[1]: weewx.service: Failed with result >>>>>>>>> 'exit-code'. >>>>>>>>> Nov 28 13:58:20 web systemd[1]: libvirtd.service: Succeeded. >>>>>>>>> >>>>>>>>> sreda, 27. november 2024 ob 18:09:49 UTC+1 je oseba vince napisala: >>>>>>>>> >>>>>>>>>> Your 'Supported SQL keys' output from weectl debug does not have >>>>>>>>>> a extraTemp4 element in the database. It looks to me like you are >>>>>>>>>> trying >>>>>>>>>> to use an older weewx v3 wview-compatible database that only has 50 >>>>>>>>>> or so >>>>>>>>>> elements rather than the current wview-extended schema that has 110 >>>>>>>>>> or so >>>>>>>>>> elements in it. A normal output would look like: >>>>>>>>>> >>>>>>>>>> Supported SQL keys >>>>>>>>>> dateTime usUnits interval >>>>>>>>>> altimeter appTemp appTemp1 >>>>>>>>>> barometer batteryStatus1 >>>>>>>>>> batteryStatus2 >>>>>>>>>> batteryStatus3 batteryStatus4 >>>>>>>>>> batteryStatus5 >>>>>>>>>> batteryStatus6 batteryStatus7 >>>>>>>>>> batteryStatus8 >>>>>>>>>> cloudbase co co2 >>>>>>>>>> consBatteryVoltage dewpoint dewpoint1 >>>>>>>>>> ET extraHumid1 extraHumid2 >>>>>>>>>> extraHumid3 extraHumid4 extraHumid5 >>>>>>>>>> extraHumid6 extraHumid7 extraHumid8 >>>>>>>>>> extraTemp1 extraTemp2 extraTemp3 >>>>>>>>>> extraTemp4 extraTemp5 extraTemp6 >>>>>>>>>> extraTemp7 extraTemp8 forecast >>>>>>>>>> hail hailBatteryStatus hailRate >>>>>>>>>> heatindex heatindex1 heatingTemp >>>>>>>>>> heatingVoltage humidex humidex1 >>>>>>>>>> inDewpoint inHumidity inTemp >>>>>>>>>> inTempBatteryStatus leafTemp1 leafTemp2 >>>>>>>>>> leafWet1 leafWet2 >>>>>>>>>> lightning_distance >>>>>>>>>> lightning_disturber_count lightning_energy >>>>>>>>>> lightning_noise_count >>>>>>>>>> lightning_strike_count luminosity maxSolarRad >>>>>>>>>> nh3 no2 noise >>>>>>>>>> o3 outHumidity outTemp >>>>>>>>>> outTempBatteryStatus pb pm10_0 >>>>>>>>>> pm1_0 pm2_5 pressure >>>>>>>>>> radiation rain >>>>>>>>>> rainBatteryStatus >>>>>>>>>> rainRate referenceVoltage >>>>>>>>>> rxCheckPercent >>>>>>>>>> signal1 signal2 signal3 >>>>>>>>>> signal4 signal5 signal6 >>>>>>>>>> signal7 signal8 snow >>>>>>>>>> snowBatteryStatus snowDepth snowMoisture >>>>>>>>>> snowRate so2 soilMoist1 >>>>>>>>>> soilMoist2 soilMoist3 soilMoist4 >>>>>>>>>> soilTemp1 soilTemp2 soilTemp3 >>>>>>>>>> soilTemp4 supplyVoltage >>>>>>>>>> txBatteryStatus >>>>>>>>>> UV uvBatteryStatus >>>>>>>>>> windBatteryStatus >>>>>>>>>> windchill windDir windGust >>>>>>>>>> windGustDir windrun windSpeed >>>>>>>>>> >>>>>>>>>> I would suggest stopping weewx, 'renaming' your existing >>>>>>>>>> database, then starting weewx again. That should create a new >>>>>>>>>> database >>>>>>>>>> with all the wview-extended schema elements I listed above. Maybe >>>>>>>>>> that >>>>>>>>>> will help. >>>>>>>>>> >>>>>>>>>> On Wednesday, November 27, 2024 at 7:17:49 AM UTC-8 Karen K wrote: >>>>>>>>>> >>>>>>>>>>> Unfortunately I do not know much about the interceptor driver. >>>>>>>>>>> There are other people around here who know more. >>>>>>>>>>> >>>>>>>>>>> There ist the section [[sensor_map_extensions]] in the driver >>>>>>>>>>> configuration section. You will have to add entries there to use >>>>>>>>>>> additional >>>>>>>>>>> sensors. They look like "weewx_obs_type_name = >>>>>>>>>>> ecowitt_sensor_name". Please >>>>>>>>>>> refer to the Interceptor driver documentation >>>>>>>>>>> <https://github.com/matthewwall/weewx-interceptor> for details. >>>>>>>>>>> >>>>>>>>>>> hajsek...@gmail.com schrieb am Sonntag, 24. November 2024 um >>>>>>>>>>> 11:33:37 UTC+1: >>>>>>>>>>> >>>>>>>>>>>> Thank you for your info. >>>>>>>>>>>> Driver is interceptor. Here is a weectl debug file >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> petek, 22. november 2024 ob 13:20:50 UTC+1 je oseba Karen K >>>>>>>>>>>> napisala: >>>>>>>>>>>> >>>>>>>>>>>>> It is more than before, but it is still not very much. >>>>>>>>>>>>> >>>>>>>>>>>>> weewx.conf is a long file, and "generic" can appear several >>>>>>>>>>>>> times there. So where you added this? Try "weectl debug" to >>>>>>>>>>>>> create an >>>>>>>>>>>>> overview about your environment as the documentation says. >>>>>>>>>>>>> >>>>>>>>>>>>> From what you posted I assume you NAMED the sensors, but did >>>>>>>>>>>>> not ADD them. >>>>>>>>>>>>> >>>>>>>>>>>>> It depends on the driver, and you did not say which one you >>>>>>>>>>>>> use. It is not enough to say it is an Ecowitt clone. Again, >>>>>>>>>>>>> "weectl debug" >>>>>>>>>>>>> would show the information needed to comment. >>>>>>>>>>>>> >>>>>>>>>>>>> Read Help! Posting to weewx user >>>>>>>>>>>>> <https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user> >>>>>>>>>>>>> before >>>>>>>>>>>>> you post. >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>> 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 weewx-user+...@googlegroups.com. >>>>>> To view this discussion visit >>>>>> https://groups.google.com/d/msgid/weewx-user/72699a50-3db4-41d4-a619-644fa5ae8d77n%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/weewx-user/72699a50-3db4-41d4-a619-644fa5ae8d77n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>> -- >> 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 weewx-user+...@googlegroups.com. >> >> To view this discussion visit >> https://groups.google.com/d/msgid/weewx-user/02ac30be-cbcf-4d9c-8acb-7fd8b69bfb88n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/02ac30be-cbcf-4d9c-8acb-7fd8b69bfb88n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> >> -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/e0e7c066-22c8-4ed0-98fb-bb6c94bd7136n%40googlegroups.com.