Page 1 of 1

Calculations in Automagically?

Posted: Thu Jan 18, 2018 11:08 am
by misterleffe
Is it possible e.g. make mathematical calculations, like addtion, subtraction, divison and multiplication for a sensor value? Also calculation of arguments like if, else, and, not for given values? If you have som examples, it would be appreciated.

Maybe, if it's possible, put this in the Wiki for Automagically? http://automagically.wikia.com/wiki/Automagically_Wiki



/misterleffe

Re: Calculations in Automagically?

Posted: Thu Jan 18, 2018 11:08 am
by KHolm
Two posts comes to mind,

If-then-else kind of,
http://www.telldus.com/forum/viewtopic.php?f=25&t=4260

Calculations,
http://www.telldus.com/forum/viewtopic.php?f=25&t=4261

Can partly be done in signal transforms using $EVAL.

Feel free to update the wiki...

Marcus