Skip to content

Using your Raspberry Pi

After powering up your Raspberry Pi, you will need to obtain its IP address to use NodeRED. An IP address is a unique set of numbers assigned to individual devices on your network and is required to access the web interface of NodeRED in later steps.

Powering up your Raspberry Pi

  1. Make sure the Micro SD card is inserted
  2. If using ethernet, connect it now. If using WiFi, the connection information should be already set by the vendor
  3. Power on your Raspberry Pi using an adequate power supply

Getting the IP using the Local IP display panel

  1. After booting, IP will appear on the display

Getting the IP using nmap

  1. Make sure your computer is on the same network as your Raspberry Pi
  2. Install nmap on your computer
  3. From your terminal of choice, enter the command below. You may need to adjust the IP range depending on your network

    1
    2
    3
    nmap -p 1880 [Your Local IP].1-254
    
    # Example: nmap -p 1880 192.168.1.1-254
    
  4. The output will include all IPs with port 1880 open, the default port for NodeRED

    • There should be only one IP; which is the Raspberry Pi's IP
    • If there is more than one search for entries that with MAC address associated with the Raspberry Pi Foundation, and new devices on the list.

Optional: Making sure your computer is on the same network

  1. From your terminal of choice, enter the following command:

    1
    2
    3
    ping [Raspberry Pi's IP]
    
    # Example ping 192.168.1.2 
    
  2. The response should look something like this: 64 bytes from xx.xx.xx.xx: icmp_seq=x ttl=xx time=xx ms and not: Request timeout for icmp_seq x

  3. To stop the ping command, press CTRL+C (Same for Mac)

Check before proceeding

  • Have you powered the Raspberry Pi on?
  • Have you obtained the IP of your Raspberry Pi?
  • Do you know if the computer you're using is on the same network as the Raspberry Pi?

If everything is ok, proceed to using NodeRED 🎉