[Samsung Galaxy Z Flip Themes, Apps, and Mods] jugih:
Hi people,

got notification light working on Z Flip with Tasker :)

View attachment 5262495

You can modify icon and text its showing. Basically notification of your choice (WA, Telegram, etc. ) triggers it, then Tasker issues notification in every 2 sec. as long as cover is closed (checks this from magnetic sensor and screen state is off).

Notification is reset when cover is opened (cheks this from magnetic sensor) and/or triggering notification is cleared.

Perquisites:

In phone settings -> under Tasker notifications, you enable "User notifications" and "show as popup" and disable "show as popup" in "Warnings"

Here is the tasker data:

<TaskerData sr="" dvi="1" tv="5.11.14">
<dmetric>1080.0,2545.0</dmetric>
<Profile sr="prof15" ve="2">
<cdate>1616855792145</cdate>
<edate>1616955598935</edate>
<flags>8</flags>
<id>15</id>
<mid0>16</mid0>
<nme>Trigger End</nme>
<Event sr="con0" ve="2">
<code>464</code>
<App sr="arg0">
<appClass>com.whatsapp.Main,
org.telegram.ui.LaunchActivity,
com.samsung.android.email.ui.activity.MessageListXL</appClass>
<appPkg>com.whatsapp,
org.telegram.messenger,
com.samsung.android.email.provider</appPkg>
<label>WhatsApp,
Telegram,
Email</label>
</App>
<Str sr="arg1" ve="3"/>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
</Event>
<State sr="con1" ve="2">
<code>106</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="222"/>
<Int sr="arg2" val="1000"/>
</State>
</Profile>
<Profile sr="prof2" ve="2">
<cdate>1616846731514</cdate>
<edate>1616954217182</edate>
<flags>10</flags>
<id>2</id>
<mid0>3</mid0>
<nme>Trigger</nme>
<Event sr="con0" ve="2">
<code>461</code>
<pri>0</pri>
<App sr="arg0">
<appClass>org.telegram.ui.LaunchActivity,
com.whatsapp.Main,
com.samsung.android.email.ui.activity.MessageListXL</appClass>
<appPkg>org.telegram.messenger,
com.whatsapp,
com.samsung.android.email.provider</appPkg>
<label>Telegram,
WhatsApp,
Email</label>
</App>
<Str sr="arg1" ve="3"/>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Int sr="arg7" val="0"/>
</Event>
</Profile>
<Profile sr="prof6" ve="2">
<cdate>1616953978597</cdate>
<edate>1616955042350</edate>
<flags>10</flags>
<id>6</id>
<limit>true</limit>
<mid0>7</mid0>
<nme>Magnetic Check</nme>
<State sr="con0" ve="2">
<code>106</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="210"/>
</State>
<State sr="con1" ve="2">
<code>123</code>
<Int sr="arg0" val="0"/>
</State>
</Profile>
<Profile sr="prof8" ve="2">
<cdate>1616855792145</cdate>
<edate>1616955688892</edate>
<flags>8</flags>
<id>8</id>
<mid0>9</mid0>
<State sr="con0" ve="2">
<code>106</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="222"/>
<Int sr="arg2" val="1000"/>
</State>
</Profile>
<Project sr="proj0" ve="2">
<cdate>1616829624880</cdate>
<mdate>1616955537181</mdate>
<name>Base</name>
<pids>2,6,15,8</pids>
<scenes>Popup</scenes>
<Img sr="icon" ve="2">
<nme>mw_action_home</nme>
</Img>
</Project>
<Scene sr="scenePopup">
<cdate>1616829688904</cdate>
<edate>1616843992322</edate>
<heightLand>-1</heightLand>
<heightPort>562</heightPort>
<nme>Popup</nme>
<widthLand>-1</widthLand>
<widthPort>675</widthPort>
<TextElement sr="elements0" ve="3">
<flags>4</flags>
<geom>13,0,661,162,6,0,294,72</geom>
<Str sr="arg0" ve="3">Title</Str>
<Str sr="arg1" ve="3">Title</Str>
<Int sr="arg2" val="28"/>
<Int sr="arg3" val="100"/>
<Str sr="arg4" ve="3">#FF80CBC4</Str>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="3"/>
<Int sr="arg7"/>
<Int sr="arg8"/>
</TextElement>
<RectElement sr="elements1">
<flags>4</flags>
<geom>0,162,675,6,0,162,675,6</geom>
<Str sr="arg0" ve="3">Header</Str>
<Int sr="arg1" val="0"/>
<Str sr="arg2" ve="3">#77333333</Str>
<Str sr="arg3" ve="3"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3">#FF000000</Str>
<Int sr="arg6" val="0"/>
<Int sr="arg7" val="0"/>
</RectElement>
<TextElement sr="elements2" ve="3">
<clickTask>-936</clickTask>
<flags>5</flags>
<geom>15,177,643,328,15,177,643,328</geom>
<Str sr="arg0" ve="3">Text1</Str>
<Str sr="arg1" ve="3">Text</Str>
<Int sr="arg2" val="22"/>
<Int sr="arg3" val="100"/>
<Str sr="arg4" ve="3">#FFFFFFFF</Str>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="0"/>
<Int sr="arg7" val="1"/>
<Int sr="arg8"/>
</TextElement>
<PropertiesElement sr="props">
<Int sr="arg0" val="1"/>
<Int sr="arg1" val="0"/>
<Str sr="arg2" ve="3">#FF000000</Str>
<Int sr="arg3" val="0"/>
<Str sr="arg4" ve="3">Popup</Str>
<Str sr="arg5" ve="3"/>
<Img sr="arg6" ve="2"/>
<Str sr="arg7" ve="3"/>
</PropertiesElement>
</Scene>
<Task sr="task16">
<cdate>1616855794970</cdate>
<edate>1616955598935</edate>
<id>16</id>
<pri>6</pri>
<Action sr="act0" ve="7">
<code>159</code>
<Str sr="arg0" ve="3">Magnetic Check</Str>
<Int sr="arg1" val="0"/>
</Action>
</Task>
<Task sr="task3">
<cdate>1616846736174</cdate>
<edate>1616954217182</edate>
<id>3</id>
<pri>6</pri>
<Action sr="act0" ve="7">
<code>159</code>
<Str sr="arg0" ve="3">Magnetic Check</Str>
<Int sr="arg1" val="1"/>
</Action>
</Task>
<Task sr="task7">
<cdate>1616953993332</cdate>
<edate>1616954578293</edate>
<id>7</id>
<Action sr="act0" ve="7">
<code>523</code>
<Str sr="arg0" ve="3"/>
<Str sr="arg1" ve="3"/>
<Str sr="arg10" ve="3"/>
<Str sr="arg11" ve="3"/>
<Img sr="arg2" ve="2">
<nme>cust_warning</nme>
</Img>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="1"/>
<Int sr="arg5" val="3"/>
<Int sr="arg6" val="0"/>
<Int sr="arg7" val="0"/>
<Int sr="arg8" val="0"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act1" ve="7">
<code>30</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="1"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
<Action sr="act2" ve="7">
<code>779</code>
<Str sr="arg0" ve="3"/>
<Int sr="arg1" val="0"/>
</Action>
</Task>
<Task sr="task9">
<cdate>1616955546283</cdate>
<edate>1616955596664</edate>
<id>9</id>
<Action sr="act0" ve="7">
<code>159</code>
<Str sr="arg0" ve="3">Magnetic Check</Str>
<Int sr="arg1" val="0"/>
</Action>
</Task>
</TaskerData>