❤️‍🔥

Control Google Nest mini with NodeRed

Prerequisites

  • Docker
  • Google Nest Mini
  • Tools for scan device on network.

Setup

  • Connect NestMini to same network with your NodeRed (In my case my computer run NodeRed and Nest Mini connected to same wifi network.
  • Run NodeRed Docker container
    • docker-compose up -d
      # docker-compose.yml
      version: "3.7"
      services:
        node-red:
          image: nodered/node-red:latest
          environment:
            - TZ=Europe/Amsterdam
          ports:
            - "1880:1880"
          networks:
            - node-red-net
          volumes:
            - ./data:/data
      networks:
        node-red-net:

Node-Red

notion image
  • Install node-red-contrib-cast Palette
    • Go to Manage Palette
    • notion image
    • Search node-red-contrib-cast on install tab then install node-red-contrib-cast
    • notion image

Google Nest Mini

  • Find ip address of Google Nest Mini on your network.
    • Find your Nest Mini Mac Address by Google Home Application.
    • Use Mac Address for find ip address of your device on network.
      • You can use tools for scan ip address on network
      • In my case i use ARP command
      • # type this commond on your terminal 
        arp -a 
        # select IP address of your google nest (refer to MAC ADDRESS)
      *** By Default your router (access point of your network) will use DHCP for devices that connected to network so IP of google nest mini don’t fixed by default but you can fix it by setting by your router.

node-red-contrib-cast

  • Select case function from node-red-contrib-case
notion image
  • Define Parameters
    • GIP (Nest Mini IP)
    • Message
    • Language
    • Volume
    • notion image
  • Add Node-RED for inject cast for test your cast to Nest Mini.
  • Click Deploy.
... Let’s Fun with Goole Nest Mini.