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

Pages: 1 [2] 3
16
Vera Home Automation Controller / Re: wattage not seen in Vc
« on: January 04, 2015, 02:12:33 AM »
Thanks  it's works a dream
I will  have to put a small  pause at the start as when the switch is first switched
it reports 0.

I am going to work but on my return I will try some things out.

nime5ter thanks for taking the time in doing this for me.


17
Vera Home Automation Controller / Re: wattage not seen in Vc
« on: January 03, 2015, 06:44:54 PM »
nime5ter that works, thanks. I just didn't use it properly, it now tells me the wattage being used.
After I have cluttered up all your forum.
So I would have to trigger this code for it to report , would the best way to go about it.
If switch is on check wattage every 30 minutes, if off do nothing. How would I do that would I use timed event? that triggers itself every 30 minutes until the switch is turned off

18
Vera Home Automation Controller / Re: wattage not seen in Vc
« on: January 03, 2015, 06:37:07 PM »
Quote
You were not supposed to include the square brackets.  You should replace [YOURDEVICEID] with 18, not [18]
  ::duh

I edited my post while you were posting and attached a different log, im going to have a go at Nime5ter code but doing it properly this time.

19
Vera Home Automation Controller / Re: wattage not seen in Vc
« on: January 03, 2015, 06:22:14 PM »
I have attached the log, in the log at around 22:11 you will see the switch and it states the watts 2843.Then I switch it off at 22:27 you will see the watts at 0.
Is  "kwh": "26.7290" how much I have used in total?
Let me know if it needs to run longer, as the boiler needs to be switched on I guess for it to log what is happening.
Thanks  for all your time.

20
Vera Home Automation Controller / Re: wattage not seen in Vc
« on: January 03, 2015, 06:00:26 PM »
Quote
What do you mean by "didn't work"?
When I replaced [YOURDEVICEID] with [18] it just came up with 22, which is the same as my temperature sensor. I don't know what is going on there, I think I have done it right with just putting 18 as that's the ID of the node when i press map editor it has 18 next to the switch name.

Quote
You have not really explained what you are trying to accomplish here so maybe I am still misunderstanding.

The switch tells you the amount of watts being used when the watts drop to 0 I will know the water is hot I would like it to trigger an event to turn the switch off and tell me bath water is ready. I was going to buy more of them if this can be done for my fridge and freezer. So if it reached 0 watts I would be informed before anything defrosted.

Quote
If you really want to have constantly generated events, it might be possible but it is hard for us to know.  For us to know if it is possible to get any event info from this device, you will need to enable logging in VC, and enable verbose logging in the Vera plugin settings, and then let it run for a while, and then send us a log.

Yes I do think I want this, I will switch these options on, is 24 hours enough time for logging?



21
Vera Home Automation Controller / Re: wattage not seen in payload
« on: January 03, 2015, 05:05:35 PM »
Sadly that didn't work.
What I am hoping for is the way that vera reports to Vc about other senses like light or humidity when it changes, I was hoping to get the same from the watts being used by that particular switch.

I shouldn't have used the word payload, I should have called the post watts not being reported to Vc.

22
Vera Home Automation Controller / wattage not seen in Vc
« on: January 03, 2015, 01:55:07 PM »
Hello
I'm using a aeon Labs Heavy Duty Switch       

http://mobile.vesternet.com/item/31323830

I use a work around to get it to work on my veralite http://www.vesternet.com/resources/application-notes/apnt-89
I'm using the easy way on that link.

I see the   the watts on vera ui but when I ask vc for status I get all the info but not the watts.

I would like to use the watts info to trigger events.

I hope you guys have some ideas how I can do this

Thanks.

23
Bug Reports / Re: 2.127 .net version 4.5 window win 8.1 (solved)
« on: December 17, 2014, 05:57:47 PM »
I'm glad its resolved.
Quote
First I will check if there is anything else that I want to slip into this release.
It may have turned out to be a blessing.
Thanks for being so quick, customer service A*

24
Bug Reports / 2.127 .net version 4.5 window win 8.1 (solved)
« on: December 17, 2014, 06:19:50 AM »
I seem to have a problem where I keep getting a pop up window when I run Vox 2.127 system requirement window, it needs to be pressed ok and then it runs fine.
I tried to install .net 4.5 and it tells me I already have it so I done a bit of googling.
 
http://blogs.msdn.com/b/astebner/archive/2013/11/11/10466402.aspx

Quote
The deployment guide says that an application can test whether the .NET Framework 4.5 or later is installed by checking the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full folder in the registry for a DWORD value named Release. A value of 378758 means that the .NET Framework 4.5.1 is installed. This logic works correctly for the redistributable version of the .NET Framework 4.5.1. However, on Windows 8.1, the Release value is set to 378675 instead, so this logic doesn’t work on Windows 8.1.

I don't know what this means or if it even relates, I tried to understand it, any help would be appreciated.
Thanks.

25
Vera Home Automation Controller / Re: vox timer for motion sensor
« on: December 12, 2014, 03:31:50 PM »
That has done it :D
I think I must lern how my vera works.

Thanks again

