My main objective in adopting MyCroft across the home is to provide a customised, on-prem voice control method for use with my home automation platform (HomeSeer in my case).
One key requirement of this is to be able to perform text-to-speech audio announcements that are triggered from home automation events. Examples include announcing when the letterbox has been opened, or that the washing machine has finished it’s cycle.
Using the mycroft-cli-client I can of course issue commands like "speak " and have mycroft say some text out loud. The warning that appears when first starting the cli client indicates it should be possible to send these same commands to the mycroft message bus remotely.
Can someone provide me some instructions and examples on the correct way to do this? I don’t know much about webhooks
I’m hoping this can be done using curl, possibly by delivering the command as a payload in a HTTP GET or POST? Using curl would easily allow me to integrate it into scripts called by the home automation server.
I’d like to be able to perform "speak ", for use in dynamic messages. As well as play a mp3/wav file that is stored on a network share, for those events where the content of the message doesn’t change.
Thank you all for any help.