MP3 didn’t play on port 4321 in pimatic (so when called from a rule) but it did play in the browser.
Changed the port back to 8088 and now it plays from pimatic.
-
New plugin pimatic-sounds
-
@bertreb said in New plugin pimatic-sounds:
Your need to restart Pimatic when you change the port number.
Of course! Pimatic has been restarted multiple times since the port change (few days ago). Just tested it again: when I set the port to something else then 8088 pimatic gives an error, on 8088 it works perfectly fine.
Thanks again!
-
With every update this plugin is getting better and better, thanks so much!
One question: is it possible to use variables on files too? That way I can make a buttons device with choices what mp3 to play.I’ve already made an input device for TTS so I can dynamicly change what is being played and that is working perfect!
-
@bertreb excellent! great work man
-
0.0.19 installed and tested:
variables are now possible in filenames, perfect!
casting stop is working.
resume tune-in doesn’t work, reset volume doesn’t seem to work either. I guess because of cast stopping?I don’t have sonos or ikea here so cannot test that part, sorry.
thanks man!
-
@bertreb said in New plugin pimatic-sounds:
Success with version 0.0.20 and let me know the results
tested 0.0.20:
Everything seems to work as expected now :D
If only speaker groups would work hahahahaThanks so much for this, created a doorbell and mailbox sensor in pimatic with variable TTS input, switches and buttons to choose how it has to sound when someone’s at the door or when we get mail in the mailbox. One of the reasons why I still love Pimatic so much, it’s so simple to implement this kind of gadgets!
Great work!!
-
Hi,
one last single variable…would be nice if following would be possible:
play text "$google-tts.input" vol $ttsVol on google-home
Currently it is not possible to use variable for vol (see like $ttsVol). Backround is that depending from the time I set different volumes for tts, due to let the kids sleep… Could be interessting as well for other users.
Regarding to the groups. Would it be an option for you to use the way like homduino shutters can be combinet to a group. It is not perfect, because each speaker will be called in sequence and not in parallel, but it is really fast, when I put two speaker in one single rule. One single IP means a single speaker. Multiple IP’s results in a group.
-
@ortin said in New plugin pimatic-sounds:
Hi,
one last single variable…would be nice if following would be possible:
play text "$google-tts.input" vol $ttsVol on google-home
Currently it is not possible to use variable for vol (see like $ttsVol). Backround is that depending from the time I set different volumes for tts, due to let the kids sleep… Could be interessting as well for other users.
I think it’s possible to use variable for volume.
Regarding to the groups. Would it be an option for you to use the way like homduino shutters can be combinet to a group. It is not perfect, because each speaker will be called in sequence and not in parallel, but it is really fast, when I put two speaker in one single rule. One single IP means a single speaker. Multiple IP’s results in a group.
For groups I already had a solution in mind like the Homeduino serial solution.
The advantage is that you can combine Google Home’s and Sonos’s in one group.
The devices are not triggered at the same time but very shortly after each other. In my test some of them play almost in parallel. -
@bertreb said in New plugin pimatic-sounds:
I think it’s possible to use variable for volume.
As it is possible it must be a different syntax as I post before. I tried different styles.
The above posted rule snippet results in an error. -
the more variables that can be set, the better
so volume as variable is also a good addition!
Regarding the groups: for me it doesn’t matter how groups are being called (sequential or parallel) as long as I can call my living room speakers (it’s a speaker pair from 2 google home speakers so content will be played in stereo) with the sounds plugin it would be absolutely awesome!
-
Stereo is not something i can test and the way i’m now playing out the text/file sounds is stereo but the devices join the 2 channel to mono.
Are the 2 stereo Google Homes configured as 1 device with 1 ip? -
Awesome. The stereo feature works perfect during my test. It was completely syncron!
The volume variable works as well!
Seems I need to skip my script due to the stereo stuff. This solution works even better.Really good job!
-
@bertreb said in New plugin pimatic-sounds:
Stereo is not something i can test and the way i’m now playing out the text/file sounds is stereo but the devices join the 2 channel to mono.
Are the 2 stereo Google Homes configured as 1 device with 1 ip?It’s not that I want the cast device in pimatic to cast in stereo, the Google home pair is acting like a stereo device so when I stream an iTunes stream it will be in stereo on those speakers.
In my network I can see 2 ip addresses, one for each speaker but when I try to cast to one speaker or even try to make a casting device in pimatic from one speaker it gives me an error “not allowed”. Gonna try with 0.0.23, will let you know tomorrow