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
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.
How to get raw data from event
Re: How to get raw data from event
Do you have the latest plugin?
Plugin: TellStick Duo
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
You have to use the eg.event.payload that will return the dynamic data
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: How to get raw data from event
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!
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!
Re: How to get raw data from event
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
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