![]() |
Push notifications from LM to iOS and Android devices - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10) +--- Thread: Push notifications from LM to iOS and Android devices (/showthread.php?tid=1083) |
RE: Push notifications from LM to iOS and Android devices - mariosp - 22.01.2025 (22.01.2025, 12:35)baggins Wrote:i already tried that not the issue ...(22.01.2025, 12:31)mariosp Wrote: hello guys i made this script about DHW temperature for push notification and doesnt work the id is true. Here is the scriptDo not use quotes: local min_temp = 30 RE: Push notifications from LM to iOS and Android devices - Daniel - 22.01.2025 The quotes are the issue, remove from 30 and 60 otherwise it is a string not a number. RE: Push notifications from LM to iOS and Android devices - mariosp - 22.01.2025 (22.01.2025, 12:47)Daniel Wrote: The quotes are the issue, remove from 30 and 60 otherwise it is a string not a number. Code: local min_temp = 30 RE: Push notifications from LM to iOS and Android devices - admin - 22.01.2025 You are not calling push(token, title, body) anywhere in your code. RE: Push notifications from LM to iOS and Android devices - mariosp - 22.01.2025 (22.01.2025, 12:52)admin Wrote: You are not calling push(token, title, body) anywhere in your code. can you explain more please ? im now learning i appreciate RE: Push notifications from LM to iOS and Android devices - Daniel - 22.01.2025 Code: local min_temp = 30 RE: Push notifications from LM to iOS and Android devices - Daniel - 22.01.2025 PS. Do not share your token as anyone with it can send you notification. |