Notifications not send and logs empty

ZoRk3 days ago

Hi,
new to Traccar, I've installed it in LXE by Proxmox VE Helper script.
It work great with the client App on my Pixel 7 and A Tkmars TK905 4G.
I've also order a Teltonika FMC920 for my main car.

My problem is I want to receive push notifications/E-mail when the battery of the TK905 go below a certain value.
I've alreeady success receving (***) tests notifications for push notifications and Email notifications (configured the Gmail smtp followong the documentation).

I've created a Computed Attribute 'Low Battery Alarm" with
batteryLevel !=null && batteryLevel < 30 ? "lowPower" : null
It seems to work because when the battery of the TK905 reach 30% a red circle with ! appears beside my device in Traccar main page.

I of course already have set connections for my device to the alarm notification and computed attribute I've created,
but I never receive any Push notification or email for the LowPower alarm. Just the (***) test notifications. are working

Also, what I don't understand is why my /opt/traccar/logs/traccar-server.log file is completly empty. (nano /opt/traccar/conf/traccar.xml)
I can see the other files (ex: /opt/traccar/logs/traccar-server20251130.log) wich are empty too...
I've even try addding <entry key='loger.level'>all</entry> in /opt/traccar/conf/traccar.xml , restarted the LXC many time, but the log files still empty...

I've searched the forum without sucess, this is why I'm asking some help/advices here.
Best regards

Anton Tananaev3 days ago

Is the output attribute "alarm"?

ZoRk3 days ago

You mean in the "Attribute" field in"Computed Attributes" ?

I've set it like that:

traccar.png

traccar2.png

traccar3.png

Anton Tananaev3 days ago

This looks correct to me.

ZoRk2 days ago

Ok, no clues about the fact the notifications dosn't arrive with this alarm ?

I'll try to remove and re install the LXC, maybe that will do the thing...

What about the empty log file ?

Anton Tananaev2 days ago

Before you check notifications, you have to check if you get the attribute in positions.

Are you sure you don't have any other alarm attributes that could conflict?