Comments (5)
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.
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.
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.
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.
@ratsoid have you found a way to get power reading?
from homebridge-z2m.
Related Issues (20)
- [Bug] TypeError: Cannot read properties of undefined (reading 'getCharacteristic') HOT 8
- Ikea SOMRIG Switch activities not reaching Homebridge [Bug] HOT 5
- [Bug] Can not get new devices into HomeKit after upgrading to 1.35 and 1.9.3 HOT 2
- [Bug] plugin crashes HOT 4
- [Device] Vimar roller shutter HOT 1
- [device support] Frient EMIZB-141 HOT 7
- [Bug] The BIG scene in Homekit doesn't work completely. HOT 23
- [Device] Aqara ZNLDP13LM - full brightness instead of previous when switched ON via Home App HOT 6
- [Bug] Tuya button not working in Homekit - Tuya SH-SC07 HOT 13
- [Bug] Specific grouped devices with scenes In z2m do not survive restarts HOT 8
- [Bug] Running the Mac OS - Homebridge Zigbee2MQTT - doesn't really start up when the Mac OS boots up. HOT 30
- [Feature] Connect to multiple MQTT brokers/base topics HOT 3
- [Feature] Expose dimmer switch as Fan HOT 4
- [Bug] `TargetPosition` of `WindowCovering` shouldn't update while in motion HOT 13
- [Bug] Coordinator device: Cannot read properties of null (reading 'vendor') HOT 2
- [Bug] Excluding keys by default doesn't work HOT 9
- [Bug] Humidity sensor on thermostat exposed as separate service HOT 2
- [Bug] Turned off lights don't retain brightness on Homebridge restart HOT 9
- [Bug] Error: Cannot add a Service with the same UUID '00000089-0000-1000-8000-0026BB765291 HOT 3
- [Feature] _TYZB01_hlla45kx child_lock state HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-z2m.