homebridge-gpio-device icon indicating copy to clipboard operation
homebridge-gpio-device copied to clipboard

Homebridge crashes with Doorbell

Open InZan3 opened this issue 6 years ago • 12 comments

Thank you for this Plugin :-) When i set "type" to Doorbell Homebridge doesn't restart, if i change "type" to any other input switch (ContactSensor for example) everything is fine

InZan3 avatar Aug 12 '19 19:08 InZan3

Hi,

Do you have some logs in homebridge logs ?

dubocr avatar Aug 14 '19 09:08 dubocr

I have found this in the log file: Aug 14 21:15:58 raspberrypi homebridge[1237]: [8/14/2019, 9:15:58 PM] Error: Unknown 'type' parameter : Doorbell

InZan3 avatar Aug 14 '19 19:08 InZan3

I don’t see doorbell in index file

toshibochan avatar Aug 14 '19 21:08 toshibochan

Oh ok, so it is not possible to input a Doorbell?

InZan3 avatar Aug 15 '19 09:08 InZan3

I don’t know

toshibochan avatar Aug 15 '19 11:08 toshibochan

Hi,

Please try updating the plugin then restart homebridge.

Thks

dubocr avatar Aug 19 '19 15:08 dubocr

Thank you very much i will test it tomorrow :-)

InZan3 avatar Aug 19 '19 22:08 InZan3

Question What is the benefit to set to doorbell instead StatelessProgrammableSwitch?

toshibochan avatar Aug 20 '19 16:08 toshibochan

No idea. May the Doorbell icon is different than the SPS one ? Doorbell also have optional parameter like volume and brightness but not used with this plugin. So both are similar in terms of functionalities.

dubocr avatar Aug 21 '19 06:08 dubocr

The benefit is the icon and other messaging functionalities its like a call if someone has pressed :-) I have testet the update, Homebridge doesn't crash anymore but "Doorbell" "Speakers" and "Microphone" (found it in the index.js) says "not supported" in my Homebridge Gui and my iPhone

InZan3 avatar Aug 21 '19 12:08 InZan3

My to. Doorbell showing not supported.

toshibochan avatar Jul 31 '20 18:07 toshibochan

Hi
I have this configuration and my homeapp said incompatible { "accessory": "GPIODevice", "name": "Push Button", "type": "Doorbell", "pin": 20 }

brianstp avatar Sep 26 '21 18:09 brianstp