$ ls -ail home/pi/Weewx/Examples/basic$ sudo chmod 777 /home/weewx/weewx.conf$ sudo nano /home/weewx/weewx.confNow 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.conf1- Command not found. Made directories myself.home/pi/Weewx/Examples and home//pi/Weewx/Skins
2- Command Nano works but is difficult to handle. I prefer Text editor.
Weewx is running with weewxd weewx1.conf (weewx1.conf in /home/pi/ directory.)Running on Raspberry 4 with 4 gbinstalled with .rpmInstallations 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.confcd /usr/share/weewx ./weewxd /etc/weewx/weewx.conf weewxd /etc/weewx/weewx.conf
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
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'
$ sudo rm -rf /etc/weewx/skins/basic$ /usr/share/weewx/wee_extension --install=/usr/share/doc/weewx/examples/basic$ sudo /etc/init.d/weewx restartI want to have temp4 in graph how do i update that this shoes in index.html with shorter context like temp1-temp2-temp3-temp4made extra temp4 in weewx.conf
$ sudo /usr/share/weewx/wee_extension --install=/usr/share/doc/weewx/examples/basic