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.

How to get raw data from event

If you have a question or need help, this is the place to be.
Post Reply
r_persater
Posts: 2
Joined: Fri Mar 23, 2012 6:00 pm

How to get raw data from event

Post by r_persater »

Hi everybody,

I want to get raw data from an event but the only parts I can find out of is using are
eg.event.prefix and eg.event.suffix which returns

"TellStickDuo" and "mandolyn.temperaturehumidity.64.Humidity:" respectively from
the event

TellStickDuo.mandolyn.temperaturehumidity.64.Humidity: '29|2012-03-23 19:14:35'

As you may guess I want to get the humidity and temperature parts out of the messages
from my TellStick Duo. I know little about Python, so if someone out there could help me
out?

Thanks in advance,

Rickard
cfull1
Experienced User
Posts: 124
Joined: Thu Aug 19, 2010 4:52 am

Re: How to get raw data from event

Post by cfull1 »

Do you have the latest plugin?
Plugin: TellStick Duo
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: How to get raw data from event

Post by krambriw »

You have to use the eg.event.payload that will return the dynamic data
Icey
Posts: 1
Joined: Thu Apr 17, 2014 8:04 am

Re: How to get raw data from event

Post by Icey »

Hi!

This thread might be a bit old! But I was wondering the same as the topic says...

I have a weber cooking thermometer that sends temp values to my Tellstick DUO and there eventghost picks up the values in the log. I am using the tellstick duo plugin for eventghost.

In the eventghost log this event shows up as
" TellstickDuo.RawEvent:class:sensor;protocol:oregon;model:EA4C;id:185;temp:29,2;Duo_ID:3 ".

How do I get the temp value recived in the raw event ? I have to use some kind of script?

Then I would like to send the temp value to my android phone. Do you have any thougts on how to do it ? How can I get the temperature value in a autoremote message ? Or is there are better way to get the value to my phone ?

Thanks for your help!
Mandroid
Posts: 1
Joined: Thu Apr 24, 2014 1:18 pm

Re: How to get raw data from event

Post by Mandroid »

Hi

You can use the pushbullet plugin with Eventghost which is a great app in itself or I would suggest Remotestick Pro which is made for Tellstick. With Remotestick you can have the temp displayed as a widget on your android home screen with an update interval as low as once every minute. Remotestick polls Telldus API for sensor info (you would need a live account which is free).

I you want a faster tempreture reading then use Chrome's remote desktop browers plugin and see exactly what the reading is on your PC screen in realtime from your Android device.

If I may ask, what is the name of the thermometer?

Cheers
Post Reply