跳到主要内容

转发到手环 - 动作

使用场景

你可能会遇到这样的场景这里我就拿酷安来举个例子。

假设我直接在小米运动或者小米穿戴开启了酷安消息通知功能。你可能会收到通知标题为“你有xx个应用可更新”这条通知我认为是没有必要发送到手环。你还有可能会收到到通知标题为“*** 私信了你”这条通知我认为就很有必要转发到手环。但是小米运动和小米穿戴就没有这样过滤功能。

功能演示

1.jpeg

导入规则

导入规则以后需要将规则添加有酷安app应用组才可以使用。

{"notificationChannels":[],"packageGroups":[],"rules":[{"actionSettings":[{"blackExec":true,"delay":0,"event":1,"lockExec":true,"runDateRanges":"0, 1, 2, 3, 4, 5, 6","runRandomCount":3,"runRandomCountFail":0,"runTimeRanges":"","unlockExec":true}],"barrage":{"content":"$c_all","position":0,"speed":5,"subtitle":"$s_all","time":2,"title":"$t_all"},"broadcast":{"scenes":[],"text":""},"clickButton":{"buttonGroup":[],"suspendedTip":false,"time":0,"tip":false,"tipText":""},"clickNotification":{"suspendedTip":false,"time":0,"tip":false,"tipText":""},"config":"{}","copy":{"text":"","tip":false},"easyShares":[],"event":[1],"fixed":{"channel":"","content":"$c_all","subtitle":"$s_all","title":"$t_all"},"openApps":[],"output":{"contentVariable":"// 内容变量\n$c_all \u003d .+","subtitleVariable":"// 副标题变量\n$s_all \u003d .+","titleVariable":"// 标题变量\n$t_all \u003d .+"},"popup":{"content":"$c_all","subtitle":"$s_all","title":"$t_all"},"range":[],"remove":{"hour":0,"minute":0,"second":0},"ringtone":{"path":"","playCount":1,"scenes":[]},"rule":{"delayRun":0,"isAutoUpgrade":true,"isLocking":false,"isUpload":false,"price":0,"rUid":"a2d7a7bf-e544-44eb-8250-015a6f2ab59a","ruleButton":"","ruleButtonType":0,"ruleChannel":"5","ruleChannelType":0,"ruleContent":"","ruleContentType":0,"ruleDescription":"除了“你有xxx个应用可以更新”和“下载 xxxx”以外的通知都转发到手环。","ruleMatchType":1,"ruleName":"转发酷安通知","ruleNotification":"","ruleNotificationType":0,"ruleSubTitle":"","ruleSubTitleType":0,"ruleTitle":"","ruleTitleType":0,"runDateRanges":"0, 1, 2, 3, 4, 5, 6","runRandomCount":3,"runRandomCountFail":0,"runTimeRanges":[],"uuid":"b94d2a5c-d235-4fb0-8e1a-89fae2d1168c","versionCode":0},"share":{"content":"$c_all","subtitle":"$s_all","title":"$t_all"},"shareToApp":{"packageName":"","shareConfig":"[]","sharePath":"","uriAuthority":""},"shareToServer":{"method":"POST","shareDataConfig":"[]","shareHeaderConfig":"[]","url":"http://"},"shortcuts":[],"testNotificationList":[],"tip":{"channel":"","content":"$c_all","subtitle":"$s_all","title":"$t_all"},"vibration":{"count":1,"scenes":[],"times":""}}],"versionCode":20,"versionName":"3.0.0"}

创建规则

2.jpg

小技巧

如果想在转发到手环的时候添加上应用名称可以这样做。

3.jpg

这样就会得到下方的结果。

酷安-通知标题

其他设置

如果仅仅创建了规则是没有办法转发到手环,还需要在小米运动或者小米穿戴打开消息通知功能。

4.png

开启小米运动或者小米穿戴消息通知功能

如果创建规则的应用也开启了消息通知功能请把该应用取消这个功能。避免手环显示两个通知信息。

5.jpeg