zoernert / nr-gotify-push

NodeRED Node to send Push Messages via Gotify (self-hosted or cloud)
Apache License 2.0
4 stars 1 forks source link

Issues pushing a message #1

Closed Yonny24 closed 1 year ago

Yonny24 commented 2 years ago

Hi there,

I'm trying out gotify for the first time and trying to push a message from nodered. Token and server (own) are correct as I can push from watchtower.

I am using a function node before the send gotify node. I inject a msg.payload = "test" for example but nothing is pushed through. Please can you point me in the right direction? What node and code do I need to push a message? Many thanks!

msg.payload = "Frontyard movement AI - " return msg; image

zoernert commented 2 years ago

https://github.com/zoernert/nr-gotify-push/issues/2 seems to be related as both problems are on selfhosted nodes. Does your code work if you inject a string directly?