thexperiments / pimatic-play Goto Github PK
View Code? Open in Web Editor NEWPlugin for playing sounds with pimatic
License: GNU General Public License v2.0
Plugin for playing sounds with pimatic
License: GNU General Public License v2.0
The Command Line Audio worked (installed first mpg321 then mplayer)
This occurd when i trigger the Pimatic play rule:
error [pimatic]: A uncaught exception occured: TypeError: Cannot read property 'cyan' of undefined at ChildProcess. (/home/pi/pimatic-app/node_modules/pimatic-play/node_modules/play/lib/play.js:140:124) at ChildProcess.EventEmitter.emit (events.js:98:17) at Process.ChildProcess._handle.onexit (child_process.js:789:12) This is most probably a bug in pimatic or in a module, please report it!
Hello
Can you give me yeasts .
I play installed and the log also shows the everything goes but I do not hear sound , unfortunately,
log :
Playing = > / home / pi / pimatic app / alarm.wav
completed = > / home / pi / pimatic app / alarm.wav
22 : 12 : 00,709 [ pimatic ] info : rule time : played " alarm.wav "
Playing = > / home / pi / pimatic app / sound1.wav
completed = > / home / pi / pimatic app / sound1.wav
22 : 20 : 01,055 [ pimatic ] info : rule time : played " sound1.wav "
Playing = > / home / pi / pimatic app / sound1.wav
completed = > / home / pi / pimatic app / sound1.wav
22 : 25 : 01,572 [ pimatic ] info : rule time : played " sound1.wav "
Hey
i am using pimatic with pimatic play (this is the only plug in that works for me, playing audios by triggering gpio),
but at the moment i am not able to stop/pause the audio files.
Can anyone help me?
Or can anyone tell me a suitable solution for other audio players?
My pimatic setup succesfully logs
info [pimatic]: rule kookwekker: played "./media/UIAudio/UIAUD-Mystic-TimerCompleted.wav"
but there isn't any sound playing from the system.. I'm running Debian Stretch that prefers the 3.5mm jack instead of the HDMI audio output via raspi-config.
I believe the problem lies at the configuration of the pimatic-play player in the settings. I've tried entering "mpg123" or "cmus" in these fields, since these are the players installed on my pi, but still no sound.
Raspotify is running in the background as a service. Maybe I should add that info in here. Trying to play sounds manually with cmus
through ssh or in terminal didn't give me any problems tho! Any suggestions out here? Maybe the documentation could be updated?
Many thanks in advance!
In case a sound file to be played does not exist, no error is logged by the plugin.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.