You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just wanted to show something I have been working on related to Frigate.
I love Frigate and have been using it for about a year, I however found the messaging possibilities in Home Assistant very limiting and frustrating, mostly because I want the notifications/videos to persist even if my house (or raspberry pi) blows up, and I don't want to open anything up to the internet. Therefore I created my own separate messaging application. I have been running it along side Frigate for a couple of months. This is also easier for my SO as I can just invite anyone I want to the Telegram group.
Basically it listens to MQTT, for "new" events it gets a snapshot and sends to specified telegram group that all my family is invited to. For "end" events it downloads a video, splits it apart if its to big (telegram limits to 50Mb per file) and sends them to a separate video-archive chat that I keep muted.
Telegram then serves as my off-site backup and does not need Frigate or my app to be running. This also does not require anything to be opened up to the internet (something I found very annoying with other messaging solutions I found).
The snapshot and video telegram groups looks something like this (picture below). Basically if I see a snapshot I want to know more about I just go in the video archive chat (which I keep muted) and search for the Id.
The application log could look something like this. Where the second part in the image show that it gets a file that is to big to be send right away and it splits it.
The application is available here: https://github.com/InfriaAB/FrigateSender/
So far I have only added a Telegram integration (as they seem best for media) but it would be easy to add other services as well.
I have not yet been able to make this a true Home assistant plugin as I simply don't know how to do that yet and my attempts so far have failed. Currently I am just running it as an docker image on a separate machine.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I just wanted to show something I have been working on related to Frigate.
I love Frigate and have been using it for about a year, I however found the messaging possibilities in Home Assistant very limiting and frustrating, mostly because I want the notifications/videos to persist even if my house (or raspberry pi) blows up, and I don't want to open anything up to the internet. Therefore I created my own separate messaging application. I have been running it along side Frigate for a couple of months. This is also easier for my SO as I can just invite anyone I want to the Telegram group.
Basically it listens to MQTT, for "new" events it gets a snapshot and sends to specified telegram group that all my family is invited to. For "end" events it downloads a video, splits it apart if its to big (telegram limits to 50Mb per file) and sends them to a separate video-archive chat that I keep muted.
Telegram then serves as my off-site backup and does not need Frigate or my app to be running. This also does not require anything to be opened up to the internet (something I found very annoying with other messaging solutions I found).
The snapshot and video telegram groups looks something like this (picture below). Basically if I see a snapshot I want to know more about I just go in the video archive chat (which I keep muted) and search for the Id.
![bild](https://private-user-images.githubusercontent.com/107324138/253792493-fa216121-6a8f-4e28-9b0e-e62524dea7ab.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxNjUxOTcsIm5iZiI6MTcyMjE2NDg5NywicGF0aCI6Ii8xMDczMjQxMzgvMjUzNzkyNDkzLWZhMjE2MTIxLTZhOGYtNGUyOC05YjBlLWU2MjUyNGRlYTdhYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzI4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyOFQxMTA4MTdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00YmFiN2E1YTkyY2RlYjJiMWQzN2E4ZmJiZjAwNTY0Yjc5ZjljNzI2Nzg4OGY1ODFkMjMwYzc2MjZjNGQ3MzA0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.oem1PeD-A_wLE7vCYNViD6_2tyYNJnLqx2jh58K15ek)
The application log could look something like this. Where the second part in the image show that it gets a file that is to big to be send right away and it splits it.
![bild](https://private-user-images.githubusercontent.com/107324138/253792700-ebe6d47d-fa56-4358-9424-8f32cee3ea00.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxNjUxOTcsIm5iZiI6MTcyMjE2NDg5NywicGF0aCI6Ii8xMDczMjQxMzgvMjUzNzkyNzAwLWViZTZkNDdkLWZhNTYtNDM1OC05NDI0LThmMzJjZWUzZWEwMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzI4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyOFQxMTA4MTdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yZGJhMmFhMjlmMjY4MmI0MDIxY2U0MjgyOTgxYTkxMTYzYWY1MjE0N2JjNTkzNWFlOWI2YWRiNWE2YjFlMTc0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.WdrQGU9QX20A94zPIB6m403wG069A0ncyeoW5pELUZc)
The application is available here: https://github.com/InfriaAB/FrigateSender/
So far I have only added a Telegram integration (as they seem best for media) but it would be easy to add other services as well.
Everything is configurable through a .yaml file.
https://github.com/InfriaAB/FrigateSender/blob/main/frigatesender/src/FrigateSender/frigateSenderConfiguration.yaml
I have not yet been able to make this a true Home assistant plugin as I simply don't know how to do that yet and my attempts so far have failed. Currently I am just running it as an docker image on a separate machine.
Also, thanks for making Frigate, its awesome.
Beta Was this translation helpful? Give feedback.
All reactions