+1 for MQTT. If I was starting now, I probably would use MQTT. I didn't
know about it at the time, and I just wanted one more sensor (and then
another, and another...)

I have a Acurite system but I was dissatisfied with the thermometer, and
then the inside thermometer and humidity. So I added my own sensors. I used
ESP8266 to control the sensor and send the data to the Pi running Weewx. It
could have been a wifi enabled arduino. Anyway. I send the data to my pi
using a UDP port and have a service on the PI that writes it to a file. I
created my own weewx driver based on the Acurite one to read from the files.

Starting over, I'd probably go with MQTT.

On Mon, May 17, 2021 at 7:34 PM vince <[email protected]> wrote:

> On Monday, May 17, 2021 at 7:22:02 PM UTC-7 [email protected] wrote:
>
>> I've been working on making a weather station with some sensors from
>> sparkfun and an arduino uno. I'm currently collecting data using grabserial
>> on my pi but I think weewx could be more useful for me? I haven't used
>> weewx before and I'm a bit confused. would I need to use owfs
>> <https://github.com/weewx/weewx/wiki/owfs> for arduino compatibility?
>>
>>
> Probably depends on whether the sensors are on the weewx pi or not.
>
> If you have wifi-enabled arduino with sensors sprinked about the LAN, this
> is kinda what MQTT is for.   Publish your arduino data to a MQTT broker,
> ingest that data into weewx somehow.
>
> I did it a little differently ages ago before I knew about MQTT.  I have
> an ancient model-B pi with some sensors on a breadboard outside, and I
> periodically write a little JSON file that the pi's nginx server can return
> if I do a web query.  I then wrote a weewx extension to periodically hit
> that URL and save the data into a weewx db.   A little heavy lifting was
> required to learn that stuff.  If I was doing it today I'd just feed MQTT
> from the satellite sensor rigs, regardless of whether they were pi or
> arduino.
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/e6cd67a8-9e7f-4a48-8254-56267181d739n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/e6cd67a8-9e7f-4a48-8254-56267181d739n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Peter Quinn
(415)794-2264

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAA1SM21egp_YeoO-OPWyttb8OE58Pstw80x4cM7bBbuQUd_KhA%40mail.gmail.com.

Reply via email to