Coder Social home page Coder Social logo

0wq / air780e-forwarder Goto Github PK

View Code? Open in Web Editor NEW
283.0 3.0 59.0 58.35 MB

合宙Air780系列4G模组,短信转发,来电通知,Air724在这里 -> https://github.com/0wQ/air724ug-forwarder

License: MIT License

Lua 100.00%
air780e luatos sms telegram air700e air780ep air780epv

air780e-forwarder's Introduction

Air700E / Air780E / Air780EP / Air780EPV 短信转发 来电通知

✨ Feature

🔨 Usage

https://mizore.notion.site/Air780E-e750efe0d6cc40c3baa276eeb811d534

air780e-forwarder's People

Contributors

0wq avatar akagiyui avatar goxofy avatar ywz978020607 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

air780e-forwarder's Issues

能否增加使用Telegram或其他接口实现发短信功能?

通过一个号码给另一个号码发送短信来进行控制,虽然简单直接,但有时会不方便,既然通过接收消息反过来转化为控制指令,特别是当在海外时,成本略高。那么通过telegram bot token和chat id来验证用户并接受控制指令并转换为本地化指令是否存在可能?如果要是能实现这种方式就太方便了。

大佬看看能不能加个ESP32C3核心板用WiFi啊

大佬看看能不能加个ESP32C3核心板用WiFi啊
我有几张0月租的卡没流量,不好弄,大佬看看能不能加个WiFi板子
另外合宙出新的780ex板子了,支持电信了,大佬这个代码支持吗

Air780E不定时死机重启问题

使用的固件版本是:LuatOS-SoC_V1107_EC618
推送通知用的是:custom_post自定义的serverchan
其余的设置都是脚本默认的,有时候会一次性收到好多条开机通知,然后有的时候会经常看到自动重启,然后我就插在电脑上看日志,附件中是Luatools的显示,发现有时候会发生死机然后重启的情况,重启后会发生几十条的开机通知,然后又接着死机重启,来回循环,不知道是硬件问题还是软件问题,是否可以帮忙看下,如果还需要提供什么我可以提供。

日志文件.txt

开机后没有主动同步系统时间导致钉钉加签验证失败

建议在开机后主动同步一次时间,否则在时间未同步的情况下无法通过钉钉加签验证
发送通知成功 code: 200 body: {"errcode":310000,"errmsg":"description:机器人发送签名过期;solution:签名生成时间和发送时间请保持在 timestampms 以内;"}

大佬,得空是否可以考虑下国外同学的场景

我在国外测试这个项目,插入当地运营商的卡,出现了异常情况

  1. 刷的是 LuatOS-SoC_V1105_EC618.soc 的底包 + 转发的脚本。
    用另外一台手机发短息到测试手机,可以看到 Luatool 的日志里,能看到这个短信,不过会提示:“当前设备处于漫游状态只使用 Serial 通信方式”

大佬不一定能重现这个场景,所以我把日志贴出来(已匿名化处理):

