This is the standard 0x0B04’s 0x0505 voltage, which can be used correctly. However, Homey currently only supports single-phase/A-phase. If I want to bind the 0x0905 voltage Phase B to my custom capability, is that possible? I’ve tried using a custom capability, and during debugging, it always prompts Error: ‘onNodeInit()’ failed, reason: Error: capability_id_not_available_on_device.
this.registerCapability('measure_voltage', CLUSTER.ELECTRICAL_MEASUREMENT, { get: 'rmsVoltage', report: 'rmsVoltage', reportParser(value) { return value / 100; } });
If I understand you correctly, you want to create a custom capability that retrieves its value from another existing capability?
If that’s the case, it’s definitely possible using the Device Capabilities app. It allows you to link and transform values from one capability to another.
You might find this thread helpful as a reference or guide
You understand incorrectly.
The capability has to exist on the device before you can use it. If you added this capability to the app for already existing devices, you first need to use addCapability().