Advertisement
Guest User

log

a guest
Feb 18th, 2024
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.40 KB | None | 0 0
  1. 2024-02-18 19:06:52 : Starting dtgbot_version :0.9 20230723091
  2. 2024-02-18 19:06:52 : dtg_main_functions_version:0.9 202402161910
  3. 2024-02-18 19:06:52 : dtg_domoticz_version :0.9 20230723093
  4. 2024-02-18 19:06:52 : TelegramBotToken: XXXXXXXXX:AAGow6vqFA8_sjN-txxxxxxxxffRbTfvU
  5. 2024-02-18 19:06:52 : DomoticzIP: 127.0.0.1
  6. 2024-02-18 19:06:52 : DomoticzPort: 9999
  7. 2024-02-18 19:06:52 : TempFileDir: /tmp/
  8. 2024-02-18 19:06:52 : BotLuaScriptPath: /home/pi/dtgbot/lua/
  9. 2024-02-18 19:06:52 : BotBashScriptPath: /home/pi/dtgbot/bash/
  10. 2024-02-18 19:06:52 : Persistent loaded
  11. 2024-02-18 19:06:52 : Using DTGBOT config file:/home/pi/dtgbot/dtgbot.cfg
  12. 2024-02-18 19:06:52 : ------------------------------------------------------
  13. 2024-02-18 19:06:52 : ### Starting dtgbot - Telegram api Bot message handler
  14. 2024-02-18 19:06:52 : ------------------------------------------------------
  15. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getversion>
  16. 2024-02-18 19:06:52 : Domoticz version:2024.4 Revision:15889 BuildDate:20240130
  17. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getuservariables>
  18. 2024-02-18 19:06:52 : Domoticz returned getuservariables after 1 attempts
  19. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&order=name&used=true>
  20. 2024-02-18 19:06:52 : DeviceType:devices count:60 DomoticzBuildDate:20240130
  21. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getscenes&order=name&used=true>
  22. 2024-02-18 19:06:52 : !!!! Domo_Device_List_Names_IDXs(): nothing found for (1) scenes
  23. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getplans&order=name&used=true>
  24. 2024-02-18 19:06:52 : DeviceType:plans count:6 DomoticzBuildDate:20240130
  25. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getlanguage>
  26. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getuservariable&idx=8>
  27. 2024-02-18 19:06:52 : Idx:8 Value:2
  28. 2024-02-18 19:06:52 : Domoticz DtgBotLogLevel set to: 2
  29. 2024-02-18 19:06:52 : Loading command modules...
  30. 2024-02-18 19:06:52 : -module->utility commands:refresh,
  31. 2024-02-18 19:06:52 : -module->dtgmenu commands:menu,dtgmenu,
  32. 2024-02-18 19:06:52 : -module->list commands:dump,list,
  33. 2024-02-18 19:06:52 : -module->devices commands:devices,scenes,
  34. 2024-02-18 19:06:52 : -module->flick commands:flick,
  35. 2024-02-18 19:06:52 : -module->nflick commands:nflick,
  36. 2024-02-18 19:06:52 : -module->on commands:off,on,
  37. 2024-02-18 19:06:52 : -module->battery commands:batteries,battery,
  38. 2024-02-18 19:06:52 : -module->help commands:help,start,
  39. 2024-02-18 19:06:52 : -module->temperature commands:tempall,temperatures,temperature,
  40. 2024-02-18 19:06:52 : loaded dtgmenu_version :0.9 202402162235
  41. 2024-02-18 19:06:52 : loaded dtgmenuinline version:0.9 202402161814
  42. 2024-02-18 19:06:52 : loaded dtgmenubottom version:0.9 202402161912
  43. 2024-02-18 19:06:52 : Menu restored state 1 (0=disabled;1=enabled)
  44. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=9>
  45. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=45>
  46. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=56>
  47. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=57>
  48. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=58>
  49. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=59>
  50. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=106>
  51. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=101>
  52. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=89>
  53. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=100>
  54. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=97>
  55. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=94>
  56. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=102>
  57. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=78>
  58. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=79>
  59. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=62>
  60. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=84>
  61. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=107>
  62. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=108>
  63. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=117>
  64. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=122>
  65. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=52>
  66. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=106>
  67. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=111>
  68. 2024-02-18 19:06:52 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getuservariable&idx=7>
  69. 2024-02-18 19:06:53 : Idx:7 Value:xxxxxxxxx|799708856
  70. 2024-02-18 19:06:53 : WLName:TelegramBotWhiteListedIDs WLidx:7 WLString:xxxxxxxxx|799708856
  71. 2024-02-18 19:06:53 : Name :xxxxxxxxx
  72. 2024-02-18 19:06:53 : Name :799708856
  73. 2024-02-18 19:06:53 : TelegramRoomsShownInMenu user variable does not exist in Domoticz
  74. 2024-02-18 19:06:53 : So everybody will see all available rooms in Domoticz!
  75. 2024-02-18 19:06:53 : -------------------------------------------
  76. 2024-02-18 19:06:53 : ### Starting longpoll with Telegram servers
  77. 2024-02-18 19:06:53 : -------------------------------------------
  78. 2024-02-18 19:06:53 : TelegramBotOffset=938063797
  79. 2024-02-18 19:06:53 : https://api.telegram.org/botXXXXXXXXX:AAGow6vqFA8_sjN-txxxxxxxxffRbTfvU/getUpdates?timeout=50&limit=1&offset=938063797
  80. 2024-02-18 19:07:43 : Longpoll ended with status:200 response:nil
  81. 2024-02-18 19:07:43 : ### In contact with Telegram servers
  82. 2024-02-18 19:07:43 : Telegram response (1) {"ok":true,"result":[]}
  83. .2024-02-18 19:07:43 : https://api.telegram.org/botXXXXXXXXX:AAGow6vqFA8_sjN-txxxxxxxxffRbTfvU/getUpdates?timeout=50&limit=1&offset=938063797
  84. 2024-02-18 19:08:33 : Longpoll ended with status:200 response:nil
  85. 2024-02-18 19:08:33 : Telegram response (1) {"ok":true,"result":[]}
  86. .2024-02-18 19:08:33 : https://api.telegram.org/botXXXXXXXXX:AAGow6vqFA8_sjN-txxxxxxxxffRbTfvU/getUpdates?timeout=50&limit=1&offset=938063797
  87. 2024-02-18 19:09:12 : Longpoll ended with status:200 response:nil
  88. 2024-02-18 19:09:12 : Telegram response (1) {"ok":true,"result":[{"update_id":938063797,"message":{"message_id":146232,"from":{"id":xxxxxxxxx,"is_bot":false,"first_name":"xxxxxxxx","username":"xxxxxxxx","language_code":"it"},"chat":{"id":xxxxxxxxx,"first_name":"xxxxxxxx","username":"xxxxxxxx","type":"private"},"date":1708279752,"text":"Indietro"}}]}
  89.  
  90. 2024-02-18 19:09:12 : update_id (1) 938063797
  91. 2024-02-18 19:09:12 : TelegramBotOffset 938063798
  92. 2024-02-18 19:09:12 : Save Persistent table 1
  93. 2024-02-18 19:09:12 : => Start Msg process for update_id 938063797
  94. 2024-02-18 19:09:12 : WhiteList: xxxxxxxxx
  95. 2024-02-18 19:09:12 : Set Handler to DTGil.handler
  96. 2024-02-18 19:09:12 : dtgbot: HandleCommand=> cmd:Indietro SendTo:xxxxxxxxx Group:xxxxxxxxx chat_type:
  97. 2024-02-18 19:09:12 : - parsed_command[2] Indietro
  98. 2024-02-18 19:09:12 : -> forward to dtgmenu :Indietro Indietro
  99. 2024-02-18 19:09:12 : Not found as Menu or Fixed command so try Lua or Bash options for indietro
  100. 2024-02-18 19:09:12 : checking line checkdomoticzupdate.sh
  101. 2024-02-18 19:09:12 : checking line check_router.sh
  102. 2024-02-18 19:09:12 : checking line chk_r0ut3r_5.4.sh
  103. 2024-02-18 19:09:12 : checking line doorbell.sh
  104. 2024-02-18 19:09:12 : checking line energia.sh
  105. 2024-02-18 19:09:12 : checking line fritz_info.sh
  106. 2024-02-18 19:09:12 : checking line letterbox.sh
  107. 2024-02-18 19:09:12 : checking line mvd.sh
  108. 2024-02-18 19:09:12 : checking line protectedswitch.sh
  109. 2024-02-18 19:09:12 : checking line smiliesoverview.sh
  110. 2024-02-18 19:09:12 : checking line stato_sistema.sh
  111. 2024-02-18 19:09:12 : checking line stato_termostato.sh
  112. 2024-02-18 19:09:12 : checking line systemstatus.sh
  113. 2024-02-18 19:09:12 : checking line temperatura_meteo.sh
  114. 2024-02-18 19:09:12 : checking line temperature.sh
  115. 2024-02-18 19:09:12 : checking line varia.sh
  116. 2024-02-18 19:09:12 : restored previous replymarkup:
  117. 2024-02-18 19:09:12 : !! error in command: - not found
  118. 2024-02-18 19:09:12 : chat_type:
  119. 2024-02-18 19:09:12 : replymarkup:
  120. 2024-02-18 19:09:12 : https://api.telegram.org/botXXXXXXXXX:AAGow6vqFA8_sjN-txxxxxxxxffRbTfvU/sendMessage?chat_id=xxxxxxxxx&reply_to_message_id=146232&text=%E2%9A%A1%EF%B8%8F++not+found+%E2%9A%A1%EF%B8%8F
  121. 2024-02-18 19:09:13 : Message sent. status=200
  122. 2024-02-18 19:09:13 : response={"ok":true,"result":{"message_id":146233,"from":{"id":XXXXXXXXX,"is_bot":true,"first_name":"SmartHome","username":"XXXXXXXX_BOT"},"chat":{"id":xxxxxxxxx,"first_name":"xxxxxxxx","username":"xxxxxxxx","type":"private"},"date":1708279753,"reply_to_message":{"message_id":146232,"from":{"id":xxxxxxxxx,"is_bot":false,"first_name":"xxxxxxxx","username":"xxxxxxxx","language_code":"it"},"chat":{"id":xxxxxxxxx,"first_name":"xxxxxxxx","username":"xxxxxxxx","type":"private"},"date":1708279752,"text":"Indietro"},"text":"\u26a1\ufe0f not found \u26a1\ufe0f"}}
  123. 2024-02-18 19:09:13 : ===CleanMessage handled_by: remAll=false
  124. 2024-02-18 19:09:13 : Persistent.UseDTGMenu=1
  125. 2024-02-18 19:09:13 : Persistent[SendTo].iLastcommand=
  126. 2024-02-18 19:09:13 : <- !!! Msg process failed: not found
  127. 2024-02-18 19:09:13 : Save Persistent table 1
  128. 2024-02-18 19:09:13 : https://api.telegram.org/botXXXXXXXXX:AAGow6vqFA8_sjN-txxxxxxxxffRbTfvU/getUpdates?timeout=50&limit=1&offset=938063798
  129. 2024-02-18 19:09:20 : Longpoll ended with status:200 response:nil
  130. 2024-02-18 19:09:20 : Telegram response (1) {"ok":true,"result":[{"update_id":938063798,"message":{"message_id":146234,"from":{"id":xxxxxxxxx,"is_bot":false,"first_name":"xxxxxxxx","username":"xxxxxxxx","language_code":"it"},"chat":{"id":xxxxxxxxx,"first_name":"xxxxxxxx","username":"xxxxxxxx","type":"private"},"date":1708279760,"text":"/menu","entities":[{"offset":0,"length":5,"type":"bot_command"}]}}]}
  131.  
  132. 2024-02-18 19:09:20 : update_id (1) 938063798
  133. 2024-02-18 19:09:20 : TelegramBotOffset 938063799
  134. 2024-02-18 19:09:20 : Save Persistent table 1
  135. 2024-02-18 19:09:20 : Loading command modules...
  136. 2024-02-18 19:09:20 : -module->utility commands:refresh,
  137. 2024-02-18 19:09:20 : -module->dtgmenu commands:menu,dtgmenu,
  138. 2024-02-18 19:09:20 : -module->list commands:dump,list,
  139. 2024-02-18 19:09:20 : -module->devices commands:devices,scenes,
  140. 2024-02-18 19:09:20 : -module->flick commands:flick,
  141. 2024-02-18 19:09:20 : -module->nflick commands:nflick,
  142. 2024-02-18 19:09:20 : -module->on commands:off,on,
  143. 2024-02-18 19:09:20 : -module->battery commands:batteries,battery,
  144. 2024-02-18 19:09:20 : -module->help commands:help,start,
  145. 2024-02-18 19:09:20 : -module->temperature commands:tempall,temperatures,temperature,
  146. 2024-02-18 19:09:20 : loaded dtgmenu_version :0.9 202402162235
  147. 2024-02-18 19:09:20 : loaded dtgmenuinline version:0.9 202402161814
  148. 2024-02-18 19:09:20 : loaded dtgmenubottom version:0.9 202402161912
  149. 2024-02-18 19:09:20 : Menu restored state 1 (0=disabled;1=enabled)
  150. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=9>
  151. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=45>
  152. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=56>
  153. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=57>
  154. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=58>
  155. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=59>
  156. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=106>
  157. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=101>
  158. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=89>
  159. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=100>
  160. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=97>
  161. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=94>
  162. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=102>
  163. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=78>
  164. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=79>
  165. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=62>
  166. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=84>
  167. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=107>
  168. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=108>
  169. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=117>
  170. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=122>
  171. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=52>
  172. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=106>
  173. 2024-02-18 19:09:20 : JSON request <http://127.0.0.1:9999/json.htm?type=command&param=getdevices&rid=111>
  174. 2024-02-18 19:09:20 : => Start Msg process for update_id 938063798
  175. 2024-02-18 19:09:20 : WhiteList: xxxxxxxxx
  176. 2024-02-18 19:09:20 : Set Handler to DTGil.handler
  177. 2024-02-18 19:09:20 : dtgbot: HandleCommand=> cmd:/menu SendTo:xxxxxxxxx Group:xxxxxxxxx chat_type:
  178. 2024-02-18 19:09:20 : - parsed_command[2] menu
  179. 2024-02-18 19:09:20 : -> forward to dtgmenu :menu menu
  180. 2024-02-18 19:09:20 : chat_type:
  181. 2024-02-18 19:09:20 : replymarkup:{"inline_keyboard":[[{"text":"Clima","callback_data":"menu Clima"},{"text":"Generale","callback_data":"menu Generale"},{"text":"Luci","callback_data":"menu Luci"}],[{"text":"Misc","callback_data":"menu Misc"},{"text":"SmartDevice","callback_data":"menu SmartDevice"},{"text":"SmartPlayer","callback_data":"menu SmartPlayer"}],[{"text":"Termostato","callback_data":"menu Termostato"},{"text":"Menu","callback_data":"menu menu"},{"text":"Exit","callback_data":"menu exit"}]]}
  182. 2024-02-18 19:09:20 : https://api.telegram.org/botXXXXXXXXX:AAGow6vqFA8_sjN-txxxxxxxxffRbTfvU/sendMessage?chat_id=xxxxxxxxx&reply_to_message_id=146234&text=Select+the+submenu.&reply_markup=%7B%22inline_keyboard%22%3A%5B%5B%7B%22text%22%3A%22Clima%22%2C%22callback_data%22%3A%22menu+Clima%22%7D%2C%7B%22text%22%3A%22Generale%22%2C%22callback_data%22%3A%22menu+Generale%22%7D%2C%7B%22text%22%3A%22Luci%22%2C%22callback_data%22%3A%22menu+Luci%22%7D%5D%2C%5B%7B%22text%22%3A%22Misc%22%2C%22callback_data%22%3A%22menu+Misc%22%7D%2C%7B%22text%22%3A%22SmartDevice%22%2C%22callback_data%22%3A%22menu+SmartDevice%22%7D%2C%7B%22text%22%3A%22SmartPlayer%22%2C%22callback_data%22%3A%22menu+SmartPlayer%22%7D%5D%2C%5B%7B%22text%22%3A%22Termostato%22%2C%22callback_data%22%3A%22menu+Termostato%22%7D%2C%7B%22text%22%3A%22Menu%22%2C%22callback_data%22%3A%22menu+menu%22%7D%2C%7B%22text%22%3A%22Exit%22%2C%22callback_data%22%3A%22menu+exit%22%7D%5D%5D%7D
  183. 2024-02-18 19:09:21 : Message sent. status=200
  184. 2024-02-18 19:09:21 : response={"ok":true,"result":{"message_id":146235,"from":{"id":XXXXXXXXX,"is_bot":true,"first_name":"SmartHome","username":"XXXXXXXX_BOT"},"chat":{"id":xxxxxxxxx,"first_name":"xxxxxxxx","username":"xxxxxxxx","type":"private"},"date":1708279761,"reply_to_message":{"message_id":146234,"from":{"id":xxxxxxxxx,"is_bot":false,"first_name":"xxxxxxxx","username":"xxxxxxxx","language_code":"it"},"chat":{"id":xxxxxxxxx,"first_name":"xxxxxxxx","username":"xxxxxxxx","type":"private"},"date":1708279760,"text":"/menu","entities":[{"offset":0,"length":5,"type":"bot_command"}]},"text":"Select the submenu.","reply_markup":{"inline_keyboard":[[{"text":"Clima","callback_data":"menu Clima"},{"text":"Generale","callback_data":"menu Generale"},{"text":"Luci","callback_data":"menu Luci"}],[{"text":"Misc","callback_data":"menu Misc"},{"text":"SmartDevice","callback_data":"menu SmartDevice"},{"text":"SmartPlayer","callback_data":"menu SmartPlayer"}],[{"text":"Termostato","callback_data":"menu Termostato"},{"text":"Menu","callback_data":"menu menu"},{"text":"Exit","callback_data":"menu exit"}]]}}}
  185. 2024-02-18 19:09:21 : ===CleanMessage handled_by:menu remAll=false
  186. 2024-02-18 19:09:21 : ---CleanMessage handled_by:menu
  187. 2024-02-18 19:09:21 : Persistent.UseDTGMenu=1
  188. 2024-02-18 19:09:21 : Persistent[SendTo].iLastcommand=menu
  189. 2024-02-18 19:09:21 : save Persistent.LastInlinemessage_id=146235
  190. 2024-02-18 19:09:21 : Succesfully handled incoming request
  191. 2024-02-18 19:09:21 : <= Msg processed: ok
  192. 2024-02-18 19:09:21 : Save Persistent table 1
  193. 2024-02-18 19:09:21 : https://api.telegram.org/botXXXXXXXXX:AAGow6vqFA8_sjN-txxxxxxxxffRbTfvU/getUpdates?timeout=50&limit=1&offset=938063799
  194. 2024-02-18 19:09:23 : Longpoll ended with status:200 response:nil
  195. 2024-02-18 19:09:23 : Telegram response (1) {"ok":true,"result":[{"update_id":938063799,"callback_query":{"id":"973030194504939215","from":{"id":xxxxxxxxx,"is_bot":false,"first_name":"xxxxxxxx","username":"xxxxxxxx","language_code":"it"},"message":{"message_id":146235,"from":{"id":XXXXXXXXX,"is_bot":true,"first_name":"SmartHome","username":"XXXXXXXX_BOT"},"chat":{"id":xxxxxxxxx,"first_name":"xxxxxxxx","username":"xxxxxxxx","type":"private"},"date":1708279761,"reply_to_message":{"message_id":146234,"from":{"id":xxxxxxxxx,"is_bot":false,"first_name":"xxxxxxxx","username":"xxxxxxxx","language_code":"it"},"chat":{"id":xxxxxxxxx,"first_name":"xxxxxxxx","username":"xxxxxxxx","type":"private"},"date":1708279760,"text":"/menu","entities":[{"offset":0,"length":5,"type":"bot_command"}]},"text":"Select the submenu.","reply_markup":{"inline_keyboard":[[{"text":"Clima","callback_data":"menu Clima"},{"text":"Generale","callback_data":"menu Generale"},{"text":"Luci","callback_data":"menu Luci"}],[{"text":"Misc","callback_data":"menu Misc"},{"text":"SmartDevice","callback_data":"menu SmartDevice"},{"text":"SmartPlayer","callback_data":"menu SmartPlayer"}],[{"text":"Termostato","callback_data":"menu Termostato"},{"text":"Menu","callback_data":"menu menu"},{"text":"Exit","callback_data":"menu exit"}]]}},"chat_instance":"-4958582895512564163","data":"menu exit"}}]}
  196.  
  197. 2024-02-18 19:09:23 : update_id (1) 938063799
  198. 2024-02-18 19:09:23 : TelegramBotOffset 938063800
  199. 2024-02-18 19:09:23 : Save Persistent table 1
  200. 2024-02-18 19:09:23 : => Start Msg process for update_id 938063799
  201. 2024-02-18 19:09:23 : WhiteList: xxxxxxxxx
  202. 2024-02-18 19:09:23 : Set Handler to DTGil.handler
  203. 2024-02-18 19:09:23 : dtgbot: HandleCommand=> cmd:menu exit SendTo:xxxxxxxxx Group:xxxxxxxxx chat_type:callback
  204. 2024-02-18 19:09:23 : - parsed_command[2] menu
  205. 2024-02-18 19:09:23 : - parsed_command[3] exit
  206. 2024-02-18 19:09:23 : -> forward to dtgmenu :menu exit menu
  207. 2024-02-18 19:09:23 : chat_type:
  208. 2024-02-18 19:09:23 : replymarkup:
  209. 2024-02-18 19:09:23 : https://api.telegram.org/botXXXXXXXXX:AAGow6vqFA8_sjN-txxxxxxxxffRbTfvU/sendMessage?chat_id=xxxxxxxxx&reply_to_message_id=146235&text=%E2%9A%A1%EF%B8%8F+Command+caused+error.+check+dtgbot+log+%E2%9A%A1%EF%B8%8F%0D%0AError%3A%2Fhome%2Fpi%2Fdtgbot%2Flua%2Fdtgmenu%2Fdtgmenuinline.lua%3A329%3A+attempt+to+index+field+%27%3F%27+%28a+nil+value%29
  210. 2024-02-18 19:09:23 : Message sent. status=200
  211. 2024-02-18 19:09:23 : response={"ok":true,"result":{"message_id":146236,"from":{"id":XXXXXXXXX,"is_bot":true,"first_name":"SmartHome","username":"XXXXXXXX_BOT"},"chat":{"id":xxxxxxxxx,"first_name":"xxxxxxxx","username":"xxxxxxxx","type":"private"},"date":1708279763,"reply_to_message":{"message_id":146235,"from":{"id":XXXXXXXXX,"is_bot":true,"first_name":"SmartHome","username":"XXXXXXXX_BOT"},"chat":{"id":xxxxxxxxx,"first_name":"xxxxxxxx","username":"xxxxxxxx","type":"private"},"date":1708279761,"text":"Select the submenu.","reply_markup":{"inline_keyboard":[[{"text":"Clima","callback_data":"menu Clima"},{"text":"Generale","callback_data":"menu Generale"},{"text":"Luci","callback_data":"menu Luci"}],[{"text":"Misc","callback_data":"menu Misc"},{"text":"SmartDevice","callback_data":"menu SmartDevice"},{"text":"SmartPlayer","callback_data":"menu SmartPlayer"}],[{"text":"Termostato","callback_data":"menu Termostato"},{"text":"Menu","callback_data":"menu menu"},{"text":"Exit","callback_data":"menu exit"}]]}},"text":"\u26a1\ufe0f Command caused error. check dtgbot log \u26a1\ufe0f\nError:/home/pi/dtgbot/lua/dtgmenu/dtgmenuinline.lua:329: attempt to index field '?' (a nil value)"}}
  212. 2024-02-18 19:09:23 : ===CleanMessage handled_by: remAll=false
  213. 2024-02-18 19:09:23 : Persistent.UseDTGMenu=1
  214. 2024-02-18 19:09:23 : Persistent[SendTo].iLastcommand=
  215. 2024-02-18 19:09:23 : <- !!! function PreProcess_Received_Message failed:
  216. Error:/home/pi/dtgbot/lua/dtgmenu/dtgmenuinline.lua:329: attempt to index field '?' (a nil value)
  217. stack traceback:
  218. /home/pi/dtgbot/dtgbot.lua:24: in function '__index'
  219. /home/pi/dtgbot/lua/dtgmenu/dtgmenuinline.lua:329: in function 'handler'
  220. /home/pi/dtgbot/dtg_main_functions.lua:256: in function </home/pi/dtgbot/dtg_main_functions.lua:191>
  221. [C]: in function 'xpcall'
  222. /home/pi/dtgbot/dtg_main_functions.lua:147: in function </home/pi/dtgbot/dtg_main_functions.lua:69>
  223. [C]: in function 'xpcall'
  224. /home/pi/dtgbot/dtgbot.lua:208: in function </home/pi/dtgbot/dtgbot.lua:113>
  225. [C]: in function 'xpcall'
  226. /home/pi/dtgbot/dtgbot.lua:112: in main chunk
  227. [C]: in ?
  228. 2024-02-18 19:09:23 : <- !!! Msg process failed: PreProcess_Received_Message failed
  229. 2024-02-18 19:09:23 : Save Persistent table 1
  230. 2024-02-18 19:09:23 : https://api.telegram.org/botXXXXXXXXX:AAGow6vqFA8_sjN-txxxxxxxxffRbTfvU/getUpdates?timeout=50&limit=1&offset=938063800
  231. 2024-02-18 19:10:14 : Longpoll ended with status:200 response:nil
  232. 2024-02-18 19:10:14 : Telegram response (1) {"ok":true,"result":[]}
  233. .2024-02-18 19:10:14 : https://api.telegram.org/botXXXXXXXXX:AAGow6vqFA8_sjN-txxxxxxxxffRbTfvU/getUpdates?timeout=50&limit=1&offset=938063800
  234. 2024-02-18 19:11:04 : Longpoll ended with status:200 response:nil
  235. 2024-02-18 19:11:04 : Telegram response (1) {"ok":true,"result":[]}
  236. .2024-02-18 19:11:04 : https://api.telegram.org/botXXXXXXXXX:AAGow6vqFA8_sjN-txxxxxxxxffRbTfvU/getUpdates?timeout=50&limit=1&offset=938063800
  237.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement