Any plans for Alerts functionalilty? #9
Replies: 3 comments 8 replies
-
|
Hi, Thanks for discovering it! Yes there are some ideas for an alerts API. Currently there is only one: to check whether all APs are reachable by openSOHO (healthy). The OpenSOHO documentation is catered towards Home Assistant, but I saw n8n (obviously) also supports REST apis I'm currently not really planning to support OpenSOHO making REST callbacks itself since that opens a whole can of worms (dealing with timeouts, 10 authentication methods, SSL, etc) I might have a look later since golang might have some nice wrappers for that. Related and interesting for you maybe is that I might also add MQTT since that nicely integrates with home assistant, and I notice it is also supported by n8n |
Beta Was this translation helpful? Give feedback.
-
|
I know this is probably a simple thing, but I fell at the first hurdle; Generating an initial token. I following the instructions here. I created a user in the Users collection (http://xxx.xxx.xxx.xxx:8090/_/#/collections?collection=_pb_users_auth_) with:
However, I get the following error trying to generate a token: I've tried <id>, <email>, <name> for the "identity" key, but all with the same result. I found this corresponding log entry: Also, I've enabled Batch API in settings (http://xxx.xxx.xxx.xxx:8090/_/#/settings). I'm using OpenSOHO version 0.6.0. What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Firstly, thank you for this project.
I'd like to see some way to generate an alert for events such as device offline or new DHCP lease issued.
This could be as simple as posting to a webhook and then the user can take it from there. For example, the user could then use n8n to send an email alert etc. I think a webhook is the easiest and most versatile method, if alerts are implemented in OpenSOHO.
Obviously, it's easier said than done; your need an event bus, monitoring, triggering, rules engine etc.
Are there any plans for this functionality?
Beta Was this translation helpful? Give feedback.
All reactions