You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
351 B
16 lines
351 B
#!/usr/bin/env python
|
|
|
|
from modules.hue.hue_remote import parseCommand
|
|
from modules.speech.speech import voiceInput
|
|
|
|
class speech_daemon(object):
|
|
voiceInpObj = None
|
|
|
|
def __init__(self, deviceIndex=30):
|
|
voiceInpObj = voiceInput()
|
|
voiceInpObj.setMuted(False)
|
|
|
|
voiceInpObj.start(deviceIndex)
|
|
|
|
if __name__ == "__main__":
|
|
daemon = speech_daemon()
|
|
|