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.

Trigger action on first part of event

If you have a question or need help, this is the place to be.
Post Reply
eivindvr
Posts: 1
Joined: Sun Oct 04, 2009 10:45 pm

Trigger action on first part of event

Post by eivindvr »

Hi,

I have searched the forum, but cannont find anything on this hopefully simple question.

I have a TellStick Duo and a wireless thermometer sensor (http://www.clasohlson.no/Product/Produc ... =164635172). Each time the sensor sends i get a raw events in eventghost, for example "TellStickDuo.RawEvent: class:sensor;protocol:oregon;model:EA4C;id:0x65;temp:22.5;Duo_ID:3".

I would like to use this to trigger a python script that extracts the tempereature and triggers an action based on the value. But since the "temp:" part of the event is changing, i cannot use it as a trigger.

So my question is: Is there any way to let the first part of the event trigger an action, for example "TellStickDuo.RawEvent: class:sensor;protocol:oregon", so that all events from the thermometer triggers the action? I have tried to use an aterisk ("TellStickDuo.RawEvent: class:sensor;protocol:oregon"), but that doesn't do the trick.

Thanks in advance!

Eivind
miljbee
Experienced User
Posts: 146
Joined: Fri Mar 27, 2009 1:29 pm
Location: Orl├®ans, France

Re: Trigger action on first part of event

Post by miljbee »

TellStickDuo.* will work
miljbee
TCP Events : A Better Network Event Sender/Receiver Plugin.
The Network Event Sender/Receiver in C#
Get events in EG from Google Calendar.
Post Reply