DanTheMan827 / homebridge-ds18b20

27 stars 10 forks source link

Plugin 'homebridge-ds18b20' tried to register with an incorrect plugin identifier #15

Closed jamesy0ung closed 3 years ago

jamesy0ung commented 3 years ago

Heres the log : `[17/01/2021, 19:25:25] Homebridge is running on port 51297. [17/01/2021, 19:25:29] [Homebridge UI] Homebridge Config UI X v4.36.0 is listening on :: port 8581 [17/01/2021, 19:25:33] [Homebridge UI] Starting terminal session [17/01/2021, 19:28:26] [rpi-camera] Took snapshot at 1280x720 [17/01/2021, 19:28:37] [rpi-camera] Took snapshot at 1280x720 [17/01/2021, 19:28:48] [rpi-camera] Took snapshot at 1280x720 [17/01/2021, 19:29:10] [Homebridge UI] Changes to config.json saved. [17/01/2021, 19:29:29] [Homebridge UI] Changes to config.json saved. [17/01/2021, 19:29:52] [HB Supervisor] Stopping services... [17/01/2021, 19:29:52] Got SIGTERM, shutting down Homebridge... [17/01/2021, 19:29:57] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [17/01/2021, 19:29:57] [Homebridge UI] Terminal session ended. [17/01/2021, 19:30:18] [HB Supervisor] OS: Linux 5.4.79-v7+ arm [17/01/2021, 19:30:18] [HB Supervisor] Node.js v14.15.1 /usr/local/bin/node [17/01/2021, 19:30:18] [HB Supervisor] Homebridge Path: /usr/local/lib/node_modules/homebridge/bin/homebridge [17/01/2021, 19:30:18] [HB Supervisor] UI Path: /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js [17/01/2021, 19:30:18] [HB Supervisor] Starting Homebridge with extra flags: -I [17/01/2021, 19:30:18] [HB Supervisor] Started Homebridge v1.1.6 with PID: 698 [17/01/2021, 19:30:20] Loaded config.json with 1 accessories and 2 platforms. [17/01/2021, 19:30:20] --- [17/01/2021, 19:30:22] Loaded plugin: homebridge-camera-rpi@0.0.6 [17/01/2021, 19:30:22] Registering platform 'homebridge-camera-rpi.rpi-camera' [17/01/2021, 19:30:22] --- [17/01/2021, 19:30:22] Loaded plugin: homebridge-config-ui-x@4.36.0 [17/01/2021, 19:30:22] Registering platform 'homebridge-config-ui-x.config' [17/01/2021, 19:30:22] --- [17/01/2021, 19:30:22] Loaded plugin: homebridge-ds18b20@1.1.2 [17/01/2021, 19:30:22] Plugin 'homebridge-ds18b20' tried to register with an incorrect plugin identifier: 'homebridge-temperature-ds18b20'. Please report this to the developer! [17/01/2021, 19:30:22] Registering accessory 'homebridge-ds18b20.DS18B20' [17/01/2021, 19:30:22] --- [17/01/2021, 19:30:22] Loading 2 platforms... [17/01/2021, 19:30:22] [Config] Initializing config platform... [17/01/2021, 19:30:22] [Config] Running in Service Mode [17/01/2021, 19:30:22] [rpi-camera] Initializing rpi-camera platform... [17/01/2021, 19:30:22] Loading 1 accessories... [17/01/2021, 19:30:22] [Temperature Sensor] Initializing DS18B20 accessory... [17/01/2021, 19:30:22] Pi Camera is running on port 41367. [17/01/2021, 19:30:22] Please add [Pi Camera] manually in Home app. Setup Code: removed Setup Payload: X-HM://00248X7VYF13D Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ *removed* │     
└────────────┘     

[17/01/2021, 19:30:23] Homebridge is running on port 51297. [17/01/2021, 19:30:27] [Homebridge UI] Homebridge Config UI X v4.36.0 is listening on :: port 8581 [17/01/2021, 19:30:33] [Homebridge UI] Starting terminal session [17/01/2021, 19:30:47] [Homebridge UI] Terminal session ended. [17/01/2021, 19:30:48] [Homebridge UI] Starting terminal session`

Here is my config: { "bridge": { "name": "Homebridge 7572", "username": "*removed*", "port": 51297, "pin": "*removed*" }, "accessories": [ { "accessory": "DS18B20", "name": "Temperature Sensor", "device": "28-00000d3d7422", "pollInterval": 5000, "offsetC": 0 } ], "platforms": [ { "name": "Config", "port": 8581, "platform": "config" }, { "platform": "rpi-camera", "cameras": [ { "name": "Pi Camera" } ] } ] }

This is a fresh install.

cyberkul commented 3 years ago

Hi! Installed this plugin today, and get the same issue: Loaded plugin: homebridge-ds18b20@1.1.2 [14/02/2021, 16:05:58] Plugin 'homebridge-ds18b20' tried to register with an incorrect plugin identifier: 'homebridge-temperature-ds18b20'. Please report this to the developer! Do I have to do anything myself to the installed package? installed with: sudo npm install -g homebridge-ds18b20. I wired up two DS18B20 sensors, and I get correct readings in the w1_slave files for both sensors.

DanTheMan827 commented 3 years ago

Published 1.1.3 to NPM to fix this

cyberkul commented 3 years ago

Thanks! I edited the index.js file, and it works now.