Google Home Command into Node Red

I’m trying to get a Google Home command into Node Red that will turn on a light but disable the motion sensor logic so that it won’t turn it off when there is no motion.

You can just have Google set a boolean in HA and use that as a trugger.

How do I setup a boolean? I cant seem to find how to do that

Helpers in configuration. Input_boolean.

I am fairly new to node-red and HA but I had the same problem and this is how I solved it.

I use node-red-contrib-googlehome 0.0.14 which can be installed through manage palette.

Once installed and configured any of the device nodes you add will end up on your phone in google home app just like any other device you have set up. This flow might help you get started.
.

[
    {
        "id": "f93475d45e680bc6",
        "type": "tab",
        "label": "WIP",
        "disabled": false,
        "info": ""
    },
    {
        "id": "2d1d94877a1d2f66",
        "type": "cast-to-client",
        "z": "f93475d45e680bc6",
        "name": "",
        "url": "",
        "contentType": "",
        "message": "",
        "language": "en",
        "ip": "",
        "port": "",
        "volume": "",
        "x": 1030,
        "y": 360,
        "wires": [
            [
                "a3b1245d7f03329c"
            ]
        ]
    },
    {
        "id": "807dacebc924c0a6",
        "type": "change",
        "z": "f93475d45e680bc6",
        "name": "Start Ocean Sounds",
        "rules": [
            {
                "t": "set",
                "p": "ip",
                "pt": "msg",
                "to": "192.168.1.103",
                "tot": "str"
            },
            {
                "t": "set",
                "p": "url",
                "pt": "msg",
                "to": "your image url",
                "tot": "str"
            },
            {
                "t": "set",
                "p": "contentType",
                "pt": "msg",
                "to": "audio/mp3",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 840,
        "y": 360,
        "wires": [
            [
                "2d1d94877a1d2f66"
            ]
        ]
    },
    {
        "id": "a3b1245d7f03329c",
        "type": "debug",
        "z": "f93475d45e680bc6",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 1230,
        "y": 360,
        "wires": []
    },
    {
        "id": "c29a7c9080cc6c75",
        "type": "noraf-switch",
        "z": "f93475d45e680bc6",
        "devicename": "Switch",
        "roomhint": "Bedroom",
        "name": "Good Night",
        "passthru": false,
        "errorifstateunchaged": false,
        "nora": "",
        "topic": "",
        "onvalue": "true",
        "onvalueType": "bool",
        "offvalue": "false",
        "offvalueType": "bool",
        "twofactor": "off",
        "twofactorpin": "",
        "filter": false,
        "asyncCmd": false,
        "outputs": 1,
        "x": 390,
        "y": 400,
        "wires": [
            [
                "484b61882e043be2",
                "b94e789377b1e14c"
            ]
        ]
    },
    {
        "id": "484b61882e043be2",
        "type": "switch",
        "z": "f93475d45e680bc6",
        "name": "True",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "true"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 590,
        "y": 360,
        "wires": [
            [
                "807dacebc924c0a6"
            ]
        ]
    },
    {
        "id": "b94e789377b1e14c",
        "type": "switch",
        "z": "f93475d45e680bc6",
        "name": "False",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "false"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 590,
        "y": 440,
        "wires": [
            [
                "3bcc7c28aadb60a5"
            ]
        ]
    },
    {
        "id": "4cfcef8e9c82b26f",
        "type": "cast-to-client",
        "z": "f93475d45e680bc6",
        "name": "",
        "url": null,
        "contentType": "",
        "message": null,
        "language": "en",
        "ip": "",
        "port": "",
        "volume": null,
        "x": 1030,
        "y": 440,
        "wires": [
            [
                "3e019b9df81d042c"
            ]
        ]
    },
    {
        "id": "3bcc7c28aadb60a5",
        "type": "change",
        "z": "f93475d45e680bc6",
        "name": "Stop Ocean Sounds",
        "rules": [
            {
                "t": "set",
                "p": "ip",
                "pt": "msg",
                "to": "192.168.1.103",
                "tot": "str"
            },
            {
                "t": "set",
                "p": "message",
                "pt": "msg",
                "to": "Stopping Music",
                "tot": "str"
            },
            {
                "t": "set",
                "p": "language",
                "pt": "msg",
                "to": "En-gb",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 840,
        "y": 440,
        "wires": [
            [
                "4cfcef8e9c82b26f"
            ]
        ]
    },
    {
        "id": "3e019b9df81d042c",
        "type": "debug",
        "z": "f93475d45e680bc6",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 1230,
        "y": 440,
        "wires": []
    }
]

Have fun.

You could remove one switch node and have add a condition in the other.
Switch nodes can have a lot of outputs, don’t know if there is a limit at all.

But isn’t Nora the palette that will stop working soon? I think I have heard something about it.