You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe Your Problem:
I'm trying to create a custom characteristic that shows an array of string.
I'm using the home+ 6 app, which are able to show custom characteristics.
I've created the characteristic based on this issue: #20 (as linked in the README file)
I'm able get the custom characteristic to show, but only if I'm not using the "array" format
I've tried to lookup how saturation in the lightbulb works, however I could only find the definitions.
Code:
import{Formats,Perms,CharacteristicProps}from'homebridge';export=(homebridge)=>{constCharact=homebridge.hap.Characteristic;returnclassEffectCharacteristicextendsCharact{publicstaticreadonlyUUID: string='f8d871fa-a67a-43fe-872d-5250f055d17c';constructor(){constoptions: CharacteristicProps={format: Formats.ARRAY,// UINT16 worksunit: '',validValues: [0,1,2,3,4,5,6,7],// Also tried with strings. Removing this allows the accessory to be shown, but not editedperms: [Perms.PAIRED_READ,Perms.NOTIFY],}super('Effect',EffectCharacteristic.UUID,options);this.value=0;// And with a string down here}};};
Describe Your Problem:
I'm trying to create a custom characteristic that shows an array of string.
I'm using the home+ 6 app, which are able to show custom characteristics.
I've created the characteristic based on this issue: #20 (as linked in the README file)
I'm able get the custom characteristic to show, but only if I'm not using the "array" format
I've tried to lookup how saturation in the lightbulb works, however I could only find the definitions.
Code:
Github repo:
https://github.com/Julius-Bendt/homebridge-hyperion
Logs:
None - no errors thrown
Plugin Config:
Screenshots:
Environment:
The text was updated successfully, but these errors were encountered: