attributes - alarms - Identifcation

jaimzj8 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;
jaimzj8 years ago

Dear Anton,

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

-James

Anton Tananaev8 years ago

Yes, it should be.