Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telegram bot no longer working on master+ad2e7ab #513

Open
mpmc opened this issue Feb 19, 2025 · 1 comment
Open

Telegram bot no longer working on master+ad2e7ab #513

mpmc opened this issue Feb 19, 2025 · 1 comment

Comments

@mpmc
Copy link

mpmc commented Feb 19, 2025

Upgraded to latest firmware using sysupgrade -f, telegram bot no longer works, but using send2telegram snap does, no commands are shown in the webui but are present in /etc/web.conf.

NAME=Thingino
ID=thingino
VERSION="1 (Ciao)"
VERSION_ID=1
VERSION_CODENAME=ciao
PRETTY_NAME="Thingino 1 (Ciao)"
ID_LIKE=buildroot
CPE_NAME="cpe:/o:thinginoproject:thingino:1"
LOGO=thingino-logo-icon
ANSI_COLOR="1;34"
HOME_URL="https://thingino.com/"
ARCHITECTURE=mips
IMAGE_ID=aoqee_c1
BUILD_ID="master+ad2e7ab, 2025-02-18 09:38:02 +0000"
BUILD_TIME="2025-02-18 09:38:02 +0000"
COMMIT_ID="master+ad2e7ab, 2025-02-18 09:21:02 +0000"
BOOTLOADER=isvp_t23n_sfcnor
HOSTNAME=ing-aoqee-c1
TIME_STAMP=1733653000
BUILDROOT_NAME=Buildroot
BUILDROOT_VERSION=-gc3913cbb
BUILDROOT_ID=buildroot
BUILDROOT_VERSION_ID=2025.02-git
BUILDROOT_PRETTY_NAME="Buildroot 2025.02-git"

Image

Note: I added the test command.

root@thingino-t23n ~# cat /etc/web.conf
admin_name="Thingino Admin"
admin_email=""
admin_telegram=""
admin_discord=""
telegrambot_users="[REDACTED]"
telegrambot_token="[REDACTED]"
telegrambot_command_0="start"
telegrambot_description_0="Start conversation"
telegrambot_script_0="echo \"Hello\""
telegrambot_command_1="help"
telegrambot_description_1="Request help"
telegrambot_script_1="echo \"Try https://thingino.com/\""
telegrambot_command_2="info"
telegrambot_description_2="Information about system"
telegrambot_script_2="cat /etc/os-release"
telegrambot_command_3="diag"
telegrambot_description_3="Gather diagnostic information"
telegrambot_script_3="thingino-diag"
telegrambot_command_4="snap"
telegrambot_description_4="Take a snapshot"
telegrambot_script_4="send2telegram -c \$chat_id snap"
telegrambot_command_5="clip"
telegrambot_description_5="Record a 5 second clip"
telegrambot_script_5="send2telegram -c \$chat_id clip"
telegrambot_command_6=""
telegrambot_description_6=""
telegrambot_script_6=""
telegrambot_command_7=""
telegrambot_description_7=""
telegrambot_script_7=""
telegrambot_command_8=""
telegrambot_description_8=""
telegrambot_script_8=""
telegrambot_command_9=""
telegrambot_description_9=""
telegrambot_script_9=""
webui_level="user"
webui_theme="dark"
telegram_attach_snapshot="true"
telegram_attach_video="true"
telegram_caption="%hostname, %datetime"
telegram_channel="[REDACTED]"
telegram_token="[REDACTED]"
motion_send2telegram="true"
@mpmc
Copy link
Author

mpmc commented Feb 20, 2025

Just to keep this issue updated.

firmware-2025-02-20 loaded.

telegram bot now works but the send2telegram clip command results in "Video buffer not found".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant