No hurry Once a minute works. Any idea why the units are not changing to US? This is from the latest gauge-data.txt file: "forecast":Mostly cloudy. Low 2C"
------------- 73, Tom - KQ5S ________________________________ From: weewx-user@googlegroups.com <weewx-user@googlegroups.com> on behalf of gjr80 <gjroder...@gmail.com> Sent: Sunday, January 13, 2019 7:40 PM To: weewx-user Subject: Re: [weewx-user] Real Time Gauges (RTGD) for Steel Series Ok, that indicates the thread is still alive. Am at a bit of a loss at the moment. I will have to put a bit more logging into rtgd.py so we can see what is going on around the posting of gauge-data.txt. Going to be a later today job for me so I guess tomorrow for you :). Gary On Monday, 14 January 2019 11:35:11 UTC+10, Tom Robertson wrote: Yep. I can go to public_html and see the file time change every 2 seconds. ------------- 73, Tom - KQ5S ________________________________ From: weewx...@googlegroups.com <weewx...@googlegroups.com> on behalf of gjr80 <gjrod...@gmail.com> Sent: Sunday, January 13, 2019 7:14 PM To: weewx-user Subject: Re: [weewx-user] Real Time Gauges (RTGD) for Steel Series Ok, nothing unusual in the weewx log. Sounds like the the rtgd thread silently dies and hence rtgd never gets a chance to post gauge-data.txt. Can you confirm that gauge-data.txt is being generated on your weeWX machine without error every 2 odd seconds? Gary On Monday, 14 January 2019 10:56:09 UTC+10, Tom Robertson wrote: Attached is the syslog file with debug=1. I went to my hosting site and using CPanel there is a page that shows: The function displays up to 300 of the most recent entries in your website’s error logs, in reverse chronological order. You can use this information to find broken links or problems with missing files. For more information, read our documentation<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgo.cpanel.net%2FErrors&data=02%7C01%7C%7Cb4c9251e85734af6efca08d679c139aa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636830268129621742&sdata=Aq%2FvgX2bbuJWTj6lgFVYTGuoeKGhr9DFoqqRtZUQ0HI%3D&reserved=0>. Last 300 Error Log messages in reverse order: Nothing is showing. I was looking at my hosting site and it said the error logs do not include php and to add some stuff to the .htaccess and php.ini files. I did that and still no errors are showing. I also added the units = US and metric is still showing. [[WU]] # WU API key to be used when calling the WU API api_key = 8f246XXXXXXXXXX units = US Tom ________________________________ From: weewx...@googlegroups.com <weewx...@googlegroups.com> on behalf of gjr80 <gjrod...@gmail.com> Sent: Sunday, January 13, 2019 5:38 PM To: weewx-user Subject: Re: [weewx-user] Real Time Gauges (RTGD) for Steel Series When I go to www.kq5s.com/weewx/ss/post_gauge-data.php<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kq5s.com%2Fweewx%2Fss%2Fpost_gauge-data.php&data=02%7C01%7C%7Cb4c9251e85734af6efca08d679c139aa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636830268129621742&sdata=6RPjo8jZxWDnu%2BlQ4kxR4rnyPM56Hs6R7SusFcYIU2A%3D&reserved=0> I don't get a 404 error so it would appear that post_gauge-data.php is accessible on your web server. Next thing to check is to see what (if any) error rtgd is getting when it tries to post gauge-data.txt. To do this edit weewx.conf, set debug = 1, save weewx.conf and restart weeWX. Assuming the post fails rtgd should come up with an error message that should be logged. It probably won't mean much but will give us a pointer to the issue. Now look at your web servers error log. How you do this will depend on your web server; is it hosted for you or self hosted, what web server software is used and how is the logging configured. I host locally using nginx and I have my error log in /var/log/nginx/error.log on my nginx machine. Yours will almost certainly be different. What you need to look for are entries in the log from each time rtgd tries to post gauge-data.txt, this should tell us what error your web server is seeing. For WU forecast units just put units = US somewhere under [[WU]], then either do a config reload or restart weeWX and the WU forecast will be downloaded with US customary units next time the forecast is downloaded. [[WU]] api_key = 123345567 ... units = US ... Gary On Monday, 14 January 2019 02:00:37 UTC+10, Tom Robertson wrote: OK I'm making progress. I have RTGD creating the gauge-data.txt file every loop and placing it in the html_public directory and it is uploaded at the archive interval. I also have the WU forecast showing on the LED screen. I can not get the post_gauge-data.php to work. It is not uploading. I placed the php file in the same directory as the SS gauges, www.kq5s.com/weewx/ss<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kq5s.com%2Fweewx%2Fss&data=02%7C01%7C%7Cb4c9251e85734af6efca08d679c139aa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636830268129621742&sdata=K85otb8%2FwPacXrbxTyewo4h1HAF1F5lnfaFOSl6q9wM%3D&reserved=0>. This is from my weewx config file: [RealtimeGaugeData] date_format = %Y.%m.%d %H:%M scroller_source = WU rtgd_path = /home/weewx/public_html # Remote URL to which the gauge-data.txt data will be posted via HTTP POST. # Optional, omit to disable HTTP POST. remote_server_url = http://www.kq5s.com/weewx/ss<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kq5s.com%2Fweewx%2Fss&data=02%7C01%7C%7Cb4c9251e85734af6efca08d679c139aa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636830268129621742&sdata=K85otb8%2FwPacXrbxTyewo4h1HAF1F5lnfaFOSl6q9wM%3D&reserved=0> # timeout in seconds for remote URL posts. Optional, default is 2 timeout = 1 # text returned from remote URL indicating success. Optional, default is no # response text. response_text = success >From RTGD.PY # Path to gauge-data.txt. Relative paths are relative to HTML_ROOT. If # empty default is HTML_ROOT. If setting omitted altogether default is # /var/tmp rtgd_path = /home/weewx/public_html # File name (only) of file produced by rtgd. Optional, default is # gauge-data.txt. rtgd_file_name = gauge-data.txt # Remote URL to which the gauge-data.txt data will be posted via HTTP POST. # Optional, omit to disable HTTP POST. remote_server_url = http://www.kq5s.com/weewx/ss<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kq5s.com%2Fweewx%2Fss&data=02%7C01%7C%7Cb4c9251e85734af6efca08d679c139aa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636830268129621742&sdata=K85otb8%2FwPacXrbxTyewo4h1HAF1F5lnfaFOSl6q9wM%3D&reserved=0> Any help please? Tom ________________________________ From: weewx...@googlegroups.com <weewx...@googlegroups.com> on behalf of gjr80 <gjrod...@gmail.com> Sent: Saturday, January 12, 2019 8:13 PM To: weewx-user Subject: Re: [weewx-user] Real Time Gauges (RTGD) for Steel Series Correct, you just want to disable generation of gauge-data.txt by the skin. As you have found the instructions in rtgd.py (step 6 I think) are correct. The offending staff member has since been fired. Gary On Sunday, 13 January 2019 12:07:52 UTC+10, nine...@gmail.com wrote: OK. I see more detailed instructions in the rtgd.py file. I’ll give it a go though I may wait until tomorrow morning when I am fresh. The steps seem pretty involved for us novices. It does appear as though the gauge-data.txt file generated by SS is placed in the public_html/ss directory and the RTGD will place it in the public_html do it should not be an issue. Tom From: weewx...@googlegroups.com <weewx...@googlegroups.com> On Behalf Of nine...@gmail.com Sent: Saturday, January 12, 2019 7:55 PM To: weewx...@googlegroups.com Subject: [weewx-user] Real Time Gauges (RTGD) for Steel Series I am just starting to attempt to set these up. I intend to use the post_gauge-data.php to get the files on my off-site server. The instructions say: Note: If the SteelSeries weeWX skin is installed either disable the skin or ensure that the Realtime gauge-data extension generated gauge-data.txt file is saved to a different location to that generated by the SteelSeries weeWX skin. Doesn’t the SS skin generate the index.html file and the graphs. I might have read somewhere that the graphs do not work with the RTGD extension but I would think you need the index.html? So do go into the weex.conf file and but ##skin=ss and that is all other than modifying the rtgd.py file? Tom -- 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. For more options, visit https://groups.google.com/d/optout<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7C%7Cb4c9251e85734af6efca08d679c139aa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636830268129621742&sdata=yI9tf0TKUxB9XX5ZcV29%2FTYJfzQE%2Bx1Uur64YV66z8A%3D&reserved=0>. -- 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. For more options, visit https://groups.google.com/d/optout<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7C%7Cb4c9251e85734af6efca08d679c139aa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636830268129778002&sdata=XHW4T0Pc8D3yoItI8qfgeODIa0DmKIGRo8%2Bg4rM7ErI%3D&reserved=0>. -- 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. For more options, visit https://groups.google.com/d/optout<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7C%7Cb4c9251e85734af6efca08d679c139aa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636830268129778002&sdata=XHW4T0Pc8D3yoItI8qfgeODIa0DmKIGRo8%2Bg4rM7ErI%3D&reserved=0>. -- 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. For more options, visit https://groups.google.com/d/optout<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7C%7Cb4c9251e85734af6efca08d679c139aa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636830268129778002&sdata=XHW4T0Pc8D3yoItI8qfgeODIa0DmKIGRo8%2Bg4rM7ErI%3D&reserved=0>. -- 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<mailto:weewx-user+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7C%7Cb4c9251e85734af6efca08d679c139aa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636830268129778002&sdata=XHW4T0Pc8D3yoItI8qfgeODIa0DmKIGRo8%2Bg4rM7ErI%3D&reserved=0>. -- 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. For more options, visit https://groups.google.com/d/optout.