by RyanShook · 4y ago · 0 comments
Personally, I think a project like Huginn would have more success if the code was in GoLang (easier to deploy) or Python (more popular language = people more willing to set it up) and used SqlLite for the backend. And if it had SSL/https baked in, out of the box. For comparison purposes, I distinctly remember how much I appreciated that Nextcloud had it baked in. So I ran NC very happily for quite a while and skipped out on Huginn.
Examples of what i do with huginn:
1) twitter watching for peaks in activity in keywords around my home country (this one is hard, football interferes with it)
2) pulling in data from an API and storing it (where i jury rig a grafana dashboard to read from a view over the huginn data)
3) stuff that sends me push notifications on certain events (a bit of a rube goldberg machine, but: homeassistant zigbee device action is to hit a webhook on huginn, that webhook sends a push notification through huginn + alexa notifier event)
4) I have a zigbee panic button outside the house (again, attached to home assistant) in case someone is locked out without a phone and without keys that will then hit a webhook on huginn that will call the other adults of the house with a message
5) keep an eye on the job pages of a few companies i was interested in, filter out for roles with keywords in the title, and email me the details.
6) I'm waiting for certain products to become available, i have huginn watching those pages and sends me an email if it becomes available (if the manufacturer doesn't have a 'let me know when available' function) - this is unfortunately quite custom for each site, but do have a common chain afterwards
7) there's an english language news site that doesn't have rss or any form of notification, so i scrape their headline ticker and send myself push notifications
It's not necessarily as flexible as i'd like - but it gets enough of the job done often enough, for anything else i can feed in webhooks from custom scripts, etc.
If you get used to thinking in huginn, you will also be able to remove a lot of duplicated work and create common chains/funnels for events, that way you'd only need to add in one new agent at the top of a chain and you've already done the rest of the work.
edit: formatting