[2023-12-26 02:50:00.860][000000000.247] I/user.main 开机原因 0 0 3
[2023-12-26 02:50:00.863][000000000.411] self_info 125:model Air780E_A16 imei 86XXXXXXXXXXXXX
[2023-12-26 02:50:00.866][000000000.423] I/user.util_location.refreshCellInfo start
[2023-12-26 02:50:00.953][000000000.600] I/user.util_location.refreshCellInfo end
[2023-12-26 02:50:00.960][000000000.602] D/user.EVENT.CELL_INFO_UPDATE
[2023-12-26 02:50:01.213][000000000.865] D/mobile CSCON 1
[2023-12-26 02:50:02.837][000000002.480] D/mobile cid1, state0
[2023-12-26 02:50:02.840][000000002.484] D/mobile bearer act 0, result 0
[2023-12-26 02:50:02.842][000000002.485] D/mobile NETIF_LINK_ON -> IP_READY
[2023-12-26 02:50:02.849][000000002.513] D/mobile TIME_SYNC 0
[2023-12-26 02:50:07.841][000000007.492] D/user.util_location.getMapLink
[2023-12-26 02:50:07.844][000000007.494] D/user.util_notify.add 添加到消息队列, 当前队列长度: 1
[2023-12-26 02:50:07.847][000000007.495] D/user.util_notify.add 添加到消息队列的内容: #BOOT\n\n本机号码: +65XXXXXXXX\n开机时长: 00:00:07\n运营商: XXXXX\n信号: -100dBm\n频段: B41 6
[2023-12-26 02:50:07.899][000000007.504] D/user.util_notify.poll 轮询消息队列中, 当前队列长度: 1
[2023-12-26 02:50:07.902][000000007.505] D/user.util_notify.poll 当前设备处于漫游状态只使用 Serial 通信方式
[2023-12-26 02:50:07.905][000000007.506] I/user.util_notify.send 发送通知 serial
[2023-12-26 02:50:07.908][000000007.506] Uart_TxTaskSafe 1213:uart1,br 0, tx len 101
[2023-12-26 02:50:07.915][000000007.507] I/user.util_notify serial 消息已转发到串口
[2023-12-26 02:50:08.854][000000008.508] I/user.util_notify.send 发送通知成功 code: 200 body: nil
[2023-12-26 02:50:12.237][000000011.898] D/mobile CSCON 0
[2023-12-26 02:53:57.026][000000236.681] D/mobile CSCON 1
[2023-12-26 02:53:57.134][000000236.781] luat_sms_nw_report_urc 1039:[DIO 1039]: The recv msg: phone: +65XXXXXXXX
[2023-12-26 02:53:57.136][000000236.781] luat_sms_nw_report_urc 1044:[DIO 1044]: The recv msg: dcs: 0 | 0 | 165 | 0
[2023-12-26 02:53:57.140][000000236.781] luat_sms_nw_report_urc 1049:[DIO 1049]: The recv msg: sca: [+65YYYYYYYY]
[2023-12-26 02:53:57.143][000000236.782] luat_sms_nw_report_urc 1062:[DIO 1062]: The recv msg: time: ["23/12/26,01:53:53 +28"]
[2023-12-26 02:53:57.146][000000236.782] luat_sms_nw_report_urc 1076:[DIO 1076]: The recv msg: pdu: [18 | 41 | 25 | Wish u a Merry Christmas ]
[2023-12-26 02:53:57.148][000000236.782] luat_sms_nw_report_urc 1082:[DIO 1082]: The recv msg: ieData 0 0 0
[2023-12-26 02:53:57.151][000000236.782] luat_sms_nw_report_urc 1084:[DIO 1084]: The recv msg: 41[079166390831C0DAA83C2A0032E6F87E7398F90058219D202162103533110F52408797A4066592ECF8B9161629667F4866]
[2023-12-26 02:53:57.153][000000236.783] luat_sms_nw_report_urc 1085:[DIO 1085]: The recv msg: [079166390831C0DAA83C2A0032E6F87E7398F90058219D202162103533110F52408797A4066592ECF8B9161629667F4866]
[2023-12-26 02:53:57.156][000000236.785] luat_sms_proc 1144:[DIO 1144]: CMI_SMS_NEW_MSG_IND is in
[2023-12-26 02:53:57.160][000000236.786] D/sms dcs 0 | 0 | 0 | 0
[2023-12-26 02:53:57.163][000000236.788] I/user.smsCallback 2023/12/26 01:53:53 +65WWWWWWWW Wish u a Merry Christmas
[2023-12-26 02:53:57.165][000000236.793] D/user.util_location.getMapLink
[2023-12-26 02:53:57.168][000000236.795] D/user.util_notify.add 添加到消息队列, 当前队列长度: 1
[2023-12-26 02:53:57.171][000000236.797] D/user.util_notify.add 添加到消息队列的内容: Wish u a Merry Christmas \n\n发件号码: +65WWWWWWWW\n发件时间: 2023/12/26 01:53:53\n#SMS\n\n本机号码: +65XXXXXXXX\n开机时长: 00:03:56\n运营商: XXXXX\n信号: -96dBm\n频段: B41 10
[2023-12-26 02:53:57.227][000000236.807] D/user.util_notify.poll 轮询消息队列中, 当前队列长度: 1
[2023-12-26 02:53:57.230][000000236.808] D/user.util_notify.poll 当前设备处于漫游状态只使用 Serial 通信方式
[2023-12-26 02:53:57.233][000000236.809] I/user.util_notify.send 发送通知 serial
[2023-12-26 02:53:57.236][000000236.810] Uart_TxTaskSafe 1213:uart1,br 0, tx len 187
[2023-12-26 02:53:57.239][000000236.810] I/user.util_notify serial 消息已转发到串口
[2023-12-26 02:53:58.161][000000237.812] I/user.util_notify.send 发送通知成功 code: 200 body: nil
[2023-12-26 02:54:06.967][000000246.628] D/mobile CSCON 0
[2023-12-26 02:56:20.474][000000380.140] D/mobile CSCON 1
[2023-12-26 02:56:20.565][000000380.210] D/mobile TIME_SYNC 0
[2023-12-26 02:56:20.615][000000380.280] D/mobile CSCON 0
[2023-12-26 03:02:11.213][000000730.871] D/mobile CSCON 1
[2023-12-26 03:02:11.291][000000730.947] D/mobile TIME_SYNC 0
[2023-12-26 03:02:11.353][000000731.009] D/mobile CSCON 0

  1. 由于不知道是底包做了判断还是脚本做了判断,所以换了一个底包再试下。
  2. 这次换了 LuatOS-SoC_V1105_EC618_FULL.soc 这个底包。这次提示好像变了,没有了“漫游”的提示。不过看上去,好像队列一直没有发出去。

