Show Posts

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.


Messages - deathtech

Pages: [1] 2
1
James, any idea how I can do an AND? with logic.

Needing to say If this and this, then do that.

EDIT: actually i think this just worked: &

2
oh indeed, i never doubted that, hence why I came back on the forum to ask.

But there are scenarios here you don't understand as you have not seen them. As in, its in the living room, with lots of background noise, and having it keep switching back and forth just hearing some random noise is not idea either.  Anyways, its moot, i'll use the data you gave me and run with my evil experiments!

Thanks again

3
Holy crap how did I not notice the event of VC.Reco.TooLow. I guess I was too busy trying to make it complicated. I see it now, i'll test it out. Thanks for that!

Also, difficult or not, its the way the cookie has crumbled on this end. Her profile is trained multiple times with her voice and same with mine. Its very precise. 60% is never a steady number, but it was not relevant either, as i know its never very high, in the 80s etc, never there.


4
Thanks for the reply James!

Here are some answers to your questions.

It's just an experiment, but haven't been able to get past the not knowing the last confidence values, so unable to attempt it.

Having my wife say a command and then I is not even remotely possible. If its on either on each other profiles, i'm 60% steady on results and she is 90+ and vice versa when switched. I'll never get it to switch back to my profile once its on hers. The idea, is if its on either, saying a specific command only, not every command, this command when confidence is low, will switch the profiles. How well this would work is unsure but again see above, for it being an experiment ;)

I'd also figure the lastactionsuccess is as you have outlined below, but just pointed it out incase i failed to 100% understand it.

And yes profile switch works correctly in version 1! I have no issues with the latest version 1 in profile switching.


You said it maybe doable using python in version 2, what are your thoughts on how to get the last confidence for a command using python? As i see that value for confidence is not stored anywhere for me to even obtain it and work with it. I'd love to hear your thoughts on it!


5
So I had this thought, and tried to implement it but failed.

Heads up, i'm using the voxcommando legacy version 1 just FYI:

What my thought was, is to, when I say a command "computer", or whatever, detect the recognition of that command, if its above a threshold say 90+ then leave it on the speech profile its currently on, if below, then switch to the second profile i.e my wife's. Simple enough but not having any luck there.

I was able to get the previous command, the one I want detected, and store it in a variable, but now i need to know if this variable failed was less than my threshold.

The thing is, there is no ability native I see within Vox to grab the last commands speech recongnation percent attempt. it shows up in the info panel, but not the logs its self, so i cant scrub that and use it in code as i hoped. Nor is there a native approach, that I saw.

I think if i can get this to work, this could be an awesome way to recognize the users and switch between at least two profiles as its been spoken, maybe.. I know there is a restart that is needed to occur, i'm beyond that.

Any thoughts or ideas? I see there is a new variable that was created in version two called: {LastInfo} it does reference the logs, is this the key i'm missing? will this give me the last commands percentage?

Thanks in advance as always!

EDIT: I think even knowing if the attempted command failed would work, but i'm not even able to get that ability to function, the lastactionsuccess in the logic didn't help there either.

6
I have a http://dx.com/p/wanscam-jw0008-wireless-300kp-ip-camera-w-10-ir-led-wi-fi-black-279673#.UxkOMfldXT8. It not water proof but under the ceiling, it has survived two winters with -20 c. Its alot of bang for the buck :D

Cool IR camera and cheap. how does the IR work for you? is it decent? How far is the range of the IR?

7
just implemented turning it off an on via Skype IM.

when i text home it turns the skype detection group off.
when i text away it turns the skype detection group on.

I would like to run a speaker out there to talk over skype to the outside. But having this implemented is quite difficult because of a single sound card and all the VAC's going on as is. i'll have to think about this a bit more.


8

Design I wanted:

When motion is detected at my front door, have skype place a video call to me automatically, via the skype App on my iphone. Showing me my webcam feed.
Also have it where i can place a video call with the computer..which is obliviously running skype, so i can view the webcam at my front door whenever i like.

(this can be done with more expensive setup i.e vera and add-ons, but I wanted to test this with little money as possible at the moment)

Money spent: $12 (logitech c170 webcam from wallmart)
32 foot ext USB cable: (already had this, but it was roughly 15-20bucks, amazon, or monoprice.com, i think its cheaper there)

Software:
VC
Skype
Skype Mobile

