How to Set Up Notification in WhatsApp

Prime Tracker 22 days ago

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

Anton Tananaev 21 days ago
Prime Tracker 21 days 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 21 days ago

Yes.

Prime Tracker 21 days ago

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

Anton Tananaev 21 days ago

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

Prime Tracker 21 days ago

Ok thanks

Prime Tracker 20 days ago

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

Anton Tananaev 20 days 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 15 days 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 15 days ago

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

fnolting 14 days 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 14 days ago

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