Hallo Harry, My apologies for the tardy reply, meant to come back to your post but forgot.
Oct 15 17:15:20 Rpb4 weewx[1672]: **** OSError: [Errno 2] Bestand of map bestaat niet: '/etc/weewx/skins/basic/INST_SKIN_ROOT/basic/current.inc' Judging by this error message it looks like Cheetah is having trouble finding some files for the basic skin. Perhaps when you had troubles installing the basic skin you ended up with a directory tree that is confusing WeeWX/Cheetah? Normally you would install the basic skin from the examples directory shipped with WeeWX. I see you installed WeeWX via a package so that will change the location of the examples directory, that is quite likely why you could not install it earlier. I suggest you cut your losses on your current basic skin install and try to re-install. Try the following: 1. First let's get rid of your existing basic skin install: $ sudo rm -rf /etc/weewx/skins/basic 2. Try re-installing the basic skin using the wee_extension utility: $ /usr/share/weewx/wee_extension --install=/usr/share/doc/weewx/examples/ basic 3. If no errors restart WeeWX: $ sudo /etc/init.d/weewx restart See how that goes. If you get any errors performing any of the above commands or in the log please post the exact commands used and the response, take a copy of the console output and post it rather than summarising/retyping. Now for the second part of your post: I want to have temp4 in graph how do i update that this shoes in index.html with shorter context like temp1-temp2-temp3-temp4 > > made extra temp4 in weewx.conf > > I am not sure exactly what you mean. When you refer to temp1, temp2, temp3 and temp4 do you mean extraTemp1, extraTemp2, extraTemp3 and extraTemp4? If so before you can plot extraTemp4 you will need to include in it the database schema (WeeWX ships with only extraTemp1, extraTemp2 and extraTemp3 in the database schema) . You can add extraTemp4 to the database schema by following these instructions <http://weewx.com/docs/customizing.htm#add_archive_type> in the Customization Guide <http://weewx.com/docs/customizing.htm>. I strongly suggest you make sure you backup your database and weewx.conf before attempting this.If in fact you did mean temp1, temp2, temp3 and temp4 then you will need to have all of these fields in the database schema before you can plot them. The process for adding is the same as for extraTemp4, just there are more of them and they have different names. Once you database schema includes the additional fields and provided they are being filled with data you can easily go ahead and plot them all on one plot by adding a new plot to the [ImageGenerator] stanza of the skin under which you want to create the plot. Refer to Plotting multiple observations <http://weewx.com/docs/customizing.htm#Plotting_multiple_observations> in the Customization Guide though you will also find similar examples in the Standard and Seasons skins skin.conf files. If I have misunderstood your question please correct me. Gary On Wednesday, 16 October 2019 01:47:56 UTC+10, Harry Nieuwdorp wrote: > > Hallo Garry, > > Sorry for late reaction, but i was one week to Italy. > Problems solved. basic and xstats are running now and show in html. sudo > did the trick. > i have still some strange /var//log/messages: > > Oct 15 17:15:18 Rpb4 weewx[1672]: manager: Added record 2019-10-15 17:15:00 > CEST (1571152500) to daily summary in 'weewx.sdb' > Oct 15 17:15:19 Rpb4 weewx[1672]: restx: PWSWeather: Published record > 2019-10-15 17:15:00 CEST (1571152500) > Oct 15 17:15:19 Rpb4 weewx[1672]: cheetahgenerator: Generated 8 files for > report SeasonsReport in 0.77 seconds > Oct 15 17:15:19 Rpb4 weewx[1672]: restx: AWEKAS: Published record 2019-10-15 > 17:15:00 CEST (1571152500) > Oct 15 17:15:20 Rpb4 weewx[1672]: imagegenerator: Generated 14 images for > SeasonsReport in 0.53 seconds > Oct 15 17:15:20 Rpb4 weewx[1672]: copygenerator: copied 0 files to > /var/www/html/weewx > Oct 15 17:15:20 Rpb4 weewx[1672]: **** Traceback (most recent call last): > Oct 15 17:15:20 Rpb4 weewx[1672]: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate > Oct 15 17:15:20 Rpb4 weewx[1672]: **** fd.write(str(compiled_template)) > Oct 15 17:15:20 Rpb4 weewx[1672]: **** File > "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1045, in __str__ > Oct 15 17:15:20 Rpb4 weewx[1672]: **** rc = getattr(self, mainMethName)() > Oct 15 17:15:20 Rpb4 weewx[1672]: **** File > "_etc_weewx_skins_basic_index_html_tmpl.py", line 165, in respond > Oct 15 17:15:20 Rpb4 weewx[1672]: **** File > "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1685, in > _handleCheetahInclude > Oct 15 17:15:20 Rpb4 weewx[1672]: **** file=file) > Oct 15 17:15:20 Rpb4 weewx[1672]: **** File > "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 738, in compile > Oct 15 17:15:20 Rpb4 weewx[1672]: **** fileHash += > str(os.path.getmtime(file)) > Oct 15 17:15:20 Rpb4 weewx[1672]: **** File > "/usr/lib/python2.7/genericpath.py", line 62, in getmtime > Oct 15 17:15:20 Rpb4 weewx[1672]: **** return os.stat(filename).st_mtime > Oct 15 17:15:20 Rpb4 weewx[1672]: **** OSError: [Errno 2] Bestand of map > bestaat niet: '/etc/weewx/skins/basic/INST_SKIN_ROOT/basic/current.inc' > Oct 15 17:15:20 Rpb4 weewx[1672]: cheetahgenerator: Generated 0 files for > report basic in 0.06 seconds > Oct 15 17:15:20 Rpb4 weewx[1672]: imagegenerator: Generated 10 images for > basic in 0.40 seconds > Oct 15 17:15:20 Rpb4 weewx[1672]: copygenerator: copied 0 files to > /var/www/html/weewx/basic > Oct 15 17:15:20 Rpb4 weewx[1672]: cheetahgenerator: Generated 6 files for > report SmartphoneReport in 0.05 seconds > Oct 15 17:15:20 Rpb4 weewx[1672]: imagegenerator: Generated 6 images for > SmartphoneReport in 0.27 seconds > Oct 15 17:15:20 Rpb4 weewx[1672]: copygenerator: copied 0 files to > /var/www/html/weewx/smartphone > Oct 15 17:15:20 Rpb4 weewx[1672]: cheetahgenerator: Generated 1 files for > report MobileReport in 0.02 seconds > Oct 15 17:15:21 Rpb4 weewx[1672]: imagegenerator: Generated 4 images for > MobileReport in 0.15 seconds > Oct 15 17:15:21 Rpb4 weewx[1672]: copygenerator: copied 0 files to > /var/www/html/weewx/mobile > Oct 15 17:15:22 Rpb4 weewx[1672]: rsyncupload: rsync executed in 1.23 seconds > Oct 15 17:15:39 Rpb4 kernel: [ 694.346111] usb 1-1.1: usbfs: process 1672 > (python) did not claim interface 0 before use > Oct 15 17:15:42 Rpb4 kernel: [ 697.350116] usb 1-1.1: usbfs: process 1672 > (python) did not claim interface 0 before use > Oct 15 17:16:13 Rpb4 kernel: [ 728.958770] usb 1-1.1: usbfs: process 1672 > (python) did not claim interface 0 before use > Oct 15 17:16:16 Rpb4 kernel: [ 731.962514] usb 1-1.1: usbfs: process 1672 > (python) did not claim interface 0 before use > Oct 15 17:16:47 Rpb4 kernel: [ 762.834099] usb 1-1.1: usbfs: process 1672 > (python) did not claim interface 0 before use > Oct 15 17:16:50 Rpb4 kernel: [ 765.837852] usb 1-1.1: usbfs: process 1672 > (python) did not claim interface 0 before use > Oct 15 17:16:53 Rpb4 kernel: [ 768.839277] usb 1-1.1: usbfs: process 1672 > (python) did not claim interface 0 before use > Oct 15 17:17:25 Rpb4 kernel: [ 800.342602] usb 1-1.1: usbfs: process 1672 > (python) did not claim interface 0 before use > Oct 15 17:17:28 Rpb4 kernel: [ 803.346337] usb 1-1.1: usbfs: process 1672 > (python) did not claim interface 0 before use > Oct 15 17:17:59 Rpb4 kernel: [ 834.342858] usb 1-1.1: usbfs: process 1672 > (python) did not claim interface 0 before use > Oct 15 17:18:02 Rpb4 kernel: [ 837.344433] usb 1-1.1: usbfs: process 1672 > (python) did not claim interface 0 before use > Oct 15 17:18:05 Rpb4 kernel: [ 840.348268] usb 1-1.1: usbfs: process 1672 > (python) did not claim interface 0 before use > Oct 15 17:18:36 Rpb4 kernel: [ 871.835777] usb 1-1.1: usbfs: process 1672 > (python) did not claim interface 0 before use > Oct 15 17:18:39 Rpb4 kernel: [ 874.839909] usb 1-1.1: usbfs: process 1672 > (python) did not claim interface 0 before use > > > I want to have temp4 in graph how do i update that this shoes in index.html > with shorter context like temp1-temp2-temp3-temp4 > > made extra temp4 in weewx.conf > > > Regards Harry de PE1IAA > > > Op woensdag 2 oktober 2019 03:24:02 UTC+2 schreef gjr80: >> >> Hi, >> >> Comments below: >> >> Gary >> >> On Wednesday, 2 October 2019 03:50:12 UTC+10, Harry Nieuwdorp wrote: >>> >>> 1- Command not found. Made directories myself. >>> home/pi/Weewx/Examples and home//pi/Weewx/Skins >>> >> >> The ls command was not found? Odd. Could you please post screen (text) >> captures showing the exact command entered and the exact response. Makes it >> much easier for us to diagnose and give you help so we don't waste both >> your time and ours. >> >> >>> 2- Command Nano works but is difficult to handle. I prefer Text editor. >>> >> >> You can use whatever editor you are comfortable with (as long as it is a >> text editor). The main point here was to run your editor with elevated >> privileges rather than as (the unprivileged) user pi. >> >> >>> Weewx is running with weewxd weewx1.conf (weewx1.conf in /home/pi/ >>> directory.) >>> Running on Raspberry 4 with 4 gb >>> installed with .rpm >>> Installations using .deb or .rpm >>> >>> Now consider the case where weewx was installed from a .deb or .rpm >>> package. In this case, the following are equivalent: >>> >>> /usr/share/weewx/weewxd /etc/weewx/weewx.conf >>> cd /usr/share/weewx >>> >>> ./weewxd /etc/weewx/weewx.conf >>> >>> weewxd /etc/weewx/weewx.conf >>> >>> >> I am not sure from this whether WeeWX is running as you want (with the >> extension installed from your first post). If it is that is good, but just >> a word or warning. WeeWX will run quite happily with a config file named >> something other than weewx.conf and located somewhere other than >> /home/weewx or /etc/weewx, but if you don't keep your wits about you can >> easily end up with multiple config files and you may edit or use the wrong >> one and wonder why changes don't work. >> >> > -- 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/7a9cd52a-ffdf-4779-b41d-032507765e37%40googlegroups.com.
