PatchworkBoy / homebridge-edomoticz

Domoticz Homebridge-Plugin
Other
118 stars 43 forks source link

Smart Meter (EDF Teleinfo) not handled #105

Closed rhaamo closed 6 years ago

rhaamo commented 7 years ago

Is it possible to add EDF Teleinfo smart meter support ?

Json from /json.htm?type=devices:

{
"AddjMulti": 1.0,
"AddjMulti2": 1.0,
"AddjValue": 0.0,
"AddjValue2": 0.0,
"BatteryLevel": 255,
"Counter": "102525.579",
"CounterDeliv": "0.000",
"CounterDelivToday": "0.000 kWh",
"CounterToday": "9.850 kWh",
"CustomImage": 0,
"Data": "48811934;53713645;0;0;680;0",
"Description": "",
"Favorite": 1,
"HardwareID": 2,
"HardwareName": "Smart Meter",
"HardwareType": "Teleinfo EDF",
"HardwareTypeVal": 19,
"HaveTimeout": false,
"ID": "1",
"LastUpdate": "2017-08-29 12:54:24",
"Name": "EDF",
"Notifications": "false",
"PlanID": "8",
"PlanIDs": [
8,
9
],
"Protected": false,
"ShowNotifications": true,
"SignalLevel": "-",
"SubType": "Energy",
"SwitchTypeVal": 0,
"Timers": "false",
"Type": "P1 Smart Meter",
"TypeImg": "counter",
"Unit": 1,
"Usage": "680 Watt",
"UsageDeliv": "0 Watt",
"Used": 1,
"XOffset": "1647",
"YOffset": "752",
"idx": "1"
},

Thanks !

PatchworkBoy commented 6 years ago

This should already be supported... it will display as unsupported in Home.app as it uses custom characteristics (Apple doesn’t have an Electric Meter service in the HomeKit spec), but should show fine in Eve.app (for instance).