WeeWX on RPi with custom hardware based on I2C sensors

75 views
Skip to first unread message

Sergio Alejandro González

unread,
Mar 27, 2020, 6:30:35 PM3/27/20
to weewx-user
Ok guys..I have a couple of doubts:

I'm completely new to WeeWX but I think that I can use it for a complete custom weather station that I've created and is based on I2C sensors, specifically, atmospheric radiance sensors. Now my question is I need to query those sensors every second. WeeWX is able to be customized to be able to do that?

I currently have the custom hardware working on a RPI3 with Python 3.6 code...I know WeeWX works in Pyhton 2.7...could this be a problem ?

Warmest regard to all in this forums and tanks in advance to any help...

Thomas Keffer

unread,
Mar 27, 2020, 8:59:29 PM3/27/20
to weewx-user
WeeWX blocks on queries to the sensors, so it responds as fast as the sensor emits data. Once per second should be fine on all but the slowest of platforms.

WeeWX V3.9 runs on Python 2.x only. Version 4.x (due RSN), runs on either. It's pretty stable. You can find betas in the development download area.

-t



--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/3b630c01-c50d-4729-bbb6-ea895fe83cb8%40googlegroups.com.

Sergio Alejandro González

unread,
Mar 27, 2020, 9:16:32 PM3/27/20
to weewx-user
Thank you Thomas for you prompt response...I'll take a deep look at version 4.b17....


On Friday, March 27, 2020 at 9:59:29 PM UTC-3, Thomas Keffer wrote:
WeeWX blocks on queries to the sensors, so it responds as fast as the sensor emits data. Once per second should be fine on all but the slowest of platforms.

WeeWX V3.9 runs on Python 2.x only. Version 4.x (due RSN), runs on either. It's pretty stable. You can find betas in the development download area.

-t



On Fri, Mar 27, 2020 at 3:30 PM Sergio Alejandro González <sergio.alej...@gmail.com> wrote:
Ok guys..I have a couple of doubts:

I'm completely new to WeeWX but I think that I can use it for a complete custom weather station that I've created and is based on I2C sensors, specifically, atmospheric radiance sensors. Now my question is I need to query those sensors every second. WeeWX is able to be customized to be able to do that?

I currently have the custom hardware working on a RPI3 with Python 3.6 code...I know WeeWX works in Pyhton 2.7...could this be a problem ?

Warmest regard to all in this forums and tanks in advance to any help...

--
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...@googlegroups.com.

Sergio Alejandro González

unread,
Mar 29, 2020, 5:19:17 PM3/29/20
to weewx-user
Thomas

This reply is a huge thank you and deep admiration of your work. As you can see the image attached, that is a web page being served in a RPI3 that runs Arch Linux and running weewx 4b17 in the background with Python 3.8 (simulation station). Let me tell you that it was not easy translating everything to Arch Linux because it very basic. But the process teach me a lot.  I'll now look deeper into you Python code to have a close idea how you manage to acquire data. Once again THANK YOU with capital letters and you ARE the man!

Screenshot from 2020-03-29 18-11-56.png

Reply all
Reply to author
Forward
0 new messages