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

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/WeF9GS0XbCuKZxLa0iMRpFUCoYM4ESr1M2MGTXf1wve1vcvS7Aeu5WQ7bfR4JuW+kU45CqYQLCsgYjcQ7iNfKZFohaRbBlef+aJb0onnfLBnj+KdH8GvEfL88KHZZpfqLcf+xqH2/7VbDIb8JrcdXQOItxJpNFgZ74lxDZDER5GWJlgrSl7RVnuNZlayJWScC7lsi22hxSCQ4YsoZrrwO0OJFo6XlMQCkrDUkm0MilllDXOBgMWZGqW4uR5TvC9qWqWCSDSDcQpfC4z9NM1HCUhZV9M7ZCRZLJ2Co/BAwVWd3AgYEfb9P635CxM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bDze3Jxpw9OU08Fld2zMNVN3s5hqY7nbP+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/Tk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NSUZFND1dfU+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]
2 Likes

Gas usage 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:"H4sIAAAAAAACA71Y227jRhL9FYJPGUQ96Bv7ImAfggDJU7DBzgKLhS0IfamWCVCkQVH2eB1/1f7BftlWk5ItJbKH2fGOH2ya3V06derUpfVYxnL5WDrvKy+UJTSAIrKqGDGcSSKp5UK6qGhSeV9bLstf99vb4qem6/obcEPdbspFGfB9N9xAXz4tSg6Ccg2CVCk5IlmQxFDKiFAiGR9FUC/G5MdPTb39BQboix/3fQ/tUPza3aOhyegO2l2X/xnyiW3et9643fH4z25XjC+nHWW73/oMAn8W5V3eZV3QobJAZIroj4BEvAyKeEEVTxW3QOPRGhr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+KHGMdzz1biZHlX3N9AOy4dbeAo3vX5U1xbdG0AND8NkKFrcIZflg/QNN09vjiJJ88ZdV9HrNbLdt80i/IG6s3NcPxvHD67ATKVFUN1WJMIVi1UVgKkT1tLAvAq4cBpmYmn9H3319scb9d8uG7/lo0WHtIEEYoW7jO8YiR1tyg+ubtpYQtut+/RzxcWkaoxnpkaVxwFU6CtiQCcletuv3vD3WPhGKvdTHc16j8lwQkPAYdhDzjsBGy4zGKfrbiPcbpsHN396QDn4Nmi6AEz4NynlDVaHER6wcNFdvFf0HdfCNuf84OqyttILGAbkpXCLEfHiNTCBJ4wjkad+oEY74tXLwxHVJseoJ1ATZDmA0qcBWHwysK0wVHdRExwjS2R4jyiDV5pTJVOAf0jK31U+VEsu6NYwuHOinDHWecl7V508gVJmPnAo0/Yd7UnQTHkz7MKZy6BinAhgZQ64iXkNeDd7UzcmLz5Jj8XvvgTCTyriZ3Xeysv1nu0WKc6jKLYHep+6FHWsD5dunhXGuDzcPY9xjEfltftWXkcbuoxp4u/XLdfM5pt//Pv6/afsEOe0dqy+Jq+Odq6eiNFDoP2nIloYpqbgw4z05mYCM1Yx8bxZNZwdGyl08n8xcLUdZdlVaGh7b4Z6tumzm/Y+NXMrCF8gseEevMi8P9Sws+nSmjcbsgtLivh7WH9G4zb07Q9CuHv3eCal/a0b4e6KdrufvnVcv2SxJ6eVk//Ben4h189FAAA":/tef]
2 Likes

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]
2 Likes

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

  • switchbot
  • Netatmo
  • Homewizard plug
  • countdown
  • Timers

Start flow actions using a user entered value, by a reply to a predefined question on Telegram


The Telegram app by @spkesDE has the functions to start a flow(part) by replying to a question with picking from predefined answers, but, also, by entering a value.
That value can be used to set a target temperature f.i.
Built-in conditions:

  • flow should not respond to any message with coincidental valid values
  • the entered value should be within a defined value range
  • the user should be informed when a invalid value has been entered
  • when the value must be numbers only, the returned value needs to be converted from ‘text’ type to ‘numeric’ type


Telegram conversation examples:


Apps used:

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

Configure the Telegram app with these instructions;
Then go to app settings of the Telegram app to enter the questions you want, you then can use in flow cards.


TEF:

