Announcement

Collapse
No announcement yet.

Can't get Tasks to work

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can't get Tasks to work

    I've been trying to use a Homeseer event to trigger an Elk M1 task with no luck. I have the task set up correctly in the Elk and have tested it. I've gone to Options in the UltraM1G plugin and told it I have one task. I restarted Homeseer and can see that the one task is there when I look at the Status page of the plugin. I then created the event and have tested it numerous times and can't get it to trigger.

    Anything that I'm missing? Any debug mode or log file I can look at?

    Thanks in advance for the help.

    Pat

    #2
    HI Pat

    Two things you can do. Firstly, are you sure the trigger works ? Do you see the trigger in the HS logs and can you get the action to be something you can see to ensure the trigger point works ? Can you run the event manually, does this work or does it fail.

    Secondly, you can turn on the advanced debug. If you want to run task 001, look for a string containing tn001 ( the n is lower case too) in the HS logs (with debug turned on). This is the message that the M1G plugin will send the ELK. So run the event manually and look for the string.

    If you're not seeing the tn001 message, then the trigger may not be working or your action is incorrectly configured. If you are seeing tn001 in the logs, then thats another issue we will need to look at...

    Hope this helps

    Pete
    HS 2.2.0.11

    Comment


      #3
      Hi Pete -
      Thanks for your help on this. I turned on the log and this is what I got:

      **************************************
      7/18/2007 10:12:16 PM - UltraM1G Debug - Processing response [XK]
      7/18/2007 10:12:16 PM - UltraM1G Debug - Entered ProcessCommand() subroutine.
      7/18/2007 10:12:16 PM - UltraM1G Debug - Entered ProcessReceived() function with a string '16XK1512224180707110006C'
      7/18/2007 10:12:16 PM - UltraM1G Debug - Entered Serial DataReceived() function.
      7/18/2007 10:12:12 PM - UltraM1G Debug - Waited 100 milliseconds for the command response.
      7/18/2007 10:12:12 PM - UltraM1G Debug - Task Number is 001
      7/18/2007 10:12:12 PM - UltraM1G Debug - The SetIO call was generated locally, no action required.
      7/18/2007 10:12:12 PM - UltraM1G Debug - Entered SetIO() subroutine.
      7/18/2007 10:12:12 PM - UltraM1G Debug - Processing response [TC]
      7/18/2007 10:12:12 PM - UltraM1G Debug - Command TC response received by Elk M1.
      7/18/2007 10:12:12 PM - UltraM1G Debug - Entered ProcessCommand() subroutine.
      7/18/2007 10:12:12 PM - UltraM1G Debug - Entered ProcessReceived() function with a string '0ATC001000D7'
      7/18/2007 10:12:12 PM - UltraM1G Debug - Entered Serial DataReceived() function.
      7/18/2007 10:12:12 PM - UltraM1G Debug - Waiting for the M1 to respond with 'TC' for up to 1.5 seconds...
      7/18/2007 10:12:12 PM - UltraM1G Debug - Sending tn00100 to M1G serial port.
      7/18/2007 10:12:12 PM - UltraM1G Debug - Entered SendToM1G() function.
      7/18/2007 10:12:12 PM - UltraM1G Debug - Sending command: 'tn00100' to Elk M1, attempt # 1
      7/18/2007 10:12:12 PM - UltraM1G Debug - ActivateTask() is activating task 001.
      7/18/2007 10:12:12 PM - UltraM1G Debug - Entered ActivateTask() function.
      7/18/2007 10:12:12 PM - UltraM1G Debug - TriggerAction() received string: UltraM1GElk M1 Task Activation-Task 001DON'T CHANGE NAME; USED IN MLCLIENT
      7/18/2007 10:12:12 PM - UltraM1G Debug - Entered TriggerAction() function.
      7/18/2007 10:12:12 PM - Info - Event Trigger "Alarm Armed Away - Keyfob"
      7/18/2007 10:12:12 PM - X10 Received - D1 (House Keyfob) D On
      7/18/2007 10:12:12 PM - UltraM1G Debug - Watchdog Timer indicates response from Elk M1 was received less than 60 seconds ago.
      7/18/2007 10:11:53 PM - Debug - config page took 1.612318399988 seconds
      **********************

      I see the tn001 (although it says tn00100) but I'm not getting any activity at the M1. I have it set to chirp the outside speaker, which I've tested directly from the panel and it works fine.

      Any way to tell what is going on at the M1?

      Thanks again for the help.

      Pat

      Comment


        #4
        Hi Pete -
        I got the email you sent with the files. Thanks. I haven't had a chance to troubleshoot the ELK end yet, but I did notice something strange on the Homeseer end. After restarting Homeseer and going to the UltraM1G Status screen it now says I don't have any Tasks - "Tasks 32 (0 defined)". I checked the ELK and the task is definitely there. I also looked at the Tasks tab in HS and it says there are no tasks. I Reloaded Data but it didn't change.

        I wonder if this has something to do with the tasks not running?

        Pat

        Comment


          #5
          For testing purposes, I defined a new Elk M1 Rule:

          WHENEVER Task (Task 1) IS ACTIVATED
          THEN ANNOUNCE Say Time (vm238)

          I then defined a HomeSeer event:

          Action
          Elk M1 Task Activation: Task 001
          Action: Activate
          Notes: Test event for Elk M1 Task Activation action.

          What does your Elk rule and HomeSeer event look like?

          Regards,
          Ultrajones
          Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

          Comment


            #6
            Originally posted by beerguy View Post
            I've been trying to use a Homeseer event to trigger an Elk M1 task with no luck. I have the task set up correctly in the Elk and have tested it. I've gone to Options in the UltraM1G plugin and told it I have one task. I restarted Homeseer and can see that the one task is there when I look at the Status page of the plugin. I then created the event and have tested it numerous times and can't get it to trigger.

            Anything that I'm missing? Any debug mode or log file I can look at?

            Thanks in advance for the help.

            Pat
            beerguy,

            Just Curious - under automation/tasks in ElkRP did you select "show" so it can be seen by the plug-in? If this is set properly, and you have told the plug-in to look for the task as you mentioned in your post, restarted HomeSeer (or click on the reload data in the UltraM1G setup) you should then be able to look in the UltraM1G setup, click on the "Tasks" tab, and see the name of the task and an enabled checkbox that allows checking for creation of a HomeSeer device. If you can see this then you know that the plug-in is aware of your task.

            Brian
            Last edited by bdhall; July 28, 2007, 12:23 AM.

            Comment

            Working...
            X