grover / homebridge-telegram Goto Github PK
View Code? Open in Web Editor NEWHomeKit/Homebridge driven notifications via Telegram
License: MIT License
HomeKit/Homebridge driven notifications via Telegram
License: MIT License
Dear grover,
I've installed the telegram module and configured and I get this logs:
[2017-12-3 14:59:11] Loading 1 platforms...
[2017-12-3 14:59:11] [Telegram] Initializing Telegram platform...
[2017-12-3 14:59:11] [Telegram] TelegramPlatform Plugin Loaded
[2017-12-3 14:59:11] [Telegram] Found bot in config: "BB8"
[2017-12-3 14:59:11] [Telegram] Initializing platform accessory 'BB8'...
[2017-12-3 14:59:11] [Roomba] Initializing Custom-Http accessory...
Load homebridge-telegram.Telegram
[2017-12-3 14:59:11] [homebridge-telegram.Telegram] TelegramPlatform Plugin Loaded
.....
[2017-12-3 14:59:11] Homebridge is running on port 51826.
I am @bb8_case_bot, right? :)
and I suppose everything is working correctly.
But when I add the device to my HomeKit then I can't see the Telegram platform,
how is supposed to be used?
Thanks.
Hello Master!
I added a bot in my homebridge, is the notifications will create each new switch?
(It looks like not ....><....)
Or, I have to let my notifications' name to be the same as my homekit switchs?
Please excuse I am asking such a trivial question! Is possible to use homebridge-telegram and another telegram service like in home assistant at the same time?
I am running Homebridge-telegram successfully for about one year. Now I tried home assistant and configured the same api_key
and chat_id
. And then suddenly, Homebridge-telegram has been sending me error messages with „Something broken. I'm shutting down.“
How can I fix that and use both services with the same bot and chat?
Hello,
I have this configured, got my botfather thing set up, got the chat ID, config is all happy in Homebridge... but when I reboot I get an error in the Log
[Telegram] Initializing Telegram Platform...
[Telegram] TelegramPlatform Plugin Loaded
[Telegram] Found bot in config: "Telegram"
Error: Must specify at least one message for telegram notifications.
etc etc
Hello Grover,
My compliments for the nice feature you have created for use with HomeKit!
I have an issue regarding the incoming messages in the bot. No errors during the initializing of config.json, it shows the username of the created Telegram Bot, by triggering the button the Homebridge log shows that the message is sent, but it does not show up as a message in my private Telegram account. Quiet parameter is False and Message nummer is in the range of the created two messages in the config.json script. When I sent a message to the created Telegram Bot I do receive the details of the message in the Homebridge log so there is an active connection. Do you have any suggestions what I am doing wrong?
Hello, thanks for a nice plugin, using it every day. Is it possible to send messages to more than one chat? I tried multiple bots with same id, but unfortunately it won't work.
Hi, thanks in advance for all the help!
I am having problems getting this to work. It appears in the Home app as 'not certified'. I have received the Error Shutting Down message a couple of times, so I know it is linked to the right Telegram chat, etc. Below is my code:
{
"platform": "Telegram",
"bots": [
{
"name": "Open Rain Bot",
"token": "XXXXXX:XXXXXXXXXXxxXX-X",
"chat": "-XXXXXXXX",
"error": "Something broken. I'm shutting down.",
"notifications": {
"Raining": {
"mode": "HTML",
"randomize": false,
"messages": [
"<b>It's Raining!</b>",
"The window in the TV room is open and it's raining."
]
}
}
}
]
}
Hello, how can I get the chat ID parameter.
With the recent changes one could imagine directing different notifications to different chat channels. Extend the mechanism by providing per message set chat IDs - e.g. multiple chats (#3) for each button, independent of the global chat id.
I used the plugin for a while. Now I made some changes to the notification messages and they are all disappeared.
Even if I define new messages they do not appear wether in the Eve nor Apples Home app.
I must add that I removed the Default room (Standardraum) a while ago.
Fun fact: I can’t add a new room called Standardraum. The app denies that by 'Room already exists'.
So I suspect the Standardraum is just hidden and the telegram plugin messages (scenes) are by default added to that room?
My doorbell produces a static small .jpeg file at http://192.168.xx.xx/snap.jpeg ... would it be possible to embed that image (not a link to the image, but the actual image?)
tip: count the brackets
Redesign the exposed characteristics for 1.0 to make use of regular HomeKit switch services. This enables sceneless rule definitions through the Home app, which doesn't suffer of the 100 rule/scene limit imposed on third party apps.
Hello
Is it possible to send the message not only to one person, but also to other family members?
Thank you very much
Greeting
Not a code issue, but your example config on https://www.npmjs.com/package/homebridge-telegram is buggy and differs from the one shown here on GitHub.
Stefan
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.