Status Indicators

smsoousa8 years ago

Hi, Anton.
I know someone should probably have already discussed this but would like to reinforce and know if you have in mind, or have already designed, the inclusion of status indicators such as:

  • ignition: on / off

  • device locked: yes / no

Mainly about being blocked, because when sending the command, we know that the system executed the command, but we do not know if the device received this command, and through this status, we can know and be sure that the device actually blocked or not.

Albertus8 years ago

Great Idea.

Anton Tananaev8 years ago

I don't understand the request. If your device reports the data, you should already be able to see it.

smsoousa8 years ago

True, the GT06 protocol, for example, says whether or not the device is locked, but some of this information, in moments appear and then disappear, is there any reason?

Anton Tananaev8 years ago

It means that your device doesn't send that information in every message. You can use attributes copying to fix it on the server side.

smsoousa8 years ago

An example would be the blocked attribute, how would you configure it? Including the attribute for each device? In device attributes, there is an option to copy attributes, would that be? And what would I put in value?

smsoousa8 years ago

alt text

smsoousa8 years ago

Would it basically conform to the image?

Anton Tananaev8 years ago

What would conform to the image?

smsoousa8 years ago

The setting for: "You can use attributes copying to fix it on the server side."

Anton Tananaev8 years ago

Are you asking if that's the way you configure it? Yes, that's one of the ways, assuming that you are settings the attribute on the device.

smsoousa8 years ago

I did the setup, but it keeps showing and disappears with the value. Do you have any other way to configure it?

Anton Tananaev8 years ago

There is no other way. You also need to enable attribute copying in the config. Please read documentation.

smsoousa8 years ago

Check the configuration, it was really missing the "blocked" option, among other options, it was like this now:

<entry key='processing.copyAttributes'>power,ignition,battery,blocked,battery level,alarm,status,motion,armed</entry>
<entry key='processing.copyAttributes.enable'>true</entry>	

is correct?

Anton Tananaev8 years ago

Please check everything yourself several times before asking questions. You are abusing my willingness to help.