This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

push alarm
#1
Hello

I would like to know if the alert manager is able to send push notifications, in case of an alarm, for example on mobile devices.

Thank you
Reply
#2
No but as long alert is generated by script you can use other push notifications method, like this
https://forum.logicmachine.net/showthread.php?tid=1119
or the telegram integration
https://forum.logicmachine.net/showthrea...1#pid17111
Reply
#3
You can use a resident script (sleep time = 0) to catch all alerts and forward them to any external service:
Code:
if not client then
  function alertcallback(source, text)
    log(source, text)
  end

  client = require('localbus').new()
  client:sethandler('alert', alertcallback)
end

client:step()
Reply
#4
(05.02.2021, 08:32)Daniel. Wrote: No but as long alert is generated by script you can use other push notifications method, like this
https://forum.logicmachine.net/showthread.php?tid=1119
or the telegram integration
https://forum.logicmachine.net/showthrea...1#pid17111

I am trying to use push notifications via the cloud but don't let me register new user
Reply
#5
Did you try to register here?
https://cloud.logicmachine.net/user-mana...auth/login
Reply
#6
(05.02.2021, 09:29)Daniel. Wrote: Did you try to register here?
https://cloud.logicmachine.net/user-mana...auth/login

OK perfect
Reply


Forum Jump: