How to Set Up Notification in WhatsApp

Prime Tracker a month ago

How can I set up notifications via WhatsApp from traccar. Thank you

Anton Tananaev a month ago
Prime Tracker a month ago

OK had already seen the update, but it will be done the configuration via traccar.xml, like notifications from, firebase,telegam,sms, WEB

Anton Tananaev a month ago

Yes.

Prime Tracker a month ago

What is the expected release of the new version, is the preview version stable?

Anton Tananaev a month ago

Don't know when release. Preview should always be assumed as not stable.

Prime Tracker a month ago

Ok thanks

Prime Tracker a month ago

Anton, could give an example of how to set up the token in traccar.xml. thank you

Anton Tananaev a month ago

The configuration should look something like this:

    <entry key='notificator.types'>...,whatsapp</entry>
    <entry key='notificator.whatsapp.token'>APP_TOKEN</entry>
    <entry key='notificator.whatsapp.phoneNumberId'>PHONE_ID</entry>
    <entry key='notificator.whatsapp.templateName'>TEMPLATE_NAME</entry>
    <entry key='notificator.whatsapp.templateLanguage'>LANGUAGE_CODE</entry>
NIKUTRAX a month ago

Could you please clarify:

What exactly needs to be entered for each of these fields?
Where can I obtain the APP_TOKEN and PHONE_ID?
Does this integration require a Meta / WhatsApp Business Cloud API setup?
Is there an official setup guide or step-by-step documentation available?
If possible, I would appreciate a short how-to guide or a link to the relevant documentation.

Thank you very much in advance.

Anton Tananaev a month ago

It requires official WhatsApp API, so the token and other details are from there.

fnolting a month ago

@Prime Tracker I just set this up in facebook developer and I found out that this is a paid service if you're using templates. If not using templates it's free but you can only send messages in a 24h timeframe after the "customer" (your phone) contacted the "business" (virtual phone number generated in the facebook meta app) so unless you don't want to send a daily "keep-alive" text message to your virtual phone number in your meta account or spending money for the whatsapp notifications it's not worth setting this up in my opinion.

@Anton Tananaev correct me if I'm wrong about the charges.

Anton Tananaev a month ago

I believe it is not free. There used to be a free quota, but I think they removed it.

Richard Acosta 7 days ago

What's the alternative to avoid using this function?