-
Notifications
You must be signed in to change notification settings - Fork 8
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
Unable to get notifications on telegram #132
Comments
@ronzino83, firstly just check that your bot works. You can do this by simply using curl: ~> curl -d chat_id=11xxxx -X POST https://api.telegram.org/bot69xxxxx/sendMessage -d text='Test message' Where |
Thanks for your help. I have tried with the proposed command, and i have received the message on telegram. So the bot is ok...should be something else or in the config or a parsing bug |
I have just seen that "alerts" and "monitor" are at the same indenting level of "frigate", while in my -yml are sublevel of frigate. |
@ronzino83 did you try to enable debug logging with env var named |
@freefd yes i have enabled FN_DEBUG but log does not show anything relevant BY THE WAY, everything now is fixed, eventually it was an indentation error in my .yml file as written before. |
@0x2142, it seems that several root keys in the configuration should become mandatory to avoid such a silent parsing of a malformed YAML. |
Agreed. I have a bit of work to do on improving the config file parsing, but it hasn't been the biggest priority. Perhaps in the meantime I could add a few key items to check for though & make it easier to notify the user when the indentation is incorrect. |
Yeah parsing is always a time consuming coding activity, with few benefits, as once a user resolve a typo, the parsing utility becames null. |
I am having difficulties to bring notifications on telegram.
Log does not report telegram releted issues,and correctly report event on motion detection
I have created a telegram bot,got the id and chat id,but notifications does not come.
My config.yml follows
Do i have to setup something more on the bot ? Always used bots but it is the first time i create one
The text was updated successfully, but these errors were encountered: