Logic Machine Forum
push alarm - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Application Store (https://forum.logicmachine.net/forumdisplay.php?fid=11)
+--- Thread: push alarm (/showthread.php?tid=3148)



push alarm - Frank68 - 05.02.2021

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


RE: push alarm - Daniel. - 05.02.2021

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/showthread.php?tid=2666&pid=17111#pid17111


RE: push alarm - admin - 05.02.2021

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()



RE: push alarm - Frank68 - 05.02.2021

(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/showthread.php?tid=2666&pid=17111#pid17111

I am trying to use push notifications via the cloud but don't let me register new user


RE: push alarm - Daniel. - 05.02.2021

Did you try to register here?
https://cloud.logicmachine.net/user-management/auth/login


RE: push alarm - Frank68 - 09.02.2021

(05.02.2021, 09:29)Daniel. Wrote: Did you try to register here?
https://cloud.logicmachine.net/user-management/auth/login

OK perfect