@bertreb
tried 0.0.18 but still the same error when trying to play a file.
-
New plugin pimatic-sounds
-
@bertreb said in New plugin pimatic-sounds:
The file you are playing must exist in the sounds directory.
When you save the rule the file existence is checkedThere’s no error when creating the rule, file just wont play. tried multiple files but none of them play for some reason. Will check later on if something is wrong on my end.
thanks!
-
@djmvt said in New plugin pimatic-sounds:
@bertreb said in New plugin pimatic-sounds:
The file you are playing must exist in the sounds directory.
When you save the rule the file existence is checkedThere’s no error when creating the rule, file just wont play. tried multiple files but none of them play for some reason. Will check later on if something is wrong on my end.
thanks!
The filename must be without spaces!
-
@bertreb said in New plugin pimatic-sounds:
The filename must be without spaces!
I know, no spaces in the filenames, tried multiple files, even the files created with tts but error stays.
-
@bertreb said in New plugin pimatic-sounds:
Can you run the url in a browser?
Its <your local ip>:8088/<filename>
If you didn’t change the portAh that’s the problem! Changed my port to 4321 because of some other stuff I’ve been testing. Will change it back to 8088 then.
-
The port number shouldn’t be the problem unless something else is already running on that port.
Your need to restart Pimatic when you change the port number.Is the file playing in your current config <ip>:4321/<filename> ?
And what is the content type? (mp3, wav, …) -
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. -
@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.