Author |
|
cmhardwick Senior Member
Joined: July 08 2006 Location: United States
Online Status: Offline Posts: 290
|
Posted: March 20 2009 at 21:25 | IP Logged
|
|
|
since upgrading to 2.1b, I've had to change any triggers that execute a macro from the Macro type of trigger to a raw formula then use ph_macro("macro") or they aren't actually executing properly. I also had to modify GadgetGuy's thermostat scripts to do the same thing when it called the "getstat" macro, which calls other macros.
Edited by cmhardwick - March 20 2009 at 21:26
__________________ Cicero, Enjoying automation!
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: March 20 2009 at 22:09 | IP Logged
|
|
|
Hmm. Maybe I am seeing this, too. My Welcome Home macro is a bit off... But not others.
Edited by TonyNo - March 20 2009 at 22:10
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: March 20 2009 at 23:21 | IP Logged
|
|
|
That’s interesting I didn’t run into that.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
cmhardwick Senior Member
Joined: July 08 2006 Location: United States
Online Status: Offline Posts: 290
|
Posted: March 21 2009 at 14:07 | IP Logged
|
|
|
after more investigation, I think i'm seeing it more when used within macros. I think my triggers may have been ok, but i'm not sure. Haven't fully tested everything.
__________________ Cicero, Enjoying automation!
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: March 21 2009 at 14:38 | IP Logged
|
|
|
I had problems within a macro using local variables. Specifically Tony’s getweather stop working. It may have been coincidence but the data would no longer fit into the size of the variable after I went to V2.1b. I had to change the locals to system variables.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: March 21 2009 at 22:48 | IP Logged
|
|
|
Cicero,
I just checked this out and was able to successfully fire macros from a trigger using a "Macro" action type.
I also didnt have a problem from within Macros. Have you done any further testing to isolate the problem that you're seeing?
Im suspecting instead of a bug, something amiss during the upgrade process and perhaps the data is not what is expected.
Let me know,
Dave.
|
Back to Top |
|
|
cmhardwick Senior Member
Joined: July 08 2006 Location: United States
Online Status: Offline Posts: 290
|
Posted: March 21 2009 at 23:01 | IP Logged
|
|
|
where i saw this was implementing GadgetGuy's thermstat macros. i had to chnge the last line of the setstat which uses the macro function to call the getstat macro, which in turn calls 3 other ,macros.
this would call the getstat macro, but the macros within that one would not execute. using the ph_macro allowed them all to work.
what i suspected as being the same issue in the triggers was solved by loading the full database to the plm.
__________________ Cicero, Enjoying automation!
|
Back to Top |
|
|