The Flow Exchange(r) - Exchange Your Flows with Others!

Zone Activity Controlled Light / Device

To prevent the light (or other device) from turning off (or on), while there’s still motion detected.
It uses Homey’s Zone Activity AND a timer.
This way your motion- & contactsensors become exchangeable and expandable, without having to fix the flow.

This way, you can add a sensor, remove one (use 1 sensor minimum), use one with another protocol (f.i. zigbee/wifi/z-wave) in a zone.

Apps used


Flow example:



TEF:

H4sIAAAAAAACA8VW224jRRD9ldG8AFI66vvFbys2C4iwSLASK1aR1ZfqeNjxjDUeJxuifAbPfAA/xydQPXYWO9pEDiAhRXLcru4659Sp6r6tf+07WL/pf4BV6yPUs9ua+6A8pYJQximRkTJiaebEc2FSzDJ4Jktc55cYX79jp+yi+hY276Gr/vz9j9/qu7uTOpUIamKGmA1RPCkiE2fExcwI98zmTKmju5PwmHO/XFUvfDdAXIz1SR1xbd3H9zBO541TXHuaoW376w7G07gY+q6/HPxqcX/Gl3tLZZOvZ+9u6wZ/MVxyZqQjkBlyUgjH65iJ05RbaRhlKWHScsh8/uJV9V0/Nn1XvRyaK2R13lwuxurzfqh8d1MluGoifIHhSH8cNjCBva2zZCwqqUiiKRIpQBLnuCBReC2kCkx5VeKufLspwr1CIrPqGeli3/YDbryZNMCFD/WMntQ39Yzjx3WTRlSi27TtSb2Acsb9N/yn7voRatSE88wEtY6wrAORJngSokmEcqYlx+JmF/dR/rRARMUkVYCIFa+azscRcZ5U69EPY+WrsVnCUI19NW6GrupzrsYFVO3E4roZFxiSoPU3p9WbRbOurv3NXkDqYV0huL83X5eMGDDAZ2vM0bRtteyvYAndWD2pgrTHyyC54iaGTJIu1lQODRG9R1eoWMwpAndFho+H66Jxjycs+iXczIois6M65WQy4L1q9RbGODSXlzDgtzV6tM7GWSwHI4ppT2SwnFguBPFJCKOZTsnK+gJhHxW4hW30Djg9AO5Xq9mjfbTFOtVzPlV3fsV3iAv8vtsBvph66+MIKGK8Xfa7gLIdF9Fl+GXTNWX3GmLfpfXUlTFwTYEx1FpYIlkWJHgbCQOFHFyWOoYdB8Z3JMxEYjOuNuPZMJT6FwwPWG1OU/PLexhOV34Fwzj4pl3vKH3T4c558iPMC7x5218+5DURKuuz+udi97d7Tvdd2rk8N12zXkCa7boUo9aTdSFN5n2XUdZHm/piOxuTzlom5A4BcFAYHIveSWKdcpLjj4KxA+8Z+c9KeA/206aTAXywWhKugyDSAxo3IirtfNKQsEbU109UulCBZEXyipLEkIXMwRLvcfrxoBPlDrzJ5oAK/3dt9FQTGYXDN+ZMqPMG+SAVZ1gm4IxLKSRGbVHCU7BBOEaYLtkyx6ZX1uIdJQ1F6Z3waeo1AIPbPAqSOEdYKhAnXSRC6KwALzLH6EOf8v/Dp1tRPunI7ihDHqXc4VTZ1vFxottba3bUC2BLfTs7Hk6a46pQynVUXQ9JCH1EtY5ptJXfrOGZg7IIf1QLHmLezoL/VPicP6n8UXN6ahTH8NoBRgTeqvikwGvUSaOJElJ7GoOzHg6eFF+fvX7yImfPeM+wZELyEInLBl9dBQHeiJwoKxj+qewC30/+4vXLvdzDNBwxsbDPT+1RHwsiEQtQHpVoO89Rcm9pVMoHI8IB7zeHvC8HgG6b/b64z8lOFc+6POQivizLk1YTL/Fxy6nJSmR8flq6n/3s/MezveyhrE7JHX9+chdxtFNpUevSlTwKYlVyJCSlmVFaBX6g+vn3Xz1S8Y+j8/j0d3cXd38BAE0Un7kMAAA=
1 Like

Homey Led color based on Trash takeout tomorrow

This flows sets the Led of Homey when the next day there is Trash to be taken out.
It is done through a variable (will be automaticly created), so you can clear it with the push of a button for instance.
The led color is based on the color of the Trash bin, for me: green, blue and orange.

We haven’t forgotten to take out the trash in a long time!
Even the kids take out the trash when the led of Homey turns green, blue or orange!

Required:

  • Trash Reminder 2.0



TEF:

H4sIAAAAAAACA9VY247byBH9FYLYx2mj7xe+JVnvboAEMRIHeXAGQl+qR1xTpEJxPB448++pJiV7NJpdM1hjYT9JanVX16lTp6rID/W7uvlQm8gUKBeITlwRCT4RRxMlyWUnFYtWp1j29XVT/2noJ9/2MP5j8t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Pg0U7RwLphtK56K8ypfzCUtdTgYiJ2bnkTpRjKMRFkOIhUE5obiVBpyEZxobcGElE5Tk6LGAYJaWJAcSrYRMdc5WyXKs7ZFobCV1k8vRxwQUrWPzejGVgTxuIb6d41yISP7+sJmGzVH8v9T67rZQRv1HM/xsazPd7+E41s4jFBc8KsYJQyljvntFvMaRS1DHDEQRqc/nqcLsZ0fRd35sfehgE7elfaTn82XVFHxi+GSyfJ+TfdVT1EeVPH2OWmSyht7zCvgLOnkW/Kz46ajWS7F/aURXaLEU90/crlLauQj0pQiM8imAxGLiPbZ9hh45ClBoYtpmDxr8bxDB75jzZYKeO98aROe862+B9xO+VaXznHdzybvWOkDGnMHd6JZjljiTGUoEm0vOyVEZvw3eX/3h1Z9f/n0pd2tAnVNvvgnJL882BeIqAs7Zt/rxXLemdz6d0daUmqdn1qTp5+Y6nMiygeCIcEXKmkFpX/gsJnW2OSUu4zLXrdp4Trz9JjS/PLbgPSFrhKIJhlAXgDglK4rTuLcy5cRp+Di4Hhs5L418eZ3ox+n/68p4IaVaeW4z0VImlFIJpuCBILQgDbchM7VgXzx9icPOfYWKrvxUzZNa1U7VrPdD1ebK96m627ZxW83irXqAdKimoQowv5HsK0yFF+jm/M4SDd5D181i/wRJls+7Nk3buulvu+6q3kJ7s51OvwrafpigRNBDSppmT6j3CJRitgZ8cCGBqxCpAmZBPvb/X1hkqmkL1RM2qvZQIf1X83/L+9Rl5cW/+/lMfHZ/QQa7/XR/VcJw13ZdFTvw42ymO72a/Qxevhbuw8P1w/8ArOSwK38WAAA=
2 Likes

