homebridge-fibaro-home-center
homebridge-fibaro-home-center copied to clipboard
[Feature] Reporting Consumption for 'power' devices
Hi,
Some devices are reporting energy consumed with the power attribute: power: "38.00",
It would be very interesting to publish this value in homekit thanks to an Elgato Eve HomeKit Characteristics
- Watt (W) | E863F10D-079E-48FF-8F27-9C2605A29F52 | X | | UInt16 | Watt = UInt16(value) / 10. This is what is reported as "Consumption" in the Eve app.
Example
Fibaro Device:
{
id: 66,
name: "Multiprise 5",
roomID: 221,
type: "com.fibaro.binarySwitch",
baseType: "com.fibaro.actor",
enabled: true,
visible: true,
isPlugin: false,
parentId: 43,
remoteGatewayId: 0,
interfaces: [
"deviceGrouping",
"energy",
"power",
"zwave",
"zwaveProtection"
],
properties: {
parameters: [
{
id: 2,
size: 1
}
],
pollingTimeSec: 0,
zwaveCompany: "GreenWave Reality Inc.",
zwaveInfo: "3,3,41",
zwaveVersion: "4.27",
RFProtectionState: "0",
RFProtectionSupport: "0",
categories: "["multimedia"]",
configured: true,
dead: "false",
deadReason: "",
deviceControlType: "20",
deviceGroup: "[]",
deviceGroupMaster: "0",
deviceIcon: "2",
emailNotificationID: "0",
emailNotificationType: "0",
endPointId: "5",
energy: "0.71",
localProtectionState: "0",
localProtectionSupport: "0",
log: "",
logTemp: "",
manufacturer: "",
markAsDead: "true",
model: "",
nodeId: "7",
parametersTemplate: "315",
power: "38.00",
productInfo: "0,153,0,3,0,4,4,27",
protectionExclusiveControl: "0",
protectionExclusiveControlSupport: "false",
protectionState: "0",
protectionTimeout: "0",
protectionTimeoutSupport: "false",
pushNotificationID: "0",
pushNotificationType: "0",
remoteGatewayId: "0",
saveLogs: "true",
serialNumber: "",
showEnergy: "true",
smsNotificationID: "0",
smsNotificationType: "0",
useTemplate: "false",
userDescription: "",
value: "true"
},
actions: {
reconfigure: 0,
reset: 0,
turnOff: 0,
turnOn: 0
},
created: 1663004311,
modified: 1663004311,
sortOrder: 29
}