[2023-12-26 03:21:16.690][000000000.351] I/pm poweron: Power/Reset
[2023-12-26 03:21:16.692][000000000.352] I/main LuatOS@EC618 base 22.12 bsp V1105 32bit
[2023-12-26 03:21:16.694][000000000.352] I/main ROM Build: Mar 14 2023 17:22:07
[2023-12-26 03:21:16.697][000000000.359] D/main loadlibs luavm 204792 14112 14112
[2023-12-26 03:21:16.700][000000000.359] D/main loadlibs sys 342544 54136 80400
[2023-12-26 03:21:16.703][000000000.373] I/user.main air780e_forwarder 1.0.0
[2023-12-26 03:21:16.705][000000000.374] I/user.main 开机原因 0 0 3
[2023-12-26 03:21:16.723][000000000.528] self_info 115:model Air780E imei 86SSSSSSSSSSSS
[2023-12-26 03:21:17.194][000000001.018] D/mobile CSCON 1
[2023-12-26 03:21:19.176][000000002.985] D/user.EVENT.CELL_INFO_UPDATE
[2023-12-26 03:21:19.180][000000002.986] D/mobile NETIF_LINK_ON -> IP_READY
[2023-12-26 03:21:19.182][000000002.993] D/user.util_notify.add 添加到消息队列, 当前队列长度: 1
[2023-12-26 03:21:19.189][000000003.013] D/mobile TIME_SYNC 0
[2023-12-26 03:21:29.257][000000013.072] D/mobile CSCON 0
[2023-12-26 03:21:32.196][000000016.009] D/mobile CSCON 1
[2023-12-26 03:21:32.241][000000016.054] D/user.EVENT.CELL_INFO_UPDATE
[2023-12-26 03:21:32.271][000000016.077] D/mobile TIME_SYNC 0
[2023-12-26 03:21:32.335][000000016.155] D/mobile CSCON 0
[2023-12-26 03:21:34.737][000000018.553] D/mobile CSCON 1
[2023-12-26 03:21:34.798][000000018.607] D/user.EVENT.CELL_INFO_UPDATE
[2023-12-26 03:21:34.805][000000018.627] D/mobile TIME_SYNC 0
[2023-12-26 03:21:34.877][000000018.700] D/mobile CSCON 0
[2023-12-26 03:22:39.896][000000083.714] D/mobile CSCON 1
[2023-12-26 03:22:39.973][000000083.782] luat_sms_nw_report_urc 1039:[DIO 1039]: The recv msg: phone: +65YYYYYYYY
[2023-12-26 03:22:39.976][000000083.782] luat_sms_nw_report_urc 1044:[DIO 1044]: The recv msg: dcs: 0 | 0 | 165 | 0
[2023-12-26 03:22:39.978][000000083.782] luat_sms_nw_report_urc 1049:[DIO 1049]: The recv msg: sca: [+33HHHHHHHHH]
[2023-12-26 03:22:39.981][000000083.782] luat_sms_nw_report_urc 1062:[DIO 1062]: The recv msg: time: ["23/12/26,02:22:38 +28"]
[2023-12-26 03:22:39.983][000000083.783] luat_sms_nw_report_urc 1076:[DIO 1076]: The recv msg: pdu: [18 | 37 | 20 | & happy new years...]
[2023-12-26 03:22:39.987][000000083.783] luat_sms_nw_report_urc 1082:[DIO 1082]: The recv msg: ieData 0 0 0
[2023-12-26 03:22:39.991][000000083.783] luat_sms_nw_report_urc 1084:[DIO 1084]: The recv msg: 37[07913397C240B9160096B056103A0C3F87E57866398F900048410110F3221622283821424232217E741EEF21D9]
[2023-12-26 03:22:39.993][000000083.783] luat_sms_nw_report_urc 1085:[DIO 1085]: The recv msg: [07913397C240B9160096B056103A0C3F87E57866398F900048410110F3221622283821424232217E741EEF21D9]
[2023-12-26 03:22:39.996][000000083.785] luat_sms_proc 1144:[DIO 1144]: CMI_SMS_NEW_MSG_IND is in
[2023-12-26 03:22:39.998][000000083.786] D/sms dcs 0 | 0 | 0 | 0
[2023-12-26 03:22:40.001][000000083.789] I/user.smsCallback 2023/12/26 02:22:38 +65YYYYYYYY & happy new years...
[2023-12-26 03:22:40.004][000000083.792] D/user.util_notify.add 添加到消息队列, 当前队列长度: 2
[2023-12-26 03:22:49.852][000000093.677] D/mobile CSCON 0
[2023-12-26 03:22:52.844][000000096.661] D/mobile CSCON 1
[2023-12-26 03:22:52.909][000000096.720] D/user.EVENT.CELL_INFO_UPDATE
[2023-12-26 03:22:52.934][000000096.743] D/mobile TIME_SYNC 0
[2023-12-26 03:22:53.109][000000096.927] D/mobile CSCON 0
[2023-12-26 03:36:23.505][000000907.331] D/mobile CSCON 1
[2023-12-26 03:36:23.552][000000907.358] D/user.EVENT.CELL_INFO_UPDATE
[2023-12-26 03:36:23.559][000000907.381] D/mobile TIME_SYNC 0
[2023-12-26 03:36:23.626][000000907.445] D/mobile CSCON 0
[2023-12-26 03:57:27.635][000002171.456] D/user.EVENT.CELL_INFO_UPDATE
[2023-12-26 04:24:30.818][000003794.655] D/user.EVENT.CELL_INFO_UPDATE
[2023-12-26 04:36:23.634][000004507.475] D/mobile CSCON 1
[2023-12-26 04:36:23.681][000004507.525] D/mobile TIME_SYNC 0
[2023-12-26 04:36:23.743][000004507.578] D/mobile CSCON 0