Get User/Client who pushed on/off or other Insights

This flow shows how retrieve the User and/or Client who turned a button on.
It can be used for any insights also.




TEF:

H4sIAAAAAAACA41UTY/bNhD9KwTPpk19USRvQQIESXor2qLYGguKHFpCZNGVqN0Yhv97h/Ku420QxBfL5JDDN2/emxN1VJ9oWeWKGyNY3ciclb4smakyxTgXUtQu4yBMOjdQTf+Ese9sG7thR76YIYYw0hW1GJmC/QqRns8rOqfTVmZZLj0w8F6yUqiayUpK5rNKgMkM1EX9mvXd2AH5vCYfg5tsa/qvSxp89OFEO4znWc6dB8OaRilWlg7/ZXXB8sYKCZVyPrMII6X6CJH8McG4ed93METy3AZymKcWHAnDJnhPwkhCbGEkn4ap27VxwptAdRxnWCo5US+KslKZZSCsYWVha9YYKVhVNVAJWdiiydO5b1TnnK/okWqJn4DPt2EPR+3gqbOg7yJ2tVQYBoT2mDDgRsSNOHa7HSRyJ6SBiiITlivJlPWOlYZXzNSFQxoKkNwXGcbpFkm76+Bb7AV/A94cDnro1//28xRhZF1cf1jKeW8Opun6LnYwvaA2NnZheLSvkeNjH3YvBVxiV/yCFw2ognklLSvrDJhpeM0yxaWTtRXILd0uPT/RC33pX4cCpXfSOJg9/EShyMt3jNe8C+ffL74udxBN018VMd0uMdEw7xsYg6eaJ5FWqvAeas6cc8BKpxwy35SM1zkvTMUzpRaTPZl+Tq/81cJAUH6kT9oj3UTiPA6LOpORQo9wNT1C34dn3LhpE/4+dy62VA9z369oCynD6ypRPoQIqVa0hJEqd0yIomIlIONGNTlazyibm7IRmb3FlDxz4xPs+D/D32EmA+AqBoIULJAvfSHoHSDHMI8T9H79C9TL907cd4nkrXYr8Ua7ezMYdI3eB+w1vKg0lfUY4Vv8vzIXsc04LJY5dFHBj6NodVHLXfMMz+4RQMIT42HSm405dGsTEd3ahv0mPYZ7TyaaZO0l8CllT+UvEDX9bRHGVRWkOWry8HABrfU9/tY6vbPdLlPUWuEQu2OFygq8gFdl5tFMwlVNacHayt+K4XckMnZ7mFKLyX4B84w+WhTwMlSj2a3IdD2YImnmpv1f6aEU9+rhfN6e/wNSkpEwogYAAA==
1 Like

Debounce Example

This is a ready to use example of how to use the debounce function of Advanced Triggers.
I used Simple LOG to write into a log, but you can replace that off course.


Apps used:


TEF:

H4sIAAAAAAACA91WWYvcRhD+K0JPCWybvg+9GRJCnuO3ZVmqu6t3hDXSRqOxvZj97ylpjmTHs4kw2OA8CZVKdXxfXZ/rqW4+13335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Vt7QaFdB95yNnBi1NF2utjnjZstr/8C1rLlt21b32smWNvNayqwB9vWXN1ZZNQpckyEpJSjCNmQYKXS6MRn8sIuWcRP7iJpA/PEv2kqVV5/JLlqy9xtIqQF9nyV1lCYELhSIxaSwybZWmMzMgo62sBBbpIcsX1+Om3Z3yo+S7rhr67qkq7YgVTNW0wQoJgaFUSOPqqfrXE3Ptgfn8fPf8FysVJzsiDgAA
2 Likes

When Homey restarted, or gets unreachable

  • 1st function:
    Send a notification and log, optional connect flow cards like “When no one is at home / all are sleeping, turn off all lights”. Why: While certain lights turn on by themselves after a power outage.
  • 2nd function:
    When the WiFi connection is uninterruptedly down for 5 minutes, restart Homey.


Apps used:

→ Only as extra info: There is no flowcard like “and everybody is asleep” / “nobody is awake”. So I included an AVD, which is turned ON when “last person went to sleep”, and the “first person awake” turns it OFF.

TEF:

H4sIAAAAAAACA81Y3a7bxhF+FYIIkBbQHu//LnVTuEncBgiSwnGRC9sQ9mf2iLVEqiRl59TwM/Sq133FPkJnScqR5HNcOunfjSRSy92Zb2a++YZvy7+0DfTP2qdw2LkA5fptWVWsAmBAUvKBSEs98UF6YkzyVBqoQNu8rnF7XF8+2x7rvvjH3//6t/Ldu1UZ81/cCBm9qEhMkREZgiKVCY4wG4SiXgOLadwCn2c3T9vjAF3x9R9uWLkqA97roenbrsTtGBrFWbREW47GCBaIVfgrooGeBx1sYqedHvc7gMNvil+51/HX807tsIVuNGwYl+1uEux27ZsGhpuw7dqmve3cYXva4ouzW/khV66fvy1r/Ed5qivnHeHKOjREaVI5ygk1SjobNfNK4ZmjHU+K37d7uCs66AfXDRCLtivalHZ1A7gGURu6I4wGvi1pClUllSWCgyZSsUic4hVxjhtrKuot03ndj+Warsq7cs05frd4zjYfst67xt1Ct+7v+gH2uH22drr4fjq9HJ0vh66+xYV41aNXZVKMOZojHIQgklJBPE2S6GSjFdEGY3X5EjGgwKoYRCRUGfRcaUO8i5RQF2gEq7VSZjaw0pOJ+QuDejgOX3UdBnL9/O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O4RSaz+Q0w14LEylpMYy2UTSNFAdd4S0WsbUCRxxHIKglUPNwnZq2XXKdLM80iM1PdnezMqB0fsJPzYDlFreWNwCGAa6xPaisCmooAwjhL1WhnlICKU6EyEziboLyVxFccM0niXSOUAxevU0f/0tS5ftmZ38VYhgSI0tsxh3YoHF0coFk4DKpxIvTmg5nU/mI7rntkHj+XRHgW+fqUYfbDnrcI2IU8lQO1KKJXdpl77FrEFQvjMQ5FHCcs6hypYkS4k0Jpz5PHHh6o5U5E6fR5E/sSsC3ts0CvU4FCpXA4V44VVze3eQJpxpn2I1JXLe5T7969fPdPY9NasN4aAAA=
2 Likes

(Updated) Sensors Connection Check.


Sometimes, you’ll discover a sensor doesn’t report it’s status or value anymore, but it does NOT notify you of being offline…

Well, this flow checks the, most recent update time of your sensors.
You can run the flow every day, twice a day, just add or remove a time triggercard.
The ‘inactive time’ can be edited as well (24hrs as default) and you can choose to not send notifications when all sensors did report inside the ‘inactive timer’ timeframe.


Apps used:

HomeyScript

  • For now, in the imported flow, you’ll have to replace the ‘dummy’ DeviceCapabilities cards with HomeyScript THEN card “Run 'CODE' _with ARGUMENT_, and return 'TEXT-TAG'”.
    But first copy the script inside them:
    • use CTRL+A and then CTRL+C,
    • to paste it later on, use CTRL+A and then CTRL+V in the HomeyScript card.
      A how-to screenvid (of a similar flowcard):
      Peek 2022-09-23 16-02

Output:


TEF:

[tef:FLOWS:"H4sIAAAAAAACA+1YW2/bNhT+K6weGnsxZepqSUE2BL1gWYd0SLP1IQ4Cijqy1cqSIVG5LPV/3yEpJ3YuawoM3R5mJLZFHR5+5ztX+cbqrOTGClPP87gH1I0iTn0Wx5SzPKW5FzOPhywQE1/JVVZi/QYSGvKOX3JrtRpZUq2LemFzOcd3/IfrVjTFUq43/KyWPpgltYNbyemNVeCdKIpYGLkBTcGJqT8BoGmQMhqGruP7gRsFaW6NtJIPULV105JXcxCfcQ2sRDYdjCyhjnGYYGGWR5R5glE/FYJGkRdSP3J5GE0y300jJXdlJW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aB6/xm13Vl4MhoaSCS6IWBk9vGpIfH8bHDwQLKLvjQr00z7u7e3crK/NVf6zWnjPuePly7Zf9/TXvnzG9nmLdLqGayfntgQ8DzV527XwwtSjWXLK7Zq/iGPW7uDTV+wZ/1hUkWxJq5WgtNcQ7w70e70oxi8H/cQ6Vai7oPo7/Cy7FXPWbvidNK2XWY4gMZvICY4/0yFGd6cdkvM7YjTmLXPCm4GkJStSkA7aywc7hA907o8cO/FQX1WAHTd0ZGiv6I3Ubve3+1Ub3VwIm41S/srGivcXPV7zJDnTpGmw4mJCuKRKys91BNrUhrE3xIkNpY+75pti2lCo0Cdk6hxAJVzIxblsXEjWn1N260LU6k7UjH0TnmOjqpByK1QnVoCOV4N8ztg4T/FNckHuNexPfasOAlWJaXaqiUpdgl/UMw/B7oTZ+bnTv+c7HrkyEbWXITovhdT9Fvpoh+9sZ8kuH1bmBZd1IRHWECWro/weTZ0dp3VFW/J8emuD/Ttwbf5PNwP5Kcd27q9XvcWLFkafsH4HUw8FxnQIG0rsSln24zqVctsl4jLPdoquw55nZzsZ5byzHnJq9VNZUT1rURDFVTZEae8ah5/juOMbJjvejlnouVtORnnWfNemZ2fP2UUQPuw8n9EWNfRD6iVP1uHPl/PvzpRm51Y3EOj01y0nynBE4SVo9sZ6pJ6WuxWlfPf9zPbxv/GaA52e48qxfHFB2gdiVKT3TfFn0UzRyPlan4NoFxwdihV3dOFTakTt8na3+Ajtk2CXfEAAA":/tef]
7 Likes

Fix Tuya RGB socket

Some Tuya sockets/plugs are reconized as RBG lights. In Homey you can’t control the switch functionality and you are losing the power monitoring for those plugs.
Example plug:

053787bd31f7a1b8ddbabd15ed115c6c2912662e_2_375x500 9182dc5f3de18fd17b005b075ae0cea8dee91e47_2_375x500

Aliexpress link: Lonsonho Tuya Smart plug

Howto:

  1. Add a virtual device in Virtual Devices (choose Device → Add → Icon → Plug → Check “Power”)
    Screenshot from 2022-09-26 16-04-49
  2. Add your tuya device in Tuya-cloud.
    Screenshot from 2022-09-26 12-32-55
  3. Add a variable in Homey named Tuya Device ID with the value of the device from step 1
  4. Import the TEF into The Flow Exchange(r)
  5. Replace "Virtual device (socket) with the device from step 2
  6. Replace "Tuya device (light) with the device from step 1
    Screenshot from 2022-09-26 12-36-43
  7. Open the flow in the flow editor (https://my.homey.app/)

Apps used:

Other notes/Tips:

  • Get the power value (named cur_power in my device) from the plain text events which your devices send to Homey (Follow the RAW - commands how-to here.
  • You can “hide” the original device by moving it to a zone named z_DontTouch or 999_hidden
  • When you want to add multiple plugs, change the variable Tuya Device ID in your newly created flow. After that run the steps again.


TEF:

H4sIAAAAAAACA81XyW7jRhD9FYGYo3rQ+8JbEsPBHHIJjFwMw+ilWhJGIh2J8gLH/55qUrZDjTJgIgfIQZBIVRffe1X1uvlcpap+rpTQOorICDOWEelyII4bQRRIxXVghnNR4pqqrq72T76eXUBot76aVxFv7dr4FbrqZV6xnCjFD4mcRiKpiiQkK4lz1BufqbLO/jXRLMH9KsI43Xq1WGI2THdfYqlT0lAlCHWRE5mlIN5KS2j0OkhQyfE0ynkx5Pxygfm6Aq/brppFn7ArgbHdfO4w8HNct/vx0uFOifRVff1crfAPJrJRLDrCjQEiDWgSFDDilZNWxhSidPikkuNy9Tjr8/z684+zgyrzCqq62+6hJ/dcOUE5EzYSw4QnUvNEbMiOeG20Y0oLDbTE3fv1HldWed0+1LMfLmcl+Xve3exh1S1nd+0DbGcb8Lt9TxIf0q7bLa57gjWuxBuPVc3pvHqqao1fD6vULau62a/X82oJvdSHq6JV03ZQCpktcJ4ZkOyjJVJJiSgV/spKJ3AadJIF5XtyXr5bTLFsN/BU+7u7+kjoeS9nuXEFj90vsPMLOJQIK7RYwBavdqh7FTTLxmtFrKWGSMBfwdlMeMjUBxajk7S6QZiTAgeYUp7EufENwtjW63axigeI8Pverw/IYtukVbdqG7xuux4cp8opj09iIRBpkyY2CU5EppTyYGmmhas3FCwToswU1ll5bBtwhrhkAJzIwQVV3fSN1rfknd/6rq/c9fUJaH9MGYObG3zw7ae0be+69is0n27fta3rKTWt61KfYYK+DJMwie+gMVah15jJMzW2GrwMWhMWg8MhAUeC0AKh6gDBJ5ZFOi1e3G9v+6E4X4m8b2JB1fgNDJ6QLbOWK+Jkxm7T1BHrtCUmcxZUFFYZOx4KNRZicLt6kt0OMrVNm/NtsY/Tk5KDFFR6iRgiFodig+EkUKIUD85E4U0oijsAE7Q3GEaRprRAHIhAlNReSBdEeBsoR22igQAziUgfPAkci+3AWi0Ytcr6MUXLP4Ri9uvd33GUNqS+9wSapYwcwQttCKTkWcrSYXqMRcbUKJeJkGXvsSygF2BRsTI5KZ2xh03PcZJmB9M4kJT2FMlJu90ryQM337dUb7FTaI1hGH0ujJy/wREsBKEkDjRNmcjEcLlSlGjNcacChQP+ioOZVxM9v6/HOIZSl+pM8s2x3Qh6pt0wsFmXoYCA+7zEnZkEmykx3gfEYgOPBbjJQjKN0uQQFE6RRGgW+WnjjEvBx+x5caU2Fy6n3GmHm3Zc/gfWNInBoYi9XN8W8V/shFM657t6HIztg9T4rT8yFTkyCpC9Li6H8Hob8wIoHuFs9BYM9yId97Q4u6ePh+u9qSf573jWlZ12ntpBk8qZ8wql/KndYBXTMYpe99G+fvYhY9SAb31dpJ9kw2OqVv8zqpdlr/g/cJ10TDlqszObbAfdLeqwa7e3wxvCKf5DAN4eXgzg7UT0+lJxfX3OiKEqhf0kOzzyHHGu50ya7O96zutJ44NN5+Xl5uVPvLP3o08PAAA=

Advanced Triggers Sequential Execution Example

This is an example on how-to use the Advanced Triggers Sequential Execution mode.


Apps used:


TEF:

[TEF:FLOWS:H4sIAAAAAAACA9WVS2/jNhSF/4rAtZnyJYrUrovBoECLLjK7wAj4uLSFyJJHojIJAv/3XklOgnSMjju7AQxbJK94D79zJL+QTOoX0rU3X9tpzDDQJt/8Hh9dFyB+GZrdDoZxqSA1eZ0v3hZOm/nWroF2jPDQwvBw0/a71/rb5nBsofjz78/khJWO1HcvpMEFSBUwU5WUczBUgXDUCC9oWXFmrZVaxkA2l3sWt/B1gi43ri0+PUGYctN3eOXmXngTkDoPE2xImGWYMnJpKk65B0lVWVrqQhloElUyWibFGZvrnkjNNuSZ1DjekB4b7/sDPNfueKx/AGezHCmvw/v7DE+Z33fTwcPA733ft+A6jlX5vQpHCPWOGBSUTErUawlUaWeoq4yi0TAVuLSJMyDbhRwSdQd4/yWXMOC+EcYwNMdlhPRcd3AP0M1GRfD9hMpxeny7dzHmKhkrJKX/C9N3QVjZ/NEdp3y/jmcKLpzFLhCUDwGsk9QrxqmKaNHsDPVeq2S4Ftq8Q1jSdfHsdXF3d8Zb19fYXteLVdvtwuAqFSsDq84MBFvPE6F1z+SscB3MPi0RwOUSlw5Tm5tj28wT/DQ31Noa4IJTb6SgylSRWsEUBcZKV1YSJDPnhvIMXeify+bK+wfRfDPlp8N2Cy2EDHhEPN7SCye/wJgLviCuqmhtZTT1VeUxZtZQL/BKg0kIubI2fXwWhTkDHrMb8mtergK3ITIBWqkNjYxjqEUqqWM60EoYBx5sSlZimRDJMYmiuBQMk+IlNb5KNKXSoUwwQXmyPV2536p+CQbql+ZfAVn08yrJUgRMpJs3cgGo81HSyktnVXJCBPWW9+/TxC+m6apNP6ZpUfcrpkksabrKuI9+lOKSH4qnqEOpEV2sqPJCUmcYBtQlr71SMZXhf/tx1aYf/VjU/Yp+yMWPkgmXorTUGoYnFpCos8HRZBU4fGS1lkvvR9dOc9O/8H+pGKcBirxvxgI/roCnI3Rj8wjFb0Xbdzs6TF3XdLsitf03VBT6tp+ZP0O7TsxvY7biw+9vTcx7UndT227IHprdPr+OZgZdnwGlnranfwAh4FCL9ggAAA==]
1 Like

Device state Time logger



(Fixed some logics issues)

For how long was my device on or off today (or the last X hrs/days)?
The example flow resets the stopwatch at midnight.
By pausing the stopwatch, when the device status is changed back, the times get added automatically when the device status changed again, until one resets the stopwatch.

The duration gets written into 2 variables, one with hh:mm:ss format and one with human time format.


Output (contents of the updated Logic Variables):

Screenshot from 2022-10-05 17-13-23
Screenshot from 2022-10-05 17-13-05

Import:

When you want to change variable names,

mind to change it in the arguments bar of the homeyscript cards as well. Example for the totalDuration_human variable name:

Screenshot from 2022-10-12 01-03-07

Apps used:


TEF:

[TEF:FLOWS:H4sIAAAAAAACA+1aC2/cxhH+K1sCiU7w7ZlLLh/LVCmMJIVT1HZRGwmK00FY7kPHhEceSJ5kVbn/3tkleS9TChUnRYHKtnTkcjg7M9/svHz3jnSSeyd1g0ilWuGQBSmmnPk49XWAuYg5Fz73POEausJJnKsPqm6cqSPgumyWqnK226lzYx7HLGWUMA/LwI8w9QOGY001ltRNCRPcD/ZsmrLh+bebijdZWVwtNyteANMGntRNlRXXDjBlXhhqJiVmTHNMdahBIhLgKCWS+NSnMg6H+Ym8FD+f8NvaW6DOZ1rleXlbqGYmllVZlNcVXy97Tt8cLME7xWYms59+VtVszdeqaiqe5XVP+w+z9MEuob+XVmhRrma8WcJv+FF3taiyddPTvzZL79slIxB3kvm9k8ETJQQDK/tYMS0wJWDAmAVwq/wgdCkPAApQyDB59Vf0A89vFCrXqkAYeXSJmmylUF5eXwMeU0c5SVNtlAXJwELSQPvANbVmZCHmOowx0ZHgPKJhzDxD99FJ3Klz5yQxfJSwkVUgkeomEyoZ5SNTqwuYT+srI0EHASDQSQaWmzs05LEAZ8CKkxDTmHAcxzE4iwypG3phTITvLMA8fkqjIBQE8zjyMKU0xjGJA8zcKFREU09zeiR56P0uomue1w/IHkc8DFMhsSs5wVRKilMXeEUkDATTfsA1sbK7HpcpUwIHMaWYikBhHoACQSB9l4aap1IZ2W94DnZKHA0emaBfx1aUeVkB/Z31YVjYKQ+/bzPZgCMXmzyfOkuVXS+b/s7oUpSNMj46CoDWrtain/gEX6+TB89Ra8m6Kde3vBHLq0rVm1VvTi7MAe2tGYRB7Oo4BGQiFwAWMeY+o2AkLrlQKvU96SzsOYEDxFfGUNY+xB6fUa+3ehBCH1Rk8IS3WnxfrDfNleSNujIwXAEMp4pY2cx6L5rFTkk0PwXzAMiFlX+UMx3jcOLhTwJizT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gFrgyDaR0g0PLmnELuq0yqON3Sac16wQK3y6RnE+NJW3RWaNdmWoq40fnJ7yQQNC3zrAA0XvFm0chiOLxEIwaAx3HEeKFn86xwjT1fAHe6AtBTebgmKehwDoVkFy9lAYs+kPmWKOKqZFpeeS46wCNP2y89Tzgeh5wPQ+4ngdczwOu/5cBVyvP84Trf3TCZWP584DroQFXa55uwDWqGDydgXh/5NcFXqG2toRwL03Uh+ISQWF3Bx1bngPc2PiprfTADR4qxxM0nwteySQZ85+/SaJMcbyAmq80yeJ4j75W2PMcU4nveKKnjKSEK3UUkwgHrq8xVYAEM41jTCV0kB4JUy8+7GfegaNkBfSH2WpdVg1EjN0hMTGhBnsNgV8Mf9Fs6Fs0FusndSrb7WL7H9X+B/pDJwAA]
1 Like

Motion activated Light/Device, off after a certain time of no motion


This flow uses a motion sensor to turn a device (light) on and after 5 minutes (can be adjusted) if no motion, it turns the device off.




Set you device (light) and your motion sensor:

Apps used:


TEF:

[TEF:FLOWS:H4sIAAAAAAACA61UTW/bMAz9K4bOUadPS8p1O26n7TYUASVRiYHEDhy3WxHkv49WUqDBWizoeogtRRT9Ht8jjyyz5ZE5n6TGpLh1FrhBRB50VlxiDKpEJ4sLc1zPluxrt95MbMESrbd1fVowG61XzliuhfPcBFt4CJ5W2uoAKLBF8ZzgO/aHYbxkGKYNjuxEKaZ6vr0ruN0Ov3qc7tJmHPphPcJ+83z384u/5kvAlj+PrKOT1nmD1tB3cyzcQATugwRuURVEn73Smr45J/k2TN3QN5Cm7hEmzE2l9OkLPnYJF81QSgNlwrGBJuE4Qdc3U7dDOmj6odnV25QK2XIaH7DyOLLkSjJJSZ4gC26UToREGA4lKmNjiMLUUv9mS2PEgj3Rm14D4dkMO3xawn6/fJP+onKcUYyrwzTsWa0XmylULFALBDvCxH7MUbU6bWuVkWh4DG0iLZLlvqDnMjra5LYk2V4weXXGJNUVqFxrsrzJH2eMFc4LbARDAKIrQfCkiyEYJXIIMXJvRUnRWWENPpfmjEKZ11DcZLIzCtjCuFudpVoV2B7wgmoau/UaZ/cdyDoMvcmhdYEMozI3xilO28gdPXMbSnbBs3viEKJKIUnFRbYkr0mJ+1bMKLKX2pDFjL/moNv3yVu6vjtsML8FWMSoguaoHeGIJnCfUPEIwqagowcB7P4tQxjXAjkgcGVnHSNGTj9PcigRM2rpPVyz+FAh5nZ5ndZN3UMqZBW9kIFLiiMfkp28FJqaHCAnHUG2usplNGYEJL+jpUAbCocsM6caGXQoXJb6QjS8rtc7nF/KX9a/CfD1VPi4DkxDn7vLgBimucw3DQRyz3gebUTgJr9dE/j/Qr5N4CZdzwRq11cGN7T4NQP17skM47R6VP+ezot6g7aWlg99N4fvuv5hwgM16ul0f/oDULOLDJoHAAA=]

When someone leaves, send a push message to that person



Homey hasn’t got a possibility where one can send push messages or push confirmation*** questions to a user, by using tags/variables.
So, no need to create a separate flow/routine for every user anylonger
***) push msgs and confirmations should be responded to within 30 secs. (HomeyScript limit).

Apps used:

How-to fill the user ID variables

  1. Goto https://tools.developer.homey.app/tools/api-playground
    In the code field (with some examples in it), remove all text and enter:
    Homey.users.getUsers();
  • Now hit the blue RUN button above that field
  1. From the returned data, look for similar text, and copy and save these 2 lines for each user:
    "name":string"User Name1"
    "athomId":string"xxxxxxxxxxxxxxxxxxxxxxxx"
    … and so on

  2. Now edit the text variable for each user, ending with athomID (for example)
    Something like:
    -Name: UserName1_athomID
    -Value: copy/paste the “athomId” string (without the " symbols)


TEF:

[TEF:FLOWS:H4sIAAAAAAACA91Ze2/cxhH/KgsigCXk9sTHkty9ICiMNG7StI4b23lAJyj7mNUx5pEXkidbUAXkg7T/9oPlk3R2yZNOJ51NOUkbRIalu93l7Mxv3sPL4DyYXQbKcCWYAgpWasp4llKVpBE1aSZlLuMwzq07VwWzYN1C8+2p7Bb18vM/B5Ogw7W2a4rqLLiaBBwylUmkxPMEKAtDS1VkBc2N4CBSFYcm3VB6iZSeyiVE+6lFKedaKxrFGUNqkaGKJ5JabXOjpNBRInapxXupyZilRhtO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5psjUu2Pacfl2zPSDo8R7eF8OfePi7pAa7VD4jtBubrZVdJL52tVPCavPzqb89BNnrxzK8e4DOH065+7kuCA0fLmRfSWJcdPtI/O23LQsMBE5OUHd6es82Dr/yo5oUryd34L0Bhh8c/xG/zedXTGLb6L+4eVJclB9dXfYz7Vpatmz0eEq/6YQjkVw/dwpX7Be7Mza4fEf2PJkT3eunjBtwk9m4knbzv8OhP13OiMWFsJxel7PeWi3qDNBhwvvv0ucvZ8+AOVijye+Ud0td7YwL4Dk55/PvF6emX+2AaQHqf7Gwhxm6TS6pFhkjZKKRcK4udRS5YJhLFsMO+W8A5ynfD1sS/VtCywr/ta6wjLqAldUOqeko+xfBN3uIXTtconn97UQGY9l3VmzfpkeXbqAZmqEEY29/Zj3p1NLLk8WO3yMYQGkMziLElEYyhKws0USNkmtlcZiLbRt+peUYe+vrrPhh7GccjmHCJPbRBaZJcUBZzLPkBOVXCxA5bHt22k2/Aa9Hrd2jm3NibgNQLn2HJQUS6Yom73lt8RRBNyV9qNIJF163a2dFRV9dlOzVwDmW9gqav/KZYDfY7R3JV0FUpL86ael1hHv688ve5YozYAkpDDl5jTUjcpJTAG7lclWiQRUWK7nCCnrWssRKWZelTtbddXwTNNu9rHJ/tFOF1cLc+D86rp+hpi2KY3qOw5KuXT4ladx2mbakcxW4hu/5+dz6euoT8ZNPU9AkKkTGykxNsgupXHpi2WBYl9kKOlcGP6tWF/9BKTxSbIRKTsqhQhltQIr9z3z5j5um7+Hngm1Xfq2K2xe2bpLc58WbPjzvvOP75p//0t9cEc9q2HWGVuG1EaTjejEImtVJo8FHsZr5JxKiS2I3HwG1kdAKJirbN6OthmNBu1DevqJv6zcidN+W487V7auaBO1rJtvOooSD/GqT/+ad/k1783jDqda9GDD3txVKhSR16ZH0z6pCdoLGgPboz12ONvTjko/vmq6uTq/8CtuXb3GcgAAA=]

Motion and Presence activated Light/Device with Sunset condition


This flow triggers a light when a motion sensor triggers, or a person enters the home location.
With both events, the light turns off after 5 minutes,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F5PAvHoeZmwmVCX7OJl1boz7J5/yq73KxnnEd+ue/phvrxhOKty1RVzTNT7HnDRKUWpmtNgzFF5ZacUQFnly269U4Y4xnkVNe5Mv3D5bhFV+JCJ02oFsF/Sbf6nH8BiyBeLb1Lnp6un/4Gc/faBB8KAAA=]

Show App info: (SDk2) updates, Permissions, Auto-Update enabled


– When you want to know if your apps are compatible with the new Pro (early 2023). They should be based on SDk3
This flow searches for, and displays the following info:

  • Show SDk2 apps, and if there’s an update available (aimed at SDk3)
  • Show permissions for all apps. Probably the apps with these permissions aren’t allowed at Pro (early 2023): ledring, speech, sound, nfc
  • Show updates for all apps
  • Show all apps with Auto-Update enabled


Apps used:

After flow import:

HomeyScript cards are imported as ‘dummy’ Device Capabilities HS cards.
For every of these cards, do:

  1. Copy code inside the card,
  2. Then replace ‘dummy’ Device Capabilities HomeyScript flowcard with flowcard
    THEN: "HomeyScript Run Code and return ‘Text-tag’ "
  3. Paste code into the card


TEF:

[tef:FLOWS:"H4sIAAAAAAACA9VYa2/bNhT9K4S+2EZNl6KeVJANQZeueyZIMgxDHAx8xtpkydAjiVHkv+9SklPFSTttaAr0Q6yQFMnDc+8991LvndpJ3juyWC94vYJf+NPbSpbpph3IncR5Z7vOu677+7nDneTyvZPCCIt84VMeYSqJwn4kCI5NKDHzFYkl4xFjzJm3i5yvilt0tNmg6fl3f9MZajaK17qan+pynVZVWuTV/KipC/RbNwDTtJPUZaPnjrRIqBcqHTKDCY0J7KU8zDjzcWi0FkJGHtGufe/OSUKfzJ2tk7j2WTT1pqmPy7IoAbcTyzjmRCgchnYZN1CYC8BtXMJ9TxLfKM+5gmmAueUi4ZtN8jw/85aEssnfFEqf6bop8+q8LtP8GoaAPofLGg4GjWr01nPHdz1FfcJxFEQR9j2XYxYxmBAG3KfGUCKYRcg7wymgyXn9GrUE96wiU5SIZxkC7BVK86qGhlbLPNM1Wm97io/KEh0ifsvTGrU2XtjXF9e6BjtV09miXul8atDhN+hE/KVlvbjhWaOrqZktS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ity+sEWbDwQeoNMC/rNykeYAcANB2RdZFWr15LQsECXUSxAUwhbWHFUbreUKnkWTK1BPI3fZYLDyCxbJy3yYBwZ73j+R/4GvPE0Bj9E+SgNfTxIAJR8c0or957HoJ5PGYMcucYxyy73E0cXMSySOkxtd3qT6FhXmOadPbIJ4yC1jov3zltEjirfH6hL4X0hdAhJLpcIQu5623yUkw8xnLkg2Y1SFMVx1/GfU5XuIjyyt6pbvBz8bHB3p3JYk6sml8Ljrf0GxEAsOODrT7FWQHwa64hF9kI+PAX3uDvvMYXZaQr8uLTn6lO1GXpp7EjpZGOVPe7IQfIF6ckwMfs6YpyFTAZMaE6ZDqII0VEFhK48sVpEwXLFgWAUdvb04PkNvfz75Hf3wy+nJ2YWVLHeB3hSbLbJxZ79NpfCAuECSl8omRbpAFxAmqNRwtZMaTVSzXm8n6Dt9A76A3vANF2mW1ilchwafJpE9ml2jN/1Dc5lfvDv+1RZjw7fPmhxZMWmvkTvHuQCCMVzrJ8vcW6BTDo68gwlU7EAOyjMI2q42Y/5/rc5GlZ6dTwWkzzTDQheW0CYIQwn3B0hOUN774KCMBi72PQam4XEQi8dfMjbWbXj2L58qIjr2FPf3V/f/AIB5GxJCFgAA":/tef]
2 Likes

Send a report with all battery levels


When you want an overview sent to you, with the battery levels of all battery powered Homey devices


Apps used:

HomeyScript code used (it’s included in the flow):

// battery-report
let array = [];

const devices = await Homey.devices.getDevices({ filter: {capabilities: 'measure_battery'} });
_.forEach(devices, device => {
array.push( device.name  + ':  \n' + device.capabilitiesObj?.measure_battery.value + '%' );
});

//oldest date on top sort array = ["time_stamp device", "time_stamp device", "time_stamp device" ]
const array_sorted = array.slice().sort(function(time_stamp, device) { 
 const firsttime_stamp = time_stamp.split(" ")[0];
 const secondtime_stamp = device.split(" ")[0];
 if(firsttime_stamp < secondtime_stamp) return -1;
 if(firsttime_stamp > secondtime_stamp) return 1;
 return 0;
});

return("Battery levels:\n" + array_sorted.join('\n') + "\n");


TEF:

[TEF:FLOWS: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/LnjDvDZsPb9tYk+nZfb6VUYJgPp7NvhTvHAG+O2PReWjLZj4z5bDAo4xapcV7O3uv6rex9RN3an3/rPVHdtKrNtQ4DMzof9n8tgPrYYey9XqUpuk1cylNx7m72eDNr82MJm+uho1N+arZcZ6y71/cCHWLHaVOOwH7cKvVd30xtf0wLUBs0PO9itY4za/byqhbY2QDROtuSJdL6Mpp6OL4XZooKHsEXAMmsjn423g3u9hi++/0Wu6uGqjn3AWvN8XZW8FzTcCQl+XlwkB9bXxM9/n7eJ8mZ7M49uJB5fr09mFeLbDyX78WiFY+/T8CjsfN8V+C9g3vkgkAAA==]
1 Like

Send TTS to your chosen chromecast in your house from every flow.

Setting the Yes/No (Ja/Nee) number in the Advanced Trigger card to Yes it will speak to the defined location(s) in the house, or the whole house for example.

I’m having 3 locations in my house with a chromecast device:

  • Living room (Woonkamer)
  • Bedroom (Slaapkamer)
  • Loft (Zolder)

When you have more then 3 locations you can change the Advanced Triggers cards to a 5 or 10 tag card.

Apps used:

TEF:

[tef:FLOWS:"H4sIAAAAAAACA9VY224bRxb8FWKQR7W37xcC+xAkQIA85GFtYIF4BaJvIxEecRRyqMRQ9O9bPRxS4siO27EcwA+6sDk87FNVXef0uW9Ss7xvvGOJMq+ICdkRGRwlTilGrJZR8GxU1Kw8t2mWzU99f9XlxQ9dv0+LN29eL1K+W8fcXDQR7/bDdd42DxeN81QFpxGI4pekKhHXhkCcT9Ji3bUsHUP+t+837/wNPngIsrvN/t0hjGgZ9dwYgh9PpKTYVLaCtIrplKP0yfljmNed97cfiROEEsnISKILiOO5IKFNgXDXam+TMtKKY5xf+y7l7WIeBFHuyiNKq1YrGwnTXBHJs0Uo0RJntc0m8OCpPG3pduv9u8XTBAcsh77vst+UjaW25UakRLLjwAn5AqfUkmRcsskLJpWaRTvLcxbOt5kmRVvCopVEptgSr0xLQGLiITnmtZ+FO6Q7D/UwvsaD3avfuv1uyFuyHl59n+78Jub0Zru+usrb3THUcX1xeqMEwDe9vW/WeF9GS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ns+b4a170YjDTmmxGB4AoUJeVBUZEgQ7UG0HnsX3PiZkZrzEnHjN76YSNdfreOE/J3frn3oYIh5OOL9oXpQ54LHxI9Ry/9r9Ip1jdfFOVBPDmnp33y3n3qJgkYV+eceVYEGEPfdDIbnBaGKiSMUq+/Str8deljPd6tHEdc6+cmcHsaOuqJJOU963ib8/ayrepSPZf2BL/+zShNjL8oV5Qzuh3YfXAsOk9RASnqGVkpY9OB5pnzLX075VYX9o8qvuiTMlf/kmvBc+lWGdq6CCjjqRFBFxctKn48a0DmigpliOt4V9ZW+1kncLUMSzhgbDze3Jxpw9OU08Fld2zMNVN3s5hqY7nbP+a+qVOf8V0BRx38VDS/Lvzjwr71kLkhC0RohacbQKAnIn3HvDHUAkh4bLqFftPx95Yp26imr7pYzd2cvdbAjbx3jSqARzbCpIFHTSuvYSpvQ4wrOrfssd6/yvZI2RTFNjFGC4lnudVHBUoQiSSuB0gqYs54z+0L2/rUd+0Rt1TxgRi2nL+bZtHQHDjeU0q6wAJINqjduFEpZidaFyc+itsrORmq1QcsARUcmcVQ5KqczAmcYl55yZGXL7ZzaF3Ltr2nEj7fAmkMzG9t8eJ5VNSv9J8c2VaKZpTZT7JRa1fj2n0wtcA9TEbjEBFyQJUc9sTprAq9tObVJmMPEfGK7+dn/65ecF2zx70f//t9mWuVYfTz7p2WB5dNwNvZdv0Wg97nr+t+x8AQ0/P59nYbrZrnZd91Fc53XV9fD8VUBYdMPeRyn18wAZh6iv7W5zNl8/HEwcz6I4bNJzdPBTNU1dbIcLp/0CevN7X60y5ob/nLZ7wc8/wbbaOqu5sePvN6Dq92uGO6IYtcde8yqFqeMZaouJLMcx4r5JTnWdP6fzrGq2JccqxruWY5j6fiSHGu624oca6peybFqXHd+ogX/1k70yQX/4jQ/m7Oepjw1k8pzhKT91hC6zgN+ury43q93fzmPnrveAaaHh8uH/wOOPMGHDR4AAA==":/tef]
2 Likes

Counter auto On/Off from Shelly


Here is a flow that counters the automatic switching On/Off by Shelly (or other devices).


Apps used:

Other things people need to do to get it working correct?

After the flow is created, also select the correct device in the Recieve Insights cards (2x).


TEF:

[tef:FLOWS:"H4sIAAAAAAACA9WVy27bMBBFf8UgsjRTvsSHtuk+iy6DwODTESqLjiwXNQz/e0eS7UQBgghpuujKFGY8PHPnjnREAZVHRJm1VDOJeZEEFgpOliiFmZcuRG6lUaTPa1CJfjzFuj4s7ptv9ykt7vK+6WKLlshDLHdPcD6dlqgb0uvb53q/gziuutvv8Vfl453dWlfVVVfF3aXkGFlMQn0Ri8qHI6ogwxkeWEgEJ5MsFokSrAmRmGjqimQkU0kDQ1/sTLSw+y5fKFObN4sRHLIiKrt2HwfkI+JeCCKVxoILgwX0io0qAlYsqES8UkkUfd5vVJIlOqBSwE+Gi57yJh7KMLCXsxRcDr3kJqe06gnQoBPq2mq9HjQERR4QN9EJYgiOREKvQIetEBxro6MWTkYRI3oEeZT1UFkTzD2nWDhRYONBHpmCMUEm5wOdkNOvQU+23r3DHqUFQG8x04lhQZXHllOGo9FWBOdCwcXAPqvJkZ3rkX7Cbrfb8kN7jdDWd1VuVv4SOazqvD7jj7ELvUzUeKY5doaAH5TUQB8syGF9UFTLwIB+8OURjer1pwp2CM1UsbGb+O4SgS4vlNfKg+gvf708rmNnXX318u71IxRq9hsX25xAt36VZg1mqvcbt/wTxbU1wqsAK2d5AXstGYbpe8x5YaMHM3Nv/lPFZaEMdyThgiaJhQHtjQ4Cs0IJoblniviz4pTqL1vQqcw9xxxTjxzwSh0w2IRiYxsLK17CDCt/vic+7219vsrnJlTnoeZu2CMhKacm4qSDh9ajxoYbh31yRaGSYs7z61R93mxta7vcXqcEhVY3oc3bLv+Mzc3q2k9ZznlvlKWvq9h0wzdklsOm7b+Zwif6nzP6z/U/Z48n/c+axRsbsr914bAur214Oj2e/gBojt59bAgAAA==":/tef]

Automate heating your home with work schedule integration and toggle to disable it in the summer.

Made an AF to automate heating my home with the work schedules of each other. I work
irregular and my girlfriend regularly.

It’s looking at the start and end times of our work schedule, and if we are both free.

Also an other flow for present detection is triggering the Advanced Trigger cards to start and stop heating of the house when we are both away or coming home.

Sleeping status is beeing triggerd by a google voice command or button to put us in sleeping mode and on the rise of the sun it marks us awake in another flow.

Apps used:

TEF:

[tef:FLOWS:"H4sIAAAAAAACA+1a224byRH9FYLIo1vb9wvfFgGSbF4CZI0EiGMQ1d3VEtcURzscyuv1+t9TPSRlaURZbUvezQZ5Ijnsmak6dTmneub9PM8X7+fK5YzCCOaVDkwnBBa8CQw4j0JLhUXxum4zX8xfXmB/2W0HgGH+Yp7oyHA8Ug8Mdd0A/TkOywEvr7CHYdfj8ey/IAyzl7eOj2fMN7vLiP38w4v5JcKWjp869+a0XT857QOd6MFL6SMyzoVn2srCPCjNVCwWhOWQnD5e6dvd0F3CsNqmi9k/sH8L/SVuDt501Z15veKuLjfCKoHWswBO0mVLZF4qx4yTOltlvUZ7vOzfu7jazP626XfbofpiZVZJOEeneWDa+8CC4565UGIAKaQ25njuX3d5NVzM/ox9vxq2ZE214Lr+KwqCyQlZVpEcQyVZ4Ia8K0YUa5P1thyvcnBmtTmfAWwOKMWuWyPsrziGZ7M++3FNNmLPVsPZt/kaNgnzy351fo799gakw/HZzR90/qY763cbXL87S7DGTYb+uPw7OvDH8dgBPpgvXr2fr+ivghx0MIrlEAzTzkjm0SLTQRnCw3sVE9n6YGRm9CdlwdDvcIzR+zkEVSDLzIwIpcIrGBidmXSuhORUiHxM7J/mCyElfzF/N1+4+tnRPS66S3y3uIQNkFeLTTesyirRPbvNlm5UDU49pSkub/91wBLS4QeMeY4/DXdR765mr17tb5DxepVw0VJbv9wvmNevZ+c9ZHL+HH/G4Wx2K/tnb2E72+y+6E4n6uvmVmdj3IJO2gTPmZCe8k1JytrgkCFdtniUOVl1wNafhvYz7DkAft//5RaHKeaUmq/aQv/6GKATjUiK6qVNMaoQLBVjoro2TrHoVWJcKGokJsmS4sRLb389Lw0EmTwVCirqGlr7zGKMhmHRkJQzzlr/SS+FqV42XWZSJxM3/18nD9SJ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KZhI/WXiY69o4Ms8MasVqVrtrbRAa72LXIcQGapavSA9ZQDPtFYCF9ZoE6rUiE6AjpQZSRjqC6rUTR66mko+mUh1RaPlTbOspt3az7jzPgYZn+lY0/sctPaSXK9IDMPVdvHNN3C1OhsZ+Ywa8jf1PnTsGoZR0o1/fFevvt8ZgZyytQisGKtoWNCChYyRhViIXqyPXsd74Gv5vwX+vRdaDgFoeinmiQEwzmgaWCwriuKrM6rK68Qt1HehFJ6LurftJtR/w75bw1OgphBPRYv+HOW5XSNePTjce+JmnamroCDlpKkRsqClZjamkB0EDTyNXNSUZFND1dfU+E2W39LMTSdMt8LVnf2JlhKaiJQW3O5tTzyeE49tTzQVzYiKUiWT7yxh1RipWBaRgoE2J1m4crh/deZIhP/CYXZ9J8VnZMINU2M/9PiG9AYtWf2wrjy+6c6PfwPR5AVdYLuGK9wQwzfIEN3Ok1ZFpbwg9QGWFBo1ZxYLSSzkUiRwpSht7zxano5Ez/IW0CffjSBMTQJfmPV87JqO1GaBCneRhbwVge8301oW3n0pomXAOx8eLCgjQIQcA8NYM4EXqg9VeznVAGoOIcWPBTWPSseUKVG4wEq9BLhPQbBsfQg+JqEgnJx7hP3EsNMSwcXixCtSI1G0OHD3ITHJ80chu4Z+BXE9vt51ZIKTRHBcWL+P7Nj0sueLBx7Y1DdG9zVXn/yOXNEC+cQ/8Tvw7+bBddNz2QnHtI3vE7++9IHqAYhp+p64+S9N2FSnm54NTPdX+TO53bqZ+vxuN+063tsWfya3W/fbnt/tJhF+T0Y9g99foJme3/8PH15/+A+eT8vlpjAAAA==":/tef]
1 Like

Gas useage calculation


Note: other gas using devices during the measurements aren’t taken into account

When you want to record the gas usage of say, a pump, for this day. Extendable by adding the day variables for week and month overviews


Output:

Screenshot from 2022-11-28 22-02-09
And it’s also available in Insights

Other things people need to do to get it working correct?

Select your own P1 gasmeter and pump On/Off indicator


TEF:

( importable via … More > Apps > Device Capabilities - App configuration - Templates - gas_useage_calculation )

[tef:FLOWS:"H4sIA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

Chronograph Transition Example


When you want a light / lights to gradually dim up/down to a certain level over a longer period of time.
Like a wake-up light, or sleep-in light.


Apps used:


TEF:

[tef:FLOWS:"H4sIAAAAAAACA71Wy27bOhD9FYGrXsAs+BapzcV97e6q7S4wCj6GsVBZMmQpaZrm3zuUnSIGElRFH17YEjkcnpkz58D3JJHmnnAfQfBkqbEiUiV5pFbjUwIOQUQTbeYlricNedsBHP4kGxLxZZh2MJIHfPG55sZnagJwqqDONIBL1LA61MK5rDU8Zvjf7w/V377/UL05p+na692Ez1MJSe3+MfLfdl91cAPdaY/08z6U+/BzDu671xm6brjtYXodd+PQD9ejP+weM/zzZKkc8qS5uict7ticuTBGUq4yItYuUERqKFhuFYD2Wie8tiR5N/r+2E7t0Ff/fUTwHeAGljONMywFIGgflHAi0JxqzOYUo9YuX8kJHuts8hL3kTRsQ+5IwxX+Dph8N+zhrklw00ZoVhGxWfBjWTm/z747wrk709heX2N7NuSIVRKZEgQvNE1BFUjAqNNM0uAcQgsyZqHJFnuyKvCEXYszenGB3h8OzYtMnOBOX3v4foTjvH8E7WNZIwszSJnHjacN/wt38jjsl7ZNeCPH6iY4YIWclaV2OcAZxs19WzLu236e4LjQrbhMPMtIo5KOqppl6nVkVInEmZUuR6gvaBHmBwo7Hrp2ep4METOOAgJxwDNVMQdqs5UUnFNaK6Vkzcj25S6UYlbluORJ2OembJVYT9UVMT5H1CJScnV1LrNp1nS6aW58N8N2u5QDnIXIuaIiS41xTFDvDKeITRivQaqoylXLmcV4htvursKbqx36BYzVq1v/Aar5UC3+8Ucxk6EbRoy9WwjDhSe9KIK7bdOE3tDPXbchO1hs5/y2+MswQXGzzALnUUuajEVo3gLKUApaa66jRdNAUV6Mjf45ai6G8oKYnWEyGkeRmhopEwLdykvKhJQx4SVShpOY1wReDon+/WLGyfnuifyMzOPonGyAfZcNgOcqhdrQrKNBrxeWehuBOm6ZcVKwqNkFn+YX2YCTJmYDHrWhUCUuIYbaK5pNsCEzwV0K37KBVTkuGTa/zQbWdPrSBrwNUjIGVHKNJ2J0NJiA0tPoJygXFVR+wQbKLFVxHkfop2rZ31TTUH2CcaheHcv/lJXOsNoaHh62D18AYZ8eCjQJAAA=":/tef]

My first advanced flow :slight_smile:
I have 2 petroleum heaters connected with switchbot to homey.

  • switchbot
  • Netatmo
  • Homewizard plug
  • countdown
  • Timers