Re: [weewx-user] Re: Installation/configuration issues (WeeWx on a Raspberry Pi4)

2020-06-20 Thread Garry A Lockyer
Did you get webpages with the Simulator?  Any errors in says log?

Regards,

Garry Lockyer
C: +1.250.689.0686
E: ga...@lockyer.ca


> On Jun 20, 2020, at 13:40, Stuart Beaumont  wrote:
> 
> Thanks Garry
> 
> I followed those steps with no joy. Then uninstalled and reinstalled. Same 
> result. 
> 
> Seems to me there is a driver issue. The interceptor driver with either 
> wu-client, observer or ecowitt as the device type doesn’t show any results. 
> 
> The weewx.sdb file is being updated so the connection is working. 
> 
> Anyone with any ideas on how to solve this one?
> 
> -- 
> 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/8f5538c7-5b53-4347-aa55-968ab01253dfo%40googlegroups.com.

-- 
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/B93A1E01-CF87-43DC-AD08-BC136A7CD142%40gmail.com.


RE: [weewx-user] Re: Installation/configuration issues (WeeWx on a Raspberry Pi4)

2020-06-20 Thread Stuart Beaumont
Thanks Garry

I followed those steps with no joy. Then uninstalled and reinstalled. Same 
result. 

Seems to me there is a driver issue. The interceptor driver with either 
wu-client, observer or ecowitt as the device type doesn’t show any results. 

The weewx.sdb file is being updated so the connection is working. 

Anyone with any ideas on how to solve this one?

-- 
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/8f5538c7-5b53-4347-aa55-968ab01253dfo%40googlegroups.com.


RE: [weewx-user] Re: Installation/configuration issues (WeeWx on a Raspberry Pi4)

2020-06-19 Thread garryalockyer
Thanks.

 

I don’t see anything obviously wrong.

 

I would:

 

*   Go back to using the Simulator

*   In weewx.conf, change station_type to Simulator.

 

*   Verify that weewx is starting correctly:

*   sudo /etc/init.d/weewx start
*   tail -f /var/log/syslog

*   Fix any errors reported in syslog

 

*   Verify that web page are being generated

*   2 -5 minutes after starting WeeWX, depending up the driver/device 
settings, you should see log entries indicating that reports are being 
generated.
*   Open /var/www/html/weewx/index.html in a web browser on the same system 
(so that a web server is not required).
*   Refresh webpage after 2-5 minutes (or when syslog indicates WeeWX has 
started up another reporting cycle) to verify the web pages are being 
updated/regenerated.

 

*   After getting webpages reliably generated and updated, change to the 
desired driver

*   sudo /etc/init.d/weewx stop
*   In weewx.conf, change station_type to “some other driver”
*   sudo /etc/init.d/weewx start
*   monitor syslog: tail -f /var/log syslog
*   If web pages do not get generated, there’s a problem with the driver, 
or more likely, it’s set up.

 

You only need a web server such as Apache and to open ports on your firewall if 
you want that system to serve pages to the public side of your firewall.  If 
you want another server to serve the pages, you FTP the pages from 
/var/www/html/weewx to the other server.

 

You can delete everything in /var/www/html/weewx – files there are regenerated 
every reporting cycle.  If you delete everything and they reappear, you know 
that WeeWX is at least generating and moving some files.

 

Regards,

 

Garry

 

From: weewx-user@googlegroups.com  On Behalf Of 
Stuart Beaumont
Sent: June 19, 2020 1:08 PM
To: weewx-user 
Subject: [weewx-user] Re: Installation/configuration issues (WeeWx on a 
Raspberry Pi4)

 

Here you go Garry. Thanks.



On Tuesday, June 16, 2020 at 5:14:13 PM UTC+2, Stuart Beaumont wrote:

Evening all

 

I'm having a few challenges with an installation and configuration of weewx on 
a Raspberry Pi. Here is an overview of what im trying to do and what ive done:

 

Ive got a WH6006 Weather Station. It is a cellular system in that it connects 
to the internet with mobile data. I'm wanting to connect it to a Pi4 running 
Weewx. Initially i want to be able to monitor the weather using Weewx, but 
ultimately i need to get the data off the weather station in excel or csv 
format and save it to OneDrive. From there i'll use Power Query to process it.

 

