MMRIZE / MMM-GoogleTTS

Text-to-Speech module for MagicMirror with Google Cloud TTS API.
MIT License
11 stars 3 forks source link

Different message according to the time of the day #2

Closed JohnB7777 closed 5 years ago

JohnB7777 commented 5 years ago

Hello,

This module is also interesting but I wonder if it's compatible with PIR-Sensor (for example : the morning, le mirror says "good morning" and at a different moment of the day, it says something else).

Thanks !

eouia commented 5 years ago

Which PIR Sensor module? Anyway, this module's job is "Speech", so Considering How and what to speak is business of other module. Any module which can be adjusted to emit TTS_SAY could order this module to speak.

this.sendNotification("TTS_SAY", "May the Force be with you")
JohnB7777 commented 5 years ago

This PIR-Sensor : https://www.amazon.com/2013newestseller-HC-SR501-Pyroelectric-Infrared-Detector/dp/B00FDPO9B8

Ok, I guess we can adapt it

eouia commented 5 years ago

Yes. that is the sensor itself. but S/W module to use that sensor should be able to send specific notification by configuration adjustment or source-code modification.

eouia commented 5 years ago

I'll close this issue because no more feedback. I wish a good luck.