-
Notifications
You must be signed in to change notification settings - Fork 0
Protocol Lacrosse
Setting up LaCrosse LW30x hardware by hand, in weewx.conf.
Generated by tools/build_protocols.py. What each protocol needs is written in that
tool; what it is called and what goes into the console comes from the code. Do not edit
by hand.
There is a web interface for all of this. It is on by default, and the driver prints its address when WeeWX starts:
INFO user.ultimatepush.driver: The web interface is at http://1.2.3.4:8080/?token=abcdefg12345Everything on this page can be done there instead, and one thing is much easier: deciding which reading goes into which database column. See Web interface.
LW301 and LW302 gateways, with the wind, rain, UV and T/H sensors
In protocols = auto
|
yes |
| Named by | its mac
|
| Can be set up before it uploads | No, it is adopted |
[Station]
station_type = UltimatePush
[UltimatePush]
driver = user.ultimatepush.driver
port = 8000
[[stations]]
[[[garden]]]
id = 001D0A712233The identity is the hardware's own and cannot be chosen, so this line cannot be written until the station has uploaded once. The log prints it the first time, ready to copy, and until then the station shows in the web interface as one waiting to be let in.
A gateway cannot be told where to post, so box.weatherdirect.com has to resolve to 1.2.3.4 on your network. With dnsmasq:
address=/box.weatherdirect.com/1.2.3.4
It posts to port 80, so redirect that:
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8000
Once it is pointed here it no longer reaches its own servers.
None. Everything that applies to this protocol applies to all of them, and is in Configuration.
The same as Acurite in every respect that matters: the gateway posts to its manufacturer's server, the name is in the firmware, and only a DNS entry on your own network can move it.
Once it is pointed here the manufacturer's app stops showing the station.
As for Acurite. The name to redirect is different and is below.
This is one station among however many others. Which of them fills outTemp, and where
the rest of their readings go, is in Several stations.
- Installation
- Hardware
- Web interface
- Stations
- Several stations
- Hosted hardware
- Sensors this driver asks
- Database columns
- Configuration
- Diagnostics
- Troubleshooting
- Keeping strangers out
- Reporting a new sensor
- Acurite
- Davis AirLink
- Ambient
- Ecowitt
- Ecowitt gateway API
- Ambient Weather (ambientweather.net)
- Home Assistant
- Lacrosse
- PurpleAir
- rtl_433
- Weatherflow
- Wunderground