Creating a first time config file

110 views
Skip to first unread message

William

unread,
Jan 19, 2018, 7:35:34 PM1/19/18
to weewx-user
New user to Pi/Rasbian/Weewx

I’m still waiting for my PWS, VP2 to get here and a nice poster said I can use Simulator to start getting a feel for things on Weewx. I’m all for that.

I believe I installed Weewx, but not completely. I never got the prompts for setup. So I tried reconfigure and met with an errno 13, permission denied. I then realized I may not be able to reconfigure a config file that doesn’t exist!

How do I go about creating a first time config file using the simulator driver? Once created, I assume I can then use the reconfig to use the actual driver I will need?

Thanks a million!

Thomas Keffer

unread,
Jan 19, 2018, 7:48:58 PM1/19/18
to weewx-user
You did not say what install method you are using, but I assume a Debian install. If that's the case, ​I suspect you are just having a simple permissions problem. 

Just follow the directions in the Debian install guide. Note that they have you put a "sudo" in front of the apt-get commands. 

-tk


--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

William

unread,
Jan 19, 2018, 8:07:18 PM1/19/18
to weewx-user
Hi Tom,

First, thank you! Yes, using the Debian install. Still very new to this, but to start from the top, I downloaded the Weewx_3.8.0.1_all.deb file. It resides in the Download folder.

From terminal, I ran each line in the Config apt (copy/paste) and then each line in the Install.

Now I get Weewx already the newest version. No prompts for location, etc. this would create the original config file?

Somewhere in there, I’m sure I didn’t install it correctly. :)

William

Thomas Keffer

unread,
Jan 19, 2018, 8:45:30 PM1/19/18
to weewx-user
Try running

sudo dpkg-reconfigure weewx
This will basically rerun the install configuration.

See the Wiki on changing drivers for other strategies, including this one.

-tk

William

unread,
Jan 20, 2018, 12:35:02 AM1/20/18
to weewx-user
Thank you! I think that worked. I was able to go through the prompts with no errors. Was able to go to Verify and it did bring up a webpage with my location in Simulator mode.

So when I do get my system (Vantage Pro2,wireless), I will want to reconfigure with the correct driver to VP2 and run in daemon mode?

Thomas Keffer

unread,
Jan 20, 2018, 6:48:52 AM1/20/18
to weewx-user
Yes. 

Make sure you delete the database you used. Otherwise, it will consist of a mix of simulated and real data.

The database is located in /var/lib/weewx/weewx.sdb

sudo rm /var/lib/weewx/weewx.sdb

-tk

On Fri, Jan 19, 2018 at 10:35 PM, William <wrz...@gmail.com> wrote:
Thank you!   I think that worked.  I was able to go through the prompts with no errors.   Was able to go to Verify and it did bring up a webpage with my location in Simulator mode.

So when I do get my system (Vantage Pro2,wireless), I will want to reconfigure with the correct driver to VP2 and run in daemon mode?

Andres Marangunic

unread,
Jan 27, 2020, 5:37:19 PM1/27/20
to weewx-user
Hello,
I have the same issue, Been new to Debian, I have not idea how to get permission. To install I copied all the lines in the same order I found  in the Debian install guide, I never got the prompts for setup, later I tried to configure it with "sudo dpkg-reconfigure weewx"
And still it doesn't work.
Now I'm trying to reinstall Debian and start all over.


El sábado, 20 de enero de 2018, 8:48:52 (UTC-3), Thomas Keffer escribió:
Yes. 

Make sure you delete the database you used. Otherwise, it will consist of a mix of simulated and real data.

The database is located in /var/lib/weewx/weewx.sdb

sudo rm /var/lib/weewx/weewx.sdb

-tk
On Fri, Jan 19, 2018 at 10:35 PM, William <wrz...@gmail.com> wrote:
Thank you!   I think that worked.  I was able to go through the prompts with no errors.   Was able to go to Verify and it did bring up a webpage with my location in Simulator mode.

So when I do get my system (Vantage Pro2,wireless), I will want to reconfigure with the correct driver to VP2 and run in daemon mode?

--
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...@googlegroups.com.

gjr80

unread,
Jan 28, 2020, 3:52:14 AM1/28/20
to weewx-user
Hi,

You really did not give us much chance to help you. Seldom do you need to re-install Linux, this is not Windows. If you have problems installing WeeWX learn how to copy text from your console and post copies of the exact command(s) entered and the exact responses received. We can then see exactly what you are doing and what your system responds with. Much better than 'I did this' - what if you made a typing mistake? Once we know exactly what you did we can then ask for further info from logs etc as required.

Gary

Andres Marangunic

unread,
Jan 28, 2020, 7:27:38 AM1/28/20
to weewx-user
Hello Gary,
Right after I posted, I did re- install Linux and WeeWX, then I could complete the process and I have the simulator working, as soon as I figure out the way to see the data over internet I will connect the Davis station I have, 
I'm just starting, and it is not my intention to disturb people with many basic issues, I'm also trying to read as much as possible,
My goal is to incorporate the weather data to a web page, and to post real time weather pictures, also to let the data be part of some of the weather sites.

Thank you for answering
Reply all
Reply to author
Forward
0 new messages