attributes - alarms - Identifcation

jaimzj9 years ago

Thanks a ton Anton, here is my share of the php code, based on your support (This time It worked amazing).


//json_decode the attributes column
$obj = json_decode($row['attributes']);
//get the status value from the decoded attributes
$status = $obj->{'status'};
//echo or output the alarm status
echo $alarm =  ($status >> 3) & 0x07;
jaimzj9 years ago

Dear Anton,

Is this already implemented in the current live version? Please advice.

-James

Anton Tananaev9 years ago

Yes, it should be.