# [APP][Pro] Custom Logic

Custom Logic for Homey

Custom Logic is a Homey app that allows you to control your tokens and flows with ease.

Currently has support for:

Action cards (only for advanced flows)
Image Display: Fetch and display images from a URL as tokens with the âtemporary-imageâ action card by providing the âimageUrlâ parameter.
Calculate: Evaluate mathematical expressions with the âcalculate-floatâ and âcalculate-intâ action cards.
Days: Calculate number of days between 2 dates
Random Numbers: Generate random numbers using âgenerate-random-numberâ with defined ranges.
Leap Year: Check for leap years with the âcheck-leap-yearâ action card by providing the âyearâ parameter.
BMI Calculation: Calculate BMI with the âcalculate-bmiâ action card using âweightâ and âheightâ parameters.
Mathematical Operations: Perform calculations with operators (+, -, *, /) using the âcalculateâ action card with ânumber1â, ânumber2â, and âtextâ (operator) parameters.
Temporary Values: Store and retrieve temporary values (numbers, strings, URLs, and images) using âtemporary-numberâ, âtemporary-stringâ, âtemporary-urlâ, and âtemporary-imageâ action cards.

Condition cards
Number Greater Than: Check if one number is greater than another with the ânumber_greater_thanâ condition card. Provide ânumberâ and ânumber2â parameters.
Number Less Than: Determine if one number is less than another using the ânumber_less_thanâ condition card. Specify ânumberâ and ânumber2â parameters.
Text Has Value: Verify if a text contains a specific value with the âtext_has_valueâ condition card. Use âtextâ and âwaardeâ parameters.
Text Has Exactly: Check if a text is exactly equal to a specified value using the âtext_has_exactlyâ condition card. Provide âtextâ and âwaardeâ parameters.
Boolean Is Exactly: Determine if a boolean value is exactly equal to âtrueâ with the âboolean_is_exactlyâ condition card. Provide the âbooleanâ parameter.

Install Custom Logic app from the Homey app store and start creating advanced flows!

Supported languages:

See for more apps link below đđ» or just open the pull down.

## Contributions

If you appreciate this apps, contribute to future development by making a paypal contribution

or buy me a couple of or a with iDeal or Bunq.me or become a surporter on Patreon

2 Likes

Version 1.0.4

New Live version!

Changelog
New: First Release

If you find any issues, send a report via the mobile homey app

More - apps - Custom Logic - settings wheel right top - send diagnostic report (put your email and issues in the input field to make it easier)

Version 1.0.5

New Live version!

Changelog
Fix: Boolean condition card

If you find any issues, send a report via the mobile homey app

More - apps - Custom Logic - settings wheel right top - send diagnostic report (put your email and issues in the input field to make it easier)

Bug reported via mobile app.

Version 1.0.6

New test version!

Changelog
Fix: Fix action card to generate random number (@DirkG)

If you find any issues, send a report via the mobile homey app

More - apps - Custom Logic - settings wheel right top - send diagnostic report (put your email and issues in the input field to make it easier)

1 Like