ztalbot2000 / homebridge-cmd4

CMD4 Plugin for Homebridge - Supports ~All Accessory Types & now all Characteristics too
Apache License 2.0
149 stars 13 forks source link

[Support] How do we define radio buttons? #114

Closed Jacksonbm1 closed 3 years ago

Jacksonbm1 commented 3 years ago

I've looked through the docs and I can't figure out what the device for radio buttons is.

Describe Your Problem: I would like to be able to have a switch where I can select from many different options. However, I can't find the option.

ztalbot2000 commented 3 years ago

Hi,

There are so many options that I can't say I've used them all. My concern is that you are trying to see the button as a GUI element on the Home App as an element to a device that doesn't support them. The Home App only displays characteristics of devices it understands.

That being said, I will have a look. Can you please send me your config.json so I can understand further of what you are trying to do.

Thanks, John Talbot

On Thu, Sep 23, 2021 at 10:09 PM Jacksonbm1 @.***> wrote:

Assigned #114 https://github.com/ztalbot2000/homebridge-cmd4/issues/114 to @ztalbot2000 https://github.com/ztalbot2000.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/ztalbot2000/homebridge-cmd4/issues/114#event-5353355758, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSBCX4CCIOSY7P6CA5SILLUDPMWZANCNFSM5EU6BAVQ .

ztalbot2000 commented 3 years ago

I was right. Button Event is one of those weird characteristics that the format is TLV8. it is essentially proprietary binary data. to use it you would have to set allowTLv8 to true in Cmd4. This directive was specifically put there so that users know what they are doing, because essentially it does not work out of the box. it definitely will not render on HomeKit. This characteristic is used by private apps with their own GUI.

As such. I will close this ticket.