ptz0n / homebridge-verisure

 Platform plugin for Homebridge allowing to manage and control Verisure devices.
https://www.npmjs.com/package/homebridge-verisure
MIT License
66 stars 15 forks source link

Not showing up in HomeKit #133

Closed christianstaerkind closed 2 years ago

christianstaerkind commented 2 years ago

Hi,

I have installed the plugin - and can from homebridge see that it is working. However nothing is showing up in HomeKit!

ptz0n commented 2 years ago

Hi Christian & thank you for reaching out. I would suggest that you take a look at your Homebridge logs.

In the latest version, I made it so that the plugin does not crash if there is an error. This is a requirement in order to get the plugin verified by Homebridge. For example, when you have configured invalid credentials, you will se the following in the logs:

[1/4/2022, 9:12:31 PM] Loading 1 platforms...
[1/4/2022, 9:12:31 PM] [Verisure] Initializing verisure platform...
[1/4/2022, 9:12:32 PM] [Verisure] Unable to get installations. Please check configured credentials: Request failed with status code 401
christianstaerkind commented 2 years ago

Hi Erik,

Thank you for your swift reply - I am getting no errors and from what I am reading my credentials should be correct. My lig reads -

`Loading logs using native method... File: /var/lib/homebridge/homebridge.log

:39:16 PM] [Verisure] info Børneværelse 1: Getting current sensor state. [1/4/2022, 10:39:16 PM] [Verisure] info Børneværelse 2: Getting current sensor state. [1/4/2022, 10:39:16 PM] [Verisure] info Køkkendør: Getting current sensor state. [1/4/2022, 10:39:16 PM] [Verisure] info Spisestue Dør: Getting current sensor state. [1/4/2022, 10:39:16 PM] [Verisure] info Terrassedør: Getting current sensor state. [1/4/2022, 10:39:16 PM] [Verisure] info Stuedør Venstre: Getting current sensor state. [1/4/2022, 10:39:16 PM] [Verisure] info Stuedør Højre: Getting current sensor state. [1/4/2022, 10:39:16 PM] [Verisure] info Bryggersdør: Getting current sensor state.`

ptz0n commented 2 years ago

Logs looks good to me. Strange that the accessories won’t show in HomeKit. Which version of Homebridge & Node are you running?

Is this the first time running Homebridge?

ptz0n commented 2 years ago

Did you solve the issue? If you did, please share some info about the problem and solution.

Thanks