kakopappa / sinric

Amazon Alexa Smart home skill / Google Home Action for ESP8266 / ESP32 / Arduino
https://sinric.com
285 stars 166 forks source link

Sending switch state to Google Home #259

Open jamacof opened 5 years ago

jamacof commented 5 years ago

The switch I'm running is operated by G-Home and a parallel IoT platform (could as well be a physical switch though). Point is I'm trying to send the current switch state to Ghome every time it's changed and failing miserably. Stuck with both G's and sinrics docs and examples. Ideas?

kakopappa commented 5 years ago

I will add a example with a push button. I will let you know when it’s done

On Thu, 18 Apr 2019 at 1:47 AM jamacof notifications@github.com wrote:

The switch I'm running is operated by G-Home and a parallel IoT platform (could as well be a physical switch though). Point is I'm trying to send the current switch state to Ghome every time it's changed and failing miserably. Stuck with both G's and sinrics docs and examples. Ideas?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kakopappa/sinric/issues/259, or mute the thread https://github.com/notifications/unsubscribe-auth/AHIM5ssMqBqCIHsXAwo3K4Cb8Bq_Kvm8ks5vh2xHgaJpZM4c1uDc .

kakopappa commented 5 years ago

https://github.com/kakopappa/sinric/blob/master/arduino_examples/switch_with_push_button.ino here you go