Notification of Temperature through Calculated Attribute

Cristian2 months ago

I am working with a teltonika FMC130 + eye sensor to measure temperature. The device is never in motion as it monitors cooling equipment that is static.

Everything is going well, through calculated attribute I have the temperature data that the device reports every 15 minutes.

Captura de pantalla 2025-03-06 a la(s) 5.56.17 p.m..png

Where is the problem: I have a temperature alarm notification that I generate through a calculated attribute, but it only notifies me the first time and then nothing. For the example it should notify when it is greater than 6.

Captura de pantalla 2025-03-06 a la(s) 6.01.40 p.m..png

but only notifies the first time

Captura de pantalla 2025-03-06 a la(s) 6.03.08 p.m..png

No error in Log

Anton Tananaev2 months ago

I think you forgot to provide the computed attribute.

Cristian2 months ago

This is the last frame received, I have made several configurations for the calculated attribute, this is the last one. I work directly on the io10800 data.

priority=0 sat=16 event=0 ignition=false motion=false rssi=5 io200=0 io69=1 io113=100 io10804=45 io10805=62 io10806=62 pdop=0.9 hdop=0.6000000000000001 power=12.334 battery=4.113 io68=0 io10800=692 io10801=2177 io10802=2170 io10824=2990 io10825=3110 io10826=3090 operator=73002 odometer=0 distance=0.0 totalDistance=0.0 temp1=6.92 alarm=temperature

Captura de pantalla 2025-03-06 a la(s) 9.51.57 p.m..png

Anton Tananaev2 months ago

And what are the values for that period of time? I mean raw data values.

Cristian2 months ago

https://we.tl/t-iWRXnA1YsX

Add 2 files one when the equipment has the calculated attribute assigned and the other without attribute assigning but with the equipment model teltonika (in this case does not register anything) version of traccar 6.4

Anton Tananaev2 months ago

If you assign the model, it probably decodes the temperature, so you don't have the raw IO value anymore.

Cristian2 months ago

It does not. Here you can still check that https://github.com/traccar/traccar/issues/5515

Anton Tananaev2 months ago

Are you sure you had the attribute linked to the device at that time?

Cristian2 months ago

is assigning the calculated attribute and the equipment model.

Do I leave both? or is it one or the other?

Captura de pantalla 2025-03-07 a la(s) 11.27.18 a.m..png

Captura de pantalla 2025-03-07 a la(s) 11.29.42 a.m..png

Anton Tananaev2 months ago

I would try without the model, just in case, because you are using the raw value.

Cristian2 months ago

Anton, removing the device model works perfectly. Thank you very much for your help.