tonesto7 / homebridge-smartthings

SmartThings Homebridge Plugin
384 stars 767 forks source link

(BUG) {No Device Detect } #399

Open Sisou30 opened 3 years ago

Sisou30 commented 3 years ago

Expected Behavior

Tell us what you think should be happening

from my homebridge plugins installed on jeedom I have 5 accessories. an aqara temperature sensor. an aqara motion sensor. an aqara door sensor. presence detections link to bluetooch as well as a weather plugin.

on homebridge in accessories the 3 sensors are correctly recognized.

it should therefore also go up in the smartthings plugin and I should have 3 device updates and not 0 as currently.

Current Behavior

What happens instead of the expected behavior?

currently in hombridge when launching the smartthings-v2 plugin when searching for devices it finds 0 device a by the security alarm of the smarthings plugin ....

which is not normal unless my device is recognized ...?

So I also created 2 virtual object as a power outlet, the hombridge again, I do not recognize the smarthings plugin ....

which means that in my smartthings app nothing is returned ...

Steps to Reproduce (for bugs)

Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. Include code to reproduce, if relevant

my configuration:

  1. I have a jeedom on which the aqara sensors are connected.
  2. I installed the homebridge plugin on jeeedom which correctly retrieves the accessories and sensors to declare in jeedom.
  3. I installed the smartthings-v2 plugin in homebridge precedently install at jeedom.
  4. a fully configured homebridge detects the sensors not the smartthings plugin.

Context

I followed the whole tutorial exactly and I am convinced that in the end the smartthings plugin and correctly configure me that is my sensor are not recognized even if I do not believe because even the virtual ones are not detected ...

I would really like to be able to configure all my home automation under jeedom and be able to use hombridge and are smartthings plugin to be able to have access to all my home automation from the samsun smartthings application being an adapter of the samsung brand that would be the best.

below the log from homebridge.

1/5/2021, 9:48:02 AM] Loaded config.json with 0 accessories and 4 platforms. [1/5/2021, 9:48:02 AM] --- [1/5/2021, 9:48:03 AM] Loaded plugin: homebridge-jeedom@1.5.0 [1/5/2021, 9:48:04 AM] Registering platform 'homebridge-jeedom.Jeedom' [1/5/2021, 9:48:04 AM] --- [1/5/2021, 9:48:05 AM] Loaded plugin: homebridge-alexa@0.5.22 [1/5/2021, 9:48:05 AM] Registering platform 'homebridge-alexa.Alexa' [1/5/2021, 9:48:05 AM] --- [1/5/2021, 9:48:06 AM] Loaded plugin: homebridge-camera-ffmpeg@3.0.3 [1/5/2021, 9:48:06 AM] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg' [1/5/2021, 9:48:06 AM] --- [1/5/2021, 9:48:06 AM] Loaded plugin: homebridge-config-ui-x@4.36.0 [1/5/2021, 9:48:06 AM] Registering platform 'homebridge-config-ui-x.config' [1/5/2021, 9:48:06 AM] --- [1/5/2021, 9:48:06 AM] Loaded plugin: homebridge-gsh@2.0.1 [1/5/2021, 9:48:06 AM] Registering platform 'homebridge-gsh.google-smarthome' [1/5/2021, 9:48:06 AM] --- [1/5/2021, 9:48:06 AM] The plugin "homebridge-hue" requires Node version of ^14.15.2 which does not satisfy the current Node version of v12.20.0. You may need to upgrade your installation of Node. [1/5/2021, 9:48:07 AM] Loaded plugin: homebridge-hue@0.12.12 [1/5/2021, 9:48:07 AM] Registering platform 'homebridge-hue.Hue' [1/5/2021, 9:48:07 AM] --- [1/5/2021, 9:48:08 AM] Loaded plugin: homebridge-smartthings@2.3.8 [1/5/2021, 9:48:08 AM] Registering platform 'homebridge-smartthings.SmartThings-v2' [1/5/2021, 9:48:08 AM] --- [1/5/2021, 9:48:08 AM] Loading 4 platforms... [1/5/2021, 9:48:08 AM] [Jeedom] Initializing Jeedom platform... [1/5/2021, 9:48:08 AM] [Jeedom] debugLevel:400 [1/5/2021, 9:48:08 AM] [Config] Initializing config platform... [1/5/2021, 9:48:08 AM] [Config] Spawning homebridge-config-ui-x with PID 6449 [1/5/2021, 9:48:08 AM] [Google Smart Home] Initializing google-smarthome platform... [1/5/2021, 9:48:08 AM] [SmartThings-v2] Initializing SmartThings-v2 platform... [1/5/2021, 9:48:08 am] [SmartThings-v2] INFO: Homebridge Version: 2.6 [1/5/2021, 9:48:08 am] [SmartThings-v2] INFO: SmartThings-v2 Plugin Version: 2.3.8 [1/5/2021, 9:48:08 am] [SmartThings-v2] INFO: Checking Package Version for Updates... [1/5/2021, 9:48:08 AM] [Jeedom] Synchronisation Jeedom <> Homebridge... [1/5/2021, 9:48:08 am] [SmartThings-v2] INFO: Fetching SmartThings-v2 Devices. NOTICE: This may take a moment if you have a large number of device data is being loaded! [1/5/2021, 9:48:08 am] [SmartThings-v2] GOOD: Refreshing All Device Data | Source: (First Launch) Setup Payload: X-HM://0023ISYWY5CEE Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 031-45-154 │     
└────────────┘     

