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 2 [3] 4 5 ... 46
31
Feature Requests / Re: storing errors in a variable
« on: March 31, 2016, 03:50:22 AM »
Nim5ter, I am aware of that ... Storing the error complement this ... And same command can return different errors which entails different actions ....

32
VoxCommando Basics and Core Features / Re: reading scrape error
« on: March 30, 2016, 09:01:40 PM »
No you can only view it in the history or the log.  Errors and other info are not stored in LastResult.

I can't help but asking for a feature :D
http://voxcommando.com/forum/index.php?topic=2553.msg21971;topicseen#msg21971

33
Feature Requests / storing errors in a variable
« on: March 30, 2016, 09:00:15 PM »
based on this:
http://voxcommando.com/forum/index.php?topic=2552.0;topicseen

how about a variable {LastError} or something similar that give us access to the last error ... or copying the error to {LastResult}, or any other solution that you see fit

this will give us the chance to trigger events trying to remedy the problem ...

quick example, scrape something on local host, unable to connect to remote server, is an indication that The server might not be running ... try to launch it ...etc.

34
VoxCommando Basics and Core Features / reading scrape error
« on: March 30, 2016, 05:40:56 PM »
is there a way to read the error generated by scrape action?
it seems it is not copied to last results ...

vc 2216

35
Not big on watching videos :bong or reading instructions :bong :bong
I will try to modify the py to make it read the location of protect if the label is empty ...
In my case since vc can sense when door opens ... That is when I can check the geofencing info...

Btw it is impressive u did all this without any nest hardware for testing!! :clap

Did u ever look at nest streaming API?

On a completely different page, It is been a while I am trying to use opencv with iron Python, without much success ... If you have time for another challange :D ... It will give VC the ability to recognize faces, logos and anything that we train it to "see"
http://www.emgu.com/wiki/index.php/Documentation
https://github.com/shiftcontrol/UnityOpenCV/tree/master/IronPython



36
you are totaly right, I have only one protect  device for the moment ... at one point they should be three ...
the new PY solved the error ... however the protect list is still empty ...
after running step 3, I end up with 5 files in nest folder ...
abodeList.xml
Nest_dev_status.txt
nest_therm_max-min.xml
protectist.xml ...

all have data, except for protectList ... I can see the name of the device in Nest_dev_status ... but not in the xml


I figured the problem; the device had no label ("description") so py return the id and blank, and probably because it raises an error it did not save properly ...

now i can  :clap :clap :clap :clap :clap and  ::bow ::bow ::bow ::bow

hopefully will have the time to look into a way to retrieve the messages ... then mark them read !! ...

as well now it seems the nest account with thermo or not ... can use the phone to figure if a user home (geofencing) and /or the the sensor in protect to see if there is someone home

37
Did you save and close the tree (or save and do a quick restart) to register the new commands  before trying to run them?
I did all ... the error happens with myNest.getdevices()

38
:clap :clap :clap --- I will hold the clapping a bit   :P

when I run step no. 3 I get the following error in python:

Line: 54 >>
KeyError: device

39
What kind of events are you talking about?  Where are they coming from?

example, my main door sensor. the door s equipped with closer, so when someone is leaving, sometimes we forget stuff, or step out to pick the shoes ...etc. so the door open event triggers 3 or 4 times ...etc.

I don't understand this at all.  Of course it is possible to trigger a command with a timer.

see attached image .... instead of triggering the Action it triggers an event ... ( previously i used wrong terminology, I meant action by command)

40
1. in certain scenarios, we need to treat multiple events as one ... for the moment, I am dealing with it one by one, by creating 2 commands, the first is triggered by the event. it has a timer that get killed and restarted if the event trigger again, upon expiration of the timer it will trigger the second command that contain the actual macro ...

it will be way easier if we can have an option in the event to treat multiple events in a certain time frame as one


2. for the moment it is not possible to trigger a command with a timer, my work around, is I creat a macro, add an event ...the macro has just the VC command ... and it is kind of redundant if commands are recognised by VC as events as well ...

41
Feature Requests / Re: log file name, and path to maps db files ...
« on: March 16, 2016, 05:33:07 PM »
Quote
Isn't there a way to select which files to sync with OneDrive?  Dropbox has something called "selective sync".
not really ... you can select folders but not files ....but as you said the adverse effect can be ignored for the log file...

however, the db file is another story as one might end up loosing some data or settings stored their ...

42
Feature Requests / Re: log file name, and path to maps db files ...
« on: March 15, 2016, 10:38:29 PM »
what happens with one drive will happen with any similar service. when both computers change a file at the same time (which is very possible to the log) onedrive can't decide which copy to keep, so it start saving things to new file like vc.log - computername to avoid loosing data ...

anyway  ... keep those in mind .. and see in the future if they worth implementing ...

43
Feature Requests / log file name, and path to maps db files ...
« on: March 15, 2016, 12:52:53 AM »
I mentioned in other posts that I use onedrive to "sync" VC between 2 computers ... till now things working good cause I never used them at the same time ...
if I use them at the same time, I face an access problem; to the log file and the maps DB file ... features that can make this run perfectly:

1. an option to add machine name to log file, like this every machine will have it is own log file
2. possibility of adding path for the db files ... like this the DB file can be located on a network location and/or possibility of using central DB, like my SQL to handle maps this option allows to integrate VC with other things that are DB based and handle large maps efficiently (I am not sure based on which db engine maps is based on, and if it allows non exclusive access)
3. possibility of adding path for the voicecommands.xml ... this will allow different VC installations to read the commands from central location on the network and/or load different VC commands from one installation


44
I was unable to do some testing, as I can not locate the second power supply of the second Kinect :(

45
It is here ! It is here !
Arrived without any damage ...
Did not have the time yo do lots of testing ... So far created a command that changes the LED color to reflect VC status (did not check the tutorial and sample XML yet, if the command is not there will post it in XML sharing)
First feedback: I was not able to use DHCP ... Tried more than 5 times, simply beam starts with it is own wifi hotspot... With fixed IP works great ... (Maybe you guys should create a separate thread for feedback)
Will do tests and give feedback

Pages: 1 2 [3] 4 5 ... 46