The way I have it set up is all of the sensors are connected on a sparkfun board on my arduino, and then the pi is powering the arduino. I'm just sending the data from the arduino straight to the pi with a usb connection and outputting it into a .csv
I don't think using MQTT would be necessary. Maybe I should have described my setup a little more clearly. On Monday, May 17, 2021 at 10:34:44 PM UTC-4 vince 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/0b08b90f-5313-46dc-92a6-b590ffbbe3f3n%40googlegroups.com.
