dirigera_platform icon indicating copy to clipboard operation
dirigera_platform copied to clipboard

Battery percentage for non IKEA sensors.

Open dreamfalcon opened this issue 1 year ago • 3 comments

Would be possible to add battery percentage for non IKEA sensors? { "id":"xxx", "type":"sensor", "deviceType":"environmentSensor", "createdAt":"2024-08-05T13:24:30.000Z", "isReachable":true, "lastSeen":"2024-08-06T09:08:49.000Z", "attributes":{ "customName":"Sensor rua", "model":"SNZB-02P", "manufacturer":"eWeLink", "firmwareVersion":"2.1.0", "hardwareVersion":"0", "serialNumber":"A", "batteryPercentage":100, "currentTemperature":22.7, "currentRH":75, "permittingJoin":false, "otaStatus":"upToDate", "otaState":"readyToCheck", "otaProgress":0, "otaPolicy":"autoUpdate", "otaScheduleStart":"00:00", "otaScheduleEnd":"00:00" }, "capabilities":{ "canSend":[

     ],
     "canReceive":[
        "customName"
     ]
  }

},

dreamfalcon avatar Aug 06 '24 09:08 dreamfalcon

I could, but SonOff devices have a great add-on. Or is this linked to the IKEA dirigera hub?

sanjoyg avatar Aug 16 '24 14:08 sanjoyg

I could, but SonOff devices have a great add-on. Or is this linked to the IKEA dirigera hub?

Its linked to the IKEA hub. I have a tuya hub with Matter but dosent play well wit the sensor. The dirigera hub seems to be much better with the mesh part.

dreamfalcon avatar Aug 17 '24 09:08 dreamfalcon

The JSON doesnt include deviceSet and remoteLinks mandatory json elements. Does this even appear in the device list?

sanjoyg avatar Aug 19 '24 12:08 sanjoyg

The JSON doesnt include deviceSet and remoteLinks mandatory json elements. Does this even appear in the device list?

image image

dreamfalcon avatar Aug 23 '24 07:08 dreamfalcon

Matter support was just added for more devices and they included the battery state for this sensors.

dreamfalcon avatar Sep 03 '24 10:09 dreamfalcon