I have been thinking about this a lot, and cannot think of a possible solution. My HA instance is becoming move and more personal, It is really turning into a Personal Home Assistant. Connected with almond, alexa or google home, it would be great if we can turn it into a more “person like” entity. is there any way I can visualize my (tts) outputs in e.g the lovelace dashboard via a card? like an audio spectrum visualizer? like a talking head? or even a “KITT” like visualization?
would be so nice, maybe even outputting it to chromecast device f.e. Visual jarvis type like output. starting out with simple audio spectrum evolving it into a virtual human head :-). Curious if other people know something about this as well.
(Disclaimer: I know nothing about Lovelace development).
Isn’t there a way to display custom html/css in a Lovelace card ? I thought there was. If so, create a WebGL canvas and go wild. You can use three.js for things like animated 3D heads.
It’s a great framework, I have worked quite a bit with it. You would need to somehow capture TTS wave output / FFT if you wanted to play around with sound based animation. About models, there’s a ton of free stuff you can find around the net (this is a good place to start), including skinning and vertex weigh data (which you need to animate the face).
i just checked some examples three.js examples and it really looks fantastic. However, it also looks like it is quite resource intensive…besides that I really wouldn’t have the skills for it.
Not really that resource intensive if you keep it reasonable. It runs on WebGL, which runs on your devices GPU (graphics processing unit). A lot of these examples even run on small phones without any issues. All that is client side, so your Pi (or whatever you use to host HA) is not affected.
About skills, well, it’s fun to learn And the framework abstracts lots of stuff away, so as long as you don’t have very specific needs, it’s not actually very difficult. You do need some basic programming knowledge though.
I suggest you start getting to know more about HA ;-). it seems you are the one that can do this Let’s see if some other ideas pop-up as well…I am curious…