Web Notification

BerndFfm 5 years ago

Hi !

Can I send a web notification to a demo server ?

Which protocol ?

Which commands ?

I use demo3.traccar.org and I wrote a android app for gps tracking. I have a button 'emergency' and want to show this.

Thanx Bernd

Anton Tananaev 5 years ago

Can I send a web notification to a demo server ?

Demo server supports web notifications, if that's the question.

Which protocol ?

All of them.

Which commands ?

Not sure I understand this part.

BerndFfm 5 years ago

Now I send

http://demo3.traccar.org:5055/?id=504857&lat=50.1315446364084&lon=8.86769462069963&alarm=Notruf

How can I send a web notification ?

Greetings Bernd

Anton Tananaev 5 years ago

You have to use one of the existing alarms (e.g. sos). You can't invent your own ones.

BerndFfm 5 years ago

And how is the url for sos ?

I want to use ist when an rescue person is attacked.

There should be an acoustic alarm in the rescue management.

Greetings Bernd

Anton Tananaev 5 years ago
http://demo3.traccar.org:5055/?id=504857&lat=50.1315446364084&lon=8.86769462069963&alarm=sos
BerndFfm 5 years ago

"sos" is shown in the status of the device, but there is no notification (popup).

Greetings Bernd

Anton Tananaev 5 years ago

Obviously you have to configure notification for your user.

BerndFfm 5 years ago

I added Settings / Notifications

Type : Alarm

Alarm : SOS

Channel : Web

Does not work.

Anton Tananaev 5 years ago

And have you linked it to your device?

BerndFfm 5 years ago

All devices = Yes

Now I can see it in notifications, but no sound.

Greetings Bernd

BerndFfm 5 years ago

A popup is coming for 1 second. For demonstration it is ok.

For real cases its not enough, if a person is in risk of death a very small poup of 1 second is too small.

Thanx for the help !

My app so far :

Search and rescue dog app

Greetings Bernd