Author Topic: LightwaveRF Wifi  (Read 8937 times)

0 Members and 1 Guest are viewing this topic.

driver02

  • Jr. Member
  • **
  • Posts: 11
  • Karma: 0
    • View Profile
Re: LightwaveRF Wifi
« Reply #15 on: March 30, 2015, 11:18:56 PM »
Thankx James , I did exactly what you said , I copy the code and I made a newgroup and I paste in there , Also I check my Light if is on room 1 all ok but I have sitting room on room1 so I don't think is any difference important we have a swich on room1 , but the VC SAYS no connection :'(

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: LightwaveRF Wifi
« Reply #16 on: March 31, 2015, 08:20:41 AM »
A log file would be required for us to see what you are actually doing and what is actually happening.  I can't imagine a scenario where VoxCommando would "say no connection".

I think it would be much easier to help you if I can come look at your computer using TeamViewer.

driver02

  • Jr. Member
  • **
  • Posts: 11
  • Karma: 0
    • View Profile
Re: LightwaveRF Wifi
« Reply #17 on: March 31, 2015, 09:25:51 AM »
Oh Thankx james I give you my teamviewer Id      903 739 136    pass now or later

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: LightwaveRF Wifi
« Reply #18 on: March 31, 2015, 09:39:31 AM »
James says he'll be with you in 10 minutes or so. You can PM him the password.
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: LightwaveRF Wifi
« Reply #19 on: March 31, 2015, 09:48:48 AM »
the first password you sent me in invalid.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: LightwaveRF Wifi
« Reply #20 on: March 31, 2015, 11:16:06 AM »
We got it working!

First we had to reboot the device because it was not responding.

then we sent this command to register:

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.3.8-->
<command id="-1" name="Actions copied from LCB">
  <action>
    <cmdType>TCP.UDP.SendMixed</cmdType>
    <params>
      <param>169,!F*p</param>
      <param>9760</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
</command>

Then on the LightwaveRF Wifi controller device (the main box, not one of the switches) you much click the button for "yes"

then we are ready to start sending commands.  for example to turn Room 1 Device 1 ON
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.4.3-->
<command id="662" name="Turn kitchen light on" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="R1= Room 1&#xD;&#xA;D1 = Device 1&#xD;&#xA;F1 = On (F0 would be Off)">
  <action>
    <cmdType>TCP.UDP.SendMixed</cmdType>
    <params>
      <param>001,!R1D1F1|</param>
      <param>9760</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Turn kitchen light on</phrase>
</command>

We could not get the dim command to work but that might be because we needed to use a capital P.

We were using Fdp but we should maybe be using FdP

You can try this:

To dim Room 1 Device 1 to 50% should be:
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.4.3-->
<command id="675" name="Dim kitchen light to fifty percent" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="R1= Room 1&#xD;&#xA;D1 = Device 1&#xD;&#xA;F1 = On (F0 would be Off)">
  <action>
    <cmdType>TCP.UDP.SendMixed</cmdType>
    <params>
      <param>001,!R1D1FdP16|</param>
      <param>9760</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Dim kitchen light to fifty percent</phrase>
</command>

« Last Edit: March 31, 2015, 11:19:38 AM by jitterjames »

driver02

  • Jr. Member
  • **
  • Posts: 11
  • Karma: 0
    • View Profile
Re: LightwaveRF Wifi
« Reply #21 on: March 31, 2015, 11:53:19 AM »
Thank you so much James and yes it does work to 50% ,so now if I want it for 75% all I have to do is change the number to 20 or something please ?


nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: LightwaveRF Wifi
« Reply #22 on: March 31, 2015, 11:59:30 AM »
The range of values is from 0 to 32, so 75% would be 24.

x = (75/100)*32

More generally:

dim value = (desired %) / 100 * 32
« Last Edit: March 31, 2015, 12:02:39 PM by nime5ter »
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: LightwaveRF Wifi
« Reply #23 on: March 31, 2015, 12:00:19 PM »
Thanks.  Good to know it works with the capital P!

Yes you just use a number from 0 to 32

0 = 0%
8 = 25%
16= 50%
24 = 75%
32 = 100 %

and you can use any numbers in between if you want like 4 = 12%.

driver02

  • Jr. Member
  • **
  • Posts: 11
  • Karma: 0
    • View Profile
Re: LightwaveRF Wifi
« Reply #24 on: March 31, 2015, 12:09:49 PM »
Yes James , It does work & I know you will  definite figure it  out

I don't know how to thank you ,  if you ever need my help in London please do not hesitate

I just start with home automation so please forgive me for taking your time James

I think am ready to purchase for full version and yes I will learn those tutorial from your forum not mr Ding Dong LOL