Closed skezo closed 5 years ago
If your device's name is Google Home calling GoogleHomeNotifier::device will ignore it. This is caused by m_name being set as "Google Home" in esp8266-google-home-notifier.h and the strcmp(this->m_name, name) in GoogleHomeNotifier::device.
Google Home
GoogleHomeNotifier::device
m_name
"Google Home"
esp8266-google-home-notifier.h
strcmp(this->m_name, name)
This can be resolved by setting char m_name[128] = "Google Home"; to char m_name[128] = "";
char m_name[128] = "Google Home";
char m_name[128] = "";
If your device's name is
Google Home
callingGoogleHomeNotifier::device
will ignore it. This is caused bym_name
being set as"Google Home"
inesp8266-google-home-notifier.h
and thestrcmp(this->m_name, name)
inGoogleHomeNotifier::device
.