Sending data to your InfluxDB database from other remote Raspberry Pis much I’d strongly recommend that you set a static IPĪddress for your Raspberry Pi in your router’s DHCP settings. Raspberry Pi, by typing ssh or ssh the hostname or IP address with whatever the hostname or IP address Open a terminal on your computer and connect via SSH to your freshly-booted There are a couple of modifications that I’ve made to the steps, to incorporate These next two parts, installing InfluxDB and Grafana, are based heavily on The greenĪctivity LED should light up and blink to show that your Pi is booting up. Pop the micro SD card into your Pi and plug the power supply in. Now click “WRITE” to burn the micro SD card. Once you’ve burnt the image to the micro SD card and booted up your Pi. Then select “Configure wifi” and enter your wi-fi network’s SSID and password.ĭoing all of this will make it really easy to install everything headlessly Set the password to something memorable and secure. “Set hostname” checkbox and then call it something like influxdb.local, so youĬan find it easily on your network. Hidden menu, where you can configure some additional settings. Pop the micro SD card into yourĬomputer, and then click “CHOOSE STORAGE” and select the micro SD card.īefore clicking “WRITE”, press control-shift-x to open up the super-secret Select “Raspberry Pi OS (other)”,Īnd then select “Raspberry Pi OS (Legacy)”. Raspberry Pi Imager, and click “CHOOSE OS”. To burn the image onto my micro SD card, as it gives handy advanced options forĮnabling SSH, changing the hostname, setting up wi-fi, and more. You use the legacy Buster version that Raspberry Pi have made available. Wrinkles to be ironed out in terms of software compatibility, so I’d recommend Installing the Raspberry Pi OSĪt the time of writing, the new Bullseye release of Raspbian still has some Or screen, or keyboard, and there’s no need for any of those. My Raspberry Pi 4 was set up completely headless, without an attached display, There’s not much you’ll need for this setup, but I’ll list it anyway: The whole thing is a complex setup, so I’ll try to cover it as best I can in It can use a variety of data sources but does work very well with Grafana is a web frontendįor building data dashboards, and it’s often used for real time server analyticsĪnd such. ![]() Nightly backups that get sent to a folder in my Dropbox.ĭesigned specifically for time series data, so it’s perfect for logging the sort Measurements, wind speed, and wind direction.Ī Raspberry Pi 4 runs the InfluxDB database and Grafana frontend and also runs Raspberry Pi Zero W with Pimoroni Weather HAT collects additional rainfall Variables plus PM2.5 and PM10 particulate (air quality) readings. Particulate matter sensor outside our front door collect the same four Humidity, pressure, and light level indoors in our living room and bedroom.Īnother Raspberry Pi Zero W with a Pimoroni Enviro+ board and PMS5003 Two Raspberry Pi Zero Ws with Pimoroni Enviro boards collect temperature, The combination of an InfluxDB database and Grafana frontendĪllows me to see all the data instantly from anywhere. Humidity, light level, air quality, and more recently rainfall and wind I’ve logged more than three million data points now: temperature, pressure, Home, indoor and out, with some Pimoroni Enviro boards and Raspberry Pi Zero Ws. Analysing home environmental data with InfluxDB and Rįor more than a year now, I’ve been logging environmental data from around my.Logging Raspberry Pi environmental data to InfluxDB.Setting up InfluxDB and Grafana on the Raspberry Pi 4.With Raspberry Pis and Pimoroni environmental boards: ![]() This is the first in a series of posts about collecting home environmental data Setting up InfluxDB and Grafana on the Raspberry Pi 4 Dec 29, 2021
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |