i have got is to work
weather_conditions_that_will_trigger = [
"Fair",
"Clear",
"Sunny",
"Mostly Sunny",
"Partly Sunny"
]
currCondition = str(eg.event.payload)
if currCondition in weather_conditions_that_will_trigger:
pass
else:
eg.StopMacro()
thank you for the help
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Search found 3 matches
- Tue Apr 08, 2014 8:40 am
- Forum: Plugin Support
- Topic: SunTracker - with moving ghost
- Replies: 566
- Views: 264045
- Mon Apr 07, 2014 2:38 pm
- Forum: Plugin Support
- Topic: SunTracker - with moving ghost
- Replies: 566
- Views: 264045
Re: SunTracker - with moving ghost
hello krambriw
thank you verry much
I know absolutely nothing of python
so i have just coppy past your code in eventghost
but it do'n work the way i want
the macro keep running
i think if the value is ('........') then the macro must pass
if the value does not match then the macro must stop
so i ...
thank you verry much
I know absolutely nothing of python
so i have just coppy past your code in eventghost
but it do'n work the way i want
the macro keep running
i think if the value is ('........') then the macro must pass
if the value does not match then the macro must stop
so i ...
- Sat Apr 05, 2014 5:58 pm
- Forum: Plugin Support
- Topic: SunTracker - with moving ghost
- Replies: 566
- Views: 264045
Re: SunTracker - with moving ghost
i have found suntracker
and want to use it on my rolling shutters
suntracker say's Main.Weather Condition: 'Mostly Cloudy' in the log
i was thinking that i can just use that tag to start a event
so i drag the event to a macro, but that didn't work
it only dislay's Main.Weather Condition:
and every ...
and want to use it on my rolling shutters
suntracker say's Main.Weather Condition: 'Mostly Cloudy' in the log
i was thinking that i can just use that tag to start a event
so i drag the event to a macro, but that didn't work
it only dislay's Main.Weather Condition:
and every ...