www.homeseer.com

Go Back   HomeSeer Message Board > 3rd Party Plug-Ins/Scripts > Plug-ins by Author > Ultra Scripts and Plug-Ins > UltraM1G HSPI

UltraM1G HSPI Discussion area for the Elk M1 Plug-In by UltraJones

Reply
 
Thread Tools Display Modes
  #1  
Old February 19th, 2011, 11:09 AM
sunknee sunknee is offline
Seer
 
Join Date: Apr 2007
Location: Canada
Posts: 29
Default Elk not noticing counter value changed by UltraM1G?

Hello, I having a problem with Elk detecting changes to a counter set through UltraM1G (current version). I know that I am setting it correctly through a HS EVENT since I can see the counter (announce_elk) value (0 or 1) changing under Counters in the UltraM1G page. The time/date stamp change as well.
But Elk does not notice this change. Elk does notice when I do this with a F1 keypad toggle using this logic in Elk:

WHENEVER F1 KEY ON ANY KEYPAD ACTIVATES
THEN TOGGLE announce_elk (Counter 8) BETWEEN 0 AND 1

** The next several lines below only work with the F1 toggle above and not when UltraM1G sets the counter
WHENEVER announce_elk (Counter 8) CHANGES TO 1
THEN DISPLAY "Announce ON" IN Our House (Area 1) INDEFINITELY,[*]CLEARS
THEN SET CHIME TO DING AND VOICE IN Our House (Area 1)
WHENEVER announce_elk (Counter 8) CHANGES TO 0
THEN DISPLAY "Announce OFF" IN Our House (Area 1) INDEFINITELY,[*]CLEARS
THEN DISABLE CHIME IN Our House (Area 1)

Am I missing something? I have reloaded my entire Elk settings to UltraM1G and no errors come up in the HS log.

Sonny
Reply With Quote
  #2  
Old February 20th, 2011, 09:24 AM
Ultrajones's Avatar
Ultrajones Ultrajones is offline
OverSeer
 
Join Date: Jan 2001
Location: Michigan, US
Posts: 3,918
Default

How exactly are you changing the counter values using the UltraM1G plug-in?

Regards,
Ultrajones
__________________
Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR
Reply With Quote
  #3  
Old February 20th, 2011, 09:53 AM
sunknee sunknee is offline
Seer
 
Join Date: Apr 2007
Location: Canada
Posts: 29
Default

I'm using an Event and set the action:
Add Action > Elk M1 Counter > Select Counter (I then select the counter name and value).
Here is my log:

2/20/2011 9:04:33 AM - Event - Event Trigger "Announce On"
2/20/2011 9:04:33 AM - UltraM1G Debug - Entered TriggerAction() function.
2/20/2011 9:04:33 AM - UltraM1G Debug - Entered ActionUIFormat() function.
2/20/2011 9:04:33 AM - UltraM1G Debug - ActionUIFormat() received string: UltraM1GElk M1 Counter-Counter 081
2/20/2011 9:04:33 AM - UltraM1G Debug - ActionUIFormat() return string: Counter 08 [announce_elk]
Set Value: 1
Notes:
2/20/2011 9:04:33 AM - UltraM1G Debug - Entered ActionUIFormat() function.
2/20/2011 9:04:33 AM - UltraM1G Debug - ActionUIFormat() received string: UltraM1GElk M1 Counter-Counter 080
2/20/2011 9:04:33 AM - UltraM1G Debug - ActionUIFormat() return string: Counter 08 [announce_elk]
Set Value: 0
Notes:
2/20/2011 9:04:33 AM - UltraM1G Debug - TriggerAction() received string: UltraM1GElk M1 Counter-Counter 081
2/20/2011 9:04:33 AM - UltraM1G Debug - Entered WriteCounterValue() function.
2/20/2011 9:04:33 AM - UltraM1G Debug - WriteCounterValue() is writting custom value 08 1.
2/20/2011 9:04:33 AM - UltraM1G Debug - Sending command: 'cx080000100' to Elk M1, attempt # 1
2/20/2011 9:04:33 AM - UltraM1G Debug - Entered SendToM1G() function.
2/20/2011 9:04:33 AM - UltraM1G Debug - Sending 0Dcx080000100F8 to M1G via Ethernet.
2/20/2011 9:04:33 AM - UltraM1G Debug - Waiting for the M1 to respond with 'CV' for up to 1.5 seconds...
2/20/2011 9:04:34 AM - UltraM1G Debug - Entered ProcessReceived() function with a string '0DCV0800001003A'
2/20/2011 9:04:34 AM - UltraM1G Debug - Entered ProcessCommand() subroutine.
2/20/2011 9:04:34 AM - UltraM1G Debug - Command CV response received by Elk M1.
2/20/2011 9:04:34 AM - UltraM1G Debug - Processing response [CV]
2/20/2011 9:04:34 AM - UltraM1G Debug - Waited 102 milliseconds for the command response.
2/20/2011 9:04:36 AM - Event - Event Trigger "Announce Off"
2/20/2011 9:04:36 AM - UltraM1G Debug - Entered TriggerAction() function.
2/20/2011 9:04:36 AM - UltraM1G Debug - Entered ActionUIFormat() function.
2/20/2011 9:04:36 AM - UltraM1G Debug - ActionUIFormat() received string: UltraM1GElk M1 Counter-Counter 081
2/20/2011 9:04:36 AM - UltraM1G Debug - ActionUIFormat() return string: Counter 08 [announce_elk]
Set Value: 1
Notes:
2/20/2011 9:04:36 AM - UltraM1G Debug - Entered ActionUIFormat() function.
2/20/2011 9:04:36 AM - UltraM1G Debug - ActionUIFormat() received string: UltraM1GElk M1 Counter-Counter 080
2/20/2011 9:04:36 AM - UltraM1G Debug - ActionUIFormat() return string: Counter 08 [announce_elk]
Set Value: 0
Notes:
2/20/2011 9:04:36 AM - UltraM1G Debug - TriggerAction() received string: UltraM1GElk M1 Counter-Counter 080
2/20/2011 9:04:36 AM - UltraM1G Debug - Entered WriteCounterValue() function.
2/20/2011 9:04:36 AM - UltraM1G Debug - WriteCounterValue() is writting custom value 08 0.
2/20/2011 9:04:36 AM - UltraM1G Debug - Sending command: 'cx080000000' to Elk M1, attempt # 1
2/20/2011 9:04:36 AM - UltraM1G Debug - Entered SendToM1G() function.
2/20/2011 9:04:36 AM - UltraM1G Debug - Sending 0Dcx080000000F9 to M1G via Ethernet.
2/20/2011 9:04:36 AM - UltraM1G Debug - Waiting for the M1 to respond with 'CV' for up to 1.5 seconds...
2/20/2011 9:04:36 AM - UltraM1G Debug - Entered ProcessReceived() function with a string '0DCV0800000003B'

FYI, after this did not work, I created a task in Elk called AnnounceOnChange. So now I can set the counter exactly as above and send and an action to activate the task AnnounceOnChange as that does work. I use this Elk progrmming now:

WHENEVER AnnounceOnChange (Task 4) IS ACTIVATED
AND announce_elk (Counter 8) IS EQUAL TO 1
etc.... turn on chime

So two things that I need to change. I could just create two tasks called AnnounceOn and AnnounceOff but I need to track the status so I need to set a counter variable.
Sonny
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:51 AM.

Untitled Document
NEW!
New How-To's
New Products

HomeSeer Z-Troller"
MyHomeSeer-Connect Service

Copyright HomeSeer Technologies, LLC