After a few attempts i had managed to get Weewx running on the Pi with the 
Simulator (but now that seems to have stopped too??). I have installed the 
Interceptor driver, but at that time i was still getting Simulator data, 
despite making the necessary changes to the config file. (station-type = 
interceptor)

 

I've set up a (temporary) DNS and configured the router/modem.

 

I've set up port forwarding on the router for the Pi. Also added port = 8000 to 
the config file.

 

The challenge i'm having is i still cant get the console to talk to Weewx.

 

Ive set device_type = observer

 

I stopped and restarted weewx a number of times to effect the changes.

 

I'm a novice with this stuff but got some great help from gelfert back on the 
wxforum. He's been great.

 

Lastly, i have managed to get the station to upload to WU and retrieve the data 
with the API. Its works, but not the ideal system. Its fine for a backup.

 

Any help in completing my configuration would be really great.

-- 
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> .
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ec55e87f-2721-474c-86b2-24615b671b2fo%40googlegroups.com
 
<https://groups.google.com/d/msgid/weewx-user/ec55e87f-2721-474c-86b2-24615b671b2fo%40googlegroups.com?utm_medium=email_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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/037301d64685%24af31cec0%240d956c40%24%40gmail.com.


Re: [weewx-user] Re: Installation/configuration issues (WeeWx on a Raspberry Pi4)

2020-06-19 Thread Garry A Lockyer
I think you should post your weewx.conf, without any passwords. It should 
provide the information needed to assist you.

Regards,

Garry Lockyer
C: +1.250.689.0686
E: ga...@lockyer.ca


> On Jun 19, 2020, at 12:38, Stuart Beaumont  wrote:
> 
> 
> I've made some good progress here. I've set up a Public IP and configured the 
> console with it. The data is now reaching the pi and updating the weewx.sdb 
> file. I confirmed this by looking at the file with DB Browser.
> 
> I then installed the Apache web server. (was this necessary?)
> 
> When i open the station webpage via file:///var/www/html/weewx/index.html or 
> via http://localhost/weewx i dont get any data being reported. Current 
> Conditions are all N/A.
> 
> To recap, i have set the device_type = wu-client
> 
> Attached is my weewx.sdb file
> 
> As a double check i have configured the weewx.conf file to send the data to 
> Wunderground to a dummy station. The station is live, so the data is being 
> sent there, but again, there is no data populating the charts etc.
> 
> Any suggestions? I feel i'm really close now.
> 
> 
> 
> 
>> On Tuesday, June 16, 2020 at 5:14:13 PM UTC+2, Stuart Beaumont wrote:
>> Evening all
>> 
>> I'm having a few challenges with an installation and configuration of weewx 
>> on a Raspberry Pi. Here is an overview of what im trying to do and what ive 
>> done:
>> 
>> Ive got a WH6006 Weather Station. It is a cellular system in that it 
>> connects to the internet with mobile data. I'm wanting to connect it to a 
>> Pi4 running Weewx. Initially i want to be able to monitor the weather using 
>> Weewx, but ultimately i need to get the data off the weather station in 
>> excel or csv format and save it to OneDrive. From there i'll use Power Query 
>> to process it.
>> 
>> After a few attempts i had managed to get Weewx running on the Pi with the 
>> Simulator (but now that seems to have stopped too??). I have installed the 
>> Interceptor driver, but at that time i was still getting Simulator data, 
>> despite making the necessary changes to the config file. (station-type = 
>> interceptor)
>> 
>> I've set up a (temporary) DNS and configured the router/modem.
>> 
>> I've set up port forwarding on the router for the Pi. Also added port = 8000 
>> to the config file.
>> 
>> The challenge i'm having is i still cant get the console to talk to Weewx.
>> 
>> Ive set device_type = observer
>> 
>> I stopped and restarted weewx a number of times to effect the changes.
>> 
>> I'm a novice with this stuff but got some great help from gelfert back on 
>> the wxforum. He's been great.
>> 
>> Lastly, i have managed to get the station to upload to WU and retrieve the 
>> data with the API. Its works, but not the ideal system. Its fine for a 
>> backup.
>> 
>> Any help in completing my configuration would be really great.
> 
> -- 
> 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/1e28eed4-5d5c-43ce-92fc-eec3224754dbo%40googlegroups.com.
> 

-- 
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/DE5B464D-A85B-472B-B7D8-9E19CE7F7D03%40gmail.com.