A Basic Interpreter written from scratch for the ESP8266

Moderator: Mmiscool

User avatar
By jlbachiochi
#54655 The Weather sites have such good interfaces it only makes sense to allow our stations to post data back to them.
How about WriteOpenWeather({String or var name for url},{String or var name for data})?


Weather station data transmission protocol
•This protocol is used to transmit one measurement from your weather station.
•The data is transmitted by HTTP POST request using HTTP basic authentication.
•The server address is http://openweathermap.org/data/post

The following parameters can be transmitted in POST:
wind_dir Degrees Wind direction
wind_speed m/s Wind speed
wind_gust m/s Wind gust speed
temp °C Temperature
humidity RH % Relative humidity
pressure Atmospheric pressure
rain_1h mm Rain in the last hour
rain_24h mm Rain in the last 24 hours
rain_today mm Rain since midnight
snow mm Snow in the last 24 hours
lum W/m² Brightness
lat Decimal degrees Latitude
long Decimal degrees Longitude
alt m Altitude
radiation Radiation
dewpoint °C Dew point
uv UV index
name String Weather station name
User avatar
By Mmiscool
#54664 Could this be done with the wget() function?

some thing like
Code: Select allmytemp = temp(0)
wget("openweathermap.org/data/post?" & mytemp )