Sounds like device issue to me.
It's resolved now
I made the result attribute permanent in the attribute section via XML file configuration
I had removed it, now unnecessary notifications are not showing.
Is there some way by which I can make Command results notifications save into Database
All events should be saved by default.
I need to know Engine's status is on or off.
And Command Result attribute only gets shown whenever I trigger the command of engine stop/resume , I need it to stay there .
One idea - use computed attribute to convert it to some other attribute key and the use attributes copying on that new attribute.
okay I'll give it a try
Thanks a lot
Command Result to be converted into some other attribute key ???
Yes.
Anton one thing need to ask
Restore fuel supply: Success!
Cut off the fuel supply: Success!
Already in the state of fuel supply cut off, the command is not running!
Already in the state of fuel supply to resume, the command is not running!
these notifications appear when the Engine Stop / Engine Resume command is sent, then
Should I create any new attribute to store this and use Engine Stop/Resume as an attribute in the ternary operator and store command result to this new attribute !!
Don't know If I'm making any sense...
Hii Anton
Sorry for asking again...
But I'm not able to do so properly which was stated above, It would be great if you could help a bit, please!!
I'm trying to store the result of the Engine Stop/resume Command result in the new Attribute which I created named engine_status.
engine_status
Engine Stop: Cut off Fuel Supply Success? Already ...
I'm not able to do so correctly it's not a correct expression !!
Please provide a screenshot of what computed attribute you tried and what is the result.
https://drive.google.com/file/d/1wjp7JYlfxjIn5QnwhSfDUskzWj2iH7UZ/view?usp=sharing
This attribute was created by me and set some string into it
Computed one I guess it's incorrect
(https://drive.google.com/file/d/1_2YAwbKCedUS5MK_cjHMMWOp4A5DDLRo/view?usp=sharing)
But it's only showing the default value instead..
(https://drive.google.com/file/d/1arhABrJbh40m30H3FX2d0fmIgU4nsCP7/view?usp=sharing)
I'm confused by what you're trying to do here. Why are you not using result attribute, as discussed?
Hii Anton,
I don't know if I had mentioned the Correct Subject for the problem which I'm about to mention.
I had set up devices on Traccar which are working fine, and notifications are also coming on time.
But Engine Stop and Engine Resume notifications
Restore fuel supply: Success!
Cut off the fuel supply: Success!
Already in the state of fuel supply cut off, the command is not running!
Already in the state of fuel supply to resume, the command is not running!
These notifications are coming a lot on devices even though the device engine is already stopped or being resumed.
These notifications should only arrive when Engine Stop, Engine Resume commands are triggered but when no one is sending these commands, then why I'm getting these notifications and they are coming in a very huge amount, in 5 minutes I get like 5-6 times notifications even the engine stop or engine resume commands was never sent ...
Why is this happening I'm not understanding this , especially with Command Results they are getting notified but are getting repeated in a very huge amount?
It would be great if you could help me understand What I'm not doing correctly .
Thanks