I have weewx working on my Ubuntu 18 box with Apache2. I did a deb install
and sorted through the docs to get it running in intercept mode, using GAS
to send the GW1000U data to this machine via proxy.
I'm stumped how to get the data redirected to the Lacrosse site. I am an
apache2 novice. Lacrosse says it hasn't seen my machine since I did the
redirect via the proxy. I would prefer to have a fully functioning weewx
system vs one that isn't.
I didn't know what to call the conf file so I used both
/etc/apache2/conf.d/gw1000u.conf and
/etc/apache2/conf.d/lacrosse-bridge.conf which has this in it:
RewriteEngine on
RewriteCond %{HTTP_POST} www.lacrossealertsmobile.com
RewriteRule ^/weatherstation(.*)$
http://www.lacrossealertsmobile.com/v1.2/#device-7FFFFA2120F46182
I tried to mimic the data sent to Lacrosse from my WIN10 box. I suspect
that the last line is the problem but am not sure what to place in there.
The docs call for this:
RewriteEngine on
RewriteCond %{HTTP_POST} www.myacurite.com
RewriteRule ^/weatherstation(.*)$ http://Y.Y.Y.Y/weatherstation$1
>From my weewx.conf:
[Interceptor]
# This section is for the network traffic interceptor driver.
# The driver to use:
driver = user.interceptor
# Specify the hardware device to capture. Options include:
# acurite-bridge - acurite internet bridge, smarthub, or access
# observer - fine offset WH2600/HP1000/HP1003, ambient WS2902
# lw30x - oregon scientific LW301/LW302
# lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
# wu-client - any hardware that uses the weather underground protocol
device_type = lacrosse-bridge
serial = 7FFFFA2120F46182
sensor_interval = 1 #min between updates
history_interval = 3
ping_interval = 120
iface = eth1
pcap_filter = src 192.168.42.97 and dst port 8080
port = 8080
I've enabled and disabled ufw and set it to allow traffic to the Lacrosse
website - 216.58.194.211 from this machine.
Cheers,
John
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.