GithubHelp home page GithubHelp logo

Comments (5)

itavero avatar itavero commented on June 18, 2024

So far the only device I've seen that expose this information as well, are of type switch or light. I'd suggest to make a generic implementation that can be integrated in the two ServiceHandler classes used for these different types, or do you know of a "generic" HomeKit service to which this information belongs?

I reckon you want to reuse the custom characteristics from the Elgato Eve Energy?

from homebridge-z2m.

ratsoid avatar ratsoid commented on June 18, 2024

I can't say if that's what I'm after since I'm not in the Elgato Eve Energy, but I do use the Eve app (now Home+ mostly), and I want the ability to measure the outlet characteristics.

I have seen outlets that do give a lot more info (voltage, watts, total consumption). One example would be TP-Link HS110. I use the power consumption characteristic in Eve/Home+ app to trigger automations.
However, my thought is that homebridges-z2m should add outlets as outlet accessories, for HomeKit consistency. Although zigbee2mqtt does share it as a switch, I think the plugin needs to interpret it as an outlet. Does that make sense? I think the characteristics that I'm after aren't attached to switches but to outlets.

P.S. Just to reiterate, the automations regarding power consumptions can't be done through the Home app since they're not available there, but through other HomeKit management apps

from homebridge-z2m.

itavero avatar itavero commented on June 18, 2024

The characteristics are non-standard and I don't expect any issues when they are added to a light or switch accessory.

I don't know the exact difference in the Home app between a Switch and an Outlet. For my particular use case the Switch service works just fine. I have an IKEA outlet that uses the switch service. I use it to control a "dumb" light and it works exactly right for my use case (I can even select in the Home app that it is a light).

By the way, there is a different feature request about selecting alternative services for certain devices

from homebridge-z2m.

stale avatar stale commented on June 18, 2024

It appears that this issue did not have an update in quite some time. Please check if you can provide any additional information to help resolve this issue. If there isn't any activity in the next two weeks, this issue will be closed automatically. Thank you for your contributions!

from homebridge-z2m.

Leseptiemeciel avatar Leseptiemeciel commented on June 18, 2024

@ratsoid have you found a way to get power reading?

from homebridge-z2m.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.