Search found 33 matches

by Samme
Mon Nov 05, 2012 6:37 pm
Forum: General Support
Topic: Two triggers to disable/enable macro
Replies: 25
Views: 14020

Re: Two triggers to disable/enable macro

Thanks Walter, works like a charm!

Now I don't have to turn the tv, lights, etc off when I leave home, only if I'm the last one leaving, truly excellent!

:)
by Samme
Mon Nov 05, 2012 4:46 pm
Forum: General Support
Topic: Two triggers to disable/enable macro
Replies: 25
Views: 14020

Re: Two triggers to disable/enable macro

Ahh, thanks for pointing that out, must have used an old .xml, I have the "new" version on the laptop and forgot to transfer it!

I'll give it a try!
by Samme
Mon Nov 05, 2012 3:17 pm
Forum: General Support
Topic: Two triggers to disable/enable macro
Replies: 25
Views: 14020

Re: Two triggers to disable/enable macro

Hi Walter! Thanks for your scripting, I've implemented it according to your instructions, but it doesn't trigger any events. I took a screenshot when both keys "left" the house! Same thing when both keys "enter" the house, no event is triggered. eg.png This is the code for "home" and "away" triggers...
by Samme
Fri Oct 26, 2012 7:48 am
Forum: General Support
Topic: Two triggers to disable/enable macro
Replies: 25
Views: 14020

Re: Two triggers to disable/enable macro

Hi Walter, and thanks for helping out, very friendly of you! I'm very excited to try this out, but I'm out of town for a couple of days, but maybe I'm able to try it on my laptop, anyway. I will, write here as soon as I've tried it out!

Have a great weekend!
by Samme
Thu Oct 25, 2012 6:58 pm
Forum: General Support
Topic: Two triggers to disable/enable macro
Replies: 25
Views: 14020

Re: Two triggers to disable/enable macro

Hmm, well now I have this: eg.TriggerEvent("Josefin", payload=1, prefix="Rfid.Home", source=eg) eg.TriggerEvent("Josefin", payload=0, prefix="Rfid.Away", source=eg) Do you mean like this: eg.TriggerEvent("Home", payload="Josefin", prefix="Rfid", source=eg) eg.TriggerEvent("Away", payload="Josefin", ...
by Samme
Thu Oct 25, 2012 6:31 pm
Forum: General Support
Topic: Two triggers to disable/enable macro
Replies: 25
Views: 14020

Re: Two triggers to disable/enable macro

Thanks for your help and directions! I've read a lot at the forum and the web, for the last two days! But I'm not that smart at these things...anyway... I've rearranged the triggers according to Walters idea, So now I have Rfid.Away.Person1 0 and Rfid.Home.Person1 1 So how do I pass the payload from...
by Samme
Wed Oct 24, 2012 6:46 am
Forum: General Support
Topic: Two triggers to disable/enable macro
Replies: 25
Views: 14020

Re: Two triggers to disable/enable macro

Been searching around, but I didn't find anything similar to what you suggested, it's probably just me who doesn't find it. Maybe one could store the values of the variable in a file, then, if EG for some reason is restared, it could read from the file to see which is or/were home/away before it res...
by Samme
Wed Oct 24, 2012 6:05 am
Forum: General Support
Topic: Two triggers to disable/enable macro
Replies: 25
Views: 14020

Re: Two triggers to disable/enable macro

Sounds like good solutions both of them! But since I don't know any python it's kinda hard, do you have some sample code achieving this that I could look at and try?

Thanks!
by Samme
Tue Oct 23, 2012 4:30 pm
Forum: Plugin Support
Topic: SunTracker - with moving ghost
Replies: 566
Views: 280070

Re: SunTracker - with moving ghost

Thanks Vuego! Now it works like a charm :D
by Samme
Tue Oct 23, 2012 4:25 pm
Forum: General Support
Topic: Two triggers to disable/enable macro
Replies: 25
Views: 14020

Re: Two triggers to disable/enable macro

Ohh, sorry, when those two, "rfid..." which are triggers, each connected to a macro, when both has been triggered, it should generate a new trigger that is connected with a third macro! Are you with me? Or, if I'll put it like this! I leave home, and then I put me rfid-key to the reader, which sets ...
by Samme
Tue Oct 23, 2012 4:11 pm
Forum: Plugin Support
Topic: SunTracker - with moving ghost
Replies: 566
Views: 280070

Re: SunTracker - with moving ghost

I've tried both SWXX0007 and also SWXX0007, Gothenburg but I still get 18:07:00 Main.Weather Condition: 'Undefined' - Before I changed it was Gothenburg, Sweden or Goteborg, Sweden , but if I recall it must have been from the old version that used Google's API, right? Ohh, and about the DUO, which i...
by Samme
Tue Oct 23, 2012 3:22 pm
Forum: Plugin Support
Topic: SunTracker - with moving ghost
Replies: 566
Views: 280070

Re: SunTracker - with moving ghost

Thanks Walter, I managed to fix it by editing the xml, now I get no errors anymore, but I get a new trigger that got me a bit curious! 17:13:00 Main.Weather Condition: 'Undefined' Ohh, well, while I'm at it, also, I know I maybe shouldn't bring upp Tellstick issues, but anyhow it some what related. ...
by Samme
Tue Oct 23, 2012 1:19 pm
Forum: Plugin Support
Topic: SunTracker - with moving ghost
Replies: 566
Views: 280070

Re: SunTracker - with moving ghost

Hi Walter! I updated the Suntracker today, then it broke! 15:13:41 Error starting plugin: SunTracker 15:13:41 Traceback (most recent call last) (1544): 15:13:41 File "C:\PROGRA~2\EVENTG~1\eg\Classes\PluginInstanceInfo.py", line 177, in Start 15:13:41 self.instance.__start__(*self.args) 15:13:41 Type...
by Samme
Tue Oct 23, 2012 10:08 am
Forum: General Support
Topic: Two triggers to disable/enable macro
Replies: 25
Views: 14020

Two triggers to disable/enable macro

Hi everyone! I guess I need some python-scripting support again... What I wan't to do is: When both "rfid.person1.is.away" and "rfid.person2.is.away" has triggered I want a macro (or trigger), lets call it "No one home" to be enabled or disabled (or triggered). Can anyone help me with this? Thanks!
by Samme
Wed Oct 17, 2012 9:15 pm
Forum: General Support
Topic: Enable macro at certain day
Replies: 7
Views: 3095

Re: Enable macro at certain day

Thanks Kalia! I've completed the script, but I get errors, "Error compiling script" "SyntaxError: invalid syntax, line 5" etc... ...and even if I don't have a "line 5" I still get that error. Weird! Any ideas? from time import strftime if int(strftime("%w")) == 0: eg.TriggerEvent("Sunday", payload=N...