Hello !

I would like to share an idea that come to my mind (as I have no clue if 
it's feasable or not and how hard it could be, also I have no python 
experience).

I have heard about some "ETP" module from Wemos (also called ESP8266, Wemos 
D1 mini...)

Those module have several advantages:
- Extreme low cost (~5€, sometime even less)
- Wifi compatible (can be connected to your home wifi network)
- Provide I2C and 1wire interface (and some other), including some already 
available library for some common temp and humidity sensors.
- It provide simple http server

I have not tested by myself those modules, but a collegue of mine uses them.
It seems quite easy to read a sensor value and output the data as http 
server.

so it can be imagined a lot of different http possibilities:

for example
*http://<ip_of_wemos_module>*

may give:

TimeStamp=xxxx
outTemp=23.0
outHumidity=55

or we it's also possible to do
*http://<ip_of_wemos_module>/outTemp*
that give:

23.000

Or whatever more convenient format (xml, csv, txt...)


Not sure if it's interesting for a weather station, but it's also possible 
to use some http request to send some commands to the module.
For example 
*http://<ip_of_wemos_module>/ON or  **http://<ip_of_wemos_module>/OFF*
can be used to switch ON/OFF something

Does it looks easy to build a driver or service that you grab the data from 
such a http page ?
if http is an issue and if reading a local text file is easier, I guess it 
can be easily made a linux script to download the file from http every xx 
seconds.

At the end, as it is HW indepedant, such a driver could used by almost 
anything based on raspberry pi or arduino or similar: there are many way to 
provide simple web server with those.

(my secret project with this is to slowly, one by one, replace my oregon 
sensors by my own weather station, "owfs style" but wireless between the 
sensors and weewx :-)).

Regards,
Frederic



Reply via email to