First, something to consider is will the solution require the ‘cloud’ which Alexa requires, or can it run ‘local’ without the cloud.
I have a ‘virtual’ barking dog which I only have to feed with electricity. However, my current implementation is ‘cloud’ based. I’m using an old Android smartphone that has a headset jack connected to a speaker system. On the Android device, I have an app called Tasker that can see the SmartThings app’s notifications on android, and when the SmartThings notification from a SmartThings Automation has the words ‘barking dog’, then Tasker will run a Tasker routine that pays my dog sound file on the Android smartphone. But this is a ‘cloud’ based solution since it requires access to the SmartThings ecosystem to get the Android notification.
However, I’ve been thinking of changing it so that it will run ‘local’ instead of in the cloud. My idea is to use the old smartphone (or any old device like an MP3 player or iPod) which is capable of playing a dog barking sound file constantly in a loop. Then connect its headset jack up to some ‘powered’ speakers. Then have the powered speakers connected to a SmartThings SmartPlug outlet. That way I can setup a Smart Lighting Routine which runs local to turn On/Off the SmartPlug either from any motion sensor or any multipurpose sensor as the trigger. Then when the powered speakers come on, the constant looping barking dog sound is heard.
Anyway, I’m also curious what other users who have ‘virtual’ dogs here have done, and whether their solutions are running local or cloud based.