26
EventGhost / Re: endless loop and limitations to broadcasts
« on: December 12, 2014, 01:12:27 PM »
fantastic thanks a bunch the  vswitch working a dream now

27
Vera Home Automation Controller / Re: vox timer for motion sensor
« on: December 12, 2014, 05:48:49 AM »
nime5ter
Sorry I had a play and I didn't explain myself properly, sorry for wasting your time.

I meant time as in seconds not as in hours of day.
For example what I am trying to achieve is whether a room is occupied or not.

Scenario would go something like this: motion sensor is tripped by person being in room, Vc gets the notification from vera doesn't change anything.
But if Vc doesn't see a trip event because the motion sensor does not see movement for say 5 minutes, it would then assume the room was empty and trigger an action to turn lights off etc

28
Vera Home Automation Controller / Re: vox timer for motion sensor
« on: December 11, 2014, 07:15:39 PM »
thanks nime5ter
This is great I will have a play.

29
EventGhost / Re: endless loop and limitations to broadcasts
« on: December 11, 2014, 07:01:58 PM »
Quote
Please describe the "big picture" from the user's point of view of what you are trying to accomplish.

Oh no, you'd of wished you'd never asked.

It's to have Voxcommando and eventghost to be the heart of the home automation to interact between software and to carry out commands.

The goal is to have whole house integration, I'll explain
Kitchen

Lights: Control based on if occupied or current lux of the room and the task being performed. Example: Preparing dinner would have a well lit room so you could see where your working or if it was the middle of the night and you were just getting a drink there would be night lighting.

Food organization and stock maintenance of the home http://www.livingcookbook.com/Product/Features when stock cupboard is opened the monitor in the kitchen will automatically open program for stock adjustment. (trying to find a way as you can export stock lists but there in fdx/fdxz I don't know these formats I think they are unique to that software but I printed them off as pdf and then copy and pasted into notepad, a bit clunky but an experiment and I used VC to read the lines. My plan was to ask vox how much we had of X item.)
Without being an advertisement the software also tells you what to order based on the menus created for that week and the price of the shopping it adjusts the stock using the menus you created for that week and it does other things as well.

Food preparation

On returning home from work or school the user will simply say to Vc "I'm ready to prepare dinner"
Vc will know what dinner is because it will be on a formatted notepad for instance say line 4 is always dinner  (this is untested this is how I think it should work) which will trigger the script which will be timed and go something like this Vc would say "Tonight we are having pasta and meatballs this meal takes 25 minutes to cook and be ready at 7:25pm please preheat oven to 190c" and I know my oven takes at most 11 minutes to preheat, so in 11 minutes Vc will say "place meatballs in oven" etc
I played with the idea of having a thermometer in the oven so the preheat would be triggered by the thermometer. This guy here making a probe thermometer so you can watch your food cook on the web http://forum.arduino.cc/index.php?topic=51947.0 just a fun read if your into arduino stuff.

Living room
In this room I have a UB1 - USB Boundary Microphone  which I read on the forum one of the members recommended I use it with Vc in sp mode I use a wii remote for a gyroscopic mouse and using a script for glovepie http://glovepie.org/ when I press the home key on the wii remote it turns it into a controller for XBMC. I then use the + and - which Vc triggers volume to my amp my amp doesn't have anyway of communicating to it apart from IR. The 1 key on the wii remote acts as a push to talk with Vc so you just press and hold 1 to talk to Vc and release puts it back into red mode. I will implement later to mute the amp when I push the button. I use the hook plugin because I didn't know how to get Vc to read joystick presses as my wii remote drivers make it appear as a joystick I use a program called Xpadder http://xpadder.com/  to convert the joystick presses into keyboard presses. If anyone is interested in the multi mouse/joystick script just ask its not mine but I copied and pasted it from two sources and my son made it work.

Lighting

The lighting is also automated depending on how the room is being used. I use a projector with high lumens for my everyday viewing so when watching a movie the lights will dim and when pausing the lights will raise up again.

Entertainment

I use XBMC with mediaportal as tv server with a colossus to capture sky and feed the channels to mediaportal tv server. I hope to use here all Vc wonderful things the user can play with e.g play artist, watch X film and show me newly added.
Also here you can ask Vc to show you new film releases, open I like playing games so I would say whats happening in the MMO world and she would open my favourite news website.

Communicating with Vc
I will use voxwave in bedrooms, kitchen with tablets. Each voxwave will be identified individually by its IP so Vc will know which room is talking to it.
I'm hoping to use Skype to communicate with Vc from outside the house.