[1/5/2021, 9:48:09 AM] Homebridge is running on port 51826. [1/5/2021, 9:48:10 am] [SmartThings-v2] NOTICE: Temperature Unit is Now: (C) [1/5/2021, 9:48:10 am] [SmartThings-v2] WARN: Devices to Remove: (0) [] [1/5/2021, 9:48:10 am] [SmartThings-v2] INFO: Devices to Update: (1) [1/5/2021, 9:48:10 am] [SmartThings-v2] GOOD: Devices to Create: (0) [] [1/5/2021, 9:48:10 am] [SmartThings-v2] ALERT: Total Initialization Time: (2 seconds) [1/5/2021, 9:48:10 am] [SmartThings-v2] NOTICE: Unknown Capabilities: [] [1/5/2021, 9:48:10 am] [SmartThings-v2] INFO: SmartThings DeviceCache Size: (1) [1/5/2021, 9:48:10 am] [SmartThings-v2] INFO: WebServer Initiated... [1/5/2021, 9:48:10 am] [SmartThings-v2] INFO: Sending StartDirect Request to SmartThings | SendToLocalHub: (false) [1/5/2021, 9:48:10 am] [SmartThings-v2] INFO: Direct Connect Active | Listening at 192.168.1.30:8000 [1/5/2021, 9:48:10 AM] [Jeedom] Enumération des scénarios Jeedom... [1/5/2021, 9:48:10 AM] [Jeedom] ┌──── Sisou Home > Infraction Porte dentree (1) [1/5/2021, 9:48:10 AM] [Jeedom] │ Scenario invisible, activé, pas coché pour Homebridge [1/5/2021, 9:48:10 AM] [Jeedom] │ KO : Accessoire Ignoré [1/5/2021, 9:48:10 AM] [Jeedom] └───────── [1/5/2021, 9:48:10 AM] [Jeedom] Enumération des périphériques Jeedom... [1/5/2021, 9:48:10 AM] [Jeedom] ┌──── Divers > Rasperry pi 4b (16) [1/5/2021, 9:48:10 AM] [Jeedom] │ Accessoire visible, activé, pas coché pour Homebridge [1/5/2021, 9:48:10 AM] [Jeedom] │ KO : Accessoire Ignoré [1/5/2021, 9:48:10 AM] [Jeedom] └───────── [1/5/2021, 9:48:10 AM] [Jeedom] ┌──── Entrée > Capteur Porte (23) [1/5/2021, 9:48:10 AM] [Jeedom] │ Nouvel accessoire (Capteur Porte) [1/5/2021, 9:48:10 AM] [Jeedom] │ OK : Ajout de l'accessoire (Capteur Porte) [1/5/2021, 9:48:10 AM] [Jeedom] └───────── [1/5/2021, 9:48:10 AM] [Jeedom] ┌──── Entrée > Capteur Présence (24) [1/5/2021, 9:48:10 AM] [Jeedom] │ Nouvel accessoire (Capteur Présence) [1/5/2021, 9:48:10 AM] [Jeedom] │ OK : Ajout de l'accessoire (Capteur Présence) [1/5/2021, 9:48:10 AM] [Jeedom] └───────── [1/5/2021, 9:48:10 AM] [Jeedom] ┌──── Salon > Capteur Température (25) [1/5/2021, 9:48:10 AM] [Jeedom] │ Nouvel accessoire (Capteur Température) [1/5/2021, 9:48:10 AM] [Jeedom] │ OK : Ajout de l'accessoire (Capteur Température) [1/5/2021, 9:48:10 AM] [Jeedom] └───────── [1/5/2021, 9:48:10 AM] [Jeedom] ┌──── Salon > test pad (18) [1/5/2021, 9:48:10 AM] [Jeedom] │ OK : Mise à jour de l'accessoire (test pad) [1/5/2021, 9:48:10 AM] [Jeedom] └───────── [1/5/2021, 9:48:10 AM] [Jeedom] ┌──── Salon > test sisou (19) [1/5/2021, 9:48:10 AM] [Jeedom] │ OK : Mise à jour de l'accessoire (test sisou ) [1/5/2021, 9:48:10 AM] [Jeedom] └───────── [1/5/2021, 9:48:10 AM] [Jeedom] ┌──── Sisou Home > Sisou (11) [1/5/2021, 9:48:10 AM] [Jeedom] │ Accessoire visible, activé, pas coché pour Homebridge [1/5/2021, 9:48:10 AM] [Jeedom] │ KO : Accessoire Ignoré [1/5/2021, 9:48:10 AM] [Jeedom] └───────── [1/5/2021, 9:48:10 AM] [Jeedom] ┌──── Sisou Home > Tous les téléphones (12) [1/5/2021, 9:48:10 AM] [Jeedom] │ Accessoire visible, activé, pas coché pour Homebridge [1/5/2021, 9:48:10 AM] [Jeedom] │ KO : Accessoire Ignoré [1/5/2021, 9:48:10 AM] [Jeedom] └───────── [1/5/2021, 9:48:10 AM] [Jeedom] ┌──── Terrasse > les salles-du-Gardon (9) [1/5/2021, 9:48:10 AM] [Jeedom] │ Accessoire visible, activé, pas coché pour Homebridge [1/5/2021, 9:48:10 AM] [Jeedom] │ KO : Accessoire Ignoré [1/5/2021, 9:48:10 AM] [Jeedom] └───────── [1/5/2021, 9:48:10 AM] [Jeedom] ┌────RAMASSE-MIETTES───── [1/5/2021, 9:48:10 AM] [Jeedom] │ (Suppression des accessoires qui sont dans le cache mais plus dans jeedom (peut provenir de renommage ou changement de pièce)) [1/5/2021, 9:48:10 AM] [Jeedom] │ ┌──── Trouvé: Temperature [1/5/2021, 9:48:10 AM] [Jeedom] │ │ Supprimé du cache ! [1/5/2021, 9:48:10 AM] [Jeedom] │ └───────── [1/5/2021, 9:48:10 AM] [Jeedom] │ ┌──── Trouvé: Presence [1/5/2021, 9:48:10 AM] [Jeedom] │ │ Supprimé du cache ! [1/5/2021, 9:48:10 AM] [Jeedom] │ └───────── [1/5/2021, 9:48:10 AM] [Jeedom] │ ┌──── Trouvé: porte [1/5/2021, 9:48:10 AM] [Jeedom] │ │ Supprimé du cache ! [1/5/2021, 9:48:10 AM] [Jeedom] │ └───────── [1/5/2021, 9:48:10 AM] [Jeedom] └──────────────────────── [1/5/2021, 9:48:10 AM] [Jeedom] --== Homebridge est démarré et a intégré 5 accessoires ! (Si vous avez un Warning Avahi, ne pas en tenir compte) ==-- [1/5/2021, 9:48:10 AM] [Google Smart Home] Connected (1) - wss://homebridge-gsh.iot.oz.nu [1/5/2021, 9:48:10 am] [SmartThings-v2] INFO: INFO: Your plugin version is up-to-date [1/5/2021, 9:48:10 am] [SmartThings-v2] NOTICE: Sending Plugin Status to SmartThings | UpdateAvailable: false | newVersion: 2.3.8 [1/5/2021, 9:48:12 AM] [Homebridge UI] Homebridge Config UI X v4.36.0 is listening on :: port 33221