Calculated attributes GTR-128/129

Diego Denis6 years ago

Good, someone could give me a help since I do not have any idea of programming.
I have the HEX that sends my GT128 / 129

GSr, GTR-128,013227006968105,0043, j, 0000,1,180519,213321, E00000.0000, N0000.0000,0,0.00,0,0,0,0,0,0%, 0,0,8, "748, 01,0018,25e6,34,12 "," 748,01,0018,01e3,20,20 "," 748,01,0018,012d, 12,12 "* 00!

In which I know that the number before the "%" is the battery level, how can I make it read?
I know that it is done through attributes that have been silenced but I do not know how to write the syntax.
Can someone explain me an example to load more events like ACC, etc?

Anton Tananaev6 years ago

Attributes that have been silenced? What is that?

Diego Denis6 years ago

sorry Anton, the translator failed me to translate. the idea as I was saying before was to be able to read the data received in the HEX chain as battery level, SOS button, acc, etc. How would the syntax? since I have no idea of ​​programming and reading the file that was commented on in other posts of the forum, I was not able to make it work.

Anton Tananaev6 years ago

You don't need any programming knowledge.

Diego Denis6 years ago

Correct, then as I can tell you to try to read me from the chain sent by the gtr the data "mv" which is the battery in this case as this example.

GTR-128,013227006968105,0080,4,8000,1,200519,225413,E00000.0000,N0000.0000,0,0.00,0,0,0.0,9830mV,0,0,7,",,,,,"*11!

Or when an "SOS" button arrives can it trigger a notification on the web for example? What would be the syntax to enter?

Anton Tananaev6 years ago

You don't need computed attributes, if that's what you want to do. Computed attributes have nothing to do with data decoding. It's only for transforming already decoded data.

Diego Denis6 years ago

So, how can I get that data decoded?

Anton Tananaev6 years ago

If you are sure that your device reports it and it's not decoded, it's probably not implemented yet for this protocol.