自己有需要就加了一个新功能,不知道提pr是否合适

功能:当收到 MQTT,sms_content 样式的短信时,把sms_content转发到指定的mqtt服务器和topic上,其他设备可以订阅这个topic,来实现通过短信控制其他硬件设备的功能。

比如放在家里,家里ha智能家居系统订阅对应topic,即可通过短信控制家里的智能家居。属于是聊胜于无的功能。

可以支持多种推送并行吗?

看到config文件里推送类型只能填写一种 NOTIFY_TYPE = "xxx"

并且执行的时候走的是if else。

对lua语法和数据类型 不太了解,可不可以传一个数组进去,然后foreach一下

是否可以考虑780epv增加拨打语音电话tts朗读短信功能?

非实用功能,想学习一下。

通过cc demo成功可以成功拨打和接通电话了。但是tts demo要么是外置codec要么是内部管脚模拟(云喇叭)两个demo都是外放的,完全不懂如何在接通电话后把tts的语音送出去,例如短信内容或设备状态。

大佬能不能抽空研究一下,哪怕接通了只报个日期时间也行

网络消耗

通知使用的网络是不是sim卡本身的流量?

完美支持Air700E

拔下来780E接着插上700E直接下载原来的的固件和脚本,正常开机使用。

IP_LOSE 引起重发

