Z-Wave-Me / O7

5 stars 2 forks source link

Не приходит датчик движения, а только general_porpose #10

Closed fc-arny closed 8 years ago

fc-arny commented 8 years ago
{
   "id":"ZWayVDev_zway_39",
   "source":"z-wave",
   "manufacturerId":271,
   "productTypeId":2048,
   "productId":16385,
   "productName":"Fibar Group",
   "elements":[
      {
         "id":"ZWayVDev_zway_39-0-48-1",
         "deviceType":"sensorBinary",
         "probeType":"general_purpose", // !!!! Это датчик движения !!!!!
         "level":"off",
         "updateTime":1470152213
      },
      {
         "id":"ZWayVDev_zway_39-0-128",
         "deviceType":"sensorMultilevel",
         "probeType":"battery",
         "level":100,
         "updateTime":1470151291
      },
      {
         "id":"ZWayVDev_zway_39-0-156-0-A",
         "deviceType":"sensorBinary",
         "probeType":"alarmSensor_general_purpose",
         "level":"on",
         "updateTime":1470152063
      },
      {
         "id":"ZWayVDev_zway_39-0-49-1",
         "deviceType":"sensorMultilevel",
         "probeType":"temperature",
         "level":29.4,
         "updateTime":1470152015
      },
      {
         "id":"ZWayVDev_zway_39-0-49-3",
         "deviceType":"sensorMultilevel",
         "probeType":"luminosity",
         "level":132,
         "updateTime":1470152067
      }
   ]
}
aivs commented 8 years ago

Нужно постфиксом менять probeType для этого устройства

PoltoS commented 8 years ago

см. #21