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;
Dear Anton,
Is this already implemented in the current live version? Please advice.
-James
Thanks a ton Anton, here is my share of the php code, based on your support (This time It worked amazing).