Adding pressure sensor via I2C or SPI to existing setup?

192 views
Skip to first unread message

Michael Neurohr

unread,
Dec 17, 2016, 3:24:45 PM12/17/16
to weewx-user
Hi,

I'm considering to buy a TFA KlimaLogg Pro to run it with WeeWX and probably upload the data to WU. According some posts here and on other places, this should work straight forward.
But to complete my setup, I'd also like to add a pressure sensor directly to my Raspberry Pi where the KlimaLogg USB dongle is connected to.

My question now is the following: Is it possible to add additional sensors to the same WeeWX instance where the KlimaLogg Pro is already connected? So can it be seamlessly integrated?

Thanks,
Michael

Dan Verbus

unread,
Dec 21, 2016, 1:09:52 PM12/21/16
to weewx-user
Yes, if you are running weewx on the same host, just create a service to augment every loop packet with the additional values from your pressure sensor. I did something like that here: https://github.com/DanV410/weewx-sdr-arduino

My modified version of the pond.py service reads the additional values from a file and appends them to Loop packets, but you could probably read the sensor directly in the code.

Dan

Michael Neurohr

unread,
Dec 27, 2016, 9:37:26 AM12/27/16
to weewx-user
Thanks Dan.
However, at the end I decided to buy a TFA Nexus. This one already has a barometer.

Michael
Reply all
Reply to author
Forward
0 new messages