Interesting reading:
www.silent-gardens.com/blog/shark-hunt-lw301/==> I adapted the LAN DNS config on my Draytek router to send to a linux box/apache server in my LAN every request originally sent to gateway.weather.oregonscientific.com.
Will analyse them.
And it works: having on my linux box a php page answering to /update
<?php
file_put_contents("/Users/Shared/lw301.log", "timestamp=" . time() . "&" . file_get_contents('php://input') . "\n", FILE_APPEND);
?>
gives:
timestamp=1534539403&mac=0004a3691052&id=84&rid=0f&pwr=0&htr=1&cz=3&oh=95&ttr=1&ot=12.9&ch=6&p=1
timestamp=1534539422&mac=0004a3691052&id=90&rid=66&pwr=0&gw=0&av=0&wd=0&wg=0.9&ws=0.0&ch=1&p=1
timestamp=1534539429&mac=0004a3691052&id=84&rid=f6&pwr=0&htr=1&cz=3&oh=79&ttr=1&ot=15.0&ch=1&p=1
timestamp=1534539475&mac=0004a3691052&id=84&rid=1d&pwr=0&htr=0&cz=0&oh=69&ttr=1&ot=16.7&ch=2&p=1
timestamp=1534539489&mac=0004a3691052&id=82&rid=38&pwr=0&rro=0&rr=0.00&rfa=6.759&ch=1&p=1
timestamp=1534539496&mac=0004a3691052&id=84&rid=f1&pwr=0&htr=0&cz=1&oh=54&ttr=0&ot=20.5&ch=3&p=1
timestamp=1534539517&mac=0004a3691052&id=8e&rid=37&pwr=0&or=0&uvh=0&uv=363&ch=1&p=1
timestamp=1534539530&mac=0004a3691052&id=84&rid=e4&pwr=0&htr=0&cz=0&oh=60&ttr=0&ot=18.2&ch=4&p=1
timestamp=1534539555&mac=0004a3691052&id=c2&pv=0&lb=0&ac=0®=187f&lost=0000&baro=1012&ptr=0&wfor=1&p=1
timestamp=1534539561&mac=0004a3691052&id=84&rid=0f&pwr=0&htr=1&cz=3&oh=95&ttr=1&ot=12.9&ch=6&p=1
timestamp=1534539576&mac=0004a3691052&id=90&rid=66&pwr=0&gw=0&av=0&wd=0&wg=0.9&ws=0.0&ch=1&p=1
timestamp=1534539577&mac=0004a3691052&id=84&rid=38&pwr=0&htr=0&cz=0&oh=68&ttr=1&ot=17.1&ch=5&p=1
timestamp=1534539588&mac=0004a3691052&id=84&rid=f6&pwr=0&htr=1&cz=3&oh=80&ttr=1&ot=14.9&ch=1&p=1
timestamp=1534539652&mac=0004a3691052&id=84&rid=1d&pwr=0&htr=0&cz=0&oh=69&ttr=1&ot=16.6&ch=2&p=1
timestamp=1534539679&mac=0004a3691052&id=84&rid=f1&pwr=0&htr=0&cz=1&oh=53&ttr=0&ot=20.5&ch=3&p=1
timestamp=1534539730&mac=0004a3691052&id=90&rid=66&pwr=0&gw=0&av=0&wd=0&wg=0.9&ws=0.0&ch=1&p=1
timestamp=1534539731&mac=0004a3691052&id=84&rid=e4&pwr=0&htr=0&cz=0&oh=60&ttr=0&ot=18.2&ch=4&p=1
timestamp=1534539736&mac=0004a3691052&id=8e&rid=37&pwr=0&or=0&uvh=0&uv=363&ch=1&p=1
timestamp=1534539747&mac=0004a3691052&id=84&rid=f6&pwr=0&htr=1&cz=3&oh=80&ttr=1&ot=14.8&ch=1&p=1
timestamp=1534539790&mac=0004a3691052&id=84&rid=38&pwr=0&htr=0&cz=0&oh=68&ttr=1&ot=17.0&ch=5&p=1
timestamp=1534539798&mac=0004a3691052&id=84&rid=0f&pwr=0&htr=1&cz=3&oh=96&ttr=1&ot=12.9&ch=6&p=1
timestamp=1534539818&mac=0004a3691052&id=82&rid=38&pwr=0&rro=0&rr=0.00&rfa=6.759&ch=1&p=1
timestamp=1534539829&mac=0004a3691052&id=84&rid=1d&pwr=0&htr=0&cz=0&oh=69&ttr=1&ot=16.6&ch=2&p=1
timestamp=1534539862&mac=0004a3691052&id=84&rid=f1&pwr=0&htr=0&cz=1&oh=54&ttr=0&ot=20.5&ch=3&p=1
timestamp=1534539884&mac=0004a3691052&id=90&rid=66&pwr=0&gw=0&av=0&wd=0&wg=0.9&ws=0.0&ch=1&p=1
timestamp=1534539906&mac=0004a3691052&id=84&rid=f6&pwr=0&htr=1&cz=3&oh=80&ttr=1&ot=14.7&ch=1&p=1
timestamp=1534539915&mac=0004a3691052&id=c2&pv=0&lb=0&ac=0®=187f&lost=0000&baro=1012&ptr=0&wfor=1&p=1
timestamp=1534539932&mac=0004a3691052&id=84&rid=e4&pwr=0&htr=0&cz=0&oh=60&ttr=0&ot=18.1&ch=4&p=1
timestamp=1534539955&mac=0004a3691052&id=8e&rid=37&pwr=0&or=0&uvh=0&uv=363&ch=1&p=1
timestamp=1534539956&mac=0004a3691052&id=84&rid=0f&pwr=0&htr=1&cz=3&oh=96&ttr=1&ot=12.7&ch=6&p=1
Those can be stored to a db and used to perform graphs.
From the URL above, most of the data are identified. Some others still need to be
ch : channel number
id : sensor type
rid : sensor ID
TEMP (84)
----
htr :
cz :
oh : outdoor humidity
ttr :
ot : outdoor temperature
UV (8e)
--
or :
uvh :
uv :
WIND (90)
----
gw :
av : average wind
wd : wind direction (degrees)
wg : wind gust (m/s)
ws : current wind (m/s)
RAIN (82)
----
rro : rainfall average (mm)
rr : rainfall average (mm)
rfa : current rainfall (mm)
BARO (c2)
----
pv :
lb :
ac :
reg : registered sensors (0803: Wind, Temp, Rain ; 1803: Wind, Temp, Rain, UV)
lost : unresponsive sensors (0800 if rain gauge does not respond)
baro : barometric pressure (hPa)
ptr :
wfor : weather forecast => 0=partly cloudy, 1=sunny, 2=cloudy, 3=rainy, 4=snowy