Traductor Google

martes, 23 de marzo de 2021

Send sound to Nest Mini from Homebridge

New attempt
using assistant relay https://greghesp.github.io/assistant-relay/docs/getting-started/installation
step by step no shortcuts

now on home bridge install the plugin 

Homebridge Http Switch Unlimited https://www.npmjs.com/package/homebridge-http-switch-unlimited


and here is the json confing in home bridge

{
    "accessory""HTTP-SWITCH-UNLIMITED",
    "name""test",
    "switchType""stateless",
    "timeout"1000,
    "onUrl": [
        {
            "url""http://192.168.0.222:3000/assistant",
            "method""POST",
            "body": {
                "command""hello world",
                "user""asisteme",
                "broadcast"true
            },
            "headers": {
                "Content-Type""application/json"
            }
        }
    ]
}

note that "asisteme" is the username with OAUTH from google in assistant-relay



IMportant, some safety settings in google make it useless unless you cancel the IPV6 on the sky router


New attempt
Brand new installation of raspbian
Connect to through terminal
Install nodejs 


Pip3 is already installed

Copied release into directory and run npm i

Install Catt with this command pip install Catt

And it works
I was finding some trouble as i was using a oauth file from another user created.







No hay comentarios:

Publicar un comentario