Hi thanks, it must be possible, but its hard to find with implicit or no documentation
-
Noticed a little layout issue
-
@bertreb haha yeah just a bit
tried to surpress it with extra attribute and option “hide in gui” but that doesn’t work. -
Sending a text message to a google device is working but when trying to send a mp3 pimatic respond with “error [pimatic-sounds]: error: Error: Load failed”
Tried to send a text (wich generates the mp3 in the sounds folder" and made a new rule with the mp3 file in stead of the text also gave this error.
Also tiny translation error when filename isn’t found: “File /home/pi/pimatic-app/sounds/fantasia’ does not excist” (exist)
-
@bertreb
tried 0.0.18 but still the same error when trying to play a file. -
@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