用台式机抓了几天日志,发现好几天不动了今早重新开始抓。09:06开机,10:48有一条NETIF_LINK_OFF -> IP_LOSE,然后CELL_INFO_UPDATE是正常的,定时开关飞行模式的时间也没到。11:18发现后拨入电话,就已经引起重发了。是不是监听到IP_LOSE后就处理一下,即可解决重发问题?

https://gitee.com/openLuat/LuatOS/issues/I9BUOL?from=project-issue

[2024-05-13 09:06:33.642]开机

[2024-05-13 10:22:17.108][000003908.017] D/user.EVENT.CELL_INFO_UPDATE
[2024-05-13 10:27:17.111][000004208.016] D/user.EVENT.CELL_INFO_UPDATE
[2024-05-13 10:32:17.111][000004508.016] D/user.EVENT.CELL_INFO_UPDATE
[2024-05-13 10:37:12.439][000004803.355] D/user.EVENT.CELL_INFO_UPDATE
[2024-05-13 10:42:17.102][000005108.015] D/user.EVENT.CELL_INFO_UPDATE
[2024-05-13 10:47:12.186][000005403.094] D/user.EVENT.CELL_INFO_UPDATE
[2024-05-13 10:48:03.957][000005454.869] soc_cms_proc 1653:cenc report 1,38,1,1
[2024-05-13 10:48:03.957][000005454.870] cid1, state2
[2024-05-13 10:48:03.976][000005454.870] NETIF_LINK_OFF -> IP_LOSE
[2024-05-13 10:52:17.108][000005708.013] D/user.EVENT.CELL_INFO_UPDATE
[2024-05-13 10:57:09.301][000006000.213] D/user.EVENT.CELL_INFO_UPDATE
[2024-05-13 11:02:17.108][000006308.012] D/user.EVENT.CELL_INFO_UPDATE
[2024-05-13 11:07:12.049][000006602.951] D/user.EVENT.CELL_INFO_UPDATE
[2024-05-13 11:12:12.411][000006903.311] D/user.EVENT.CELL_INFO_UPDATE
[2024-05-13 11:17:17.112][000007208.010] D/user.EVENT.CELL_INFO_UPDATE
[2024-05-13 11:18:48.773][000007299.678] LUAT_MOBILE_EVENT_CC status 12
[2024-05-13 11:18:48.777][000007299.679] I/user.==============cc_status==============: PLAY
[2024-05-13 11:18:48.792][000007299.680] LUAT_MOBILE_EVENT_CC status 1
[2024-05-13 11:18:48.792][000007299.680] I/user.cc_status INCOMINGCALL 来电事件 18888888888
[2024-05-13 11:18:48.808][000007299.690] D/user.util_notify.add 添加到消息队列, 当前队列长度: 1 消息内容: 来电号码: 18888888888\n来电时间: 2024-05-13 11:18:48\n#CALL #CALL_IN 2
[2024-05-13 11:18:48.808][000007299.693] LUAT_MOBILE_EVENT_CC status 2
[2024-05-13 11:18:48.886][000007299.794] I/user.util_notify.poll 轮询消息队列中 总长度: 0 当前ID: msg-t1715570328c1r7866 当前重发次数: 0 连续失败次数: 0
[2024-05-13 11:18:48.902][000007299.796] D/user.util_location.getMapLink
[2024-05-13 11:18:48.902][000007299.796] I/user.util_notify.send 发送通知 bark
[2024-05-13 11:18:48.917][000007299.797] I/user.util_notify POST https://api.day.app/XXXXXXXXXXXXXXXXXXXX
[2024-05-13 11:18:48.933][000007299.801] D/user.EVENT.NET_LED_UPDATE 50 50 nil
[2024-05-13 11:18:48.933][000007299.801] D/user.util_http.fetch 开始请求 id: http_1
[2024-05-13 11:18:52.057][000007302.962] VOLTE_EVENT_PLAY_STOP
[2024-05-13 11:18:52.057][000007302.963] LUAT_MOBILE_EVENT_CC status 12
[2024-05-13 11:18:52.075][000007302.964] I/user.==============cc_status==============: PLAY
[2024-05-13 11:18:52.076][000007302.964] LUAT_MOBILE_EVENT_CC status 5
[2024-05-13 11:18:52.091][000007302.965] I/user.cc_status DISCONNECTED/HANGUP_CALL_DONE/MAKE_CALL_FAILED 挂断事件 18888888888
[2024-05-13 11:18:52.170][000007303.072] soc_cms_proc 1653:cenc report 1,38,1,5
[2024-05-13 11:18:52.170][000007303.073] cid5, state2
[2024-05-13 11:19:08.895][000007319.807] D/user.util_http.fetch 请求结束 id: http_1 code: -8 desc: HTTP_ERROR_TIMEOUT
[2024-05-13 11:19:08.895][000007319.808] D/user.EVENT.NET_LED_UPDATE nil nil nil
[2024-05-13 11:19:08.910][000007319.811] E/user.util_notify.send 发送通知失败, 等待重发 code: -8 body: nil
[2024-05-13 11:19:08.910][000007319.811] I/user.util_notify.poll 等待下次重发 当前重发次数 1 连续失败次数 1
[2024-05-13 11:19:13.911][000007324.812] I/user.util_notify.poll 当前第 1 次重发失败, 保存到 fskv msg-t1715570328c1r7866
[2024-05-13 11:19:13.911][000007324.817] I/user.util_notify.poll fskv.set true used,total,count: 8192 65536 1
[2024-05-13 11:19:14.008][000007324.918] I/user.util_notify.poll 轮询消息队列中 总长度: 0 当前ID: msg-t1715570328c1r7866 当前重发次数: 1 连续失败次数: 1
[2024-05-13 11:19:14.023][000007324.920] D/user.util_location.getMapLink
[2024-05-13 11:19:14.023][000007324.920] I/user.util_notify.send 发送通知 bark
[2024-05-13 11:19:14.039][000007324.921] I/user.util_notify POST https://api.day.app/XXXXXXXXXXXXXXXXXXXX
[2024-05-13 11:19:14.055][000007324.924] D/user.EVENT.NET_LED_UPDATE 50 50 nil
[2024-05-13 11:19:14.055][000007324.924] D/user.util_http.fetch 开始请求 id: http_2
[2024-05-13 11:19:34.024][000007344.927] D/user.util_http.fetch 请求结束 id: http_2 code: -8 desc: HTTP_ERROR_TIMEOUT
[2024-05-13 11:19:34.024][000007344.927] D/user.EVENT.NET_LED_UPDATE nil nil nil
[2024-05-13 11:19:34.039][000007344.930] E/user.util_notify.send 发送通知失败, 等待重发 code: -8 body: nil
[2024-05-13 11:19:34.055][000007344.930] I/user.util_notify.poll 等待下次重发 当前重发次数 2 连续失败次数 2
[2024-05-13 11:19:39.032][000007349.931] W/user.util_notify.poll 连续失败次数过多, 开关飞行模式
[2024-05-13 11:19:40.439][000007351.345] ims reg state 1
[2024-05-13 11:19:40.439][000007351.345] cid15, state2
[2024-05-13 11:19:40.454][000007351.346] NETIF_LINK_OFF -> IP_LOSE
[2024-05-13 11:19:41.008][000007351.911] cid1, state0
[2024-05-13 11:19:41.024][000007351.913] bearer act 0, result 0
[2024-05-13 11:19:41.024][000007351.914] NETIF_LINK_ON -> IP_READY
[2024-05-13 11:19:41.039][000007351.941] TIME_SYNC 0
[2024-05-13 11:19:41.092][000007352.001] soc_cms_proc 1653:cenc report 1,51,1,15
[2024-05-13 11:19:41.539][000007352.447] I/user.util_notify.poll 轮询消息队列中 总长度: 0 当前ID: msg-t1715570328c1r7866 当前重发次数: 2 连续失败次数: 2
[2024-05-13 11:19:41.554][000007352.448] D/user.util_location.getMapLink
[2024-05-13 11:19:41.554][000007352.449] I/user.util_notify.send 发送通知 bark
[2024-05-13 11:19:41.570][000007352.449] I/user.util_notify POST https://api.day.app/XXXXXXXXXXXXXXXXXXXX
[2024-05-13 11:19:41.586][000007352.452] D/user.EVENT.NET_LED_UPDATE 50 50 nil
[2024-05-13 11:19:41.586][000007352.453] D/user.util_http.fetch 开始请求 id: http_3
[2024-05-13 11:19:41.601][000007352.454] dns_run 668:api.day.app state 0 id 2 ipv6 0 use dns server0, try 0
[2024-05-13 11:19:41.617][000007352.491] dns_run 685:dns all done ,now stop
[2024-05-13 11:19:42.348][000007353.251] NETIF_LINK_ON -> IP_READY
[2024-05-13 11:19:42.649][000007353.554] D/user.util_http.fetch 请求结束 id: http_3 code: 200 desc: nil
[2024-05-13 11:19:42.649][000007353.555] D/user.EVENT.NET_LED_UPDATE nil nil nil
[2024-05-13 11:19:42.664][000007353.557] I/user.util_notify.send 发送通知成功 code: 200 body: {"code":200,"message":"success","timestamp":1715570382}
[2024-05-13 11:19:43.042][000007353.941] ims reg state 0
[2024-05-13 11:19:43.042][000007353.941] LUAT_MOBILE_EVENT_CC status 0
[2024-05-13 11:19:43.058][000007353.942] LUAT_MOBILE_CC_READY
[2024-05-13 11:19:43.058][000007353.943] I/user.==============cc_status==============: READY

