Not working on Ubuntu - no data is found and just stuck in "Start scanning"
theMikelProject opened this issue · 1 comments
theMikelProject commented
Expected Behavior
The data should appear in the accessories tab and in the Home app
Current Behavior
No data is found and I get this in the accessories tab: https://prnt.sc/12svps9
Versions
- homebridge: 1.3.4
- homebridge-mi-hygrothermograph: homebridge-mi-hygrothermograph@3.1.0
- node: v14.16.1
- OS: Ubuntu 20.04.2 LTS 64bit
Configuration
{
"bridge": {
"name": "Homebridge 4DD1",
"username": "0E:C8:08:79:4D:D1",
"port": 51792,
"pin": "xxxxx(deleted)",
"advertiser": "bonjour-hap"
},
"accessories": [
{
"name": "Temperature & Humidity",
"temperatureName": "Temperature",
"humidityName": "Humidity",
"fakeGatoEnabled": false,
"timeout": 15,
"forceDiscovering": true,
"forceDiscoveringDelay": 2500,
"disableBatteryLevel": false,
"lowBattery": 10,
"temperatureOffset": 0,
"humidityOffset": 0,
"accessory": "Hygrotermograph"
}
],
"platforms": [
{
"name": "Config",
"port": 8581,
"platform": "config"
}
],
"disabledPlugins": []
}
Homebridge Log / Command Output
[5/11/2021, 1:18:14 PM] Loading 1 platforms...
[5/11/2021, 1:18:14 PM] [Config] Initializing config platform...
[5/11/2021, 1:18:14 PM] [Config] Running in Service Mode
[5/11/2021, 1:18:14 PM] Loading 1 accessories...
[5/11/2021, 1:18:14 PM] [Temperature & Humidity] Initializing Hygrotermograph accessory...
[5/11/2021, 1:18:14 PM] [Temperature & Humidity] address option is not set. When running multiple sensors this will cause interference. See README for instructions.
[5/11/2021, 1:18:14 PM] [Temperature & Humidity] Initialized accessory
Preparing Advertiser for 'Homebridge 4DD1 B633' using bonjour-hap backend!
Setup Payload:
X-HM://00251HHJ0ILHW
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
Starting to advertise 'Homebridge 4DD1 B633' using bonjour-hap backend!
[5/11/2021, 1:18:14 PM] Homebridge v1.3.4 (Homebridge 4DD1) is running on port 51792.
[5/11/2021, 1:18:14 PM] [Temperature & Humidity] Start scanning.
[5/11/2021, 1:21:22 PM] [Temperature & Humidity] Stop scanning. (poweredOff)
[5/11/2021, 1:21:24 PM] [Temperature & Humidity] Start scanning.
[5/11/2021, 2:31:38 PM] [Homebridge UI] Starting terminal session
[5/11/2021, 2:32:59 PM] [Homebridge UI] Terminal session ended.
[5/11/2021, 2:35:17 PM] [Homebridge UI] Starting terminal session
[5/11/2021, 2:36:59 PM] [Homebridge UI] Terminal session ended.
[5/11/2021, 2:41:42 PM] [Homebridge UI] Starting terminal session
[5/11/2021, 2:42:38 PM] [Homebridge UI] Terminal session ended.
I have tried running as root user as well with no success, perhaps there is something that I am missing?
hannseman commented
Sorry for the slow reply. Stop scanning. (poweredOff)
means that Bluetooth is not running on your system. Make sure that you have a bluetooth compatible system and follow the README on what dependencies you need to install.