AirGradient Forum

Can I set the outdoor monitor to send data to a local MariaDB endpoint? and set how often?

I’m looking at buying one of the DIY Outdoor Monitors, I currently have a raspberry pi pico based outdoor weather station (Pimoroni Enviro Weather) that takes a bunch of sensor readings (temperature, humidity, wind speed, wind direction, etc.) every 5 minutes and every 30 minutes it connects to wifi and sends the data as json to a local php endpoint (that saves the data to a local MariaDB) and then the board goes back to sleep.

My question is it possible to do the same thing with your outdoor monitor? take reading every 5 minutes, upload the data every 30 min to a local php endpoint and sleep the rest of the time

Hi @xerox2k4, welcome to our community.

While the communication features of the Open Air might not be identical to your existing weather station, you can definitely send a request to the AirGradient Open Air’s local API to get air quality readings in JSON. You can see more details here: arduino/docs/local-server.md at master · airgradienthq/arduino · GitHub

The wake & sleep mechanism is not available in our current firmware. With the original firmware, the monitor will run all the time.