From 5f07e399d668a06e4898f8cbe5bbcd8ce0ec0b3f Mon Sep 17 00:00:00 2001 From: Roger Loeb <50334223+rmloeb@users.noreply.github.com> Date: Fri, 31 Jul 2020 13:18:34 -0600 Subject: [PATCH] Update davis-vantage.md Added warning regarding Windows Defender and HOSTS file. --- docs/davis-vantage.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/davis-vantage.md b/docs/davis-vantage.md index da85d48..324e628 100644 --- a/docs/davis-vantage.md +++ b/docs/davis-vantage.md @@ -17,6 +17,8 @@ local weatherstation.wunderground.com ``` Note: you must be running in administrator mode to make this change. On Windows 10 the HOSTS file is in `C:/Windows/System32/drivers/etc`. The easiest way to do this is to open a Command Prompt in Admin mode, navigate to `C:/Windows/System32/drivers/etc`, then execute "notepad.exe hosts", add the three entries, save, exit, and close the command window. The change should take effect immediately, but you may need to reboot the Windows machine to be sure. +WARNING (7/30/2020): recent changes to Windows Defender apparently cause the HOSTS file to be cleared. In order to prevent this you must list the HOSTS file to be ignored (Settings|Windows Security|Virus & threat protection|(scroll down)Exclusions|C:\Windows\System32\drivers\etc\hosts) + In the Weatherlink application you should see "Wunderground settings" in the File menu. You can ignore the StationID and Password settings (or just enter a single blank character). Set the Update Interval to 5 minutes, which should be more than sufficient for the purpose of the Zimmerman water level calculation. On the machine running weather-server, edit the weather-server `.env` file to add a line `"PWS=WU"`. Stop and restart weather-service. @@ -25,4 +27,4 @@ Actual readings from your PWS should now be flowing to weather-service. Make sur **Testing** -To immediately observe the data feed, open Davis WeatherLink, click on File | Wunderground Settings, then click the "Test" box. \ No newline at end of file +To immediately observe the data feed, open Davis WeatherLink, click on File | Wunderground Settings, then click the "Test" box.