asednev / homebridge-plugin-govee

Govee H-series Thermometer Hygrometer plugin for Homebrige.
Apache License 2.0
53 stars 9 forks source link

Could not start scanning, state is unauthorized (not poweredOn) #80

Closed Borsti-Alz closed 1 year ago

Borsti-Alz commented 1 year ago

Hello, I am new in the hole Homebridge topic. I have bought some Govee H5075 and installed the plugin as described in the installing instructions. My operating system is macOs Monterey in Version 12.6.2.

When I start the plugin, the console give me the following message out:

Error: Could not start scanning, state is unauthorized (not poweredOn) at Noble.scan (/usr/local/lib/node_modules/homebridge-plugin-govee/node_modules/govee-bt-client/node_modules/@abandonware/noble/lib/noble.js:107:21) at Object.onceWrapper (node:events:628:26) at Noble.emit (node:events:513:28) at Noble.onStateChange (/usr/local/lib/node_modules/homebridge-plugin-govee/node_modules/govee-bt-client/node_modules/@abandonware/noble/lib/noble.js:87:8) at NobleMac.emit (node:events:513:28)

I hope you can help me! Thanks in advance!

asednev commented 1 year ago

This is due to security in macOS.

https://github.com/asednev/homebridge-plugin-govee/issues/74 has steps to resolve your issue.