[tef:FLOWS:"H4sIAAAAAAACA+VYy27jxhL9lQYRYDZqo9lvcpN1giRIkLvzNYR+VMvESKRCUnYM3/mnfEO+7FaTkjzW2BhmHkGALAYjU63qqlOnTp/mYxGL+rEQigmlyop6xTSVITrqo3e0Upx7w7yVUud1bVEXo4vdn3+Q/9xCv+uG0bmxWBUhf3F6MhbvVoXzXnmhK8oCYEiMTi0vJZWs4kK6qFk6hzzHGskAp3Bdjle8w1B3eZ00yTEWBfUuBSo9t9QJmaiuQAioGETFPoy3/gWjjfjId90WXDvFG/O60O2uhv1bGK5G2MKmd7ufurFJTXBj07XDOdTxS/L82xzGFfX1Y9HgouCdCYxLWlnJqXQJgdS8RCClDQ4xNZpjHs/i/Tq6fiRp290TF6ag5L4Zb0nTYmZNuyGuvR8QgFUBRT32B5hQeSxS0s5IhKD0CtFMCC7uECmTXFZOBeHB5HW/FzVbFQ9FLST+3+HWt90OHmq339cfq301VdVDgOYOfoRhcBs44jj2zWYzpYUQXReRW2FBJGqNxmzwM7WyAiSOdSrJirOYihsESwvQ0VW5/1whRA7pwJAd+DtbMaUDT/KYtmJz4vYT8x6gjdTR3w4w5MfHxGeQT3kDJKdLoXB/hmwSyHrruKCaOUxTsBArgWt1kL5kkChPLpPO4FyUUVLlHZROe2G9K24mKjwW5w0zddwOcrc7cosN3rn2gURMGGAgw2132EbyXaY6QY6TH5q73O++63bkaYa+Jd8fhpFAO0JPHGkPO48fPIz3AC0pFfIjEl4iXwi7UmQYYT8BgPNcWG9FUMJSHhkibqWlVYBcAHimQRgBMs/oIRPsKdufYZw6m2OUFmcXp7Zi7zLXF/X5efsueIcYIIv6etttmnDsFPx2c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pNPeIvzkgrMLVwuAAkdsQm8xEMIuSFNyIY1AEXBC0xI9FFWPnv3U/KXTPeiV3MzS7q2S2md74Avv/9Z9Fpnev+z5E3KhcvVn5t8Ss9pjR2/efd/S8IfsfMUAAA=":/tef]
2 Likes

Time Calculator


With the re-invented Better Logic Library app, we can calculate with time a bit easier without Homeyscript.



Apps used:

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

Any questions can be asked in this topic:
https://community.homey.app/t/app-pro-better-logic-library-for-users/71876


TEF:

[tef:FLOWS:"H4sIAAAAAAACA7VayXIbyRH9FUbHHGYiVHLtC472ZQ7jk3wjGYxasiiEsdBAUyMFzX/36yZAAU2AUzMWLiDRaGRlvsx8uTSeutLNnrpAnuvoI8vZBqZ1KixEIVhyUrugeZHWDPetuln3j7jIV5/6uOn/9qlfP3Qfuoyr6/4zbbrn5w/dl+FGLnzVwWhWTBFMJ5VZ0EmwqKsUJpER4lXg5/XjZvtxJ6vHhW2/ma/uO8gKRdQKnaCXh14+OBYNcSYjj6q46sn6vZjlfPXY0xlBxUkfXTCscFipZZHMZ16YjiWo4EW2Vu4FbSmvV+WMoMSrUqUKppwkGJYCbCqWKa2L1EJladN3jRaL+bvSnCdnK2koYwCTLsS8jpnFUAX009lUu5fWz5d0WgqQyFCEs1QkpGQOAYUsE9qRq5Kc5GUKNtz3Vo4JqhQtmTXFAW1NLHEbmbdZhBhMddW9RfuUJAlXWZ80EzICboIHg4+JKeWErVVKUuUt3KckhRwRfjww7qthOlBhKZbMRMnwn3Oc+3AG75PitBw0ICa55PA+Tyxw51ky0XoVU5ZEE8Dfinke3+Im6j/OWaEvHxP1PW0W6/t53n/77+Olq9+Ga1e/zdMmbr6NX43d7Pqpm+MWhxgyLhqmclZMK1IsVWSdixK2RYoiCBy914VlZN7jIvbrDa5CzX7zSGP2PXXAwZoUkLaUEQLGZsBUK9NO+SyrruTHQPoSF4/4ZlcX69+v3grN6wX+zrr7DdEK7792M/6h+za+/j4v/edutnpcLD50n2l+/7nfvxvAWa17GhA2S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DrhtzTr8ViLJoEFemGxxt7bKs5A0vleTi7pml8kfL62N/yG617jYnlO+aaH//Px8+/w/5CzBcV4lAAA=":/tef]
2 Likes

Run NN minutes ahead of a given local clock time.

After some discussion in [APP][Pro] Better Logic Library - For Users - #23 by OH2TH we got this flow working for the original problem.

Apps used:

Thanks for the help, still need to fine tune that.