air780epv无法获取号码

air780epv无法获取手机号码

log

[2024-03-01 10:24:04.272][000000003.016] request mode=Idle, prev=Idle
[2024-03-01 10:24:05.912][000000004.643] CSCON 1
[2024-03-01 10:24:06.959][000000005.660] cid1, state0
[2024-03-01 10:24:06.959][000000005.661] bearer act 0, result 0
[2024-03-01 10:24:06.959][000000005.661] NETIF_LINK_ON -> IP_READY
[2024-03-01 10:24:06.975][000000005.694] TIME_SYNC 0
[2024-03-01 10:24:07.584][000000006.337] NETIF_LINK_ON -> IP_READY
[2024-03-01 10:24:11.914][000000010.664] 请先调用 mobile.reqCellInfo()!!
[2024-03-01 10:24:11.914][000000010.665] D/user.util_location.getMapLink	
[2024-03-01 10:24:11.929][000000010.666] D/user.util_notify.add	添加到消息队列, 当前队列长度:	2
[2024-03-01 10:24:11.929][000000010.667] D/user.util_notify.add	添加到消息队列的内容:	#BOOT\n\n本机号码: +8618888888888\n开机时长: 00:00:10\n运营商: **移动\n信号: -101dBm	5
[2024-03-01 10:24:11.976][000000010.669] D/user.mobile.status:	网络已注册

