Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Weather Station into MyCodo #1113

Open
stickitandripit opened this issue Nov 20, 2021 · 1 comment
Open

Adding Weather Station into MyCodo #1113

stickitandripit opened this issue Nov 20, 2021 · 1 comment

Comments

@stickitandripit
Copy link

Hello,

Although this isn't a problem, I'm looking to intergrate my weather station into MyCodo and was hoping to get some direction how to achieve this.

The weather station im using and build guide is located here : https://projects.raspberrypi.org/en/projects/build-your-own-weather-station/6

It uses the RPi.bme280 which can be found and installed in the MyCodo dependences list, but I'm not sure how to move forward from there. I am wanting live statistics from the wind speed, gust, direction and rain fall sensors, which will allow me to activate an output (hose) is there isn't any rain while displaying the live sensor data.

Thankyou in advance, MyCodo is a great piece of software. Well done.

Kieren

@kizniche
Copy link
Owner

kizniche commented Dec 4, 2021

Looking at https://github.com/RaspberryPiFoundation/weather-station, it appears they're using a MCP342x analog-to-digital converter to measure the analog sensors. This is also supported by Mycodo. If you look through the files, you'll find how they calculate things from the values, such as wind direction (https://github.com/RaspberryPiFoundation/weather-station/blob/stretch/wind_direction.json).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants