Help with Telegram Redbot

I’m using this to set up notifications.

I’ve got it working great for me, sending pictures and notifications. I’ve been trying to have my wife get the notifications and I cannot for the life of me figure it out. I’ve added myself, the bot, and my wife to a group, and nothing ever comes into the group, I get the notifications directly to my chat with the bot.

I’ve added her to allowed chat_id’s but I don’t think that does anything unless I’m using notify.telegram service. I haven’t tested that yet, cause I’d like have the logs that Redbot allows me to setup.

Here’s how I have RedBot setup for the Sender and Reciever Node -

You have to specify the chat ID in your flow. Group chats start with a -

1 Like

I think I just figured that out. Looks like I need to specify in the conversation node. I’ve got the group ID already.

Thanks!

How would I kick off a notification from Redbot from a call service node?

This is not working at all, but according to the documentation, it should be.

Maybe I’ll just start using the notify.telegram service…

I ended up just using a standard call service node and the telegram_bot domain to send the notification to my telegram bot group.

On a separate question, Can someone point me in the right direction for issuing commands to a bot with standard sentences? For example, “Arm the House” instead of /arm.

My flow goes from conversation > text > telegram sender, but you have to format your payload before it will be recognized.

A change node will work for this, correct?

Yes. You just need to format the payload to what chatbot is expecting

1 Like

Has anybody installed Redbot on Node Red running as a Hass add on recently? I get a bunch of dependency errors. Anyone encountered this?

On which platform? If you are trying to install node-red-contrib-chatbot on a raspberry, it won’t work. Some required libs are not available…

Yeah I am trying it on raspberry pi4. I take it there is no way to install the dependencies and get it to work?

That’s what I thought. Some libs or not available for ARM architecture. So, unless you are really brave and knowledgeable, I would go for another contrib node to use telegram on your RPi4.
I personally use node-red-contrib-telegrambot-home in this case. Some features are (AFAIK) not available in this one compare to redbot, but, to send messages on telegram that is sufficient.

Ah, that’s actually the one i am using as well. It’s kind of buggy as for me it stops responding to my callbacks from telegram after about a day or so usage. Was hoping to switch to Redbot to see if the issues would be fixed.

Ah… For the callback function I am only using redbot on an Intel X86 box. Works well.