发送短信问题

发送短信是通过"SMS"作为标记的,可否能增加一个自定义标记的配置,怕被恶意使用导致额外的开销。

bark消息分组

-- bark 通知配置, https://github.com/Finb/Bark
BARK_API = "https://api.day.app",
BARK_KEY = "",

要给bark消息分组,
bark_apk需要怎么调整格式

待机几小时后程序卡死,能分析下问题在哪?

虽然程序有添加了硬狗防止程序卡死,但是运行4个多小时后。还是无法转发信息。
Lua代码转发使用的是 Telegram。域名和地址不存在无法链接问题。

主要表现:
1、正常运行几个小时后,无法实现待机转发短信;
2、长按电源键无法调起流量查询。

能否给下思路,或者解决方法?

之前一直很稳定,从某一天开始突然收不到短信了,查看log提示这个

[2024-04-26 00:19:09.012][000000041.282] D/DNS api.day.app state 0 id 2 ipv6 0 use dns server1, try 0
[2024-04-26 00:19:10.011][000000042.282] D/DNS api.day.app state 0 id 2 ipv6 0 use dns server1, try 1
[2024-04-26 00:19:12.006][000000044.282] D/DNS api.day.app state 0 id 2 ipv6 0 use dns server1, try 2
[2024-04-26 00:19:16.011][000000048.282] I/DNS dns all done ,now stop
[2024-04-26 00:19:26.904][000000059.182] net_lwip_tcp_err_cb 644:adapter 1 socket 2 not closing, but error -13
[2024-04-26 00:19:28.008][000000060.284] D/user.util_http.fetch	请求结束	id:	http_2	code:	-8
[2024-04-26 00:19:28.018][000000060.285] W/user.util_http.fetch	请求超时	id:	http_2
[2024-04-26 00:19:28.024][000000060.286] D/user.EVENT.NET_LED_UPDATE	nil	nil	nil
[2024-04-26 00:19:28.036][000000060.287] E/user.util_notify.send	发送通知失败, 等待重发	code:	-8	body:	nil

转发的短信可否增加识别参数

多号转发,新版脚本的没有本机号码显示(部分非三大号码不支持本机号码显示),收到短信不知道是哪个号码的,我丢了3个号码在设备中,目前有两个号码收到转发的短信无法区分。
示例图

邮箱转发配置以及改进

你好,我想问一下关于邮箱转发的配置。

看了一下, next-smtp-proxy这个项目和本项目的邮箱转发配置相关参数

我还是不太懂,该如何配置。

我又以下几个问题:
1)使用邮箱转发通道,是否就意味着需要,自己deploy一个 next-smtp-proxy服务,
然后根据对应参数配置?

————
感觉 next-smtp-proxy这种邮箱转发的配置不太友好,因为Vercel 分配的域名在**大陆无法访问。
且使用方式个人感觉比较陌生,相关资料或者教程较少(反正您写的那个readme我也看不太懂,请见谅)

————

2)是否考虑添加以下这种邮箱转发方式:

借助stmp/pop登陆邮箱A,然后使用邮箱A发送短信内容到目标接收邮箱B

这种转发方式,直接通过代码即可实现,无需借助,某个类似 next-smtp-proxy这种服务,方式实现,个人感觉比较方便

————

说了怎么多,还是总结一下个:
能否出一个较详细的邮箱转发文档

或者采用我上面说的邮箱转发方式。

谢谢。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.