1

Get messages with sensors values

Тема: Get messages with sensors values

Is there any flag or method to get the sensor values in the messages. I got the messages using messages_load_interval with php but i want get the sensor values to show in a table. Is this possible?


$params = array(
        "itemId"=>$idUnit,
        "timeFrom"=>$startDate,
        "timeTo"=>$endDatel,
        "flags"=>0x0000,
        "flagsMask"=>0xFF00,
        "loadCount"=>0xffffffff
        );


Thanks

2

Get messages with sensors values

Re: Get messages with sensors values

Hi

You can try this:

params={
        "itemId":$idUnit,
        "timeFrom":$startDate,
        "timeTo":$endDatel,
        "flags":0x0001,
        "flagsMask":0xFF01,
        "loadCount":20
    }

BTW there is still a hardware dependency in the sensor values that you can get using this method.

Best regards

Desarrollo e integración de sistemas
System development and integration
Разработка системы и интеграция
www.techdev.cl