mgcrea / homebridge-tydom

Homebridge plugin to manage Tydom hardware by Delta Dore from Apple HomeKit.
63 stars 14 forks source link

AC Climate not respond (Interface Naviclim Atlantic - 875311) #148

Open Xinnony opened 6 months ago

Xinnony commented 6 months ago

Salut à tous, déjà @mgcrea félicitation pour ce magnifique plug-in. Je l'utilise depuis 1 ans, aucun problème pour mes 9 volets et 1 thermostat.

J'ai rajouter l'interface Naviclim Atlantic (ref:875311) qui est compatible Delta Dore Tydom. Sur l'application Tydom, aucun soucis !

Avec le homebridge-tydom, j'ai bien mon nouveau thermostat qui remonte, mais il reste en Sans réponse. Si je change les valeurs depuis Homebridge ou même depuis Maison (Homekit), je vois bien les valeurs (ex : 23°C) qui retourne dans les logs de l'Homebridge. Si je change la valeur dans Tydom, j'ai rien qui arrive au logs d'Homebridge.

J'ai l'impression que le problème est entre Homebridge et Tydom. J'ai tenté d'exclure l'accessoire, il a bien disparu, relancé HB puis dé-exclus : Idem

Si quelqu'un a une piste ?

Logs épuré ``` [3/30/2024, 2:04:59 PM] [Homebridge UI] Homebridge restart request received [3/30/2024, 2:04:59 PM] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process [3/30/2024, 2:04:59 PM] [Homebridge UI] Sending SIGTERM to Homebridge [3/30/2024, 2:04:59 PM] Got SIGTERM, shutting down Homebridge... [3/30/2024, 2:04:59 PM] Got SIGTERM, shutting down child bridge process... [3/30/2024, 2:04:59 PM] [homebridge-tydom] Disconnected from Tydom hostname='mediation.tydom.com'" [3/30/2024, 2:04:59 PM] [homebridge-tydom] Child bridge process ended [3/30/2024, 2:04:59 PM] [homebridge-tydom] Process Ended. Code: 0, Signal: null [3/30/2024, 2:05:04 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [3/30/2024, 2:05:09 PM] [HB Supervisor] Restarting Homebridge... [3/30/2024, 2:05:09 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution [3/30/2024, 2:05:09 PM] [HB Supervisor] Started Homebridge v1.7.0 with PID: 7750 [3/30/2024, 2:05:09 PM] Loaded config.json with 2 accessories and 5 platforms. [3/30/2024, 2:05:09 PM] Loaded 0 cached accessories from cachedAccessories. [3/30/2024, 2:05:09 PM] --- [3/30/2024, 2:05:10 PM] Loaded plugin: homebridge-tydom@0.25.0 [3/30/2024, 2:05:10 PM] Registering platform 'homebridge-tydom.Tydom' [3/30/2024, 2:05:10 PM] --- [3/30/2024, 2:05:10 PM] Loading 5 platforms... [3/30/2024, 2:05:10 PM] [Tydom] Initializing Tydom platform... [3/30/2024, 2:05:10 PM] [Tydom] Initializing child bridge [3/30/2024, 2:05:10 PM] Loading 2 accessories... Setup Payload: Enter this code with your HomeKit app on your iOS device to pair with Homebridge: ┌────────────┐ └────────────┘ [3/30/2024, 2:05:10 PM] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge 1084) is running on port 51040. [3/30/2024, 2:05:10 PM] [homebridge-tydom] Launched child bridge with PID 7779 [3/30/2024, 2:05:11 PM] Registering platform 'homebridge-tydom.Tydom' [3/30/2024, 2:05:11 PM] [homebridge-tydom] Loaded homebridge-tydom v0.25.0 child bridge successfully [3/30/2024, 2:05:11 PM] Loaded 11 cached accessories from cachedAccessories.0E73314D782A. [3/30/2024, 2:05:11 PM] [homebridge-tydom] Creating tydom client with username='' and hostname='mediation.tydom.com' [3/30/2024, 2:05:11 PM] Homebridge v1.7.0 (HAP v0.11.1) (homebridge-tydom) is running on port 46611. 2024-03-30T13:05:11.354Z homebridge-tydom Connecting to hostname='mediation.tydom.com'... [3/30/2024, 2:05:11 PM] [homebridge-tydom] Successfully connected to Tydom hostname='mediation.tydom.com' with username='' [3/30/2024, 2:05:11 PM] [homebridge-tydom] Scaning devices from hostname='mediation.tydom.com'... 2024-03-30T13:05:11.956Z homebridge-tydom Syncing state from hostname='mediation.tydom.com'... 2024-03-30T13:05:12.684Z homebridge-tydom Refreshing Tydom controller ... 2024-03-30T13:05:12.744Z homebridge-tydom Configuring refresh interval of 14400s [3/30/2024, 2:05:12 PM] [homebridge-tydom] Found new device with firstUsage='hvac', deviceId=0 and endpointId=0 2024-03-30T13:05:12.745Z homebridge-tydom Unknown hash=hvac:a56730be9e0f000daa48ac39741c82614a903c08d47428e2913938efa581307b with firstUsage="hvac" [3/30/2024, 2:05:12 PM] [homebridge-tydom] Adding new device with firstUsage='hvac', deviceId=0 and endpointId=0 [3/30/2024, 2:05:12 PM] [homebridge-tydom] Found new tydom device named='Chauffage du haut' with deviceId=0 (id=56ae6ca9-f41c-41b4-843b-2fe6854be6ff) 2024-03-30T13:05:12.747Z homebridge-tydom [0] 9 vs 9 [3/30/2024, 2:05:12 PM] [homebridge-tydom] Updating accessory named='Chauffage du haut', deviceId=0 (id=56ae6ca9-f41c-41b4-843b-2fe6854be6ff)" 2024-03-30T13:05:12.749Z homebridge-tydom →GET:CurrentHeatingCoolingState for accessory named='Chauffage du haut' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:12.749Z homebridge-tydom →GET:CurrentTemperature for accessory named='Chauffage du haut' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:12.750Z homebridge-tydom Adding new sub service Switch with name='Mode absence', subtype='hvacMode_absence' and id="'00000049-0000-1000-8000-0026BB765291'" for accessory named='Chauffage du haut' with id='56ae6ca9-f41c-41b4-843b-2fe6854be6ff' [3/30/2024, 2:05:12 PM] [homebridge-tydom] Found new device with firstUsage='shutter', deviceId=8 and endpointId=0 2024-03-30T13:05:12.751Z homebridge-tydom Unknown hash=shutter:4ab0e4681a40d4e62ed3da17b921648849b5b0af428650ae12480e550da519d9 with firstUsage="shutter" [3/30/2024, 2:05:12 PM] [homebridge-tydom] Adding new device with firstUsage='shutter', deviceId=8 and endpointId=0 2024-03-30T13:05:12.770Z homebridge-tydom [1670689449] 14 vs 14 [3/30/2024, 2:05:12 PM] [homebridge-tydom] Found new device with firstUsage='shutter', deviceId=1670689519 and endpointId=1670689519 2024-03-30T13:05:12.772Z homebridge-tydom Unknown hash=shutter:4ab0e4681a40d4e62ed3da17b921648849b5b0af428650ae12480e550da519d9 with firstUsage="shutter" [3/30/2024, 2:05:12 PM] [homebridge-tydom] Adding new device with firstUsage='shutter', deviceId=1670689519 and endpointId=1670689519 2024-03-30T13:05:12.772Z homebridge-tydom [1670689519] 14 vs 14 [3/30/2024, 2:05:12 PM] [homebridge-tydom] Found new device with firstUsage='shutter', deviceId=1670689697 and endpointId=1670689697 2024-03-30T13:05:12.774Z homebridge-tydom Unknown hash=shutter:4ab0e4681a40d4e62ed3da17b921648849b5b0af428650ae12480e550da519d9 with firstUsage="shutter" [3/30/2024, 2:05:12 PM] [homebridge-tydom] Adding new device with firstUsage='shutter', deviceId=1670689697 and endpointId=1670689697 2024-03-30T13:05:12.775Z homebridge-tydom [1670689697] 14 vs 14 [3/30/2024, 2:05:12 PM] [homebridge-tydom] Found new device with firstUsage='', deviceId=1670690842 and endpointId=1670690842 2024-03-30T13:05:12.777Z homebridge-tydom Unknown hash=:ceb0dfcf38d9bf04dad7ac2520e6f377efa34085bcc70442e8afe9a375c072b8 with firstUsage="" [3/30/2024, 2:05:12 PM] [homebridge-tydom] Unsupported firstUsage="" for endpoint with deviceId="1670690842" 2024-03-30T13:05:12.779Z homebridge-tydom { endpoint: { first_usage: '', name: 'équipement non géré', id_endpoint: 1670690842, last_usage: '', id_device: 1670690842, picto: '', anticipation_start: false } } [3/30/2024, 2:05:12 PM] [homebridge-tydom] Found new device with firstUsage='hvac', deviceId=1711649289 and endpointId=1711649289 2024-03-30T13:05:12.780Z homebridge-tydom Unknown hash=hvac:51e5cfbcfb215cbcf9b5ba64c689d50dac920310930c3eaa3b967ae4e14e84e0 with firstUsage="hvac" [3/30/2024, 2:05:12 PM] [homebridge-tydom] Adding new device with firstUsage='hvac', deviceId=1711649289 and endpointId=1711649289 [3/30/2024, 2:05:12 PM] [homebridge-tydom] Found new tydom device named='Clim du bas' with deviceId=1711649289 (id=60697ec9-a4b8-4e13-b001-1bdfb9805389) 2024-03-30T13:05:12.781Z homebridge-tydom [1711649289] 9 vs 9 [3/30/2024, 2:05:12 PM] [homebridge-tydom] Updating accessory named='Clim du bas', deviceId=1711649289 (id=60697ec9-a4b8-4e13-b001-1bdfb9805389)" 2024-03-30T13:05:12.781Z homebridge-tydom →GET:CurrentHeatingCoolingState for accessory named='Clim du bas' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:12.782Z homebridge-tydom →GET:CurrentTemperature for accessory named='Clim du bas' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:12.782Z homebridge-tydom Adding new sub service Switch with name='Mode absence', subtype='hvacMode_absence' and id="'00000049-0000-1000-8000-0026BB765291'" for accessory named='Clim du bas' with id='60697ec9-a4b8-4e13-b001-1bdfb9805389' [3/30/2024, 2:05:13 PM] [homebridge-tydom] Properly loaded 11-accessories 2024-03-30T13:05:13.367Z homebridge-tydom ←GET:CurrentHeatingCoolingState value=0 for accessory named='Chauffage du haut' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:13.367Z homebridge-tydom ←GET:CurrentTemperature value=22.53 for accessory named='Chauffage du haut' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:15.424Z homebridge-tydom →GET:CurrentHeatingCoolingState for accessory named='Chauffage du haut' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:15.429Z homebridge-tydom →GET:TargetHeatingCoolingState for accessory named='Chauffage du haut' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:15.429Z homebridge-tydom →GET:CurrentTemperature for accessory named='Chauffage du haut' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:15.429Z homebridge-tydom →GET:TargetTemperature for accessory named='Chauffage du haut' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:15.431Z homebridge-tydom →GET:On for accessory named='Mode absence' with id='00000049-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:15.451Z homebridge-tydom →GET:CurrentHeatingCoolingState for accessory named='Clim du bas' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:15.451Z homebridge-tydom →GET:TargetHeatingCoolingState for accessory named='Clim du bas' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:15.452Z homebridge-tydom →GET:CurrentTemperature for accessory named='Clim du bas' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:15.452Z homebridge-tydom →GET:TargetTemperature for accessory named='Clim du bas' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:15.453Z homebridge-tydom →GET:On for accessory named='Mode absence' with id='00000049-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:15.551Z homebridge-tydom ←GET:CurrentHeatingCoolingState value=0 for accessory named='Chauffage du haut' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:15.551Z homebridge-tydom ←GET:TargetHeatingCoolingState value=1 for accessory named='Chauffage du haut' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:15.551Z homebridge-tydom ←GET:CurrentTemperature value=22.53 for accessory named='Chauffage du haut' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:15.551Z homebridge-tydom ←GET:TargetTemperature value=21 for accessory named='Chauffage du haut' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:15.551Z homebridge-tydom ←GET:On value=false for accessory named='Mode absence' with id='00000049-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:15.672Z homebridge-tydom ←GET:TargetTemperature value=23 for accessory named='Clim du bas' with id='0000004A-0000-1000-8000-0026BB765291' ... 2024-03-30T13:05:52.034Z homebridge-tydom ←PUT:update for deviceId=0 and endpointId=0, updates: [{"name":"temperature","validity":"upToDate","value":22.55}] 2024-03-30T13:05:52.035Z homebridge-tydom ←UPD:CurrentTemperature value=22.55 for accessory named='Chauffage du haut' with id='0000004A-0000-1000-8000-0026BB765291' ```
Screen Homekit ![IMG_5702](https://github.com/mgcrea/homebridge-tydom/assets/6058403/4ae11d65-07c1-40a4-86d1-cf9c27fc51df)
Screen Tydom ![IMG_5703](https://github.com/mgcrea/homebridge-tydom/assets/6058403/88260cb5-be76-4632-beff-91c6a071b25c)
Xinnony commented 4 months ago

@mgcrea how can I test my modification? https://github.com/Xinnony/homebridge-tydom/commit/a1925fab5c23483b70bf68047844ce18e3d3ba64