This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.

Homey talking through google home.

pettibpettib Member
edited July 12 in Ideas & Suggestions
Hi
I have made an instruction how to make Homey send text strings to Google home who read the message for you.
I want to use this instead of using Homeys built in speaker. This way I also can send message to different Google Home units with some more coding.

https://www.instructables.com/id/Homey-Talking-Through-Google-Home/


Comments

  • pettibpettib Member
    This instruction is updated with a solution to fix this without a ESP8266
  • konradwalshkonradwalsh Member
    edited July 10
    EXCELLENT WORK!

    I can t wait to get the pieces to try this out. Thanks!


    UPDATE:

    I install NODE-RED on Windows Server
    Install Dashboard
    Installed you flow, edited MQTT and boom

    all good!
  • TiyrellTiyrell Member
    Looks great!

    Would be even greater if it is to become an app on Homey:
    https://github.com/noelportugal/google-home-notifier

    That looks like it could work I think?
  • gijsjegijsje Member
    I have never used node red or mqtt yet but was always interested in it.
    Now this is good reason to try it out.
    i do not realy have clue yet how it works yet.
    I have installed node red on a pi and it works.
    I have installed the mqtt on the same pi and i think it works but do not know how to test it.

    I have imported your script from step 5 and added the node-red-contrib-google-home-notify
    But i have a unknown ui_text_input where the Message text.
    Should i install another pallet for this?

  • pettibpettib Member
    The ui_text_input is from Node-Red Dashboard. You can delete that one if you want or just install that plugin. It´s only used to test the funktion.

  • pettibpettib Member
    gijsje said:
    I have never used node red or mqtt yet but was always interested in it.
    Now this is good reason to try it out.
    i do not realy have clue yet how it works yet.
    I have installed node red on a pi and it works.
    I have installed the mqtt on the same pi and i think it works but do not know how to test it.

    I have imported your script from step 5 and added the node-red-contrib-google-home-notify
    But i have a unknown ui_text_input where the Message text.
    Should i install another pallet for this?

    You can try this flow to test you mqtt broker:
    [{"id":"81e36260.1a7af","type":"mqtt in","z":"a8a5977f.589018","name":"","topic":"IOT/Google/IN_Message","qos":"2","broker":"13ec6d5f.554833","x":536,"y":605,"wires":[["bf2537a.85b86c8"]]},{"id":"bf2537a.85b86c8","type":"debug","z":"a8a5977f.589018","name":"","active":true,"console":"false","complete":"false","x":811,"y":599,"wires":[]},{"id":"a75766ea.5188d8","type":"inject","z":"a8a5977f.589018","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":486,"y":516,"wires":[["adc1b985.42ece8"]]},{"id":"adc1b985.42ece8","type":"mqtt out","z":"a8a5977f.589018","name":"","topic":"IOT/Google/IN_Message","qos":"","retain":"","broker":"13ec6d5f.554833","x":844,"y":521,"wires":[]},{"id":"13ec6d5f.554833","type":"mqtt-broker","z":"","broker":"192.168.1.160","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"willTopic":"","willQos":"0","willPayload":"","birthTopic":"","birthQos":"0","birthPayload":""}]



  • pettibpettib Member
    Tiyrell said:
    Looks great!

    Would be even greater if it is to become an app on Homey:
    https://github.com/noelportugal/google-home-notifier

    That looks like it could work I think?
    That would be very good. But I´m not the man who can do that. sorry. After that i hope we can get seamless integration the other way as well. Google home to Homey. It´s possible today but you have to tell Google to talk with Homey.

  • That is realy good work...
  • TiyrellTiyrell Member
    pettib said:
    Tiyrell said:
    Looks great!

    Would be even greater if it is to become an app on Homey:
    https://github.com/noelportugal/google-home-notifier

    That looks like it could work I think?
    That would be very good. But I´m not the man who can do that. sorry. After that i hope we can get seamless integration the other way as well. Google home to Homey. It´s possible today but you have to tell Google to talk with Homey.

    Agreed, till then this is a great solution you made. Good work! :)
  • gijsjegijsje Member
    Works great now we have to wait until Dutch is availible
  • Maybe there is even a simpeler solution, using the broadcast-function of Google Home: https://github.com/athombv/homey/issues/2338
Sign In or Register to comment.