AutoVera Control any device with auto voice.

Discussion in 'AutoApps' started by kris.mccreight, Feb 1, 2017.

  1. kris.mccreight

    kris.mccreight New Member

    Joined:
    Jan 31, 2017
    Messages:
    12
    Likes Received:
    0
    So I took the control any scene set up and modified it a bit to look like this Screenshot_2017-01-31-18-33-17.png with the thought that it would then trigger any on off device with the command supplied. It registers the command with auto voice but nothing happens. I know I could take and make an individual scene for each device but I have 40 devices and that seems cumbersome and will big down my UI5. Any ideas. I tried %device in the command %devices. Screenshot_2017-01-31-18-34-53.png maybe %device%something else?

    Sent from my SAMSUNG-SM-N900A using Tapatalk
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    Can you please try this in AutoVoice:
    - clear logs
    - enable system logs
    -do command
    -export logs and paste them here

    Thanks!
     
  3. kris.mccreight

    kris.mccreight New Member

    Joined:
    Jan 31, 2017
    Messages:
    12
    Likes Received:
    0
    version 2.0.49

    OS Build LRX21V.N900AUCUEOC2
    OS Code 21
    Device SAMSUNG-SM-N900A
    Manufacturer samsung
    Product hlteuc

    Trigger Words - 2017-02-01 07:10:59.455 - Removed trigger words:
    turn on upstairs lamp
    Profile Matches - 2017-02-01 07:10:55.829 - "(?<command>run|start|execute|activate)(?<scene>.+)" matches "turn on upstairs lamp": false
    Profile Matches - 2017-02-01 07:10:55.306 - "(?<command>run|start|execute|activate)(?<scene>.+)" matches "turn on upstairs lamp": false
    Recognition - 2017-02-01 07:10:54.619 - Clearing last command id
    Profile Matches - 2017-02-01 07:10:54.534 - No Last Command Id matches No Last Matched Command Id
    Profile Matches - 2017-02-01 07:10:54.521 - "(?<command>on|off)(?<device>.+)" matches "turn on upstairs lamp": true
    Trigger Words - 2017-02-01 07:10:54.461 - Current trigger words:
    turn on upstairs lamp
    Trigger Words - 2017-02-01 07:10:54.450 - Added trigger words:
    turn on upstairs lamp
    Recognition - 2017-02-01 07:10:53.678 - Got commands: Received possible commands:
    turn on upstairs lamp



    Sent from my SAMSUNG-SM-N900A using Tapatalk
     
  4. kris.mccreight

    kris.mccreight New Member

    Joined:
    Jan 31, 2017
    Messages:
    12
    Likes Received:
    0
    I see what's happening now. It is mixing the 2 because I had the scene task active.

    Sent from my SAMSUNG-SM-N900A using Tapatalk
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    Ok, that part is working. Now in the task please add a flash action with the value "%device" including the double quotes to see what value you're getting.
     
  6. kris.mccreight

    kris.mccreight New Member

    Joined:
    Jan 31, 2017
    Messages:
    12
    Likes Received:
    0
    version 2.0.49

    OS Build LRX21V.N900AUCUEOC2
    OS Code 21
    Device SAMSUNG-SM-N900A
    Manufacturer samsung
    Product hlteuc

    Trigger Words - 2017-02-01 07:24:18.021 - Removed trigger words:
    turn on living room light
    Recognition - 2017-02-01 07:24:13.135 - Clearing last command id
    Profile Matches - 2017-02-01 07:24:13.086 - No Last Command Id matches No Last Matched Command Id
    Profile Matches - 2017-02-01 07:24:13.075 - "(?<command>on|off)(?<device>.+)" matches "turn on living room light": true
    Trigger Words - 2017-02-01 07:24:12.988 - Current trigger words:
    turn on living room light
    Trigger Words - 2017-02-01 07:24:12.976 - Added trigger words:
    turn on living room light
    Recognition - 2017-02-01 07:24:12.890 - Got commands: Received possible commands:
    turn on living room light



    Sent from my SAMSUNG-SM-N900A using Tapatalk
     
  7. kris.mccreight

    kris.mccreight New Member

    Joined:
    Jan 31, 2017
    Messages:
    12
    Likes Received:
    0
    The second log is with the scene profile disabled. The top log is with both profiles active by mistake. I would like to eventually be able to combine both profiles into one if I can figure this hurdle out.

    Sent from my SAMSUNG-SM-N900A using Tapatalk
     
  8. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    Hi please check my reply above
     
  9. kris.mccreight

    kris.mccreight New Member

    Joined:
    Jan 31, 2017
    Messages:
    12
    Likes Received:
    0
    version 2.0.49

    OS Build LRX21V.N900AUCUEOC2
    OS Code 21
    Device SAMSUNG-SM-N900A
    Manufacturer samsung
    Product hlteuc

    Trigger Words - 2017-02-01 07:47:23.819 - Removed trigger words:
    turn on living room light
    Recognition - 2017-02-01 07:47:18.883 - Clearing last command id
    Profile Matches - 2017-02-01 07:47:18.876 - No Last Command Id matches No Last Matched Command Id
    Profile Matches - 2017-02-01 07:47:18.861 - "(?<command>on|off)(?<device>.+)" matches "turn on living room light": true
    Trigger Words - 2017-02-01 07:47:18.846 - Current trigger words:
    turn on living room light
    Trigger Words - 2017-02-01 07:47:18.833 - Added trigger words:
    turn on living room light
    Recognition - 2017-02-01 07:47:18.516 - Got commands: Received possible commands:
    turn on living room light

    I think I put the command in the right spot.

    Sent from my SAMSUNG-SM-N900A using Tapatalk
     
  10. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    I meant this reply ;)

     
  11. kris.mccreight

    kris.mccreight New Member

    Joined:
    Jan 31, 2017
    Messages:
    12
    Likes Received:
    0
    Screenshot_2017-02-01-08-01-45.png is this what you are referring to? If not I think I am missing what you want. Thank you so much for the help.

    Sent from my SAMSUNG-SM-N900A using Tapatalk
     
  12. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    Yes, exactly :) but set the flash action as the first action in the task, then do the voice command and see what happens.
     
  13. kris.mccreight

    kris.mccreight New Member

    Joined:
    Jan 31, 2017
    Messages:
    12
    Likes Received:
    0
    version 2.0.49

    OS Build LRX21V.N900AUCUEOC2
    OS Code 21
    Device SAMSUNG-SM-N900A
    Manufacturer samsung
    Product hlteuc

    Trigger Words - 2017-02-01 08:06:54.770 - Removed trigger words:
    turn on living room light
    Recognition - 2017-02-01 08:06:51.518 - Clearing last command id
    Profile Matches - 2017-02-01 08:06:51.464 - No Last Command Id matches No Last Matched Command Id
    Profile Matches - 2017-02-01 08:06:51.459 - "(?<command>on|off)(?<device>.+)" matches "turn on living room light": true
    Trigger Words - 2017-02-01 08:06:49.828 - Current trigger words:
    turn on living room light
    Trigger Words - 2017-02-01 08:06:49.744 - Added trigger words:
    turn on living room light
    Recognition - 2017-02-01 08:06:49.215 - Got commands: Received possible commands:
    turn on living room light

    OK so I did that and still no light.

    Sent from my SAMSUNG-SM-N900A using Tapatalk
     
  14. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    Ok, but what did the flash action show?
     
  15. kris.mccreight

    kris.mccreight New Member

    Joined:
    Jan 31, 2017
    Messages:
    12
    Likes Received:
    0
    Living room light

    Sent from my SAMSUNG-SM-N900A using Tapatalk
     
  16. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    Can you please show me a screenshot of that?

    also can you please export your profile's description (not xml) so I can take a look? Long-click the profile in Tasker->export description Thanks in advance
     
  17. kris.mccreight

    kris.mccreight New Member

    Joined:
    Jan 31, 2017
    Messages:
    12
    Likes Received:
    0
    Yes. I will compile all the data I can for you and send it your way.

    Sent from my SAMSUNG-SM-N900A using Tapatalk
     
  18. kris.mccreight

    kris.mccreight New Member

    Joined:
    Jan 31, 2017
    Messages:
    12
    Likes Received:
    0
    Profile: Device Control (8)
    State: AutoVoice Recognized [ Configuration:Event Behaviour: true
    Command: "(?<command>on|off)(?<device>.+) (regex)" ]
    Enter: Anon (9)
    A1: Flash [ Text:"%device" Long:Off ]
    A2: AutoVera Devices [ Configuration:Vera: home
    Manual Device Name: %device Timeout (Seconds):30 ]

    [​IMG]

    Original profile for scene control which works when enabled. Not on during testing.

    Profile: Scene Control (6)
    State: AutoVoice Recognized [ Configuration:Event Behaviour: true
    Command: "(?<command>run|start|execute|activate)(?<scene>.+) (regex)" ]
    Enter: Anon (7)
    A1: AutoVera Scenes [ Configuration:Vera: home
    Manual Scene Name: %scene Timeout (Seconds):30 ]



    Sent from my SAMSUNG-SM-N900A using Tapatalk
     
  19. kris.mccreight

    kris.mccreight New Member

    Joined:
    Jan 31, 2017
    Messages:
    12
    Likes Received:
    0
    Do you think it makes a difference because I am trying to toggle the state of a device vice executing a scene. Running a scene the Vera toggles the state of the device where as with device I am trying to toggle the device with no command input. Or is it just a handshake between auto voice and auto Vera as a button click?

    Sent from my SAMSUNG-SM-N900A using Tapatalk
     

Share This Page