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 - Haddood

Pages: 1 ... 44 45 [46]
676
VoxCommando Basics and Core Features / Changing options
« on: April 20, 2014, 05:55:42 PM »
I know for the time being VC support changing just 2 options ... so I am trying to come with a work around what I need now is to replace the prefix in the options ....

the idea, read options.xml ... replace option line ... write file ... do full restart ...

however again I am failing with string manipulation  :bonk , I tried both results.replace and results.regexreplace




677
Tips and Tricks / Re: Verify Internet Status
« on: April 17, 2014, 03:33:32 PM »
Ping is great ... or you scrape http://myexternalip.com/raw ... it will give you your external IP as bonus ...

678
General / Re: the "Supporters" group
« on: April 16, 2014, 09:12:10 PM »
why not ... I like to join as well :)

679
W.O.L. / Re: Wake Your PC
« on: April 11, 2014, 02:10:43 PM »
as far as I know WOL is not implemented in WiFi adapters ... in other words WOL can't wake up a device through LAN
the logic is wifi for portable devices ... and keeping wifi on will drain the battery sooner or later then the device can not be waked-up ... if the device is stationed, then there is always a way to connected to wired network and turn off wifi

680
VoxCommando Basics and Core Features / Re: Using VC with Insteon
« on: April 11, 2014, 12:39:32 PM »
oops I forgot to mention I did it with V1.9  :bonk

681
VoxCommando Basics and Core Features / Re: Using VC with Insteon
« on: April 09, 2014, 11:50:44 PM »
here is my InsteOn group and related xml files...
I bet James or Kalle can improve the status command, as I did not get the string matching functions very well  :bonk

you might see a call for a function called feedback ... that is basically to call TTS with various options to give it a personality ... and I like programming or scripting with functions or subroutines concepts. much easier to debug and change




682
VoxCommando Basics and Core Features / Re: Reading parts of strings
« on: April 09, 2014, 10:48:24 PM »
Thank you guys ... it is done  ::banana

683
For remote shutdown you can use command line to shut down, restart, hibernate ...etc.
Just open command line, type
    shutdown /?
And follow the options

As far as waking up a PC running VC it is easy : creat a task in windows task scheduler ... To put VC in listening or standby mode and in the option there is a checkbox for wake-up PC to run this task


684
VoxCommando Basics and Core Features / Re: Reading parts of strings
« on: April 08, 2014, 04:42:47 PM »
Sweet ....
Another couple of questions:
1. where I can learn about those patern , what if I wanted to extract the 7th character out of 20 characters long string?
2. I tried to convert to hex from decimal using python int( decimal var, 16). And it did not work

Just a note abt my programming experience... I used vb, autolisp, lua scripting ... So python is a bit strange for me

685
VoxCommando Basics and Core Features / Re: Reading parts of strings
« on: April 08, 2014, 06:43:21 AM »
Hi kalle,
yes the string is a result from a command ...  in fact it is the status feedback of insteon devices ... I managed to cut it down to 5 characters only using result.replace. That was kind of easy as there is clear patterns ... now I need to read the last 2 characters that will give if the device is on, off or dim level ...

ex "B10FF" is fully on as FF is the level (Hex)

686
VoxCommando Basics and Core Features / Reading parts of strings
« on: April 08, 2014, 05:39:05 AM »
hi
I downloaded VC few days go ... since then I can't go to sleep  ;D ... I build in 3 days what i was planing to build in 3 years  ::banana
the software is just magic ... using it with kinect and the response pretty good till now ...

I am wondering how can I read parts of strings ... lets say I Have "A01BF"

I need to read the first character ... then the 4th and 5th ...

thanks

687
VoxCommando Basics and Core Features / Re: Using VC with Insteon
« on: April 08, 2014, 05:29:12 AM »
I have been working on this for the last three days till 4.00 am every day  :bonk

got controlling the lights and the scenes going on ... finalizing the getting status ... once all done will share the xml and the payload files

688
Tips for better speech accuracy / Re: sound settings in windows
« on: April 07, 2014, 06:58:46 PM »

Pages: 1 ... 44 45 [46]