Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Auxiliary memory in IFTTT
#10
I was thinking about this last night and there may be a way to do it with minimal code overhead: Allow DO to be specified in an IF test.  At the moment you can say IF ( DI ) or IF ( AI ), what about adding the ability to say IF ( DO )?  Then rule1 can set or reset DO, providing internal state, and rule2 can have DO in the IF test.  For example here's how to do ( A OR B ) AND C, as ( DI 1 OR DI 2 ) AND DI 3:

rule1: IF ( DI 1 OR DI 2 ) THEN ( SET DO 1 )
rule2: IF ( DO 1 AND DI 3 ) THEN ( ... )

You can also implement stuff like RS flip-flops and other things with internal state using IFTTT rules, there's just no way to connect one rule to the next one at the moment.
Reply


Messages In This Thread
Auxiliary memory in IFTTT - by Yosemite - 02-20-2025, 10:19 AM
RE: Auxiliary memory in IFTTT - by admin - 02-20-2025, 12:55 PM
RE: Auxiliary memory in IFTTT - by Yosemite - 02-20-2025, 01:30 PM
RE: Auxiliary memory in IFTTT - by twostar - 02-22-2025, 08:20 AM
RE: Auxiliary memory in IFTTT - by Yosemite - 02-23-2025, 05:02 AM
RE: Auxiliary memory in IFTTT - by admin - 02-22-2025, 11:51 PM
RE: Auxiliary memory in IFTTT - by twostar - 02-23-2025, 05:10 AM
RE: Auxiliary memory in IFTTT - by admin - 02-23-2025, 08:33 AM
RE: Auxiliary memory in IFTTT - by Yosemite - 02-23-2025, 01:23 PM
RE: Auxiliary memory in IFTTT - by twostar - 02-24-2025, 04:09 AM
RE: Auxiliary memory in IFTTT - by Yosemite - 02-24-2025, 04:34 AM
RE: Auxiliary memory in IFTTT - by twostar - 02-24-2025, 12:52 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)