1
"Open air" and "whole home" microphones / Re: How to interface with TcpMic?
« on: February 27, 2016, 09:14:20 AM »I sent you a PM.
Thank you. Totally appreciated
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I sent you a PM.
Hi roel_v
I am happy to send you the source code for the TCP-Mic plugin. It should help you even if you don't decide to modify it. In theory it should be able to handle multiple simultaneous inputs but for some reason it does not and I haven't spent the time to troubleshoot it, but it can accept multiple inputs from different devices as long as they don't overlap. Originally VoxWav and the TcpMic plugin were not designed for always on open air use. The idea was to press a button or tilt your phone when you wanted to speak and that is still how I use it. If you do want to do an always on solution you will still need to decide when to start and stop streaming audio to the plugin. This could be done using volume levels which is how VoxWav does it, or if you are able to use basic speech recognition on the pi you could use a keyword or phrase to tell it when you want to give a command. So although VoxWav can process multiple voice commands in a single longer sound stream, that stream must be of finite length, it can't just send continuously or it will never be processed and will just fill up the buffer.
DomoticZ IP = 127.0.0.1
http://127.0.0.1:8080/json.htm?type=command¶m=switchlight&idx=15&switchcmd=On
http://(IP Address):(Port)/json.htm?type=command¶m=switchlight&idx=(Switch ID)&switchcmd=On
http://username:password@127.0.0.1:8080/json.htm?type=command¶m=switchlight&idx=15&switchcmd=On
switchcmd=On
http://127.0.0.1:8080/json.htm?type=command¶m=switchlight&idx=15&switchcmd=Off
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.0.9-->
<commandGroup open="True" name="DomoticZ" enabled="True" prefix="" priority="0" requiredProcess="" description="">
<command id="261" name="Turn Switch On" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>Scrape</cmdType>
<params>
<param>http://127.0.0.1:8080/json.htm?type=command¶m=switchlight&idx=15&switchcmd=On</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>Turn On test Switch</phrase>
</command>
<command id="278" name="Turn Switch Off" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>Scrape</cmdType>
<params>
<param>http://127.0.0.1:8080/json.htm?type=command¶m=switchlight&idx=15&switchcmd=Off</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>Turn off test Switch</phrase>
</command>
</commandGroup>
vc.getObject("Var.Example","")
I also tried omitting "Var." but I can`t get it to work. Obviously I am doing something wrong.I have added support for sending attachments with the SMTP.Send action.
It will be included in the next release, but it might take a couple of weeks for me to release it.
Action ERROR: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at
hmmm. Looks like there might be a bug with trying to access multiple map entries within a single action. I guess it has never come up before. Should be fixable though. Thanks for discovering it.