Each user (phone number) is having their own private apikey to allow sending messages only to that phone number (who requested the apikey). So basically you can only spam to yourself.
Okay - managed to get this going and testing things out. I can (nodered) send a test message using the âhttp requestâ node.
Now I ned to get a little more complicated. Iâm trying to work out how to add data from a sensor into the message.
Currently I have this in a template node where {{service}} contains the battery percent:
{ "domain": "notify",
"service": "mobile_app_pixel4",
"data": {
"title": "Plug Tess in",
"message": "You forgot to plug in Tess. The battery is at {{service}}%"
}
}
Any idea how I would make that work with with Whatsapp?
Just worked this out - so the âhttp requestâ node allows you to use mustache-style tags in it. This way, the relevant data can be pulled from sensors etc.
An example of the url in the node would be:
using nodered on HA - i have a function which returns msg to the WhatsApp node.
in the WhatsApp notify node i have this. but i only get This. i dont get info within msg that was sent from function {
âmessageâ: âhttps://api.callmebot.com/whatsapp.php?phone=+mobilenumber&text=This+{{msg}}&apikey=apikeyâ
}
i have alexa node from same function node and it is picking up the msg info.
any help to display msg info in WhatsApp?
New boy here - just set this up. had a bit of trouble with formating but figured it out - THANKS for such a great service. really useful, pretty easy to setup. Look forward to enhancements
No surprise there. Itâs the direction all weather service providers are taking. I wouldnât build my system around the expectation of any service remaining free these days.
I canât see anywhere that says itâs not free. In fact I just set this up last night and itâs still working fine right now⌠where are people seeing that itâs not free?