Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
node-red-google-notify
Advanced tools
Version | Comment |
---|---|
1.3.0 | notifications queueing / priority and stop playing |
1.2.2 | play media url as notification and GUI update |
1.1.2 | user overridable media server url |
1.0.1 | Initial release |
With this node you can cast text notification to any google cast device (e.g. google home, chrome cast ...) The text of the msg.playMessage is converted to mp3 audio and stored in the cache folder. Each cast device can have it's own local media server or the same media server can be shared over all the cast devices. Thus the google cast device plays the mp3 notification from your device hosting node-red. If the notification has to be played from an url then use msg.mediaUrl. The mediaUrl has priority over msg.playMessage.
A played notification message is available to anyone by calling the url. If you play the notifiation ** this is a test** then you will find a file in the cache folder named like
THIS_IS_A_TEST-en-slow.mp3
This mp3 audio notification is then available at http://[ip]:[port]/THIS_IS_A_TEST-en-slow.mp3
While playing a notificaiton new arriving notifications are queued for processing.
Important notifications are played immediatly and the current played notification is stopped and queued.
msg.playVolumeLevel: The notification is played at defined volume level and the inital volume level* of the casting device is restored after notification has been played. The notification level can be defined in the device configuration and overriden anytime using msg.playVolumeLevel
msg.speakSlow: The notification play speed can be defined as normal or slow. The speed can be set as default value in the node config or altered by the message msg.speakSlow = true
msg.language: The language can also be altered with msg.language The list of available languages can be checked here
msg.important: If a new arriving notificaiton has set msg.important=true then current playing notificaiton is stopped and queued and the important notification is processed immediately. After having played the important notifications the queued notification is replayed again.
msg.command: the value msg.command="stop" will stop the currently played notification and clear the queue.
FAQs
text notification to google home or google cast
The npm package node-red-google-notify receives a total of 246 weekly downloads. As such, node-red-google-notify popularity was classified as not popular.
We found that node-red-google-notify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.