On Saturday, August 6, 2016 at 4:03:30 AM UTC-4, Siegfried H. wrote:
>
> My goal is to have my existing weather data (mostly from sensors connected
> to an esp8266), which are published to my mosquitto server and then send to
> my home automation system (openHAB) *as input to weewx* from where I
> would like to upload the data to weather underground.
>
> Is this possible and if yes, how?
>
first you have to get the data from your sensors into weewx. you'll have
to write a driver to talk to the esp8266, but that should be pretty easy
since the esp8266 interface is documented and pretty straightforward. one
approach for that is to have the weewx driver poll each of the esp8266 for
data over wifi tcpip. you could even write some simple python and run it
in micropython on the esp8266 itself, so that a bunch of esp8266 devices
push their data to a single weewx instance running on a heavy-duty computer
such as a rpi ;)
it typically takes a few hours to write a basic weewx driver - see the
weewx customization guide for details, and use one of the simple drivers
such as the ultimeter (ultimeter.py) or texas weather instruments (twi.py)
as a starting point.
once you have data in weewx, you'll have to get it into openhab. that
should be as easy as using the mqtt extension to weewx. assuming you
already have an mqtt broker for openhab, installing and configuring the
weewx mqtt extension should take well under an hour.
you also might want to import existing data into weewx. for that, consider
gary's wee_import utility. see this thread:
https://groups.google.com/forum/#!topic/weewx-user/gc_F0w_rtQw
unless your data are already in a standard format, it could take awhile to
wrangle the data.
m
--
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.