[tef:FLOWS:"H4sIAAAAAAACA9VY227bRhD9FYINYDvQGnvjXtS+tE2AFEj70OQtMYS9zFpEaNKlKDtG4n/vkKJsSVUSpkACBHqQSFGzZ86ZPTOrD/lNPv+QJ2+SjokS7yglkkZBLAuMRCqYc0KkyGX/XJ3P8xfgurK+zOK6xQ9Nnc/yDm/X6ysPbX4/y3liStkEhEotiGRCEptoJFFTa6IMMhqzDda15eUltBkrrso6c0twMWtSxoygY1zfNBW4ug8MHsD4QAk4qYgsokK8SZLEXCxiChjcbQO/HgMvR7SrzrXdYcj74Rp/AN15SSLcnHvoOmir5rIM20i/Dbeyl/297GXpW9feDT/Ftd58yEt8hBfJcZoE8QHRSZ4KYqjyhBkEBqYABhbX7qO96nE8JhqqJrzLuvIK8HvI5127hlk+rC0Ft5qDIUx7S2SyjBhjBRFUR8ONtToOmrzP54wbOsvv8rng+N7gMsvmCu7mV652SMK8broylWGQa4UL9ZhDi8zAYverkR4XxouBzA7ed4989lSyIkOx1h2sMg+paQHlmqNePSdGW81ClIQWpkCJZCQoWiSGKR2YY0URYARt1AYzl3uY3fX1/LgeG9y+WsD76xZWq0fEoaljOYJu8MabaeTNcmWNK6Q1RBc0EWnBEhMsJcEHq2ShrVUpvxiZ2FkWyx1us2dI4OnZ+Qq6F826XZ0yQ/4adsH5tWtX8EfdnS7OK7fqTmP/5MmzX18/f/3Hn89PZlm9rqpZdgL1ydnZ2UzQGb7OMjKEPK+b29Oz7Bck+qmiTxml9OcNuSaBdswRHqjpd6khznFHYioiGIiyMKoHeuOqNQyarSEr00PQrFxlt2W3xJ22o+Gw3VC/DEvRVUMtzt/Wb+vvnSGWfVM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percentage driven shade control for “dumb” shade relais.


This flow enables to percentage input to “dumb” shade relais like the KlikAanKlikUit ASUN-650.
In the same device capability are options available to extend/contract fully and stop during running.

Adjusting the slider while the shades are moving, results in stoppage at the new requested position, or a direct stop.
This depends if the shades need to reverse or not (because reversing is not possible in one go).


Apps used:

Installation:

1. Create the following logic tags (names are free to choose):

  • Number: “totalRuntime”
  • Number: “actualPosition”
  • Number: “requestedPosition”
  • Boolean: “done”
  • Text: “GlobalVar”

2. Find the variable ID’s using this code in Homey script:

let logics = await Homey.logic.getVariables()
_.forEach(logics, logic => {
       console.log(logic.name+': '+logic.value,'\n','id:'+logic.id);
});

3. Import the following flow:

TEF:

[tef:FLOWS:"H4sIAAAAAAACA9VcjXPctpX/V9idXiW3CwkAQZDYXHvjxHeJ73ppJnYvMydpNPjiijVFqlyuZJ+j//0eCHJ3yeVKlK06aSaxd0Hg8eH3vh+w+Tgzs8XHmUqUSBOjkRaGIWYlQTJMKZIUayyZMHEcuXnFbDH737K4s1VWLIOX+qq21Ww+0zCs8qwwq9n9/Xx266ZSnkaGxwkKjbaImdAiqUWMaKQ40URFVrKO5Fu7ql9VUmZ19jcD9GoYK9bXCogDOU1waCMNlGKsgDnOUZLiECmcCKoUxyISu5Re6not8x/K1R6lKE1EGJEYmTCMEBMYeIqoQEQSHodE2ViQXUrf2lvgamnGaHEtBE4lRTFOgKtUA1cykihMEh7ZSJpU9Wj9Vy5l1VJRZZlbWTRg1c2k/OTv+XoFaKKsPnlpbmWhrXlbZculrVYdmW482Dxw6JTXJ7K+gj/hP/thpavspu5WfOeG3vih9lWvysJ2j5vPA5bmsw1+II6y2Ly8PzqE40f79zXs0prhuv0H/aUOg/72X9nbTNtv5I1UWQ5L7AYA/yToPXLr5Wxx9nGWwQwbYh2zhCECGo1YKDQCkYPWhTGxsY0NJzEw0Ndj2ehxvc4cbwBOXa1to9QfZxinaYyJRCaKNNBLDRIY1IZbqYRKpDEJd/NuZb62PaJvalnV1lHUZV5W8OyDzfPyD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F6VaEEgnIeq7mzoJxH9BJYZEOqVhEoOy2uEtQ59UPsdNHcZSSm2MkeICishEA6MRThBmiaJSYggSbCeaae7qswS8dcRcgpxAMEksIpFRhkFOgIV5xps6k1431KwEP7tm9XzZ6F2eZ1CuLlA2rqb1WG1UuLuyhbvD6n9BxxOahlwwRFMbu9+5xRCZpKuiEk4SC4Wc1I9d7mkuHz54uYez6XkYhzKOGlBeKLjAc1htUSIMgBvGVOlEMotxP+YMiqHnCjpqDRVKMR50Jl2IG5enJ7sjz9fFSl+ts9vmN4N9kX7dzB2POzLFKg4hXeUCBCcgpRBEQoaBaZSShAjJSR+mBH9xmCZ5o4dgoluY/prVj+FER3CadB9waPafrVFTzf657f0Ra491DJkxVIKagpdmJoHC0EYQmkORGskNszQcRofBZcUvoTZTb3weVJtwi56rHQ/pS+h/hTwpbA1VJKb/THc4KQXkBCQOoPDgLbiikFYxgig1USRDcGUs7nkL+oQcVV/JYmnNuCxTkaaGpQJh5XoRHENClxqCQkWg6DECyiI+e34E2h9/RsSkIRImhFxSgp9UscAQ6gg3CcQSKzfV6jbgP08qNDUnf65fXLRJziS0+wZOnyv7mwT3w1t9+k+LGrcGVTSYMDwRyrWXjFFIRAZM2cah5iakB/tdd+5/ARCQwJ/G2uC2LKttEywr3uXSdZ4OZDcbrWnSrEn5zf39xf3/A4sx5Yt8QwAA":/tef]

4. Fill in your ID’s and GlobalVar name:

Replace the variable ID’s with yours from step 2 in the arguments section of the 2 HomeyScript code executions.

1 Like

Determine if Guests are Home or Away, and detect personnel


Usecase:

  • A guesthouse should turn on the lights when there are guests present.
    When they have checked out (in other words, aren’t present for X hours), the lights should be turned off and stay off.
  • Guests and personnel shouldn’t have to do something special like, entering a code, push a button, connect to wifi, install an app, and the like.
    • Fun part: No guests: someone takes care of the plants, and leaves the front door open during the task. During this time, the lights should turn on when it’s dark, but the guest “check in routine” should not run.
  • Detection: Front door contact & motion sensors in hallway and in several rooms

NOTE: Flow is not tested in real life


Apps used:

Other things people need to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BeZIp7DOKJ1Setk4lgk4T6lkqTwIEBKjXGh08M+iZTicx7OG+B0u2pY2+xmmzi1+EfB7y+f2PHlQyQ/65Xhx5Z9QHy+b73G+A70tANdeKCeKc8jBptJbGEErxDeUe4afZEB2UQdnn2R1OOA4jCst/Z4sr34zWGidRWOBa5hJqrbaQ2ZqXesIQc3ZOIc1O/cvl72Htt3tuvFeWJgejFBqmE2HUijqXDsRnj+JhYBlLPElx3KFwJuc3wvHSry8ea0rQ5qMuANrChDrmSYx45TxJUhqQYuY6vvgR2hilOe89Ofhh8oXGsM4EaZmthy6C15mbIN6lmiJUm0wTiyUsZiIVvunK6Mk5efdZTpNmbefEl49k/L3ylvzteJjyW0/P7lSw1sUWhboRooGHVDURmpoIpZminooUPj312h1wjdOO6YirioV2qO1N1R7PP/Ki8hnHHXPm1ifUx589PdgM3fV7P8TL6djrqc7z+5VfD5uvfZ+nf5HIwgkR6mEGQ2WWoA90GIpwg6paIiuUH6m7b+4fZFWHXY/r7dzrkY5NxNoohmdoHjdD9qm2TDtFPfJWHYO361fNnSXgXn+za0oP/2PQpO1hYj74zbtfOoR6hpibNWI8Znirf31Mpl7ycSDMOhadWUUPbOIYQI2mgmiZ6x5TvdskQp1As1lC9rYyunQcb3EOvBnwbpctcbSOcFmIofASNTX13RkPOOgsfIfbvKwFhmuoOJ8ovqCa1Ono6V6m7Y9V1eFMda+KjrrcWcacgIWx30co3CXrkViY5eYTk53+LfjurmccaZ+gfFb4Th1L5ec/JHqpKThCkJ0suR7BoD2L3BFbCdclVXRItZjK/2sa2/OMmd0IfPz49uP/AE1OMuXdKAAA":/tef]

Workaround to control Mi Lights from Homey 2023

I made a workaround to control my garden Mi Lights with the app Homesh and Virtual Devices from homey 2023. Its only ON/OFF and brightness because VD doesn’t support “IF color cards” you can get data from. But most of the time you have the same color I think, if you like to change just go to your “old homey” to get the colors right.

The AF is being made as a purpose to control it from a 2023 model, if you set a switch from the older homey the newer homey wil not see this, I tried to make this but got into a loop with the brightness value.

Apps and devices used:

  • You need 2 homeys of course 2023 and a model before that still runs SDK v2.
  • The app Homesh Controller on your 2023 Homey.
  • The app Homesh Satellite on your “old” Homey.
  • The app Virtual Devices on your 2023 model.
  • Created as many virtual devices you have on your 2023 model. I have 7. See picture below:
    Schermafbeelding 2023-05-08 om 22.41.25
  • The app MI.Light on your"old" model.
  • 2 Advanced flows, one on the new one and one on the “old” one.
  • The app Device Capabilities if you you like to import my AF to you machine optional.

If you have installed all the apps and connected the satellite homey to your 2023, you can give it a try.

Advanced Flow on 2023 Homey:

TEF:

[tef:FLOWS:"H4sIAAAAAAACA+Vay24jyRH8FYLnSbjeDx7X3sXa8HqN9XEgCFkvSVhJXFCUvYPB/LujOHqx1SSbB+lAXUajGVaxMyoyMzKqv87LfPF1rkXWTkRFVvhIJrVAsbAn6zlzrMG4aPrnbueL+c/Lm/pl9u/VcqaEdPNP84x/XK4v62r+7dOcoyoma0styUBGmUpJ6UIsS2YXtE3paSc5+2G5KnU1++fV7e93DztdX11crvtOzgcvdW2kbTZkXHPEsUlysRQrU0lc5eNOavYD36RlHd9Ja5kkvps0NiRjVKAgZaMajTe5ORNkedxJP+70W82X61db+RiLayqR1y6TEVEQmxrIO2m4mmZc8I9bmdl/8uX9/Wq4hw1FNcmWUmqKjLaWotKBWpFRB9YlyPS4h8VzlNlvy3R1++pRWqqqSmzTnAfSQuFvHEmUpqqzQhrBj9u42Y/3ma+//LG+f41OjeyzcYDD4uxldpRswq86V5eDaSGLx3387B/8B9/e1dmPd2W5GjxTP/754vPX+VU/3Ky0sDlQqgwiWOsoGlFI15RbsCWKpLG87/rLFc4NO8w6te4uZ39d3q5Xy+vr+gDd17k3VTgfE2URJTZLgqLGjk63mLIL1onWP/fnfAEgPs2/zBcOP5bY/LLTdVHqf69yXUzi+afN8x+9bsF5fbW8PT+/43W9vr5a1/O7Na/W7Xr5v/Pzdf1zLc9v729SXcnztFxeV76V+K41vuv7yvkGPgDNN/X55/xljsx+/ddffv3pp1lbLW9ewg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aRon8LUUMeUf1AALra0OfRbQpHCE0ktsMZXSNI94YR7D+GYf2VvfBECBEVExQwSkFVyYS06tZaWe4TtiXvb7hd47bHUS4KFb67MAD9miSR5aXprHCYS9cSkEX1EQ7rdNELREJEVxTtkGBVTSPEskXpjIOMTBEDaPIEIKgEsr+IF+tdIvx1LKsWT84gnEQ3vMMWfTSYSHHiicb+GRBenZreyleZzqYacwvOGBJHnVbzExK2Kugq1spXVgcn2WSLwwkWGEEysKVaFMEoSxCd2AWdovjZMy7JmaNc8QHjGWE87a0xfvI897zkM8YlkneTh5aR4nIObIjBUJW6DrN3LZ9Ktfat3/ZqtL4VLDs0TihYkMQ6zIwQ20AnfWlzfrsogqS5G6WbK+pCDtFOIhOzg5UTit0yOP4s4/WxkxmpM8orw0jxMQwx6ZVnWEOXcYoLAp2IBVElLG6oPF3CjPChLjhYkMQ1z6VTcGvChWJtAGszVb5yHBBmMu+8qJphCPfGa6d01O9H+77Bsp/st719/+8fPJpWukOaZVcNepwpDKnL+mOFeBkRk/rYC+zv49ZJbOXuidK8DICDy+88bud5XzD1mJ05feZ9EfMPHHhw/XYf/QKvTik6FzJRjZU49LYK9TgqFt/6WHqOcqMPJwftIB16nA0J84vPTHJKcr8OnTm0//A7RJCTvsJQAA":/tef]

Garbage bin Reminder thru Homesh

@Arie_J_Godschalk you brought me on the idea to make something like this in your earlier posts and that is probably one of the things to created Homesh what is so powerful !! Why didn’t I think of this before? Or maybe someone did it already for me :stuck_out_tongue:

The funny thing about it, is that my old good sounding homey from 2016 is below the TV at the moment and is viewing everyone on the couch with the eyes animation and giving everyone 3 times the last 2 hour blocks of the day a friendly voice reminder what needs to be done.

If someone have done it, they can talk to my google mini/audio "
OK Google, Container animation off" Homey goes into default led ring off mode and is speaking his last sentence to thank you for doing it and all is going to the next event.


Apps used:

TEF:

[tef:FLOWS:"H4sIAAAAAAACA+VZ224cNxL9lU4/iwbvl3nzerOOgQ1iONl9CYxBkSxKbc90Cz0ty4rhf0+xR6NYI3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YVRDX0QzMTvigLHBFu7DdJ+DysuUN4Q7nrYQjfz7KXZKAjvp38Jvn+xwYuLu/y/RzOqTR8QMoXZb8jyr3/Jinfz2ru4XwDu6lLD0j6ojRwu2H+SHFwTpKIfcJ7k9Lh4aofhh73dOHHm+CCBbQpjGdTy1Oo/1CJmXlqV6k14SmoPPejixbePr3V/4fxxsc7miUd18IeZWFZv7AMfkkd4cv3fwLRZ66JMCAAAA==":/tef]

Wake up row: True for 1st person, False for 2nd, 3rd, Xth person. Also show who’s the 2nd, 3rd etc. persons to wake up


For fine-tuning the household’s morning routines (or: who got up last, takes out the bin :wink: )
(The top flow just returns true/false. The bottom flow is more fun)

Apps used:

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

Here’s the code from the Homeyscript card of the top flow:

// When 1st person @home wakes up = true; when person2 @home wakes up: false.
let allUsers = await Homey.users.getUsers();
let result = true;
let count = 0;

_.forEach(allUsers, user => {
if(user.present == true && user.asleep == false) {
  // for each user who is not asleep, add 1 to the counter value
  count++;
  // if counter is higher than 1 (person), result = false
  if( count > 1 ) { 
  result = false
  };
}
});
return result;

Here’s the code from the Homeyscript card of the bottom flow:

// When 1st person @home wakes up = true; when person2 @home wakes up: false.
let allUsers = await Homey.users.getUsers();
let result = true;
let count = 0;

_.forEach(allUsers, user => {
if(user.present == true && user.asleep == false) {
  // for each user who is not asleep, add 1 to the counter value
  count++;
  // if counter is higher than 1 (person), result = false
  if( count > 1 ) { 
  //Show if it was the 2nd, the 3rd, 4th (and so forth) person to get up
  result = "No. Person #" + count + " got up"
  }
}
});
return String(result);


Thanks for the inspiration and original script from this topic


TEF:

[tef:FLOWS:"H4sIAAAAAAACA+1YbW/bNhD+K4RWFAliuuKrKAXt3oHtSzEsG/qhCQyKPMZGHcmT5LlF4P++o2QncZqsClpgKDAgjiXqeK/PPUf5OumS4jpx9dXUdnP8jx/40LpmseofVEmR/BKXzoal7XaS2KR4e50s8EkZBKSQBgpZmlGpc09N5nLqeMi5gQxcmiWTXsmvgbC2I3VDeOXJ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ZAchIbhKJVNEYqSlkwjnWYqUJOLjGLJtWXOl1luDtiBp1+QxEZ1QWQI5jKZKwtUSoYM4ZAhcutQmpvAZZpLzsSBmyL9QiQ22kUfrMksHtBlpgWV3pc4DpBxjWC5Fwq9N+l9EmPmvyWxHgIap6k1oaQhGJz5DP/ZgOwlWc6c8AzA9RDoEYyq/8CGji8V9bIfqx9guaw3uHCHqlj83ix8N0+Kar1cTpI5ILK7/V30ECOBBM3nHI8VPmgqtIylxQwawVNaggiOlZ6VmR9p/javT7AvShzjgGUNziC+nMQOAByXtuRZaiSeg9L0rv3vX//0iPn9iegp1q3PMfzUoHVsPemVxKkBjqrMGw6Kg5UHyX/zePRPNz6K+A9Pe1yPO+3NyoOB8/Gpb1S73Jz6dPBaaOMoExlKW4EgURmjuXEKVOAcBNyMqMdOeGNauSj2jg+tMcLsvZ5+hHm+QE+/rif7t6w4bm7b+mAA33b3+RCEtJ6HgMFmIcOwhZXUZHjOAomHLMitFc4dNhgOomFUtDiU2/r2ne4T73NxFkYm3f3q8C8EoZ6AUg7IBBoC1VIoKrFONMeIMBwvJYdUMq3v+v/JX0Me7Z2xPm23F9t/AGMdA/XdEQAA":/tef]
1 Like

Ask @ home users one by one to start the washing machine at cheap energy rates


A washing/drying machine is something you can’t exactly automate, while the laundry has to be loaded or moved for instance.
Also it’s energy-hungry machines, which should run preferably at low energy rates.
This flow reacts to low energy prices;
it sends a push confirmation to a user →
and when there’s no response, or it was declined →
send a push confirmation to the next user to start the washing machine →
and so forth for next user


Apps used:

TEF:

[tef:FLOWS:"H4sIAAAAAAACA91b65Ibx3V+lSmUqrRbRi/73j1IqRKGFi3aMsWQlCWH2Fr3dQERmIExA1IbaqtceY7kb37lqfQkOd0zwAIrLDUUyZIdskhgbj2nv3P7zunGm5EfTd6MbIgUC+tQSUqPuHYlMhhzBOe8psIqFUW6rxpNRv9eV1VYLUxVfF6F9eU8jMYjB+ebUDX1Gg7adOd8aS4DcmYZ1ga1tTdXT9ZzFx7MzLr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HS8R5GVlBClxv6i1WwPKfg/CdUXnIjlF0ZPnpnjrVuR36YQO2r/bLyxtO6G3dnykTuGxX9V0IfFRtdq0F8ljV1AOXKYQkEz6aJQcFLO3UTL/cGdolIQ3ZBG2v835kHvCG1DNet5e9ase0bj5ojukuNvLMKSYu4Wx0B8J40GMdQDGb+OIvyrag0rFW2hr/JHQHsRqh6M9iEf+qujDtGQEm0ZCMXBhIgKypQ1IGZ0aWtFEcxDwv6wvL9OL78GUYA7dIpFZ3BHf2HYzXP4twKAQd319fv1/9OJNpRE8AAA=":/tef]
2 Likes

Discover and restart paused or crashed apps

Sometimes the card “An app has crashed” does not work, while the app just paused or froze. This flow just checks for an unavailable app / device card, which is foolproof.


Apps used:


TEF:

[tef:FLOWS:"H4sIAAAAAAACA71W227cNhD9FUIvToClQVGUSO5LEaRFE6BAC/ShD6lh8DLaJayVBF3sLgz/e4eUNrGdOt5eUMDeXVHk8MyZM4e8z3y2vc9KyTzPBafK44eomaM2VyV10jDhrS9L6+K8NttmH2aLf9kmw5Fs7MHcwJA9PGyyKc1oLtsAzejhpoHh5rLpdqeFv4ZD3wB58+txfEt+wvG4yGTbT/dZwNfKM2fjzqBlSYWuSmqNyGltasZtqa1SFe4aI30fRtfdwkB6M4/gSTcQN5hxjz9N34/kzfuuP75dIN5nwIXwwBStco+BjZFUK61p5TC8LY20Js37I9sKzjbZMdtygd/dPPXz9MMwdAOCzJziwmlvKDCnMExeU+UKTrkEqCtu89y77AqXIcB9d4Dj1sNtcLA9i9xN4iCM131jjqHdZYnPzHWtD1Po2gy5kty6GtfT0ghHBbMl1TXCMC7XBZO1UtKsiaxpMPYYz8G0ZgfD1g0Yb9kQkMXjdTvt1/2mIexwCj6NMeezqLtKVUw1Vhjl2AMGOoR2niCVuNA4yztNfS4xfwaGWu6BupIZL7TVTpUr7FyyBbmoniDHqm7/SllLEh9brNP1bujm/hpHp3CAJrSwpmRc4m8FmfSYvSOLismdGUloCcQiE9N68n4/4I7OjFOUUno/wDi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Device OnOff option


When you have, say, a garage with (a) motion sensor(s), and (a) (garage)door sensor(s), the light should turn on for 3 minutes after a motion event, or an opened garagedoor;
While there’s movement, lights stay on;
When the button gets pushed, lights should turn on, and stay on until the button is pushed again.


Apps used:

TEF:

[tef:FLOWS:"H4sIAAAAAAACA8VX224jxxH9FWJgBAmgNvp+4Vtsw8mD4w2CBRLEWAh9qRYHoWYUcqj1ZqN/z5khKZNcyTtS7ORBFJszXX2q6lTV6Y/Nv/qOtm/7v9DdOmZqlh+bULMLJBVzNnGmiSzzPBsWuVLJ2iSdK+N7XbzF+80PnPN3i7e0HZqHh6um7E1YCsoQ80ZopnUtzDvtmQ8hmOyoJOKTCez/Lt7eLf4Y181Vk7FctzcrWMIiGi8kD6yQTkzz6BmOzszpKKWVPvMajja+2g1D3x0s9MOKNhOW+/G5y5SThTvZagE7MOYtt0xSEFE4VUTR53YWb76HqQHr1Pdrit1kbJheWn9Zab3u33c0fJlXm77rbzbxbnU08PXJT+Om2Cx/+Ni0eCJj9jmKxKQrjulAgcXsNJMq1eizU0lnnDoa+TtSsoh5aO/jQGXxDd23mRbv22G1OALs3tS6d/djk13NOkvBcizIl1SZhcI1izVJbVJIXE9J+bFZCq75VfOhWSqP/z3OWvW39GEZ7+6Wz7p2NeEf2lvaXN/F3ZYOwRkRTkGPJ2x4O772t8l3a43UgjRLwWamFSjkK3kmksOi2JqF/QQXP8NVJteXs+i0hzkBOkEHHDwSuRo4y6pit6qJxZDAAsNrTs5wo+mA44DCnUdnLJHlrKrYY2i7KXnHOA2b9uYGjLxqtmBDE72y2F4YyQg+OgVDQRRWQHZtuFOUUvMOuEOSOWQhGS8GJ+qcR+J6cKd4oXQl0v4ct+D2dWmtbdduV1SeRkyepySDYqQcgCQdmM8kWYrc5KCSjzw2757lgXY2IvGBSWMitlNi+PNIguSpkBLex3M/5H8X/5+Lvs4qcCctcBSQUgqYsaEgxioKG6QKyU7R14oKRQJnyRSmTagsolUweKzJEXdFqEv2Xsb/FfSdyvq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SnfKpeRQQRYihgedKildivqko371+Y7qX9DVZ/HpokxnkPn/WaZ7iT36NudifH5NuLiov75OZ+n7X68Af7otPTy8e/gP5fVbAJUTAAA=":/tef]
6 Likes

Virtual Battery flows

Thanks to @Wim_Post for bringing up this idea

This flow creates a virtual home battery. It simulates a battery and calculates the virtual current and energy.

  • Added return on investment calculation:
    ** based on dynamic contract, using prices from the power by the hour app
    ** energy to the battery reduceS the ROI (you would have received money for return energy
    ** energy usage from the battery adds to the ROI

This way you can test if a battery is usefull for you.

Change the variables according to the specs of the desired battery


Apps used:

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

Also create this flow to trigger the energy measurement.
This flow can be used as a trigger for multiple virtual batteries
Image


TEF:

[tef:FLOWS:"H4sIAAAAAAACA+1b628bOZL/VxqN/eDMqBy+H8LlgL1BFjfAYDaYfWSBxDCKZNHWRW5pW20nvqz/9wNbD8uynLTseG72bv3JrSaLxXr8WFWs/lynevy59oRcOKVAUUBQWgrAKD1kzbjSnkWlbRnX1OP69ZvXfzv9+ad6VMd6XC+oWczaelR35f0FddSezttJpNNztp7xpp3816JqLpej6ubyIlBb39zc3IzqqzIoG+ucZgwcCxmUlAROOwvBUJZRc2vRr4n9B3adhDcX+AnSZBHPsT2jHcKjWgiDQksPqJCD8jFDQC+BB4kyKikd6h2CV5O2u8TpPVLMMc9UDGClEqCsYeCNzpA9cq01+eT5XVKv79Gw2jvUEYEb4qAiNxC0VoDGMR6DFTzSDo2H2EFMgUWuQLHgQWltwJtkwCcmoibrjWV7RPWAnEzwwsVggDOZQCkdADUZSEwFRj4EJXYZu8BP98lIozVJDjZbCcoggstaAHIrYxRKBUp3yfzyxx93rWFlQnF2cbyYf6DF8aRZTM7Ouz+31KTFLzSdYbol8+PyZbV8W21e34zq5vI4f6Dr4x9mFxfUdIs/zNo/TGcf1zPL/z/Pukk3oUW/LNbjd5/rST2uY2JZayFAOBVABWLgtMlgtDBKJSOV9fWop/LXpX6qsh1qr5fe8Ll2WhPGLIBLn0BpJiEEipBTxhS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+OhBbLhQQAA":/tef]
3 Likes

plug laptop

Flow to automaticly charge laptop(s).

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

I use a script for detecting the battery level of the laptops. It also mimics the shortcutcode when it detectes a treshold, which is noticed by desktop device app on the laptop and trickers the plug on or off. If you don’t want a script, you can manual enter a shortcutcode.

Used apps are

Desktop device (on Homey and computer)
Chronograph
Papertrails
Notepad (on pc, for code)

TEF:

[tef:FLOWS:"{"advancedflows":[{"id":"16bbe2c7-4977-4864-9223-7dd979c7921d","name":"plug laptop","cards":{"3489ab5e-80e2-4fc4-bd48-ba362d9a23fe":{"ownerUri":"homey:manager:cron","id":"time_exactly","args":{"time":"01:30"},"type":"trigger","x":0,"y":20,"outputSuccess":["148b8368-b96d-454e-9951-107057772389"]},"328fad3f-8a6f-456a-9a86-7ffb4707f560":{"ownerUri":"homey:device:222e5ee1-227e-46bf-af6e-328940d3f087","id":"on","type":"action","x":1280,"y":80,"outputSuccess":[]},"6dc53d80-7fde-4a14-86db-e98189b55994":{"ownerUri":"homey:device:222e5ee1-227e-46bf-af6e-328940d3f087","id":"off","type":"action","x":880,"y":580,"outputSuccess":["49f9f91a-98ba-4195-ba4c-57be4a0f9281"]},"ea2e9ef4-3d0e-4d85-afd0-df8ae7e02859":{"ownerUri":"homey:device:5a955863-968c-4dc2-9247-2b0a28a17436","id":"trigger_accelerator","args":{"accelerator":{"id":"4840551b-5452-457f-a2e9-66febb69fe27","name":"Control Shift @","description":"bat high"}},"type":"trigger","x":0,"y":620,"outputSuccess":["84534b45-a569-414e-b443-32273fdaa426"]},"84534b45-a569-414e-b443-32273fdaa426":{"ownerUri":"homey:device:5a955863-968c-4dc2-9247-2b0a28a17436","id":"action_notification_show","args":{"title":"Lader uit","body":"Accu vol","silent":"false"},"type":"action","x":400,"y":560,"outputSuccess":["6dc53d80-7fde-4a14-86db-e98189b55994"]},"46105d97-bef1-479d-a1ea-996d38dccd8e":{"ownerUri":"homey:device:5a955863-968c-4dc2-9247-2b0a28a17436","id":"trigger_accelerator","args":{"accelerator":{"id":"db929024-964c-4810-85ff-4659465a68da","name":"Control Shift #","description":"bat low"}},"type":"trigger","x":0,"y":280,"outputSuccess":["f6e9235a-4071-4e2a-b127-6162389d1767"]},"f6e9235a-4071-4e2a-b127-6162389d1767":{"ownerUri":"homey:device:5a955863-968c-4dc2-9247-2b0a28a17436","id":"action_notification_show","args":{"title":"Lader aan","body":"Accu Laag","silent":"false"},"type":"action","x":420,"y":260,"outputSuccess":["328fad3f-8a6f-456a-9a86-7ffb4707f560"]},"2e4a5764-a945-4969-8e68-73b6ddee2df9":{"ownerUri":"homey:device:07f26688-8321-4d00-ae55-c2ed241ab7fa","id":"trigger_accelerator","args":{"accelerator":{"id":"8915e118-3116-4438-bfbc-3c5e6bca1026","name":"Control Shift #","description":"plug aan"}},"type":"trigger","x":0,"y":140,"outputSuccess":["5dc428a8-8ada-4f03-bfe0-f194e70fa0c6"]},"499eef71-6693-4451-a6ca-4b46da33061c":{"ownerUri":"homey:device:07f26688-8321-4d00-ae55-c2ed241ab7fa","id":"trigger_accelerator","args":{"accelerator":{"id":"8a69a989-d249-41a3-82ef-37f46c9f6d48","name":"Control Shift @","description":"plug uit"}},"type":"trigger","x":0,"y":720,"outputSuccess":["1a16159f-976c-4223-bf5a-0a01a221d602"]},"1a16159f-976c-4223-bf5a-0a01a221d602":{"ownerUri":"homey:device:07f26688-8321-4d00-ae55-c2ed241ab7fa","id":"action_notification_show","args":{"title":"lader uit","body":"accu vol","silent":"false"},"type":"action","x":400,"y":680,"outputSuccess":["6dc53d80-7fde-4a14-86db-e98189b55994"]},"5dc428a8-8ada-4f03-bfe0-f194e70fa0c6":{"ownerUri":"homey:device:07f26688-8321-4d00-ae55-c2ed241ab7fa","id":"action_notification_show","args":{"title":"lader aan","body":"accu laag","silent":"false"},"type":"action","x":420,"y":120,"outputSuccess":["328fad3f-8a6f-456a-9a86-7ffb4707f560"]},"148b8368-b96d-454e-9951-107057772389":{"ownerUri":"homey:app:nl.fellownet.chronograph","id":"timer_start_v2","type":"action","x":420,"y":0,"args":{"namedd":{"name":"laptoplader","description":"Nieuw"},"time":"90","unit":"minutes"},"outputSuccess":["328fad3f-8a6f-456a-9a86-7ffb4707f560"]},"5a598495-c02e-40a6-bc9f-938cb8e66d12":{"ownerUri":"homey:app:nl.fellownet.chronograph","id":"timer_finished","type":"trigger","x":420,"y":440,"outputSuccess":["6dc53d80-7fde-4a14-86db-e98189b55994"],"args":{"namedd":{"name":"laptoplader","description":"Bestaand"}}},"49f9f91a-98ba-4195-ba4c-57be4a0f9281":{"ownerUri":"homey:app:nu.dijker.papertrails","id":"Input_date_time_log","args":{"log":"plug laptop uit"},"type":"action","x":1280,"y":580}}}]}":/tef]

Thank you for this. What is the TEF at the end? How can I make use of that?

Here is my attempt at this flow. Assuming that turning on and off the ensuite dimmer from the switch triggers the “Turned on” and “Turned off” event, would this work?