House environment
Temperature of each room is monitored by Vc I was hoping to write each temperature of each room to a notepad like monitoring it and then opening it in a graph. I have created certain scenes with the help of you forum guys that fit in with how we want our heating for the house. Here is one example:
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.2.5-->
<command id="362" name="Allen weekend work" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="81" loop="False" loopDelay="0" loopMax="0" description="Allen weekend work">
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)Contains(B)</ifType>
    <ifParams>04,05,06,09,02,03,&amp;&amp;{DtCustom.HH}</ifParams>
    <then>
      <action>
        <cmdType>Group.Enable</cmdType>
        <params>
          <param>aircon switch on</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
      <action>
        <cmdType>Group.Enable</cmdType>
        <params>
          <param>aircon switch off</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
      <action>
        <cmdType>VC.TriggerEvent</cmdType>
        <params>
          <param>toggleoff</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
      <action>
        <cmdType>VC.Pause</cmdType>
        <params>
          <param>100</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
      <action>
        <cmdType>Group.Disable</cmdType>
        <params>
          <param>heat off</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
      <action>
        <cmdType>VC.StopMacro</cmdType>
        <params />
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else>
      <action>
        <cmdType>VC.TriggerEvent</cmdType>
        <params>
          <param>froomtemp1</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
      <action>
        <cmdType>VC.EnableGroup</cmdType>
        <params>
          <param>heat off</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </else>
  </if>
  <event>aircon switch from eventghost</event>
</command>
I have certain scenes for going to bed that turn off projector, amp and in the future I hope we will put night lights on, arm the sensors etc.
I will stop there because I think I have gone on enough. I have other plans for other rooms I was planning to have a Vc for each room for example Vc kitchen, Vc living room they manage there own rooms.
 Ideas: for using tasker for informing Vc of whether someone is at home or not with GPS or maybe use a ping so when the phone is near my house tasker turns the wifi on and sends a message to Vc.

Quote
Please let us know exactly what type of "virtual switch" you are talking about (provide links if possible) and how you are using it.

This is the virtual switch I use in vera https://apps.mios.com/plugin.php?id=1408
The way I have set this virtual switch up all my IR stuff has a switch so I will use my denon amp as an example.
Virtual switch named Denon amp in vera ui5
Then eventghost broadcasts to Vc every 4 seconds I done this because if someone was to turn a virtual switch on versa webpage there would only be a 4 second delay at most from pressing the button on the webpage and Vc sending the ir. The eventghost broadcast  triggers this
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.2.5-->
<command id="335" name="denon amp  get status" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Vera.Get.Status</cmdType>
    <params>
      <param>{M:Vera1D.denon amp}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>VC.TriggerEvent</cmdType>
    <params>
      <param>denon amp</param>
      <param>{LastResult}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <event>denon amp switch from eventghost</event>
</command>
which then triggers an event with the state of the switch as a payload to this
Code: [Select]
[<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.2.5-->
<command id="377" name="denon amp  switch convert" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)==(B)</ifType>
    <ifParams>{1}&amp;&amp;1</ifParams>
    <then>
      <action>
        <cmdType>VC.TriggerEvent</cmdType>
        <params>
          <param>denon amp on</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else>
      <action>
        <cmdType>VC.TriggerEvent</cmdType>
        <params>
          <param>denon amp off</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </else>
  </if>
  <event>denon amp</event>
</command>/code]



which then triggers an event depending on the state of the switch on/off
this is the code for on
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.2.5-->
<command id="396" name="Denon on switch" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>UsbUIRT.Send</cmdType>
    <params>
      <param>{M:denonAmp.on}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>VC.DisableGroup</cmdType>
    <params>
      <param>Denon on switch</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>VC.EnableGroup</cmdType>
    <params>
      <param>Denon off switch</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <event>denon amp on</event>
</command>
and this is off
Code: [Select]
[<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.2.5-->
<command id="376" name="Denon off switch" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>UsbUIRT.Send</cmdType>
    <params>
      <param>{M:denonAmp.off}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>VC.DisableGroup</cmdType>
    <params>
      <param>Denon off switch</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>VC.EnableGroup</cmdType>
    <params>
      <param>Denon on switch</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <event>denon amp off</event>
</command>/code]
The only variation of the switch is for the projector which needs two on ir blasts to turn it off
I appreciate your time you took to read this. I thought that Vc would be more than able to deal with the logic of what I hope to achieve. I did not like the way vera handles its scenes and did not feel comfortable using it. I was hoping to use Vc for all the control of scenes and just use vera as a way to communicate with the zwave nodes.
Please let me know whether I am over estimating what I thought I could achieve with Vc. I don't want to get down the line and achieve lots of slow down and headache because I am not using Vc as intended. My ideas came from what I read on the forums and the wikki  what the actions did.

Edited: Tried to stop the need for eventghost to send to Vc asking for status of virtual switch but vera doesn't send a notification to Vc telling it has changed. There is probably something I am not doing to the settings of the switch to make it behave the way I want. I get notifications about other nodes, just not my virtual switches.

30
EventGhost / endless loop and limitations to broadcasts
« on: December 11, 2014, 05:35:35 AM »
Hello
at the moment I have a timer in eventghost sending a event to vc every 4s. This tells vc to check the status of vertual switches on vera. From here vc would fire the ir to turn on/off based on the state of switch in vera.

I had a problem where only 3 of the 4 events was getting through so I put a delay of 4ms in between each bordcast
that fix it.

1st question is there a limit to simultaneous broadcast.
2nd question as I add more vertual switches could I slow down vc or vera if I'm constantly asking for updates on state on switches.

And is there a way to endless ask for status. I was thinking to make a self triggering  action with a delay but did not know if this is the best way to loop

Pages: 1 [2] 3