Hi!
How do I create 'If Statements' in EventGhost?
I use eventGhost 0.4.1.r1700 on Windows 10.
I have this rawData from Tellstick plugin;
TellStickDuo.RawEvent: class:sensor;protocol:mandolyn;id:11;model:temperaturehumidity;temp:21.2;humidity:44;Duo_ID:6
I want to make 'If statements' based on the temp value:
If temp > 14, activate event tellstick.garage.heat.off
If temp < 12, activate event tellstick.garage.heat.on
If Python is the way to go I'd appreciate an syntax sample. I haven't played with python for years.
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.
If Statements
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: If Statements
I have earlier created similar samples, they are published here somewhere in the forum. I have not had time yet to search for you. Maybe try searching my posts with word 'temperature' as input
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: If Statements
Here's another thread on point.