Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple devices at once? #8

Open
Dontmindmes opened this issue Mar 18, 2019 · 2 comments
Open

Multiple devices at once? #8

Dontmindmes opened this issue Mar 18, 2019 · 2 comments

Comments

@Dontmindmes
Copy link
Contributor

Hey could you please add capabilities for multiple devices?

@evalphobia
Copy link
Owner

I think we should use the different instance to manipulate multiple devices in common situation.

cli1, _ := googlehome.NewClientWithConfig(googlehome.Config{
	Hostname: "192.168.0.1",
	Lang:     "en",
	Accent:   "GB",
})

cli2, _ := googlehome.NewClientWithConfig(googlehome.Config{
	Hostname: "192.168.0.2",
	Lang:     "ja",
})

But it's not difficult (except error handling) to add another struct which contains multiple clients, I'll consider it! 🌵

@Dontmindmes
Copy link
Contributor Author

I actually recently discovered something that allows to broad cast to all Google's homes at the same time with out any difference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants