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

Thanks!


This topic is only ment for posting Flow Templates (only Athom Store Apps).

You can post you Template directly from the Device Capabilities App Settings → The Flow Exchange(r).
This way, you have a pre-typed message containing all the necessaries.



“Hey, what’s that?”
“That looks like an awesome flow!”

But recreating them is hard and takes time :thinking:.

Well not any more!

Welcome to The Flow Exchange, where users can exchange Flows with each other, and have it easily build on there own Homey!.

You need the Device Capabilities App.

How to post a Template with Flows for others?

  • In the App Settings you will find The Flow Exchange(r):

  • Click on The Flow Exchanger.

  • Click on Export.

  • Select (a) flow(s).

  • Click on Create Exchanger File

  • Click Post Template
    You will be send to the The Flow Exchange(r) Topic, at the bottom.

  • Press Reply at the bottom.

  • Press Ctrl+V (paste the clipboard) to get a pre-typed message.

  • Alter the message and post it!


How to Import an Exchanger File?

1 Like

How to use the Templates of The Flow Exchange?



image

This example shows how to use the templates from The Flow Exchange (TFE).

  • Goto the App Settings of Device Capabilities
    When you enter the settings, the TFE will be showing (image 1)
  • Click on Templates
  • You will now get a list of templates, which you can filter by name or order by number, likes or favorite (image 2).
  • You can open and close templates, and press select when you want to use one.
  • Now you get the information what will be created and in the Flow script and this is where you can change users, device, app-tokens, zones, etc., to fit your own needs.
  • Press Update Text and the creation script will be placed in the textbox (image 3)
  • Execute that code in the Homey WebApi Playground and the flows (and variables etc.) will be created.
  • Done!



Image 1

image
Image 2

image
Image 3

TEF:

H4sIAAAAAAACA41Sy46cMBD8FW+f8Qz22mPgEuWQ53luURQ1phlQAI/A7M5oxL+nTR6nPUSy/OhuV5er/IAVqgf4QildtCSpbQtpTqWThS0K2Sp7IlRI7tmlugkqeD/3JL4exKfQLL7D4SdsWwYI1bcH9JxHp5FMTRK1LqWxxkg0uZZUN7ZwFlX+bCHboT6HVxGDWBcSsSNxpvE6YKRFhFacOfBx4IIPN+4yXegdXyKo4rxSBj6xyV1uW49OEtVKGqcKiXXtZa5PFpm/8aZMdS84rHwTzl2/CB4do/ZxEU2Y6IlRfRjCzPk7DdyQAzeo8gzu+/zaN7GDalqHIYOO+ksX/554A1OIBPx+7Z1W/mRkU2svTWG9rLWzsjSsoMHWlW7n8g9a5bwGRujCSPdqxAkvNFdjqPuBmEOS8rou3Y9Itwi/m6GPfZhgV/sBLNu8m4IjvekLgzSc+C9zuXZkAolPjNelOh7x2h8wMruDD+MxNePYC0acE4GU+JLQ0+N3in/0vQT2j029h/WJf8a2fd9+AdeeZgplAgAA

How to Import an Exchanger File?

Copy The Exchange File below, and paste it into the text field in the App Settings.

H4sIAAAAAAACA41TyY7bMAz9lUDnKCPJ2uzbHNqiPU9PQRDQMuUY4yWwncwM0vx7qdQ5FMghJ4uLH/keyQs7seLCgpdS+YgcY/Rc29xxb7znURqLIAFd5lJezwr2Oja4+rVZ/RiqKRygfWfX65qdUziLVlYgLHcKKq6VCjw3ruQ2qkpYCGgqe4f5PbZvOM1szWaypnls+vqGBKzYXlhDTvDolDaChyparkUpOcQy51Z6m2VCZA4D/Z/Q9m8HXH1vh4/Vt09qqq9xpAiyYh5PuGYhVVVGl86j4FGg4tpkwH1J3Zlcos1VWYVcp7xPVmixZl+sUIK+A8Efhg6/ig56IOAiUh1CTy0ex6EeoetgbsKeONQU3/8js5+hXtgtAbImIseMy0BoZ3mVSVK79JrnTpMJiFbKSnqDlAvBolcguRRCcl05wb2NhivwKghhogmO7Uixp/AWYnZhph4yO444YR9wYTfhvIcPeMeFB4S5GXp2m9GFnSailKYJHT7cCwKpKPDUclFuRy2kjub5OBUvL3BsNjBTf5swdC+pGPnOMEPS8Rb4mdBpZ65PavW/BNnj4bZD3YSF/xnGBsoW90mIZUUfKXHPS+8b5acOYX1X7n4K6YygPSXXdvt4MH+eEZPD1CIed7ukzXV3/QvHtBre5QMAAA==

This is The Exchanger File for:
image

Press Read Flows and it will show all found Devices, App(tokens), Users and Variables, that are in the flow you are importing.
image

Behind all those you have the option to replace, for instance, the User Arie J. Godschalk from the original flow, with a user from your own, or change the variable.
image

Now you can press Update Text and a flows-creation-script will be placed in the below textbox.
Copy it, open the link to the Playground, paste and execute the script.

Now the flow(s) will be created, but it will replace all references to Devices, Tags, Apps, Users and Variables with your own! (this is allready changed in the script):

For example:

Homey.flow.createAdvancedFlow({advancedflow:{"id":"a8e72450-cdf6-40b1-afb9-6186330037ec","name":"_The Flow Exchanger","enabled":true,"cards":{"254b78e0-f0e2-453a-8b7b-591e692bdc94":{"ownerUri":"homey:manager:flow","id":"programmatic_trigger_string_tag","type":"trigger","x":40,"y":200,"outputSuccess":["573a0476-d318-4b84-9746-daee611d185e","ac6e82a1-1001-4d70-86f5-2a82c005f5c7"]},"573a0476-d318-4b84-9746-daee611d185e":{"ownerUri":"homey:manager:presence","id":"set_awake","args":{"user":{"name":"Arie J. Godschalk","id":"c81128fe-eff8-4697-8588-f156ea1ae737"}},"type":"action","x":460,"y":220},"ac6e82a1-1001-4d70-86f5-2a82c005f5c7":{"ownerUri":"homey:manager:logic","id":"variable_set_string","args":{"variable":{"id":"77433e01-b934-4a20-a927-0d28a5fb3200","name":"Te doen meldingen"},"value":"[[homey:manager:presence|c81128fe-eff8-4697-8588-f156ea1ae737-asleep]]"},"type":"action","x":460,"y":300}}}});

After you executed this, you will get this flow:
image

This can also be used to copy/paste flows on your own Homey, and change devices, users, etc., in very fast way!

1 Like

On/Off Switch to control an On/Off device

Here is a handy import TEF.
It’s for a simpel Switch to control a Light.
image

TEF:

H4sIAAAAAAACA62Sy2ojMRBFf8XUugtUerSk3mc3uyyHMOhRshti9+B0ZhKM/32qexKCQwIOZCNQqXTr3iOdoMJwAjI5ETeLHDyhLcVjpD5i9NY57VjboJe+Awxw+3ecyw46KLKZ5h0f4dyBD4UMF43Ou4SWmTGaqpE4R92yp+bjq8KPcbubLwVEIcHw8wSj1DRRqRQMaqtFq88KY+4DEikdKHPWnuX6m5lNOtTNqrq5eUr73/fLMcMwHx95HXMCU5UPXnKZlAtalwyGGDWW1EwtzpVU7NL3BIPq4HldJxmwm/b8PFT+MxYersLUrRmmw9Tar8WAFGYpzMdxu5WoHTxIUEiqhuhaj7maJlI+YXDOYqnJ22pMjOThbsFyTeN/41Z9bv2q93m1/mI5lXmUjZgwqZpArqBvvUcbbcPIluV2Vbbv5b1Uf0GP1Lfwa+n+4ROA3iljWClsuga0iYN8EiqST8IERTaatAK8qvES4Mfuv4KwtXcMz+e78z9wkT6ZbQMAAA==



When importing the TEF, you can select your own switch and light, and give the flow a name:
image



This will give you:
image
image

1 Like

Zone activated Light/Device with Lux condition

Here is a flow that lets you control a light or other device, based on the lux of a sensor, when a zone detects motion.
The light or device are only turned on/off when it’s not yet on/off.

Just replace the items with your own:

image


Required App

TEF:

H4sIAAAAAAACA7VWS5PbNgz+KzuaHJcpnyKpa3vM9NDuqR2PByRBW1Nb8sjyJunW/72gbO/a2abRbNODTVLC4wPwAdRT9Wff4f6h/wV3G4hYNU+VsoBCyZqBs4JpB8B8iJFJGVKSNZdWTnIdbGmtfiMDdz+X/fF4X6XyxgTjpNWGKW4d095k5r2jnTLKA3KskU8WSP1X7Pb9UN1XkQ79uMayH8vbLcL+MOByc9i2HXQncEXlw/ODSbLqDttAasfi37ooFEbJjDXANCIyr5JkAoOXOViRrX+2067W443nYmHy3W3eZ9xs+o8dju/jeui7fjXAbn1R/fHqUVGCqvn9qWrpTRZZ1SlaBjxbppNTzHPrCxQXlOcCUJHP7pI5iGP7CCOmuwnODz/hYxvx7mM7ru8+HD7dxb5L7dj2HSlRBsbhgBPipypbyIK7xHRA8qRkIk/BMRvB1VEIL7Eucp+qRmt+X32mlZb+MO4O4wPZIcyVxbpW0QNzSQQCGQTzqGuWjIrB2pQVGVmQFuFd91v83GyhgxUOzaZftZFAlaA347kU12ihOI/9dgcDjFTiRhhyv3yXhn439n9g9275bDRNUTdziPPXa16UCkSbo45SsAiJMy1VZD5xzSAHqU3wget0zoa/zsYzBNjtmq+W/RTm2G5xWO7HfncOtxTvJdZzQzwUqQlTXRupBWoWfB0piGiYy+iYCJYOqc5RXCpEDXcCJeQNqnNiZtH6BHLCcwWOcHBAtNlzFlXWhCMHBj4E5gzPVGXDjcYLU04o5G1uypBoZs2FEwaqS6H1pUHHoV2tpsbeF86h08nXpSeAOKu1lYyOgVn6T7XPyXpXLQi3DzL6KCTjyVBNNTlzNS/ESE4onRG1u8Wt6rfVNLddu19j+hpgHoL0iqGyhCNoz1xEyQJwE70KDjiUJvlnFmhbA5XdM2lK7QIGRj9HJZA8JFTCObiN4r8l/99SP2tmlNRrhQkBibBoSNr4zCCJxChejRa5TUJ90U5f5P4NzM35FXVnzacTDnfuIEdL29GMmxtw01zNxMUZwWZzydmsyUJkTTI4LjwTJEdIqdOc4IoZBEhRBRC1OrF6juBtaqeh0HaPONBFcbkEbgf5rFmz+E6j5WXMUzyzuuP2Hpqo8hJPhs3+VUCzGPg/BTRjPt0GJN98l8AwLh/lt++T+0mDjoa2h64t4nT/HUbcly+f4+L4N2P5r5XMCQAA
1 Like

Motion activated Light/Device with Lux condition

Here is a flow that lets you control a light or other device, based on the lux of a sensor, when a motion device detects motion.
The light or device are only turned on/off when it’s not yet on/off.

Just replace the items with your own:

If your Luminance belongs to the Sensor you select, you can leave Luminance to Don’t change, and it will change with settings the Sensor.
So, just select your Sensor en Light.
image


Required App

TEF:

H4sIAAAAAAACA7VWS4/bRgz+K4aQ4zKdp2ZG1/aYnppbYRjz4NhC9TBkeZPA9X8vJdu7680GERbpwZZGIme+j/xI6lSkojoVOmgrjNIgmbGgnM7gnKU7qaXzyLBENtl1RVX8hd2hH4qHItKiH3c43Y/T2xb94Tjgpjm2dee7iDeXT08PZsuiO7aB3M7n80NhbOQSowBttAeFiOBkEsAxOJGD4dm4p33q7W68O3naYT67az5mbJr+S4fjx7gb+q7fDn6/u7n+/uLR5OSL6u9TUdOb7GLQLmdIyQRQ2lmwKRvIXvBSeuaFZHTmtMmf/Vj33crHsX70I6bVDOi3P/Cxjrj6Uo+71afj11Xsu1TPluRHQRiHI86gT0U2PnNmE6iAhsIrEjgWLJjobRk5dwLLye5rUSnFHopvdKVLfxz3x/Ez7UOwC4NlKaPzhJMTYgwcHKoSkpYxGJOypE3W5EWQd32L36rWd36LQ9X02zoSqIl3M16z8QS3mMNyogft3g9+pCxXXNPxmw9p6Pdj/w92HzZPm6aZdrVEO/9+L40pCdHkqKLgEH1ioISM4BJT4HMQSgcXmErXaLiX0XiC4Pf76oeZv9Ac6xaHzWHs91e6U/aeuXa+pZgWnyerGVNZaqE4KgiujEQiarAZLfBgaJHKHPktQ1yKCygu7lBdA7NI2ReQM54X4AgH84gmOwZRZkU4cgDvQgCrWaYsa6YV3pRyQSHUWygWlfYFhW/80G7aWeSb7JvDrV7Hod5u5zo/TPpDq5IrjQPlSb9KGQG0DGDoP5UuJ+NssSYOLojoIhfAkqb8qhjBlmxCkSyXKiMqe89Blu/Lb667+rDD9CPALAThJKA0hCMoBzaigOCZjk4GS1U+FczbilCm9CQBB0JPeQwYgH6W0iFYSCi5tf6exS9NxNQ93qa1qJlMeVASE3okJaNOU4vL4BNPQOQVGmQmcfmqzl4l4h2Szvk7TS9qXBcc9lpali51R81vKeGqetEs11cETXOL2aKWQ8pNIljGHXCyI6RUgpYzCRq9T1EGT6PhIvElhvehnbtF3T3iQCPkNh3uO/yiJrT+RT3nuf8Tn0Wlcj+gZqk885kbx2tCixT4PxFa0KzuCYl3Dxk/jJtH8fNB8zB70FLT7bGrJ3MajMcRD9NX0Xl9/g9trbe2mQkAAA==
2 Likes

Monitor memory usage of Apps and Homey (+SysLoad & uptime)

And optionally, automatically restart an app or Homey if thresholds are exceeded.




Apps used:


One device is included, which you can replace by your own
Screenshot from 2022-10-26 15-48-23
Screenshot 2022-10-26 at 15-58-07 1.HomeyPro Peter

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

After import, replace the ‘dummy’ Advanced Capabilies ‘HomeyScript’ flowcards with HomeyScript AND flowcards of the type “Run Code”

TEF:

[TEF:FLOWS:H4sIAAAAAAACA+09iXIcx3W/MtlyiqCJBvo+llFStCTGSkRKESk7LgKF6hNYe7EL78yCgiFU+UOSn/OX5PXM7mJP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ob/4PvpNsU8luAAA=]
2 Likes

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/2MP5j8tPt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0U7RwLphtK56K8ypfzCUtdTgYiJ2bnkTpRjKMRFkOIhUE5obiVBpyEZxobcGElE5Tk6LGAYJaWJAcSrYRMdc5WyXKs7ZFobCV1k8vRxwQUrWPzejGVgTxuIb6d41yISP7+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+13335s9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7QaFdB95yNnBi1NF2utjnjZstr/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/OV9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RSaz+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/FYJGkRdSP3J5GE0y300jJXdlJWxk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6/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+UMx3jcOLhTwJizTf1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rgyDaR0g0PLmnELuq0yqON3Sac16wQK3y6RnE+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+6lFKedaKxrFGUNqkaGKJ5JabXOjpNBRInapxXupyZilRhtOjU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jUu2Pacfl2zPSDo8R7eF8OfePi7pAa7VD4jtBubrZVdJL52tVPCavPzqb89BNnrxzK8e4DOH065+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, IF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PAvHoeZmwmVCX7OJl1boz7J5/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/KVlvbjhWaOrqZktSq0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