Re: [weewx-user] Re: OWFS & PI4
I'd say they will be overwritten on the next upgrade. As it's Debian at heart there is a method to lock a package version (search for : debian lock package version ) and prevent upgrades but the problem still exists in that other upgrades and their dependencies, eg weewx's eventual move from python2.7 to python3 , may no longer work with those packages. Further to the above: Recapping for my own benefit and future searches, because the issue is not fully resolved yet. Reviewing the previous links in this thread and dredging up my memories of the original event that started the move to owserver, a quick summary is... As you note, python-ow 3-xxx on Debian Raspian (perhaps others) is broken. This causes upgrades and new installs of weewx and weewx-owfs to fail. Reverting to a 2.xxx version restores the installation and everything works again. Howard Walter was burnt by this, confirmed it was a python-ow problem, and took that to the owfs list. The developers there responded that as it was with the python-ow package and that the build relied on the swig bindings, which were no longer being supported upstream, a fix was not worth the effort. Understandable as abandonware is by definition unsupported. They suggested the owserver installation method to allow python-ow to work, not only as it had before but via the preferred method of communicating directly with a running owserver. The suggestion was also made to stop using python-ow altogether (more on that later). The method provided by the developers on the owfs list, and proved by Howard, works with owserver and, I'm assuming?, python-ow 3xx. Howard posted his working method to the weewx list. However, going by your recent problem, It appears that besides python-ow 3x still being broken, that the installation of owserver, under systemd? on Debian Buster (Raspian) is also broken. There doesn't appear to be a solution for the new owserver problem as the post I referred to previously said it just "comes good after awhile". Good for the Original Poster, but not a fix that's portable :-) https://sourceforge.net/p/owfs/mailman/owfs-developers/thread/8b89c145-3f72-6b2b-d992-36f1666a52d6%40kky.zcu.cz/#msg36719234 It seems like it's possibly a systemd problem but I don't have a Buster install, nor the time to do one and test it. My weewx installation here uses init.d, owserver and ownet (pyownet). It doesn't use python-ow, instead it uses a modified version of Mathew Walls owfs.py script. That modified script is no secret, it can be made available if required but you need a working owserver, and while the python-ow binding method still works it is not necessary. On 20/07/2019, vigilancewx wrote: > Hi > > Just tried this method and it has worked on 3 separate installs > > one question when i update or upgrade the pi will it over write these > files?? causing it to fail again > > > > > On Thursday, July 18, 2019 at 8:55:42 AM UTC+1, vigilancewx wrote: >> >> I have used OWFS service for a few years and its worked flawlessly >> >> I am trying to get it to work on a new PI4 but i cant get to read any >> sensors >> >> >> I have followed the owfs service installation guide as in the past >> >> >> >> >> pi@raspberrypi:~/Myideas $ sudo PYTHONPATH=/home/weewx/bin python >> /home/weewx/bin/user/owfs.py --sensors >> Traceback (most recent call last): >> File "/home/weewx/bin/user/owfs.py", line 618, in >> main() >> File "/home/weewx/bin/user/owfs.py", line 578, in main >> ow.init(iface) >> File "/usr/lib/python2.7/dist-packages/ow/__init__.py", line 221, in >> init >> raise exNoController >> ow.exNoController >> >> Previously i think the only time i have had the above error is when i >> have forgotten to plug the dalas adapter in to a USB port >> >> it appears the service cant read my usb port >> >> from the syslog file >> Jul 18 08:29:44 raspberrypi OWFS[3132]: DEFAULT: owlib.c:(208) Cannot open >> >> USB bus master >> Jul 18 08:29:44 raspberrypi OWFS[3132]: DEFAULT: owlib.c:(52) No valid >> 1-wire buses found >> >> but the device is connected >> >> >> pi@raspberrypi:~/Myideas $ lsusb >> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub >> Bus 001 Device 003: ID 04fa:2490 Dallas Semiconductor DS1490F 2-in-1 Fob, >> >> 1-Wire adapter >> Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub >> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> pi@raspberrypi:~/Myideas $ >> >> >> any ideas how to read the senors?? >> >> thanks for any help >> >> >> > > -- > 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 on the web visit > https://groups.google.com/d/msgid/weewx-user/61e04a56-7e35-4029-81f4-2440defe6107%40googlegroups.com. > -- Cheers Glenn
[weewx-user] Re: SFTP on WeeWX
this is how SFTP looks like under stdreport at first installation. The password is written in quotes, do I have to delete these quotes and let password = replace_me or password = 'replace_me' or password =' "replace_me" ' ? [[sftp]] server = replace with the sftp server name user = replace_me skin = sftp path = replace with the sftp destination path password = '"replace_me"' port = 22 Anyway the log file is similar as posted this morning. I can see that SFTP connects to server but cannot finish the work due to same error code above posted El viernes, 19 de julio de 2019, 11:00:22 (UTC+2), gjr80 escribió: > > Hi, > > Looks like an invalid path may have been specified. A bit more log will > help. Can you edit weewx.conf, set debug = 1, save weewx.conf and then > restart WeeWX. Let WeeWX run for at least 10 minutes and then post the log > from when you restarted WeeWX covering the full 10 minutes; don’t truncate > the start of the log, this shows a lot of config info. Would also help to > see your [[SFTP]] stanza under [StdReport] in weewx.conf. Just make sure > you remove any passwords or other sensitive info before posting. > > Gary -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/ba0d7aae-e563-4f1d-9ac5-8fda069ebc5f%40googlegroups.com.
[weewx-user] Re: weewxaverage extension
Hi Phil, If you right click on the page using Chrome you can inspect the page. Then under console it will show you that you have a javascript 404 error. The file missing is json/averages.json. I would start by check the server to see if that file is there and in the correct directory. Thanks Jerry On Friday, July 19, 2019 at 12:30:30 PM UTC-7, Phil Owers wrote: > > Hi All > > I had trouble with the average extension back end of last year and thanks > to Gary he put me right. I'm changing over to a new server and I'm having > trouble again > > The old is on http://www.sheringhamweather.org.uk/averages.html and > works. > > The new looks to be set up the same but the graph is empty. Ive look > through VIEW SOURCE on edge or View Page Source on Firefox and admittedly > my understanding of it is limited but it looks similar as the files look > the same. > You can look at this at > http://www.sheringhamukweather.org.uk/averages.html > > The problem is the same what ever browser I use and I have deleted the > browsing history as Ive had problems with that especially if I change an > icon on the forecast. > > Any help would be appreciated Thanks Phil > -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/ea26fbd9-7bba-42a1-9cdc-1af406a76641%40googlegroups.com.
[weewx-user] Re: CWOP and APRS
sudo nano /home/weewx/weewx.conf Depending how you installed weewx, you might need to change the file path On Friday, July 19, 2019 at 3:10:07 PM UTC-4, Charles Adams wrote: > What is the syntax to edit? I know you cant edit directly, or at least > it will not let me here. > > On Friday, July 19, 2019 at 2:43:36 PM UTC-4, rich T wrote: >> >> Glad to see you have it up and running. If you mean what "file", it is >> configured in the weewx.conf. Once you edit the file, don't forget to >> restart weewx. >> >> On Friday, July 19, 2019 at 2:39:55 PM UTC-4, Charles Adams wrote: >>> >>> I have my AycRite 01536 up and running. I am trying to find where I >>> configure my CWOP data for APRS? >>> I think from what I have read that you use the CWOP and sign in with >>> your Call and APRS.IS password. But not sure. >>> Thanks for your help in advanced. >>> Randy NT8N >>> >>> -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/cccb1d9c-b5e7-4c64-9d38-397c6f7719c2%40googlegroups.com.
[weewx-user] weewxaverage extension
Hi All I had trouble with the average extension back end of last year and thanks to Gary he put me right. I'm changing over to a new server and I'm having trouble again The old is on http://www.sheringhamweather.org.uk/averages.html and works. The new looks to be set up the same but the graph is empty. Ive look through VIEW SOURCE on edge or View Page Source on Firefox and admittedly my understanding of it is limited but it looks similar as the files look the same. You can look at this at http://www.sheringhamukweather.org.uk/averages.html The problem is the same what ever browser I use and I have deleted the browsing history as Ive had problems with that especially if I change an icon on the forecast. Any help would be appreciated Thanks Phil -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/f8a02076-8f5d-44aa-aff9-b6365647d617%40googlegroups.com.
[weewx-user] Re: CWOP and APRS
What is the syntax to edit? I know you cant edit directly, or at least it will not let me here. On Friday, July 19, 2019 at 2:43:36 PM UTC-4, rich T wrote: > > Glad to see you have it up and running. If you mean what "file", it is > configured in the weewx.conf. Once you edit the file, don't forget to > restart weewx. > > On Friday, July 19, 2019 at 2:39:55 PM UTC-4, Charles Adams wrote: >> >> I have my AycRite 01536 up and running. I am trying to find where I >> configure my CWOP data for APRS? >> I think from what I have read that you use the CWOP and sign in with your >> Call and APRS.IS password. But not sure. >> Thanks for your help in advanced. >> Randy NT8N >> >> -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/83fec2d1-873f-44d9-9d16-e24a0ad7df23%40googlegroups.com.
[weewx-user] Re: CWOP and APRS
Glad to see you have it up and running. If you mean what "file", it is configured in the weewx.conf. Once you edit the file, don't forget to restart weewx. On Friday, July 19, 2019 at 2:39:55 PM UTC-4, Charles Adams wrote: > > I have my AycRite 01536 up and running. I am trying to find where I > configure my CWOP data for APRS? > I think from what I have read that you use the CWOP and sign in with your > Call and APRS.IS password. But not sure. > Thanks for your help in advanced. > Randy NT8N > > -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/ea8a576d-57e2-4c8e-8b7f-cd2280930856%40googlegroups.com.
[weewx-user] CWOP and APRS
I have my AycRite 01536 up and running. I am trying to find where I configure my CWOP data for APRS? I think from what I have read that you use the CWOP and sign in with your Call and APRS.IS password. But not sure. Thanks for your help in advanced. Randy NT8N -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/5801abd5-9819-4bc6-a9b6-5d883bc3a8f5%40googlegroups.com.
[weewx-user] Re: AcuRite Drive 01536
it is working now , Reading the AucRite 01536 I can go to the local web page and all information is there. I still get the stale data message on system log but all data is there on the page. I am now going to connect it to ARPS.is will keep everyone updated Thanks everyone for your help. On Thursday, July 18, 2019 at 3:47:51 PM UTC-4, Charles Adams wrote: > > I have an Acurite 01536 and can't find the driver for it. I have Weewx > installed on a Raspberry PI and it is running but not getting any data at > all. > I can not find anything on the web as to how to set up the AcuRite with > Weewx. > Can someone please help > Randy > -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/217db90e-51bd-454e-bf15-d4f9a4ea880d%40googlegroups.com.
[weewx-user] Re: AcuRite Drive 01536
If you look at the Console mostly you don't have any bars, if possible move the Console. I get that once in a while. On Friday, July 19, 2019 at 11:22:53 AM UTC-4, Charles Adams wrote: > > I am looking at the syslog and I see > acurite: R1: ignoring stale data (rssi indicates no communications form > sensors): 01 c5 47 78 00 2a 26 48 00 00 > > > On Friday, July 19, 2019 at 9:48:21 AM UTC-4, rich T wrote: >> >> In weewx.conf, set the debug to "1" and restart weewx. >> >> Watch the syslog, after approx. 5 minutes you should see records being >> added to the database. After 5 minutes you be able to see the data. >> >> p...@raspberrypi:~ $ sudo tail -f /var/log/syslog >> >> Jul 19 09:35:11 raspberrypi weewx[533]: acurite: next read in 18 seconds >> Jul 19 09:35:29 raspberrypi weewx[533]: acurite: Found station at bus= >> device= >> Jul 19 09:35:29 raspberrypi weewx[533]: manager: Added record 2019-07-19 >> 09:35:00 EDT (1563543300) to database 'weewx.sdb' >> Jul 19 09:35:29 raspberrypi weewx[533]: manager: Added record 2019-07-19 >> 09:35:00 EDT (1563543300) to daily summary in 'weewx.sdb' >> Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Running reports for >> latest time in the database. >> Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Report >> 'SeasonsReport' not enabled. Skipping. >> Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Report >> 'SmartphoneReport' not enabled. Skipping. >> Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Report >> 'MobileReport' not enabled. Skipping. >> Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Report >> 'StandardReport' not enabled. Skipping. >> Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Running report >> 'Belchertown' >> Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Found configuration >> file /home/weewx/skins/Belchertown/skin.conf for report 'Belchertown' >> Jul 19 09:35:30 raspberrypi weewx[533]: cheetahgenerator: using search >> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', >> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', >> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', >> 'user.belchertown.getData'] >> Jul 19 09:35:30 raspberrypi weewx[533]: acurite: Found station at bus= >> device= >> Jul 19 09:35:30 raspberrypi weewx[533]: acurite: next read in 18 seconds >> Jul 19 09:35:30 raspberrypi weewx[533]: manager: Daily summary version is >> 2.0 >> Jul 19 09:35:33 raspberrypi weewx[533]: cheetahgenerator: Generated 11 >> files for report Belchertown in 3.05 seconds >> Jul 19 09:35:33 raspberrypi weewx[533]: copygenerator: copied 3 files to >> /home/weewx/public_html >> Jul 19 09:35:33 raspberrypi weewx[533]: manager: Daily summary version is >> 2.0 >> Jul 19 09:35:35 raspberrypi weewx[533]: reportengine: Report 'FTP' not >> enabled. Skipping. >> Jul 19 09:35:35 raspberrypi weewx[533]: reportengine: Report 'RSYNC' not >> enabled. Skipping. >> Jul 19 09:35:48 raspberrypi weewx[533]: acurite: Found station at bus= >> device= >> Jul 19 09:35:48 raspberrypi weewx[533]: acurite: next read in 6 seconds >> Jul 19 09:35:54 raspberrypi weewx[533]: acurite: Found station at bus= >> device= >> Jul 19 09:35:54 raspberrypi weewx[533]: acurite: next read in 12 seconds >> >> >> >> On Friday, July 19, 2019 at 9:22:40 AM UTC-4, Charles Adams wrote: >> >>> I usually don’t have any problems with set up on the Pi but this thing, >>> yes >>> I uninstalled Weewx and reinstalled it. This time I got the config >>> screen. All went well. I went to check the data with the web browser and >>> the directory is not there. So there is no way the data can show up. >>> Any ideas? >> >> -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/899a2d7c-9933-4efe-974c-0a11753474ea%40googlegroups.com.
[weewx-user] Re: AcuRite Drive 01536
I am looking at the syslog and I see acurite: R1: ignoring stale data (rssi indicates no communications form sensors): 01 c5 47 78 00 2a 26 48 00 00 On Friday, July 19, 2019 at 9:48:21 AM UTC-4, rich T wrote: > > In weewx.conf, set the debug to "1" and restart weewx. > > Watch the syslog, after approx. 5 minutes you should see records being > added to the database. After 5 minutes you be able to see the data. > > p...@raspberrypi :~ $ sudo tail -f /var/log/syslog > > Jul 19 09:35:11 raspberrypi weewx[533]: acurite: next read in 18 seconds > Jul 19 09:35:29 raspberrypi weewx[533]: acurite: Found station at bus= > device= > Jul 19 09:35:29 raspberrypi weewx[533]: manager: Added record 2019-07-19 > 09:35:00 EDT (1563543300) to database 'weewx.sdb' > Jul 19 09:35:29 raspberrypi weewx[533]: manager: Added record 2019-07-19 > 09:35:00 EDT (1563543300) to daily summary in 'weewx.sdb' > Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Running reports for > latest time in the database. > Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Report > 'SeasonsReport' not enabled. Skipping. > Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Report > 'SmartphoneReport' not enabled. Skipping. > Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Report > 'MobileReport' not enabled. Skipping. > Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Report > 'StandardReport' not enabled. Skipping. > Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Running report > 'Belchertown' > Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Found configuration > file /home/weewx/skins/Belchertown/skin.conf for report 'Belchertown' > Jul 19 09:35:30 raspberrypi weewx[533]: cheetahgenerator: using search > list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', > 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', > 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', > 'user.belchertown.getData'] > Jul 19 09:35:30 raspberrypi weewx[533]: acurite: Found station at bus= > device= > Jul 19 09:35:30 raspberrypi weewx[533]: acurite: next read in 18 seconds > Jul 19 09:35:30 raspberrypi weewx[533]: manager: Daily summary version is > 2.0 > Jul 19 09:35:33 raspberrypi weewx[533]: cheetahgenerator: Generated 11 > files for report Belchertown in 3.05 seconds > Jul 19 09:35:33 raspberrypi weewx[533]: copygenerator: copied 3 files to > /home/weewx/public_html > Jul 19 09:35:33 raspberrypi weewx[533]: manager: Daily summary version is > 2.0 > Jul 19 09:35:35 raspberrypi weewx[533]: reportengine: Report 'FTP' not > enabled. Skipping. > Jul 19 09:35:35 raspberrypi weewx[533]: reportengine: Report 'RSYNC' not > enabled. Skipping. > Jul 19 09:35:48 raspberrypi weewx[533]: acurite: Found station at bus= > device= > Jul 19 09:35:48 raspberrypi weewx[533]: acurite: next read in 6 seconds > Jul 19 09:35:54 raspberrypi weewx[533]: acurite: Found station at bus= > device= > Jul 19 09:35:54 raspberrypi weewx[533]: acurite: next read in 12 seconds > > > > On Friday, July 19, 2019 at 9:22:40 AM UTC-4, Charles Adams wrote: > >> I usually don’t have any problems with set up on the Pi but this thing, >> yes >> I uninstalled Weewx and reinstalled it. This time I got the config >> screen. All went well. I went to check the data with the web browser and >> the directory is not there. So there is no way the data can show up. >> Any ideas? > > -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/6abdcaef-c4b4-425f-9cf5-dcb7d96592f4%40googlegroups.com.
[weewx-user] Re: OWFS & PI4
Hi Just tried this method and it has worked on 3 separate installs one question when i update or upgrade the pi will it over write these files?? causing it to fail again On Thursday, July 18, 2019 at 8:55:42 AM UTC+1, vigilancewx wrote: > > I have used OWFS service for a few years and its worked flawlessly > > I am trying to get it to work on a new PI4 but i cant get to read any > sensors > > > I have followed the owfs service installation guide as in the past > > > > > pi@raspberrypi:~/Myideas $ sudo PYTHONPATH=/home/weewx/bin python > /home/weewx/bin/user/owfs.py --sensors > Traceback (most recent call last): > File "/home/weewx/bin/user/owfs.py", line 618, in > main() > File "/home/weewx/bin/user/owfs.py", line 578, in main > ow.init(iface) > File "/usr/lib/python2.7/dist-packages/ow/__init__.py", line 221, in init > raise exNoController > ow.exNoController > > Previously i think the only time i have had the above error is when i > have forgotten to plug the dalas adapter in to a USB port > > it appears the service cant read my usb port > > from the syslog file > Jul 18 08:29:44 raspberrypi OWFS[3132]: DEFAULT: owlib.c:(208) Cannot open > USB bus master > Jul 18 08:29:44 raspberrypi OWFS[3132]: DEFAULT: owlib.c:(52) No valid > 1-wire buses found > > but the device is connected > > > pi@raspberrypi:~/Myideas $ lsusb > Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > Bus 001 Device 003: ID 04fa:2490 Dallas Semiconductor DS1490F 2-in-1 Fob, > 1-Wire adapter > Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > pi@raspberrypi:~/Myideas $ > > > any ideas how to read the senors?? > > thanks for any help > > > -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/61e04a56-7e35-4029-81f4-2440defe6107%40googlegroups.com.
[weewx-user] Re: SFTP on WeeWX
after debug = 1 this is the log (attached) El viernes, 19 de julio de 2019, 11:00:22 (UTC+2), gjr80 escribió: > > Hi, > > Looks like an invalid path may have been specified. A bit more log will > help. Can you edit weewx.conf, set debug = 1, save weewx.conf and then > restart WeeWX. Let WeeWX run for at least 10 minutes and then post the log > from when you restarted WeeWX covering the full 10 minutes; don’t truncate > the start of the log, this shows a lot of config info. Would also help to > see your [[SFTP]] stanza under [StdReport] in weewx.conf. Just make sure > you remove any passwords or other sensitive info before posting. > > Gary -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/f6ac1dcf-cc82-42dd-8523-36fce322c901%40googlegroups.com.
[weewx-user] Re: AcuRite Drive 01536
In weewx.conf, set the debug to "1" and restart weewx. Watch the syslog, after approx. 5 minutes you should see records being added to the database. After 5 minutes you be able to see the data. pi@raspberrypi:~ $ sudo tail -f /var/log/syslog Jul 19 09:35:11 raspberrypi weewx[533]: acurite: next read in 18 seconds Jul 19 09:35:29 raspberrypi weewx[533]: acurite: Found station at bus= device= Jul 19 09:35:29 raspberrypi weewx[533]: manager: Added record 2019-07-19 09:35:00 EDT (1563543300) to database 'weewx.sdb' Jul 19 09:35:29 raspberrypi weewx[533]: manager: Added record 2019-07-19 09:35:00 EDT (1563543300) to daily summary in 'weewx.sdb' Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Running reports for latest time in the database. Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Report 'SeasonsReport' not enabled. Skipping. Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Report 'SmartphoneReport' not enabled. Skipping. Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Report 'MobileReport' not enabled. Skipping. Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Report 'StandardReport' not enabled. Skipping. Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Running report 'Belchertown' Jul 19 09:35:30 raspberrypi weewx[533]: reportengine: Found configuration file /home/weewx/skins/Belchertown/skin.conf for report 'Belchertown' Jul 19 09:35:30 raspberrypi weewx[533]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'user.belchertown.getData'] Jul 19 09:35:30 raspberrypi weewx[533]: acurite: Found station at bus= device= Jul 19 09:35:30 raspberrypi weewx[533]: acurite: next read in 18 seconds Jul 19 09:35:30 raspberrypi weewx[533]: manager: Daily summary version is 2.0 Jul 19 09:35:33 raspberrypi weewx[533]: cheetahgenerator: Generated 11 files for report Belchertown in 3.05 seconds Jul 19 09:35:33 raspberrypi weewx[533]: copygenerator: copied 3 files to /home/weewx/public_html Jul 19 09:35:33 raspberrypi weewx[533]: manager: Daily summary version is 2.0 Jul 19 09:35:35 raspberrypi weewx[533]: reportengine: Report 'FTP' not enabled. Skipping. Jul 19 09:35:35 raspberrypi weewx[533]: reportengine: Report 'RSYNC' not enabled. Skipping. Jul 19 09:35:48 raspberrypi weewx[533]: acurite: Found station at bus= device= Jul 19 09:35:48 raspberrypi weewx[533]: acurite: next read in 6 seconds Jul 19 09:35:54 raspberrypi weewx[533]: acurite: Found station at bus= device= Jul 19 09:35:54 raspberrypi weewx[533]: acurite: next read in 12 seconds On Friday, July 19, 2019 at 9:22:40 AM UTC-4, Charles Adams wrote: > I usually don’t have any problems with set up on the Pi but this thing, > yes > I uninstalled Weewx and reinstalled it. This time I got the config screen. > All went well. I went to check the data with the web browser and the > directory is not there. So there is no way the data can show up. > Any ideas? -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/d0669624-922e-4a70-8f98-f2aeff9ca40a%40googlegroups.com.
[weewx-user] Re: AcuRite Drive 01536
I have to play stupid, because I really don't know, seems like I had to sudo something to create directory's in the beginning, but I did go right down the list on the steps in order and everything worked out right, My whole system is in a waterproof box at the base of the tower then I wifi to my house router. It's been about a year and had to reboot only one time for some reason. I know that don't help but maybe someone will jump in with an answer. Gary -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/48636e11-4a17-4a10-9857-a1961352bbc2%40googlegroups.com.
[weewx-user] Re: AcuRite Drive 01536
I usually don’t have any problems with set up on the Pi but this thing, yes I uninstalled Weewx and reinstalled it. This time I got the config screen. All went well. I went to check the data with the web browser and the directory is not there. So there is no way the data can show up. Any ideas? -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/5da2e159-3309-4fa8-a2db-c4ac811bc3f0%40googlegroups.com.
[weewx-user] Re: AcuRite Drive 01536
I have the same 01536 system, it has been running for a year now with no problems, All I done was throw the worthless Accurite hub out the window, went step by step on the Weewx setup for raspberry, and everything is working great. If I was setting up another I would have to follow instructions, not to geeky myself. XE3/N7NAT, Isla Mujeres, Mexico -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/7f7a1c0a-459a-4308-ba07-28dba50139ad%40googlegroups.com.
[weewx-user] Re: Weewx 3.9.2 Upgrade
Same here running Accurite system under Raspbian stretch, have not seen any problems in the last 12 hours anyway. > -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/d3f7d80d-41ee-4f41-8b5b-dff4215fd431%40googlegroups.com.
[weewx-user] Re: OWFS & PI4
OK I figured it out with your help something wrong with python-ow 3-xxx get a clean install with regards to 1 wire ie python-ow the idea is to install python-ow2.9 download the deb packages i copied them to my /var/cache/apt/archives/partia/ dont know if that matters and installed them works fine now sudo dpkg -i /var/cache/apt/archives/partial/libusb-0.1-4_0.1.12-25_armhf.deb sudo dpkg -i /var/cache/apt/archives/partial/owfs-common_2.9p8-6_all.deb sudo dpkg -i /var/cache/apt/archives/partial/libow-2.9-8__2.9p8-6_armhf.deb sudo dpkg -i /var/cache/apt/archives/partial/python-ow_2.9p8-6_armhf.deb sudo /home/weewx/bin/wee_extension --install weewx-owfs-0.21.tgz On Thursday, July 18, 2019 at 8:55:42 AM UTC+1, vigilancewx wrote: > I have used OWFS service for a few years and its worked flawlessly > > I am trying to get it to work on a new PI4 but i cant get to read any > sensors > > > I have followed the owfs service installation guide as in the past > > > > > pi@raspberrypi:~/Myideas $ sudo PYTHONPATH=/home/weewx/bin python > /home/weewx/bin/user/owfs.py --sensors > Traceback (most recent call last): > File "/home/weewx/bin/user/owfs.py", line 618, in > main() > File "/home/weewx/bin/user/owfs.py", line 578, in main > ow.init(iface) > File "/usr/lib/python2.7/dist-packages/ow/__init__.py", line 221, in init > raise exNoController > ow.exNoController > > Previously i think the only time i have had the above error is when i > have forgotten to plug the dalas adapter in to a USB port > > it appears the service cant read my usb port > > from the syslog file > Jul 18 08:29:44 raspberrypi OWFS[3132]: DEFAULT: owlib.c:(208) Cannot open > USB bus master > Jul 18 08:29:44 raspberrypi OWFS[3132]: DEFAULT: owlib.c:(52) No valid > 1-wire buses found > > but the device is connected > > > pi@raspberrypi:~/Myideas $ lsusb > Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > Bus 001 Device 003: ID 04fa:2490 Dallas Semiconductor DS1490F 2-in-1 Fob, > 1-Wire adapter > Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > pi@raspberrypi:~/Myideas $ > > > any ideas how to read the senors?? > > thanks for any help > > > -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/b09164a0-66ea-4a85-ae25-45455fc2bf4d%40googlegroups.com.
[weewx-user] Re: AcuRite Drive 01536
All you should need to do is connect the console to the RPI via USB cable. Configure the Acurite Console to use USB Mode 4. Select the Acurite driver when installing weewx. On Friday, July 19, 2019 at 6:38:59 AM UTC-4, Charles Adams wrote: > Yes it does. I just found out that for some reason the software did not > run the configuration program when installed. > I will run that today and see if that works. I really want to get this up > and running > I will be putting it on ARPS > > Randy NT8N > -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/2d11ebaa-0c27-4e46-aa71-1bd9263842c2%40googlegroups.com.
[weewx-user] Re: AcuRite Drive 01536
Yes it does. I just found out that for some reason the software did not run the configuration program when installed. I will run that today and see if that works. I really want to get this up and running I will be putting it on ARPS Randy NT8N -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/9d81c758-cf9a-43f1-9c67-fc66ebfd9aca%40googlegroups.com.
[weewx-user] Re: SFTP on WeeWX
Hi, Looks like an invalid path may have been specified. A bit more log will help. Can you edit weewx.conf, set debug = 1, save weewx.conf and then restart WeeWX. Let WeeWX run for at least 10 minutes and then post the log from when you restarted WeeWX covering the full 10 minutes; don’t truncate the start of the log, this shows a lot of config info. Would also help to see your [[SFTP]] stanza under [StdReport] in weewx.conf. Just make sure you remove any passwords or other sensitive info before posting. Gary -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/0ee6e807-a8ff-4dba-9e8f-0307c9efb585%40googlegroups.com.
[weewx-user] Re: SFTP on WeeWX
Jul 19 10:35:32 raspberrypi weewx[19541]: reportengine: Caught unrecoverable exception in generator 'user.sftp.SFTPGenerator' Jul 19 10:35:32 raspberrypi weewx[19541]: [Errno 2] No such file Jul 19 10:35:32 raspberrypi weewx[19541]: Traceback (most recent call last): Jul 19 10:35:32 raspberrypi weewx[19541]: File "/usr/share/weewx/weewx/reportengine.py", line 204, in run Jul 19 10:35:32 raspberrypi weewx[19541]: obj.start() Jul 19 10:35:32 raspberrypi weewx[19541]: File "/usr/share/weewx/weewx/reportengine.py", line 300, in start Jul 19 10:35:32 raspberrypi weewx[19541]: self.run() Jul 19 10:35:32 raspberrypi weewx[19541]: File "/usr/share/weewx/user/sftp.py", line 233, in run Jul 19 10:35:32 raspberrypi weewx[19541]: n = uploader.run () Jul 19 10:35:32 raspberrypi weewx[19541]: File "/usr/share/weewx/user/sftp.py", line 98, in run Jul 19 10:35:32 raspberrypi weewx[19541]: self. _make_remote_dir(con, remote_dir_path) Jul 19 10:35:32 raspberrypi weewx[19541]: File "/usr/share/weewx/user/sftp.py", line 161, in _make_remote_dir Jul 19 10:35:32 raspberrypi weewx[19541]: con.mkdir( remote_dir_path) Jul 19 10:35:32 raspberrypi weewx[19541]: File "/usr/local/lib/python2.7/dist-packages/pysftp/__init__.py", line 626, in mkdir Jul 19 10:35:32 raspberrypi weewx[19541]: self._sftp.mkdir (remotepath, mode=int(str(mode), 8)) Jul 19 10:35:32 raspberrypi weewx[19541]: File "/usr/local/lib/python2.7/dist-packages/paramiko/sftp_client.py", line 460, in mkdir Jul 19 10:35:32 raspberrypi weewx[19541]: self._request( CMD_MKDIR, path, attr) Jul 19 10:35:32 raspberrypi weewx[19541]: File "/usr/local/lib/python2.7/dist-packages/paramiko/sftp_client.py", line 813, in _request Jul 19 10:35:32 raspberrypi weewx[19541]: return self. _read_response(num) Jul 19 10:35:32 raspberrypi weewx[19541]: File "/usr/local/lib/python2.7/dist-packages/paramiko/sftp_client.py", line 865, in _read_response Jul 19 10:35:32 raspberrypi weewx[19541]: self. _convert_status(msg) Jul 19 10:35:32 raspberrypi weewx[19541]: File "/usr/local/lib/python2.7/dist-packages/paramiko/sftp_client.py", line 894, in _convert_status Jul 19 10:35:32 raspberrypi weewx[19541]: raise IOError( errno.ENOENT, text) Jul 19 10:35:32 raspberrypi weewx[19541]: IOError: [Errno 2] No such file Jul 19 10:35:32 raspberrypi weewx[19541]: Generator terminated This is what I found in log El viernes, 19 de julio de 2019, 2:28:08 (UTC+2), Pat escribió: > > Anything in the logs? > > > -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/5ce5ee4e-016f-4f21-8971-ecc5cc24d689%40googlegroups.com.
Re: [weewx-user] Re: OWFS & PI4
Given that you had the dongle installed (per your first post) and that I'm out of ideas. The following list posting at owfs.org may prove interesting? In particular the last post by the OP. https://sourceforge.net/p/owfs/mailman/owfs-developers/thread/8b89c145-3f72-6b2b-d992-36f1666a52d6%40kky.zcu.cz/#msg36719234 It's not the sort of solution you can nail on the wall, or take to the boss, but it does suggest gremlins do exist. For me, the bonus is that it worked once and, is no vaguer than some of my suggestions! On 19/07/2019, Glenn McKechnie wrote: > I don't run mine under systemd, however; If I run through the same > install process as above, on a machine that has systemd installed I > get the same error as you IF I don't have the USB module plugged in > when I attempt to start it. > > So, is yours plugged in when you do the install or attempt the restart? > > If it is plugged in, I'm out of ideas as googling "owserver.service: > Failed with result 'protocol'." doesn't turn up much that appears > relevant. > > On 19/07/2019, vigilancewx wrote: >> Hi Glenn >> >> thanks for helping out >> >> Tried the following but still getting errors >> >> sudo apt upate >> sudo apt upgrade >> sudo apt install owserver ow-shell >> /etc/owfs.conf >> file updated >> >> >> >> >> pi@raspberrypi:~ $ sudo apt install owserver ow-shell >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> The following packages were automatically installed and are no longer >> required: >> libboost-system1.62.0 libboost-thread1.62.0 libreoffice-gtk2 >> Use 'sudo apt autoremove' to remove them. >> The following additional packages will be installed: >> libftdi1-2 libow-3.2-3 owfs-common >> The following NEW packages will be installed: >> libftdi1-2 libow-3.2-3 ow-shell owfs-common owserver >> 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. >> Need to get 375 kB of archives. >> After this operation, 1,348 kB of additional disk space will be used. >> Do you want to continue? [Y/n] y >> Get:1 http://archive-bm.raspbian.org/raspbian buster/main armhf >> libftdi1-2 >> armhf 1.4-1+b2 [27.7 kB] >> Get:2 http://archive-bm.raspbian.org/raspbian buster/main armhf >> owfs-common >> >> all 3.2p3+dfsg1-2 [17.6 kB] >> Get:3 http://archive-bm.raspbian.org/raspbian buster/main armhf >> libow-3.2-3 >> >> armhf 3.2p3+dfsg1-2 [269 kB] >> Get:4 http://archive-bm.raspbian.org/raspbian buster/main armhf ow-shell >> armhf 3.2p3+dfsg1-2 [29.8 kB] >> Get:5 http://archive-bm.raspbian.org/raspbian buster/main armhf owserver >> armhf 3.2p3+dfsg1-2 [30.8 kB] >> Fetched 375 kB in 6s (59.2 kB/s) >> Selecting previously unselected package libftdi1-2:armhf. >> (Reading database ... 140620 files and directories currently installed.) >> Preparing to unpack .../libftdi1-2_1.4-1+b2_armhf.deb ... >> Unpacking libftdi1-2:armhf (1.4-1+b2) ... >> Selecting previously unselected package owfs-common. >> Preparing to unpack .../owfs-common_3.2p3+dfsg1-2_all.deb ... >> Unpacking owfs-common (3.2p3+dfsg1-2) ... >> Selecting previously unselected package libow-3.2-3:armhf. >> Preparing to unpack .../libow-3.2-3_3.2p3+dfsg1-2_armhf.deb ... >> Unpacking libow-3.2-3:armhf (3.2p3+dfsg1-2) ... >> Selecting previously unselected package ow-shell. >> Preparing to unpack .../ow-shell_3.2p3+dfsg1-2_armhf.deb ... >> Unpacking ow-shell (3.2p3+dfsg1-2) ... >> Selecting previously unselected package owserver. >> Preparing to unpack .../owserver_3.2p3+dfsg1-2_armhf.deb ... >> Unpacking owserver (3.2p3+dfsg1-2) ... >> Setting up libftdi1-2:armhf (1.4-1+b2) ... >> Setting up owfs-common (3.2p3+dfsg1-2) ... >> >> Creating config file /etc/owfs.conf with new version >> Setting up ow-shell (3.2p3+dfsg1-2) ... >> Setting up libow-3.2-3:armhf (3.2p3+dfsg1-2) ... >> Setting up owserver (3.2p3+dfsg1-2) ... >> Job for owserver.service failed because the service did not take the >> steps >> required by its unit configuration. >> See "systemctl status owserver.service" and "journalctl -xe" for details. >> invoke-rc.d: initscript owserver, action "start" failed. >> ● owserver.service - Backend server for 1-wire control >>Loaded: loaded (/lib/systemd/system/owserver.service; disabled; vendor >> preset: enabled) >>Active: activating (auto-restart) (Result: protocol) since Thu >> 2019-07-18 15:55:14 BST; 28ms ago >> Docs: man:owserver(1) >> Process: 8854 ExecStart=/usr/bin/owserver -c /etc/owfs.conf >> (code=exited, >> >> status=0/SUCCESS) >> Main PID: 8854 (code=exited, status=0/SUCCESS) >> dpkg: error processing package owserver (--configure): >> installed owserver package post-installation script subprocess returned >> error exit status 1 >> Processing triggers for man-db (2.8.5-2) ... >> Processing triggers for libc-bin (2.28-10+rpi1) ... >> Processing triggers for systemd (241-5+rpi1) ... >> Errors were encountered while processing: >> owserver >> E: Sub-process /usr/bin/dpkg returned an error code (1) >>