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

Pages: 1 2 [3]
31
One on one support / Issue with Hue Light..
« on: August 12, 2017, 03:41:53 AM »
Hello,

Im facing some issues with one of my hue bulbs and i really hope someone can tell me what is up.

Last night, one of my  bulbs died on me and i replaced it with another one from my bathroom, i renamed it through the Philips hue app to what the dead bulb was named and deleted the dead bulb.

So i have 4 bulbs for now in the room:

1) Computer Light
2) Mirror Light
3) Bed Light
4) Window Light

Please review the image below.

http://imgur.com/a/6q6i3

Light 4 says "error reading light status".

Now it is important to note that when i call scenes through Hue.Scene.Load it works perfectly fine, the light also responds and works perfectly fine with smartthings and the hue app, i am only having issues getting VC to recognize it through manual commands.

Here is one of the scenes that i created manually in VC prior to learning the Hue.Scene.Load command:

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.3.7-->
<command id="343" name="Set Scene Beach" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="20" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Hue.Light</cmdType>
    <params>
      <param>1</param>
      <param>"on":true, "hue":15000, "bri":100%</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Hue.Light</cmdType>
    <params>
      <param>2</param>
      <param>"on":true, "hue":35000, "bri":100%</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Hue.Light</cmdType>
    <params>
      <param>3</param>
      <param>"on":true, "hue":30000, "bri":100%</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Hue.Light</cmdType>
    <params>
      <param>4</param>
      <param>"on":true, "hue":65000, "bri":100%</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Hue.Light</cmdType>
    <params>
      <param>6</param>
      <param>"on":true, "hue":25000, "bri":100%</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Set Scene Beach</phrase>
</command>

When i tinker with the brightness or hue for light 4 it doesn't budge, all other lights work fine. But when i Call upon the above scene through the appended voice command the light works absolutely fine, they go on and off and change hue absolutely OK.

Any idea how i can get the light with an error to function normally again?

32
One on one support / Re: Hue Functionality Tutorial Request..
« on: August 03, 2017, 02:42:14 AM »
Thank you for the info, i didn't see an off command, i will check again and revert. Thanks again.

33
One on one support / Re: Hue Functionality Tutorial Request..
« on: July 31, 2017, 11:41:28 PM »
Hi cglobal,

As Kalle mentions, the correct syntax for setting brightness levels using percentages requires that the % symbol appears after the number that you are passing to the command.

If you originally tried to set brightness without using the % symbol, there should still have been some effect but the brightness would be quite low (100/254). According to the Hue Plugin documentation:

See: http://voxcommando.com/mediawiki/index.php?title=Plugin_Hue

Or you can find the same information while editing commands in the Command Builder by using the Action Selection Tree tool.

http://voxcommando.com/mediawiki/index.php?title=Logical_Command_Builder

If you look at the default Hue configuration again--and perhaps actually install it so that you can review in more detail how the commands are set up within your command tree--it may help to develop a much clearer understanding of the syntax and how commands are structured in VC.

As you may have noticed, there is already a command in that configuration for setting the brightness of your Hue lights:

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.3.8-->
<command id="993" name="Set {1} brightness to {2} percent" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Hue.Group</cmdType>
    <params>
      <param>{1}</param>
      <param>"on":true, "bri":{2}%</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Set</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">huePayloads\groups.xml</payloadFromXML>
  <phrase>brightness, level</phrase>
  <phrase optional="true">to</phrase>
  <payloadList>0,10,20,25,30,40,50,60,70,75,80,90,100</payloadList>
  <phrase optional="true">percent</phrase>
</command>

Thanks for the info, much appreciated. I did check the hue configuration which is how i got it to work, just that i missed the % sign as mentioned by Kalle, which i now sorted out.

34
One on one support / Re: Hue Functionality Tutorial Request..
« on: July 31, 2017, 11:40:06 PM »
Hi cglobal,
I think I found your issue - but first you have to understand what the payload contain.

Your example command contain the payload List numbers from 10 to 100 (without the % sign) and this is exact what then will be replaced for the {1}, but for the HUE command the percent sign is required. The payload in your action (curly brackets with digit 1) is a placeholder for the content from your payload list.

With other words - your command missing the % sign after the {1} -  it must look like this: "on":true, "hue":30000,"bri":{1}%

I hope this will help you

Thanks so much Kalle, that did it, just the push i needed, will teach me to be more diligent moving forward. One more question about Hue, when i set to 0% or even 0, it dims to very low, like probably 10% of lesser but doesn't go off, any idea why this happens?

Any insight would be appreciated.

35
One on one support / Re: Hue Functionality Tutorial Request..
« on: July 30, 2017, 10:36:55 PM »
Hello,

I did check the default Hue config, unfortunately it says nothing about this, i've tried several different values with: "on":true, "hue":30000,"bri":100%, but i haven't found any to replace brightness with a payload curly brace.

Here is the XML:

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.3.7-->
<command id="281" name="Lights Brightness" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Hue.Group</cmdType>
    <params>
      <param>0</param>
      <param>"on":true, "hue":30000,"bri":100%</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>lights</phrase>
  <payloadList>10,20,30,40,50,60,70,80,90,100</payloadList>
</command>

Thanks in advance for the help and bearing with me as i learn more about this amazing tool.

Edit: Please note, i just changed the this: "on":true, "hue":30000,"bri":{1} TO this "on":true, "hue":30000,"bri":100% because the curly brace had no effect.

36
One on one support / Re: Hue Functionality Tutorial Request..
« on: July 30, 2017, 10:04:31 PM »
Hello,

Thanks for the help. I've gone through a few tutorials and i've managed to execute a few commands but i still cant get the Hue one right. Please tell me what im doing wrong.

I am attempting to dynamically change brightness as mentioned earlier, for ALL lights. For 100% brightness, the standard command is: "on":true, "hue":30000,"bri":100%. Now i've added a payload list under the phrase "lights", with values: 10,20,30,40,50,60,70,80,90,100. I tried the following: "on":true, "hue":30000,"bri":{1}, but it does not work.

Please bear with me and help me understand what i am doing wrong.

Thanks in advance.

37
One on one support / Hue Functionality Tutorial Request..
« on: July 30, 2017, 02:17:10 AM »
Hello, I wanted to setup the Hue with VOX, im having some problems using payloads, im very new to this. I managed to get HUE to work but the only command i could successfully run was lights to 100%, i want to use a payload list or payload range to change at least brightness dynamically, i tried a few curly braces but none worked so i wanted to know what i was doing wrong, after which i have a few more requests, if i get these to work ill buy right away (by tomorrow morning surely).

Thanks in advance for all the help.

Pages: 1 2 [3]