alexryd / homebridge-shelly-ng

Homebridge plugin for the next generation of Shelly devices
GNU General Public License v3.0
121 stars 44 forks source link

Apple Home app is not responding to Shelly Plus i4 click event #64

Open josefburger opened 1 year ago

josefburger commented 1 year ago

Hi, I have a problem with the Shelly Plus i4 connection. In the HomeBridge console it seems to be connected, in the Home app I can see the switch also. When setting actions (one click, double click, long click) in the Home app, HomeKit does not respond to the change when I press the button on the Shelly Plus i4.

HomeBridge configuration: { "name": "Shelly NG", "mdns": { "enable": true }, "devices": [ { "id": "shellyplusi4-b8d6xxxxxxx", "name": "Shelly Plus i4 - switch test", "exclude": false, "hostname": "192.168.x.x", "password": "xxxx", "switch:0": { "exclude": false, "type": "switch" }, "switch:1": { "exclude": false, "type": "switch" }, "switch:2": { "exclude": false, "type": "switch" }, "switch:3": { "exclude": false, "type": "switch" }, "cover:0": { "exclude": false, "type": "window" } } ], "platform": "ShellyNG" }

Shelly Plus i4 has all inputs set as a momentary button. I haven't set up anything else, except my own WiFi network. I should point out that I don't use the Shelly Cloud App, only the built-in features.

Am I missing something?

josefburger commented 1 year ago

@alexryd : I've tried different combinations and I think I've found a bug. If I set Shelly to be password protected, it doesn't work. However, if I remove the password, everything works as it should.

After that, if I secure with a password, everything works fine. I tested the whole process again - returned Shelly to factory settings, remove homebridge configuration, set the password on device, and once again got the situation that the Home app is not responding to the buttons.

ulte commented 1 year ago

same here with other shelly models and password auth - in fact see https://github.com/alexryd/homebridge-shelly-ng/issues/59 and https://github.com/alexryd/homebridge-shelly-ng/issues/53 as similar issue w/pw auth