Raspberry Pi Rain Radar & Weather Dashboard

Sdílet
Vložit
  • čas přidán 20. 07. 2024
  • The full project - core-electronics.com.au/proje...
    [Update - Rain Radar Works with 'Buster' OS, check the full project, link above, to download, flash and utilise the right Raspberry Pi OS] - Today we are going to create the perfect device to keep track of the rain so you can stay dry.
    Related Information
    GitHub of Pi Weather Station - github.com/elewin/pi-weather-...
    How to Use a LCD Screen/Display with Raspberry Pi - core-electronics.com.au/tutor...
    Heaps of Projects for Inspiration - core-electronics.com.au/projects
    Windy - www.windy.com/?-32.934,151.731,5
    Flight Radar 24 - www.flightradar24.com/-33.73,...
    Today were going to make the perfect device to let you know if you can ride your bike to work or not. This project will inform you at a glance of the current and future weather and let you know if there is or was rain in your local area. Just a few lines into the raspberry pi terminal and a couple of free API keys will create a locally hosted webpage which gives you the coolest weather radar on the block. Also if you want an even easier solution I demonstrate windy.com and planeradar24.com. Talking of the Terminal Commands I use. APT Get is a good method of getting a managed package which are scrutinised by the Open Source Community. Curl Get is a method of getting data from a URL which happens to be a text script. It then goes into bash and gets Sudo Executed. It is worthwhile being a little considerate when using Curl Get in the terminal encase the webpage has been spoofed.
    If you have any questions about this content or want to share a project you're working on head over to our maker forum, we are full time makers and here to help - coreelec.io/forum
    Core Electronics is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for:
    Raspberry Pi 4 Model B (4GB) Starter Kit Bundle (IN STOCK!) - core-electronics.com.au/catal...
    Raspberry Pi 4 Model B 2GB: core-electronics.com.au/catal...
    Raspberry Pi 4 Model B 8GB: core-electronics.com.au/catal...
    7 Inch Official Raspberry Pi Monitor: core-electronics.com.au/catal...
    Raspberry Pi Monitor Display: core-electronics.com.au/catal...
    0:00 Intro
    0:14 Overview
    1:12 What You Will Need
    1:47 Construction
    2:25 Terminal Commands
    4:22 API Data and Keys
    5:35 Prevent Screen Blanking
    6:05 What To Do When Pi Restarts
    6:39 Hide Mouse Option
    6:54 Windy and Flight Radar 24
    7:25 Outro

