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 google home => wrong assignment #34

Closed
cimba007 opened this issue Mar 16, 2018 · 6 comments
Closed

Multiple google home => wrong assignment #34

cimba007 opened this issue Mar 16, 2018 · 6 comments

Comments

@cimba007
Copy link

cimba007 commented Mar 16, 2018

I got 2 google home mini which I want to address seperatly.

image
image

image

Both speakers say "Dies ist ein Test von Google Home null"
image

Both speakers say "Dies ist ein Test von Google Home eins"
image

The problem is that both mp3-files have the same content:

http://192.168.178.56:8082/state/sayit.0.tts.mp3
http://192.168.178.56:8082/state/sayit.1.tts.mp3

althouth the ttl text is different:

de;40;Dies ist ein Test von Google Home eins
de;40;Dies ist ein Test von Google Home null

Download and rename to just *.mp3
sayit 0 tts mp3
sayit 1 tts mp3

My guess is that both instances use the same mp3 file .. maybe add the instance id (0 or 1) to the filename

image

@BuZZy1337
Copy link
Collaborator

I will take care of this issue but i dont have any google home hardware at home..
Are you registered on forum.iobroker.net?
If yes, please tell me your username .. i will send you a private message for testing the changes.

Thanks.

@cimba007
Copy link
Author

@BuZZy1337 Hi and thanks. I am registered at the iobroker forum with the same username: cimba007.

@BuZZy1337
Copy link
Collaborator

I sent you some instructions how to test the changes via private Message.
Please report back the results of your tests.
Thanks. 👍

@cimba007
Copy link
Author

@BuZZy1337 Thanks for providing me with an updated version. I used the following code for my test:

          setState("sayit.0.tts.text", "de;50;Test eins");
          setState("sayit.1.tts.text", "de;50;Test zwei");

Both messages were played simultaneously on the according speakers. Seems to have solved the problem! Good work!

@GermanBluefox
Copy link
Contributor

..But sendTo must work anyway.

@BuZZy1337
Copy link
Collaborator

PR #39 is ready for this issue.

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

3 participants