Ignition status

traccarr3 3 years ago

I am using net protocol device
The status value is actually the Ignition value of the device.
status value 1 Ignition off status value 9 Ignition on
Ignition off = 1 -- Ignition on == 9

but I can't define it in the interface how should I do it

Anton Tananaev 3 years ago

Are you sure it's not a bit mask? You can use computed attributes to get a proper ignition value based on the status.

traccarr3 3 years ago

hello .. i have added as seen in the picture

but i can't see the screen

https://ibb.co/QD7XFhX

Anton Tananaev 3 years ago

Did test work? Have you linked it to the device? Have you waited for new data?

traccarr3 3 years ago

the test works
It returns false if I change "1" to "2"

but I can't see it in the web interface

https://ibb.co/ChD2rMG
https://ibb.co/hycsDcJ

Anton Tananaev 3 years ago

Please answer all of the questions.

traccarr3 3 years ago

Did test work?
Yes
the test works
It returns false if I change "1" to "2"

but I can't see it in the web interface

Have you linked it to the device?
Yes

Have you waited for new data?
Yes

Did I set the configuration settings correctly?
https://ibb.co/QD7XFhX
https://ibb.co/ChD2rMG
https://ibb.co/hycsDcJ

Anton Tananaev 3 years ago

Can you please show a screenshot that you linked the computed attribute.

traccarr3 3 years ago

you are a beautiful man
thanks
i did it and it worked thank you so much

problem

I didn't add where you said

Anton Tananaev 3 years ago

But you said you already linked it before?

traccarr3 3 years ago

I connected as user

I didn't connect in vehicles