Komentáře • 119

  • @ericisawesome476
    @ericisawesome476 Před 2 lety +4

    Nice video!

    • @Core-Electronics
      @Core-Electronics  Před 2 lety

      Thanks mate 🙂 and huge thanks for making this amazing software in the first place, you are truly the best!

  • @scottvowell9852
    @scottvowell9852 Před 6 měsíci +7

    followed terminal entries to the letter ------wont work

  • @frankenstein4567
    @frankenstein4567 Před 3 lety +3

    Very nicely done. Clear and concise. I have done all this with another procedure, but I'm saving your video in case I have to go through installing it all again.

    • @mrpaulvoline1275
      @mrpaulvoline1275 Před 5 měsíci

      Share your procedure. I'm stuck at the npm install says file not found

  • @ryanfortner1868
    @ryanfortner1868 Před 2 lety +2

    This is a great and informative video. Thanks for sharing.

  • @ateiviz
    @ateiviz Před 8 měsíci +1

    What I'd love to do is integrate a local wind speed and direction station as well as a sky camera into this kind of a setup. I do astrophotography so local weather info like that would help a lot I recon.

  • @Seinfan4444
    @Seinfan4444 Před rokem +1

    Thank you for this excellent tutorial! Had this running in no time thanks to your instructions. Question, is there a way to make the radar smooth as it rolls across the screen?

  • @martinviajando9565
    @martinviajando9565 Před 2 lety +2

    thanks friends that was what I was looking for to get weather data from a weather radar 👍🙏🇩🇴 thanks friends for everything

  • @davecunningham7003
    @davecunningham7003 Před 2 lety +3

    That was really a great tutorial. I've got enough knowledge to be dangerous with linux overall and you explained this in a way that I can understand without any fluff. Thank you!

  • @jefftrevillian4318
    @jefftrevillian4318 Před rokem +3

    Hi, great video. Is there a way to customize what data is shown? Is it through the API keys? Or is it just locked into the way it is? For example, I'd like to use it pretty close to the way you describe, but I'd like to see more boating related weather things. Rather than the temperature graphs, I'd like to see projected winds over the next 6 to 8 hours, and maybe even a 3 day forecast with wind speeds and precipitation.

    • @Core-Electronics
      @Core-Electronics  Před rokem

      You can totally poke around the code 😊 it is all open source and you can find it here - github.com/elewin/pi-weather-station
      Once you have a grasp on how it is slapping all the information together customising it is definitely possible. Also if i remember correctly you can tap on the graph sections and they will swap to some wind preset information that may be exactly what your looking for.

  • @simonmuller2576
    @simonmuller2576 Před rokem +2

    this on a sailing boat would be great

  • @darrenbrenner2795
    @darrenbrenner2795 Před rokem

    Thanks man.

  • @superlbc
    @superlbc Před 3 lety +3

    Good

  • @martinviajando9565
    @martinviajando9565 Před 2 lety +1

    but what a great friend thanks friends for the information about the project of excellent work with the real climate but how can I put an example country of the Dominican Republic thanks for everything good luck

  • @Core-Electronics
    @Core-Electronics  Před 3 lety +4

    You can make it so it automatically starts up each time you turn on your Raspberry Pi. Check the Project Page to see how 🙂

    • @frankenstein4567
      @frankenstein4567 Před 3 lety +1

      I tried this. I didn't receive a line of command to type (or copy-paste) with a "sudo" after running pm2 start. Not sure what I'm doing or what I'm looking for to get pm2 to start Firefox automatically with the npm port of localhost:8080. Probably my error somewhere.

    • @Core-Electronics
      @Core-Electronics  Před 3 lety

      @@frankenstein4567 Sounds like your doing everything right. This video at starting from the 20 second mark is exactly what you should be seeing in your Terminal czcams.com/video/f9SwYNRWSLg/video.html

    • @martinviajando9565
      @martinviajando9565 Před 2 lety

      a question how can I make it visible on a web page so that users can see my work project on the weather of a weather radar thanks friends for everything good luck with your project

  • @b3itsolutions242
    @b3itsolutions242 Před 2 lety +3

    Is there any way that this could be used to turn on a relay (sonoff) if the wind goes above a certain speed.

    • @Core-Electronics
      @Core-Electronics  Před 2 lety +2

      You definitely could, just need to dive deep into the code. In particular pulling out the information about the wind speed that the API pulls in and using that as the activating trigger in a python script.

  • @martinviajando9565
    @martinviajando9565 Před 2 lety

    a question can be programmed with visual studio code code editor using visual studio code code editor terminal can you use raspberry pi commands 🤔

  • @jasonndirangu2625
    @jasonndirangu2625 Před 2 lety +1

    Very Nice Video.I have followed your video till the last step but i am failing to get the data reciprocated on the dashboard after entering the Respective API Keys.The PI Weather station local host page is just refreshing

    • @Core-Electronics
      @Core-Electronics  Před 2 lety

      Give it a little bit for the back end side of the API providers to do their thing. This can take like 30 minutes. If everything else it good and your keys are entered correctly you should be sweet to go.

  • @letsdo3Dprinting
    @letsdo3Dprinting Před rokem +1

    hmmm... i got error after installing the nodejs and typing the command npm install
    -bash: npm: command not found

  • @emmanuelappiah9167
    @emmanuelappiah9167 Před 2 lety +2

    Thanks for tutorial but I did follow all the steps except when I type npm install I get this error "bash: npm: command not found". Please, can you help me?

    • @Core-Electronics
      @Core-Electronics  Před 2 lety

      Thanks for making this comment!
      So, until there is correct compatibility of NPM with the new Raspberry Pi ‘Bullseye’ OS, at this stage flash and use the previous Raspberry Pi ‘Buster’ OS onto your Micro-SD. This will then work 😊 I just checked today.
      Everything you need to do that found here - core-electronics.com.au/tutorials/flash-buster-os-pi.html

  • @waynesalz5249
    @waynesalz5249 Před rokem +1

    ADSB-Exchange is also good for aircraft as its the source

    • @Core-Electronics
      @Core-Electronics  Před rokem

      Excellent Idea, I look forward to doing some more Plane sensing tutorials soon. Check out this device right here - core-electronics.com.au/flightaware-pro-stick-plus-usb-sdr-ads-b-receiver.html

  • @martinviajando9565
    @martinviajando9565 Před 2 lety +1

    a question what monitor can be used if necessary if you can use the monitor of the computer thanks friends for everything good luck 😎

  • @jamminwrenches860
    @jamminwrenches860 Před rokem

    We could add a pir sensor to wake the screen automatically when walking by.

  • @svlofi8703
    @svlofi8703 Před rokem +2

    hey, i followed everything in the video but after i put in the api keys, i waited for hours for it to activate but its still not loading the maps or weather info. its just a loading animation. pls help Thanks!

    • @Core-Electronics
      @Core-Electronics  Před rokem

      Heyya mate, I think you raised this question on the Forum. My tip for you initially is to use a more powerful power supply. It looks to me like the Raspberry Pi is having current/voltage issues.

  • @elijahrobertson5734
    @elijahrobertson5734 Před 2 měsíci

    Could i do this on a non raspberry pi but an old pc laying around?

  • @tld8102
    @tld8102 Před 3 lety +2

    How does this compare to a BOM web app widget?

    • @Core-Electronics
      @Core-Electronics  Před 3 lety +1

      Style points and this gives weather predictions 7 days into the future instead of 3 from the dashboard.

  • @joshuamasonseight-bitbasta2451

    i copy/pasted the mapbox key, and everythings working, except i have no map. my locations there, the weather too, but no map. any ideas?

    • @Core-Electronics
      @Core-Electronics  Před 2 lety

      It sounds like you are very close. If you have just finished building it API's can sometimes take a little bit of time on their server side to kick in and allow you to pull information from them. There are also some successful troubleshooting for your situation at the bottom of the project page which I will link here, (it could be the node source version that you have installed) - core-electronics.com.au/projects/pi-weather-rain-display

    • @joshuamasonseight-bitbasta2451
      @joshuamasonseight-bitbasta2451 Před 2 lety

      @@Core-Electronics thanks! its up and running... i was getting a 'too many requests' error but its all good now.

  • @martinviajando9565
    @martinviajando9565 Před 2 lety

    I can't enter Github to copy the links 🤔🙌🙏

  • @huttonwarren7355
    @huttonwarren7355 Před 2 lety +3

    When i get to 'npm install' it says bash 'command not found' what do I do?

  • @austindale3129
    @austindale3129 Před 2 lety +1

    I have the previous Raspberry Pi ‘Buster’ OS installed as you suggested in the comment below and my PI screen is the old familiar one and still when I get to npm install it says -bash: npm: command not found. Can you please help?

    • @Core-Electronics
      @Core-Electronics  Před 2 lety

      After typing and entering the line | curl -sL deb.nodesource.com/setup_10.x | sudo bash - | what kind of result do you get?
      If your still running into issues come write up a message in the comment section with some screen grabs of the terminal messages.

    • @JM_BoltActionGunStuff
      @JM_BoltActionGunStuff Před rokem

      @@Core-Electronics it does things like in your video but npm install command not found...

    • @Kokididokki
      @Kokididokki Před rokem

      @@JM_BoltActionGunStuff install npm first that should it
      sudo install npm

  • @martinviajando9565
    @martinviajando9565 Před 2 lety

    Can someone help me to create an account I don't understand anything about this session registration I know how to create a php registration with mysql and SQL but I don't understand anything about this session registration can you help me

  • @waynesalz5249
    @waynesalz5249 Před rokem +1

    Can a GPS be connected so the map reflects your location (as it changes)

    • @Core-Electronics
      @Core-Electronics  Před rokem

      For sure! All the scripts are open source so the tools are in your hands to make it a reality 😊 github.com/elewin/pi-weather-station

  • @martinviajando9565
    @martinviajando9565 Před 2 lety +1

    One question, can the TV monitor and the HDMI cable be used with the raspberry pi graphics card, thanks friends for everything 😅🇩🇴

    • @Core-Electronics
      @Core-Electronics  Před 2 lety +1

      Hey mate, you can definitely hook the Raspberry Pi Single Board Computer to a TV/Monitor Screen. Give this guide a look if you need 😊 - core-electronics.com.au/tutorials/dual-monitors-raspberry-pi-4.html

    • @martinviajando9565
      @martinviajando9565 Před 2 lety +1

      @@Core-Electronics I was looking for that to create an interactive map to locate the bad weather and its temperature thanks friends for everything for helping me learn to program the language codes I want to know if you can use a monitor on a table with yellow, white and red cables thanks friends you are very cool in language programming

    • @Core-Electronics
      @Core-Electronics  Před 2 lety

      Hey mate, the product you are looking for is one of these - core-electronics.com.au/catalog/product/view/sku/ADA3365
      You can then use the HDMI port of your Raspberry Pi --> Plugged into the HDMI to PAL (the Three Colourful Wires) --> Plugged into your Monitor. Hope that helps 🙂

  • @craig29520
    @craig29520 Před rokem

    I have tried this 3 times on my pi3 and just can't seem to get it to work. In what order from top to bottom are you entering to he keys? It seems that the video shows one thing but your notepad says something else. I'm at a point where I'm about to turn this pi into a brick.

    • @Core-Electronics
      @Core-Electronics  Před rokem

      Thats no good mate! Here is some great troubleshooting to follow through if your having issues - forum.core-electronics.com.au/t/raspberry-pi-rain-radar-weather-dashboard/10277/1
      If that doesn't work, hit up our forum with some pictures of your gear and we'll get it working 😊 - forum.core-electronics.com.au/latest

  • @jdemacek
    @jdemacek Před rokem +1

    Can this weather station software work in the vertical orientation?

    • @Core-Electronics
      @Core-Electronics  Před rokem +1

      You will have to change some configurations however I am sure it can. This is fully open source 😊 so you can do anything you'd like to it!

  • @will5806
    @will5806 Před 2 lety +1

    I already have something listening on port 8080, when I run npm start it fails as address in use, how do I change this please?

    • @will5806
      @will5806 Před 2 lety +1

      I found the config and changed the listening port. For anyone else with same problem = "/pi-weather-station/pi-weather-station/server/index.js".

    • @Core-Electronics
      @Core-Electronics  Před 2 lety +1

      Oooopa 😊 very glad to hear you figured it out.

  • @photog.prince
    @photog.prince Před rokem +1

    Is there a working weather module radar module for magic mirror??

    • @Core-Electronics
      @Core-Electronics  Před rokem

      Come check this Magic Mirror Open Source Modular System here - github.com/MichMich/MagicMirror
      That's the ticket.

    • @photog.prince
      @photog.prince Před rokem +1

      ​@@Core-Electronics Yeah. That was the first place I looked....

  • @zenmaster24
    @zenmaster24 Před 3 lety +1

    >What To Do When Pi Restarts
    is there no way of automating the starting of the nodejs server?

    • @toxaq
      @toxaq Před 3 lety +1

      Google PM2 autostart

    • @zenmaster24
      @zenmaster24 Před 3 lety +2

      @@toxaq looks like a cool process manager thats pretty easy to use - would have been good for the video to devote 30 seconds to it instead of the manual starting of the node server steps

    • @Core-Electronics
      @Core-Electronics  Před 3 lety

      Cheers all, I reckon PM2 is worthy of its own tutorial. Definitely an excellent tool to automate

    • @Core-Electronics
      @Core-Electronics  Před 3 lety +1

      I have come to an acceptable solution to automating the server. It Involves PM2 to run the **| npm start |** whenever the Raspberry Pi turns on (and it has connected to the internet) in combination with using Firefox as the default browser. On Firefox I installed an Extension called Auto Fullscreen so when the browser opens with the Weather Station it will take up all the screen as it should. I'll write up a line-by-line on the project page.

    • @zenmaster24
      @zenmaster24 Před 3 lety +1

      @@Core-Electronics could you make a second video showing the steps you went through?

  • @jc-cd8qy
    @jc-cd8qy Před rokem +1

    Everything is great until IO get an error after typing nom install. Any thoughts?

    • @Core-Electronics
      @Core-Electronics  Před rokem

      Double check for me that you have your system connected to the internet, otherwise come check out the troubleshooting in the article comment section here - core-electronics.com.au/projects/pi-weather-rain-display/

  • @GatoALoTo
    @GatoALoTo Před rokem +1

    Is there a way to show natural disasters, specifically tornados?

    • @Core-Electronics
      @Core-Electronics  Před rokem +1

      Totally Open-Source Code so if you want to add that feature you definitely can 😊!

    • @GatoALoTo
      @GatoALoTo Před rokem +1

      @@Core-Electronics thank you!

  • @MrGuyGoneGamer
    @MrGuyGoneGamer Před 2 měsíci

    3:35 My code says the list of courses could not be read. Please help.

  • @martinviajando9565
    @martinviajando9565 Před 2 lety +1

    send me the link of the 3 weather map API page for me to copy the weather map API codes thanks friends for everything good luck with your project 😎🇩🇴🙏🙌

    • @Core-Electronics
      @Core-Electronics  Před 2 lety

      You get to make your own with each respective API provider, they're all free 😊

  • @martinviajando9565
    @martinviajando9565 Před 2 lety +1

    that login is a puzzle i cant make an account to get into the login login how do i create an account

    • @Core-Electronics
      @Core-Electronics  Před 2 lety +1

      Come over to the forum and I'll give you a hand there mate, easier to do than here 🙂

  • @marcelh.2122
    @marcelh.2122 Před rokem +1

    Hallo.
    Ich bin verzweifelt am probieren diese Wetterstation auf meinem Raspi zu installieren und zum laufen zu bekommen. kann mir da jemand helfen?

    • @Core-Electronics
      @Core-Electronics  Před rokem

      Come check out comments section in the full written up article. Also check out the open source GitHub page for some more troubleshooting tips - github.com/elewin/pi-weather-station . I know you can do it!
      Schauen Sie sich den Kommentarbereich im vollständig geschriebenen Artikel an. Sehen Sie sich auch die Open-Source-GitHub-Seite an, um weitere Tipps zur Fehlerbehebung zu erhalten. weiß, dass du es kannst!

  • @Scicluna83
    @Scicluna83 Před 3 lety +1

    What about the vilnrability reported in the code @4:03

    • @Core-Electronics
      @Core-Electronics  Před 3 lety +1

      Good eyes mate, if that comes up in your code and you want to address it enter | npm audit fix | in your terminal to fix it. I talk about it in the project write up.

    • @Scicluna83
      @Scicluna83 Před 3 lety +1

      @@Core-Electronics thanks

  • @O__O-
    @O__O- Před 3 měsíci

    I need help nodesource says bookworm is not supported,just so you guys know I was using pi os 32 bit full

    • @Core-Electronics
      @Core-Electronics  Před 3 měsíci

      Hey sorry to hear you are having issues, Bookworm OS is the newest version and a lot of these packages aren't built for it. We know that this works with Buster OS, and we have a guide on how to install that: core-electronics.com.au/guides/flash-buster-os-pi/
      Best of luck!

    • @O__O-
      @O__O- Před 2 měsíci

      Thank you it worked

  • @ImLitterlyBridget
    @ImLitterlyBridget Před 7 měsíci

    does anyone know a free alternative for a mapbox api key? I dont want to use my debit card for this

  • @bonsaihorn
    @bonsaihorn Před 2 lety

    What was the vulnerability?

    • @Core-Electronics
      @Core-Electronics  Před 2 lety

      When using an older version of the npm package that pops up. If you want to fix it type and enter | npm audit fix | into your terminal.

  • @mrpaulvoline1275
    @mrpaulvoline1275 Před 5 měsíci

    I've tried this with problems no npm install or start. Says no folder.

    • @I_Was_Groot_2000
      @I_Was_Groot_2000 Před 4 měsíci +1

      you need to install nodejs (apt get-install nodejs) and install npm (apt get-install npm) Just did this yesterday on a fresh rPi build and it worked perfectly for me.

  • @JancoCoetzee-qr2gx
    @JancoCoetzee-qr2gx Před měsícem

    What will it cost me to buy one from you or to get it in south africa

    • @Core-Electronics
      @Core-Electronics  Před měsícem

      Hey, we don't typically ship these pre-built, but we have a list of all the parts you need here to get going:
      core-electronics.com.au/projects/pi-weather-rain-display/

  • @neptunepressurewash7920
    @neptunepressurewash7920 Před 6 měsíci

    Any idea why this no longer works ?

    • @I_Was_Groot_2000
      @I_Was_Groot_2000 Před 4 měsíci

      it still works. Make certain that you are only using 4 places past the decimal for lat/long.

  • @jamesbucsis6296
    @jamesbucsis6296 Před 9 měsíci

    Or look at the weather app

  • @domfrfr27
    @domfrfr27 Před rokem +1

    Doesn’t work, npm install isn’t a command for me

    • @Core-Electronics
      @Core-Electronics  Před rokem

      Double check the comment section for a whole bunch of successful troubleshooting. Find it at the bottom of the main write up here - core-electronics.com.au/projects/pi-weather-rain-display/

    • @domfrfr27
      @domfrfr27 Před rokem +1

      @@Core-Electronics alr thx man

  • @mikeburdette
    @mikeburdette Před rokem

    mine is not working at all nothing

    • @Core-Electronics
      @Core-Electronics  Před rokem

      Come write up a forum post which some extra details and images 😊 we'll best be able to help you that way - forum.core-electronics.com.au/

  • @O__O-
    @O__O- Před 3 měsíci

    Wht are you selling the 7" screen for 149,what a ripoff

  • @africantwin173
    @africantwin173 Před 2 lety

    So without internet , this pi doesn't show anything. Pretty useless. If it had a antenna and good sdr hardware then it would be usefull to use.

  • @victororo462
    @victororo462 Před 3 měsíci

    Can a Zero 2w be used?

  • @shoebert31
    @shoebert31 Před 3 lety +1

    this can be done with a regular monitor as well?

    • @Core-Electronics
      @Core-Electronics  Před 3 lety

      Absolutely mate

    • @shoebert31
      @shoebert31 Před 3 lety +1

      @@Core-Electronics so ive followed the tutorial(mostly) I downloaded 14 instead of 10 because it said it was unsupported or unstable. I did the things and do npm start and it starts. But it just opens the tab and has a spinning circle the right and on the left it says cannot retrieve map data did you enter an api key. I did enter all 3 and im even pretty sure they are in the right spots SEND HALP

    • @Core-Electronics
      @Core-Electronics  Před 2 lety

      I'm sorry shoebert31 for not getting to this sooner! Kirk on the comment section of the Project article did the same and downloaded 14 instead of 10 and ran into issues. It is important to get nodesource version 10.
      When you run and enter the below line in your terminal -
      curl -sL deb.nodesource.com/setup_10.x | sudo bash -
      It does say that it is no longer supported and it recommends a newer version but if you wait 20 seconds it will download the desired 10.x version it will download perfectly fine.