Skip to content

Device battery level not displaying correctly #64

Description

@Paul-Reed

@sammachin/node-red-matter-bridge v0.12.3
node-RED v4.0.9
node.js v20.19.1
Google home/Nest

Hi Sam, trying to implement battery status from one of my sensors, and not getting any results.
I'm injecting the following into a Temperature sensor node;

{
  "topic": "sensor/temperature/garden",
  "payload": 26.62,
  "qos": 0,
  "retain": false,
  "_topic": "sensor/temperature/garden",
  "_msgid": "f0b840a3630b2293",
  "battery": {
    "level": 2
  }
}

but regardless if I set the battery.level to 0, 1 or 2, my 'Home' app displays 'Battery Full'.
The temperature displays OK.
In the node properties, I have set the Battery to Replaceable.

I've tried rebooting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions