12.02.2025, 13:28
(12.02.2025, 10:57)Daniel Wrote: You don't need the Push notification app at all. It was only needed in combination with LogicMachine app.
For the LM Home app the LM cloud app does everything. Just use this example to send notifications.
https://kb.logicmachine.net/notification...fications/
Strange.
I now pasted the whole token.
this is the log:
* arg: 1
* bool: true
* arg: 2
* nil
And this is the full script:
push = require('applibs.lmcloud.push')
token = 'ios:dFzA75RNwEAjso1nxxxxxx[very long]'
title = 'Doorbell'
body = 'Go to the door'
res, err = push(token, title, body)
log(res, err)