icam (from http://skjm.com/icam/ -Free software used for motion detection. i liked this one as i was able to make grids of where i wanted motion to only be detected at)
manycam.com (Free software- This was required to work 100% all the time , so i can make a virtual webcam driver, to use with icam and skype at the same time. I tried without this, trust me using send keys to stop and start icam before skype started wasnt working out very well)
VAC (virtual Audio Cable, using this to get the sound from the webcam feed back into Skype video call!)
Event Ghost (This was needed to monitor a directory using directory watcher, where snap shots from my webcam was taken during when motion detected via iCam software, this triggered an event, which was passed to VC which then setup the video call to my phone)

Here is my cheap front door home monitor, I know there are better setup ideas out there. But it does great for what i'm testing out right now.
So I am planning later to get veralite, but didnt have the money at the money to toss toward it and get the camera I wanted and motion sensors.

All it cost me was a 12 buck USB webcam. (i already had a 32foot USB cable which i was using for the kinetic extension)

I placed this cheap camera in the corner ceiling of my front porch, i'm very surprised i told my wife i don't think it will last the night. so far its lasted about a week, in temperatures of single digits at night, with snow on the ground at the moment..(its not water proof, so we'll see how long it really does last)

Plugged in the webcam to my 32 foot cable, ran it through the attic back to my computer.

Setup all software, much testing and tweaking, and now works every time! - So far!

I can see my webcam whenever i want via skype on my cell phone no matter where i'm at. as Skype works from skype user to skype user for free.
I can hear my audio from my webcam feed from skype also.
I have the motion grid setup so I only detect parts which wont cause false positives. I.e tree or bush moving etc.

I can share my xml's and configurations with anyone if you're curious. i just didnt want to at the moment if no one was intesrted. and I would have wasted my time.

-Future improvement if this works well.
:Outdoor weather proof rated camera, which is IR capable.
:Replace setup with Vera? Maybe.. depends on if this doesn't go smooth later on..so far its working great!

9
EventGhost / Re: EG and VC, a little novice help
« on: March 03, 2014, 03:34:15 PM »
wow, that's awesome it actually works like i was wanting. This will streamline a lot of things for me now. and i kinda of understand what occurred here lol

i have to wrap my head around why it actually worked the way you made it, but its a good start to analyze and start as you said.

Thanks again James!

you guys rock.



10
EventGhost / Re: EG and VC, a little novice help
« on: March 03, 2014, 01:14:45 PM »
As you can see i have setup checks for power and source individually, based on the QSTN event. I am assuming there is a better way of doing this, by capturing the data that was returned via the initial power check or source check in the QSTN event, then populating the payload of the broadcast with that data. Instead of making all of those source checks and power checks etc. I could have a single broadcast with a dynamic payload.

So not really a problem as much as it is a, how should i go about doing this or can i, or how would you?



Code: [Select]
   <Plugin Identifier="OnkyoISCP" Guid="{5B3B8AEB-08D7-4FD0-8BEE-8FE50C231E09}" File="OnkyoISCP">
            gAJYDQAAADE5Mi4xNjguMS4xMjhxAE3g6lgBAAAAMXEBh3ECLg==
        </Plugin>
        <Plugin Identifier="BroadcastListener" Guid="{5E8DA56B-24AC-4092-9521-169343C5171C}" File="Broadcaster">
            gAIoWAkAAABCcm9hZGNhc3RxAFgPAAAAMjU1LjI1NS4yNTUuMjU1cQFNNYKIWAIAAAAmJnECVQ0xOTIuMTY4LjEuMTIzcQN0cQQu
        </Plugin>
        <Plugin Identifier="FileOperations" Guid="{50D933C5-F93B-4A8A-A6CE-95A40F906036}" File="FileOperations">
            gAIpLg==
        </Plugin>
    </Autostart>
    <Folder Name="Onkyo Source Check" Expanded="True">
        <Macro Name="Onkyo Check Source" Expanded="True">
            <Event Name="Broadcast.Get_Source" />
            <Action>
                OnkyoISCP.SendCommand(u'SLIQSTN')
            </Action>
        </Macro>
    </Folder>
    <Folder Name="Check AVR PWR" Expanded="True">
        <Macro Name="Onkyo Check PWR" Expanded="True">
            <Event Name="Broadcast.AVR_PWR_Status" />
            <Action>
                OnkyoISCP.SendCommand(u'PWRQSTN')
            </Action>
        </Macro>
    </Folder>
    <Folder Name="Onkyo PWR Status On Broadcast" Expanded="True">
        <Macro Name="Onkyo PWR Status" Expanded="True">
            <Event Name="OnkyoISCP.PWR01" />
            <Action>
                BroadcastListener.Broadcast(u'event', u'eg.AVR_PWR&amp;&amp;PWR_on', 33000)
            </Action>
        </Macro>
        <Folder Name="Onkyo PWR Status Off Broadcast" Expanded="True">
            <Macro Name="Onkyo PWR Status" Expanded="True">
                <Event Name="OnkyoISCP.PWR00" />
                <Action>
                    BroadcastListener.Broadcast(u'event', u'eg.AVR_PWR&amp;&amp;PWR_off', 33000)
                </Action>
            </Macro>
        </Folder>
    </Folder>
    <Folder Name="Onkyo Game Broadcast">
        <Macro Name="Onkyo Check Source Game Broadcast" Expanded="True">
            <Event Name="OnkyoISCP.SLI02" />
            <Action>
                BroadcastListener.Broadcast(u'event', u'eg.AVR_Source&amp;&amp;Game', 33000)
            </Action>
        </Macro>
    </Folder>
    <Folder Name="Onkyo CD Broadcast" Expanded="True">
        <Macro Name="Onkyo Check Source CD Broadcast" Expanded="True">
            <Event Name="OnkyoISCP.SLI23" />
            <Action>
                BroadcastListener.Broadcast(u'event', u'eg.AVR_Source&amp;&amp;CD', 33000)
            </Action>
        </Macro>
        <Folder Name="Onkyo WD Broadcast" Expanded="True">
            <Macro Name="Onkyo Check Source WD Broadcast" Expanded="True">
                <Event Name="OnkyoISCP.SLI00" />
                <Action>
                    BroadcastListener.Broadcast(u'event', u'eg.AVR_Source&amp;&amp;WD', 33000)
                </Action>
            </Macro>
        </Folder>
    </Folder>
    <Folder Name="Onkyo BD/DVD Source Check" Expanded="True">
        <Macro Name="Onkyo Check Source BD/DVD Broadcast" Expanded="True">
            <Event Name="OnkyoISCP.SLI10" />
            <Action>
                BroadcastListener.Broadcast(u'event', u'eg.AVR_Source&amp;&amp;BD', 33000)
            </Action>
        </Macro>
    </Folder>
</EventGhost>

11
EventGhost / EG and VC, a little novice help
« on: March 03, 2014, 12:48:33 PM »
I posted this on the EG forum but i think i would get a better response here as its VC that i'm using with EG. Also no one has responded there either :/

Here is my situation, and i could be going by this all wrong, but here is what i know now.


I'm rather new to all of this, but have some very basic programming knowledge. I'm having a hard time getting EG to do what I need it to do.

Its for my Onkyo receiver. i can get it to send out a QSTN to my receiver and get a response back just fine. What i need it to do now is send this response back to VC within the broadcast to VC.

I have it working but its a very sub-par way of doing it i'm sure. Right now depending on the response back: example: OnkyoISCP.SLI00 i make another macro that broadcast this is for source TV/CD (via a payload: eg.AVR_Source&&CD) and send it to voxcommando. read CD as the pay load and then i use it to do what i need.

now, i've done this with all sources, this is not ideal, if i can just make a single macro in Event Ghost that says whatever the result is returned via the first QSTN from my receiver's event, add this to the broadcaster payload, such as that would be a variable that would always change depending on my source it returns. Such as: eg.AVR_Source&&{QSTN_answer} This way i dont need to manually add macro's for each source returned. Also this will teach me more on how to use this program and i can use this for other tasks later on.

I have tried this: eg.AVR_Source&&{eg.result} hoping the response back from the event in EG would populate the result, but it doesnt work this way apparently :) as i get None everytime.

I hope this makes sense, any help would be appreciated!

12
Bug Reports / Re: Skype IM message bug?
« on: March 03, 2014, 12:38:57 PM »
You got it nime5ter, that's exactly what I do now. send a quick dummy message then my command.

Thanks again for the support. I do have a the workaround as stated above and will use this.

13
Bug Reports / Re: Skype IM message bug?
« on: March 02, 2014, 07:24:42 PM »
Thanks guys for the support here and advice.

Here is my goal, just to use the skype plugin along with skype to send IM messages from my iOS phone no matter where I am and have them executed on VC. this works really well, even while on 4g i can use skype to send commands to VC. So not necessarily just a wireless mic i'm using it for, but more so of the IM feature.

Only issue is, as we all know about now, is where I have to send the command at least twice. Is this really an issue? no its not an issue to send it twice. But thought i'd bring it up just incase it was an easy fix. Which apparently is not, due to either Skype or the iOS version of skype.

It has been tested by James and nime5ter that it works 100% with android app, but sadly not the ios app. having the android app on my iphone is not possible.

So thats that ! :)

EDIT:

about this James:

For example, you could create an http or tcp listener using the TCP plugin and send VC commands that way.  You would obviously need to forward ports etc. if you were trying to access VC from outside your LAN.

Sadly i have no experience in this area on creating a tcp listener, or much programming experience at all for that matter. so this would be rather difficult for me, hence why i was relying on the built in plugin with skype :)

14
Bug Reports / Re: Skype IM message bug?
« on: February 28, 2014, 02:24:27 PM »
Ok, Thank you very much for the help btw!

And you nailed what i'm seeing pretty much spot on.

Thanks again for your time :)

15
Bug Reports / Re: Skype IM message bug?
« on: February 28, 2014, 01:50:01 PM »
I found and installed the same version as yourself, and have same results. I'm guessing it has something to do with the mobile part of this, since it works 100% for you using the non mobile version via IM. :(


Pages: [1] 2