Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get battery status? + suggestion #19

Open
alexisml opened this issue Jul 28, 2020 · 1 comment
Open

Get battery status? + suggestion #19

alexisml opened this issue Jul 28, 2020 · 1 comment

Comments

@alexisml
Copy link

  1. First of all a question: is there any way to get the battery status of a device?

  2. Suggestion: I had a hard time figuring out how to set up a termometer/hygrometer/thing. I would suggest adding an example, specifying that you need to set up the 3 sensors individually (repeat the same sid with 3 different classes).

@aburghelea
Copy link
Collaborator

Hey there.

For the first part it greatly depends on the data that the gateway is reporting. If there is the battery status over there , in theory you could. I have some both Xiaomi and Aquaria to play with in the next couple of weeks and will get back to you, if I see something.

For the second part, after you join the device via the join_zigbee service and get the SID you just add something like.

sensors:
  - sid: lumi.158d0003d2d1dd
    friendly_name: Bedroom Temperature
    class: temperature
    restore: true
  - sid: lumi.158d0003d2d1dd
    friendly_name: Bedroom Humidity
    class: humidity
    restore: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants