mgcrea / homebridge-tydom

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

Probleme avec porte de garage #143

Open DarthVaderFR opened 5 months ago

DarthVaderFR commented 5 months ago

Bonjour,

J'essaye de de piloter ma porte de garage avec homekit, via homebridge, l'appareil est bien reconnu, mais je ne récupère pas l'état, et aucune commande ne fonctionne

Porte de garage novoferm, module deltadore installé, tydom home

Pouvez-vous m'aider svp ?

[1/21/2024, 2:21:13 PM] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge 3171) is running on port 51256.
[1/21/2024, 2:21:14 PM] [Tydom] Successfully connected to Tydom hostname='mediation.tydom.com' with username='MAC'
[1/21/2024, 2:21:15 PM] [Tydom] Scaning devices from hostname='mediation.tydom.com'...
2024-01-21T14:21:15.092Z homebridge-tydom Syncing state from hostname='mediation.tydom.com'...
2024-01-21T14:21:15.658Z homebridge-tydom Refreshing Tydom controller ...
2024-01-21T14:21:15.803Z homebridge-tydom Configuring refresh interval of 14400s
[1/21/2024, 2:21:15 PM] [Tydom] Found new device with firstUsage='garage_door', deviceId=IDXXXXXXXXXXX and endpointId=IDXXXXXXXXXXX
[1/21/2024, 2:21:15 PM] [Tydom] Using overriden category=4 from settings for deviceId=IDXXXXXXXXXXX and endpointId=IDXXXXXXXXXXX
[1/21/2024, 2:21:15 PM] [Tydom] Adding new device with firstUsage='garage_door', deviceId=IDXXXXXXXXXXX and endpointId=IDXXXXXXXXXXX
[1/21/2024, 2:21:15 PM] [Tydom] Found new tydom device named='Garage' with deviceId=IDXXXXXXXXXXX (id=ID3XXX)
2024-01-21T14:21:15.810Z homebridge-tydom [IDXXXXXXXXXXX] 4 vs 4
[1/21/2024, 2:21:15 PM] [Tydom] Updating accessory named='Garage', deviceId=IDXXXXXXXXXXX (id=ID3XXX)"
2024-01-21T14:21:15.816Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:15.817Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:15.818Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:15.819Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
[1/21/2024, 2:21:15 PM] [Tydom] Properly loaded 1-accessories
2024-01-21T14:21:38.557Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:38.557Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:38.558Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:38.558Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:43.667Z homebridge-tydom Unkown message from Tydom client:
{"type":"request","uri":"/info","method":"POST","status":null,"body":{"productName":"TYDOM HOME","mac":"MAC","config":"prod","bddEmpty":false,"bddStatus":0,"apiMode":true,"mainVersionSW":"03.14.28","mainVersionHW":"00.00.01","mainId":"6700116","mainReference":"25170010","keyVersionSW":"01.08.04","zigbeeVersionSW":"01.01.00","keyVersionHW":"00.00.01","keyVersionStack":"04.02.06","keyReference":"25170020","zigbeeReference":"25170030","oryxVersion":"2.1.8-10.02","bootReference":"P25170011","bootVersion":"01.00.10","TYDOM.dat":0,"config.json":0,"mom.json":0,"gateway.dat":0,"bdd.json":3,"collect.json":47,"groups.json":1,"mom_api.json":1,"scenario.json":1,"site.json":42,"bdd_mig.json":0,"info_mig.json":0,"info_col.json":1,"absence.json":0,"anticip.json":1,"trigger.json":1,"bioclim.json":0,"data_config.json":0,"urlMediation":"mediation.tydom.com","pltRegistered":true,"updateAvailable":false,"passwordEmpty":false,"maintenance":{"id":"ffffffffffffffffffffffffffffffff"},"geoloc":{"longitude":2333333,"latitude":48866666},"clock":{"clock":"2024-01-21T15:21:43+01:00","source":"ntp","timezone":60,"summerOffset":"ON"},"moments":{"suspend":{"to":0}},"local_claim":{"status":"CLOSE","lastAccess":"2023-12-26T13:48:20Z"},"weather":{"outTempSrc":{"devId":null,"epId":null},"weatherSrc":{"devId":null,"epId":null}},"protocols":[{"protocol":"X3D","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"},{"protocol":"ZIGBEE","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"},{"protocol":"X3DV","available":false},{"protocol":"PltService","available":false},{"protocol":"HTTP","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"}]},"headers":{},"date":"2024-01-21T14:21:43.666Z"}
2024-01-21T14:21:44.043Z homebridge-tydom →SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:44.044Z homebridge-tydom ←SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:21:46.343Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:46.343Z homebridge-tydom ←GET:CurrentDoorState value=2 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:22:07.945Z homebridge-tydom →SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:22:07.946Z homebridge-tydom ←SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:22:31.604Z homebridge-tydom →SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:22:31.605Z homebridge-tydom ←SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:23:16.518Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:23:16.518Z homebridge-tydom ←GET:CurrentDoorState value=0 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:23:22.663Z homebridge-tydom →SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:23:22.664Z homebridge-tydom ←SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:24:09.284Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:09.285Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:10.819Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:10.820Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:19.994Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:19.995Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:19.996Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:19.997Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:21.799Z homebridge-tydom →SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:21.800Z homebridge-tydom ←SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:24:22.065Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:22.066Z homebridge-tydom ←GET:CurrentDoorState value=2 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:26.017Z homebridge-tydom →SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:26.017Z homebridge-tydom ←SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:24:57.543Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:57.544Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:33.268Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:33.270Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:33.271Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:33.271Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:35.275Z homebridge-tydom →SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:35.276Z homebridge-tydom ←SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:25:36.315Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:36.316Z homebridge-tydom ←GET:CurrentDoorState value=2 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:51.367Z homebridge-tydom →SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:51.369Z homebridge-tydom ←SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:25:59.912Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:59.912Z homebridge-tydom ←GET:CurrentDoorState value=3 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:26:08.729Z homebridge-tydom Unkown message from Tydom client:
{"type":"request","uri":"/info","method":"POST","status":null,"body":{"productName":"TYDOM HOME","mac":"[1/21/2024, 2:21:13 PM] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge 3171) is running on port 51256.
[1/21/2024, 2:21:14 PM] [Tydom] Successfully connected to Tydom hostname='mediation.tydom.com' with username='MAC'
[1/21/2024, 2:21:15 PM] [Tydom] Scaning devices from hostname='mediation.tydom.com'...
2024-01-21T14:21:15.092Z homebridge-tydom Syncing state from hostname='mediation.tydom.com'...
2024-01-21T14:21:15.658Z homebridge-tydom Refreshing Tydom controller ...
2024-01-21T14:21:15.803Z homebridge-tydom Configuring refresh interval of 14400s
[1/21/2024, 2:21:15 PM] [Tydom] Found new device with firstUsage='garage_door', deviceId=IDXXXXXXXXXXX and endpointId=IDXXXXXXXXXXX
[1/21/2024, 2:21:15 PM] [Tydom] Using overriden category=4 from settings for deviceId=IDXXXXXXXXXXX and endpointId=IDXXXXXXXXXXX
[1/21/2024, 2:21:15 PM] [Tydom] Adding new device with firstUsage='garage_door', deviceId=IDXXXXXXXXXXX and endpointId=IDXXXXXXXXXXX
[1/21/2024, 2:21:15 PM] [Tydom] Found new tydom device named='Garage' with deviceId=IDXXXXXXXXXXX (id=ID3XXX)
2024-01-21T14:21:15.810Z homebridge-tydom [IDXXXXXXXXXXX] 4 vs 4
[1/21/2024, 2:21:15 PM] [Tydom] Updating accessory named='Garage', deviceId=IDXXXXXXXXXXX (id=ID3XXX)"
2024-01-21T14:21:15.816Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:15.817Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:15.818Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:15.819Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
[1/21/2024, 2:21:15 PM] [Tydom] Properly loaded 1-accessories
2024-01-21T14:21:38.557Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:38.557Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:38.558Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:38.558Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:43.667Z homebridge-tydom Unkown message from Tydom client:
{"type":"request","uri":"/info","method":"POST","status":null,"body":{"productName":"TYDOM HOME","mac":"MAC","config":"prod","bddEmpty":false,"bddStatus":0,"apiMode":true,"mainVersionSW":"03.14.28","mainVersionHW":"00.00.01","mainId":"6700116","mainReference":"25170010","keyVersionSW":"01.08.04","zigbeeVersionSW":"01.01.00","keyVersionHW":"00.00.01","keyVersionStack":"04.02.06","keyReference":"25170020","zigbeeReference":"25170030","oryxVersion":"2.1.8-10.02","bootReference":"P25170011","bootVersion":"01.00.10","TYDOM.dat":0,"config.json":0,"mom.json":0,"gateway.dat":0,"bdd.json":3,"collect.json":47,"groups.json":1,"mom_api.json":1,"scenario.json":1,"site.json":42,"bdd_mig.json":0,"info_mig.json":0,"info_col.json":1,"absence.json":0,"anticip.json":1,"trigger.json":1,"bioclim.json":0,"data_config.json":0,"urlMediation":"mediation.tydom.com","pltRegistered":true,"updateAvailable":false,"passwordEmpty":false,"maintenance":{"id":"ffffffffffffffffffffffffffffffff"},"geoloc":{"longitude":2333333,"latitude":48866666},"clock":{"clock":"2024-01-21T15:21:43+01:00","source":"ntp","timezone":60,"summerOffset":"ON"},"moments":{"suspend":{"to":0}},"local_claim":{"status":"CLOSE","lastAccess":"2023-12-26T13:48:20Z"},"weather":{"outTempSrc":{"devId":null,"epId":null},"weatherSrc":{"devId":null,"epId":null}},"protocols":[{"protocol":"X3D","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"},{"protocol":"ZIGBEE","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"},{"protocol":"X3DV","available":false},{"protocol":"PltService","available":false},{"protocol":"HTTP","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"}]},"headers":{},"date":"2024-01-21T14:21:43.666Z"}
2024-01-21T14:21:44.043Z homebridge-tydom →SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:44.044Z homebridge-tydom ←SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:21:46.343Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:46.343Z homebridge-tydom ←GET:CurrentDoorState value=2 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:22:07.945Z homebridge-tydom →SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:22:07.946Z homebridge-tydom ←SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:22:31.604Z homebridge-tydom →SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:22:31.605Z homebridge-tydom ←SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:23:16.518Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:23:16.518Z homebridge-tydom ←GET:CurrentDoorState value=0 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:23:22.663Z homebridge-tydom →SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:23:22.664Z homebridge-tydom ←SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:24:09.284Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:09.285Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:10.819Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:10.820Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:19.994Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:19.995Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:19.996Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:19.997Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:21.799Z homebridge-tydom →SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:21.800Z homebridge-tydom ←SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:24:22.065Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:22.066Z homebridge-tydom ←GET:CurrentDoorState value=2 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:26.017Z homebridge-tydom →SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:26.017Z homebridge-tydom ←SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:24:57.543Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:57.544Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:33.268Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:33.270Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:33.271Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:33.271Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:35.275Z homebridge-tydom →SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:35.276Z homebridge-tydom ←SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:25:36.315Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:36.316Z homebridge-tydom ←GET:CurrentDoorState value=2 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:51.367Z homebridge-tydom →SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:51.369Z homebridge-tydom ←SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:25:59.912Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:59.912Z homebridge-tydom ←GET:CurrentDoorState value=3 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:26:08.729Z homebridge-tydom Unkown message from Tydom client:
{"type":"request","uri":"/info","method":"POST","status":null,"body":{"productName":"TYDOM HOME","mac":"MAC","config":"prod","bddEmpty":false,"bddStatus":0,"apiMode":true,"mainVersionSW":"03.14.28","mainVersionHW":"00.00.01","mainId":"6700116","mainReference":"25170010","keyVersionSW":"01.08.04","zigbeeVersionSW":"01.01.00","keyVersionHW":"00.00.01","keyVersionStack":"04.02.06","keyReference":"25170020","zigbeeReference":"25170030","oryxVersion":"2.1.8-10.02","bootReference":"P25170011","bootVersion":"01.00.10","TYDOM.dat":0,"config.json":0,"mom.json":0,"gateway.dat":0,"bdd.json":3,"collect.json":48,"groups.json":1,"mom_api.json":1,"scenario.json":1,"site.json":42,"bdd_mig.json":0,"info_mig.json":0,"info_col.json":1,"absence.json":0,"anticip.json":1,"trigger.json":1,"bioclim.json":0,"data_config.json":0,"urlMediation":"mediation.tydom.com","pltRegistered":true,"updateAvailable":false,"passwordEmpty":false,"maintenance":{"id":"ffffffffffffffffffffffffffffffff"},"geoloc":{"longitude":2333333,"latitude":48866666},"clock":{"clock":"2024-01-21T15:26:08+01:00","source":"ntp","timezone":60,"summerOffset":"ON"},"moments":{"suspend":{"to":0}},"local_claim":{"status":"CLOSE","lastAccess":"2023-12-26T13:48:20Z"},"weather":{"outTempSrc":{"devId":null,"epId":null},"weatherSrc":{"devId":null,"epId":null}},"protocols":[{"protocol":"X3D","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"},{"protocol":"ZIGBEE","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"},{"protocol":"X3DV","available":false},{"protocol":"PltService","available":false},{"protocol":"HTTP","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"}]},"headers":{},"date":"2024-01-21T14:26:08.727Z"}
2024-01-21T14:26:10.840Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:26:10.841Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:26:46.095Z homebridge-tydom Unkown message from Tydom client:
{"type":"request","uri":"/info","method":"POST","status":null,"body":{"productName":"TYDOM HOME","mac":"MAC","config":"prod","bddEmpty":false,"bddStatus":0,"apiMode":true,"mainVersionSW":"03.14.28","mainVersionHW":"00.00.01","mainId":"6700116","mainReference":"25170010","keyVersionSW":"01.08.04","zigbeeVersionSW":"01.01.00","keyVersionHW":"00.00.01","keyVersionStack":"04.02.06","keyReference":"25170020","zigbeeReference":"25170030","oryxVersion":"2.1.8-10.02","bootReference":"P25170011","bootVersion":"01.00.10","TYDOM.dat":0,"config.json":0,"mom.json":0,"gateway.dat":0,"bdd.json":3,"collect.json":49,"groups.json":1,"mom_api.json":1,"scenario.json":1,"site.json":42,"bdd_mig.json":0,"info_mig.json":0,"info_col.json":1,"absence.json":0,"anticip.json":1,"trigger.json":1,"bioclim.json":0,"data_config.json":0,"urlMediation":"mediation.tydom.com","pltRegistered":true,"updateAvailable":false,"passwordEmpty":false,"maintenance":{"id":"ffffffffffffffffffffffffffffffff"},"geoloc":{"longitude":2333333,"latitude":48866666},"clock":{"clock":"2024-01-21T15:26:46+01:00","source":"ntp","timezone":60,"summerOffset":"ON"},"moments":{"suspend":{"to":0}},"local_claim":{"status":"CLOSE","lastAccess":"2023-12-26T13:48:20Z"},"weather":{"outTempSrc":{"devId":null,"epId":null},"weatherSrc":{"devId":null,"epId":null}},"protocols":[{"protocol":"X3D","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"},{"protocol":"ZIGBEE","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"},{"protocol":"X3DV","available":false},{"protocol":"PltService","available":false},{"protocol":"HTTP","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"}]},"headers":{},"date":"2024-01-21T14:26:46.094Z"}
2024-01-21T14:26:47.634Z homebridge-tydom ←PUT:update for deviceId=IDXXXXXXXXXXX and endpointId=IDXXXXXXXXXXX, updates:
[{"name":"level","validity":"upToDate","value":100}]
2024-01-21T14:26:57.917Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:26:57.918Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:26:57.919Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:26:57.919Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:06.985Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:06.986Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:11.690Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:11.690Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:11.691Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:11.692Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:14.982Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:14.983Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:16.254Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:16.255Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:16.918Z homebridge-tydom ←PUT:update for deviceId=IDXXXXXXXXXXX and endpointId=IDXXXXXXXXXXX, updates:
[{"name":"level","validity":"upToDate","value":0}]
2024-01-21T14:27:21.314Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:21.315Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:21.316Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:21.316Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:23.080Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:23.081Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:53.029Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:53.029Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:55.334Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:55.335Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.434Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.435Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.436Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.436Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.924Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.924Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.925Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.925Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:39.323Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:39.324Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:39.325Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:39.325Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...","config":"prod","bddEmpty":false,"bddStatus":0,"apiMode":true,"mainVersionSW":"03.14.28","mainVersionHW":"00.00.01","mainId":"6700116","mainReference":"25170010","keyVersionSW":"01.08.04","zigbeeVersionSW":"01.01.00","keyVersionHW":"00.00.01","keyVersionStack":"04.02.06","keyReference":"25170020","zigbeeReference":"25170030","oryxVersion":"2.1.8-10.02","bootReference":"P25170011","bootVersion":"01.00.10","TYDOM.dat":0,"config.json":0,"mom.json":0,"gateway.dat":0,"bdd.json":3,"collect.json":48,"groups.json":1,"mom_api.json":1,"scenario.json":1,"site.json":42,"bdd_mig.json":0,"info_mig.json":0,"info_col.json":1,"absence.json":0,"anticip.json":1,"trigger.json":1,"bioclim.json":0,"data_config.json":0,"urlMediation":"mediation.tydom.com","pltRegistered":true,"updateAvailable":false,"passwordEmpty":false,"maintenance":{"id":"ffffffffffffffffffffffffffffffff"},"geoloc":{"longitude":2333333,"latitude":48866666},"clock":{"clock":"2024-01-21T15:26:08+01:00","source":"ntp","timezone":60,"summerOffset":"ON"},"moments":{"suspend":{"to":0}},"local_claim":{"status":"CLOSE","lastAccess":"2023-12-26T13:48:20Z"},"weather":{"outTempSrc":{"devId":null,"epId":null},"weatherSrc":{"devId":null,"epId":null}},"protocols":[{"protocol":"X3D","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"},{"protocol":"ZIGBEE","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"},{"protocol":"X3DV","available":false},{"protocol":"PltService","available":false},{"protocol":"HTTP","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"}]},"headers":{},"date":"2024-01-21T14:26:08.727Z"}
2024-01-21T14:26:10.840Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:26:10.841Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:26:46.095Z homebridge-tydom Unkown message from Tydom client:
{"type":"request","uri":"/info","method":"POST","status":null,"body":{"productName":"TYDOM HOME","mac":"[1/21/2024, 2:21:13 PM] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge 3171) is running on port 51256.
[1/21/2024, 2:21:14 PM] [Tydom] Successfully connected to Tydom hostname='mediation.tydom.com' with username='MAC'
[1/21/2024, 2:21:15 PM] [Tydom] Scaning devices from hostname='mediation.tydom.com'...
2024-01-21T14:21:15.092Z homebridge-tydom Syncing state from hostname='mediation.tydom.com'...
2024-01-21T14:21:15.658Z homebridge-tydom Refreshing Tydom controller ...
2024-01-21T14:21:15.803Z homebridge-tydom Configuring refresh interval of 14400s
[1/21/2024, 2:21:15 PM] [Tydom] Found new device with firstUsage='garage_door', deviceId=IDXXXXXXXXXXX and endpointId=IDXXXXXXXXXXX
[1/21/2024, 2:21:15 PM] [Tydom] Using overriden category=4 from settings for deviceId=IDXXXXXXXXXXX and endpointId=IDXXXXXXXXXXX
[1/21/2024, 2:21:15 PM] [Tydom] Adding new device with firstUsage='garage_door', deviceId=IDXXXXXXXXXXX and endpointId=IDXXXXXXXXXXX
[1/21/2024, 2:21:15 PM] [Tydom] Found new tydom device named='Garage' with deviceId=IDXXXXXXXXXXX (id=ID3XXX)
2024-01-21T14:21:15.810Z homebridge-tydom [IDXXXXXXXXXXX] 4 vs 4
[1/21/2024, 2:21:15 PM] [Tydom] Updating accessory named='Garage', deviceId=IDXXXXXXXXXXX (id=ID3XXX)"
2024-01-21T14:21:15.816Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:15.817Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:15.818Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:15.819Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
[1/21/2024, 2:21:15 PM] [Tydom] Properly loaded 1-accessories
2024-01-21T14:21:38.557Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:38.557Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:38.558Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:38.558Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:43.667Z homebridge-tydom Unkown message from Tydom client:
{"type":"request","uri":"/info","method":"POST","status":null,"body":{"productName":"TYDOM HOME","mac":"MAC","config":"prod","bddEmpty":false,"bddStatus":0,"apiMode":true,"mainVersionSW":"03.14.28","mainVersionHW":"00.00.01","mainId":"6700116","mainReference":"25170010","keyVersionSW":"01.08.04","zigbeeVersionSW":"01.01.00","keyVersionHW":"00.00.01","keyVersionStack":"04.02.06","keyReference":"25170020","zigbeeReference":"25170030","oryxVersion":"2.1.8-10.02","bootReference":"P25170011","bootVersion":"01.00.10","TYDOM.dat":0,"config.json":0,"mom.json":0,"gateway.dat":0,"bdd.json":3,"collect.json":47,"groups.json":1,"mom_api.json":1,"scenario.json":1,"site.json":42,"bdd_mig.json":0,"info_mig.json":0,"info_col.json":1,"absence.json":0,"anticip.json":1,"trigger.json":1,"bioclim.json":0,"data_config.json":0,"urlMediation":"mediation.tydom.com","pltRegistered":true,"updateAvailable":false,"passwordEmpty":false,"maintenance":{"id":"ffffffffffffffffffffffffffffffff"},"geoloc":{"longitude":2333333,"latitude":48866666},"clock":{"clock":"2024-01-21T15:21:43+01:00","source":"ntp","timezone":60,"summerOffset":"ON"},"moments":{"suspend":{"to":0}},"local_claim":{"status":"CLOSE","lastAccess":"2023-12-26T13:48:20Z"},"weather":{"outTempSrc":{"devId":null,"epId":null},"weatherSrc":{"devId":null,"epId":null}},"protocols":[{"protocol":"X3D","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"},{"protocol":"ZIGBEE","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"},{"protocol":"X3DV","available":false},{"protocol":"PltService","available":false},{"protocol":"HTTP","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"}]},"headers":{},"date":"2024-01-21T14:21:43.666Z"}
2024-01-21T14:21:44.043Z homebridge-tydom →SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:44.044Z homebridge-tydom ←SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:21:46.343Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:21:46.343Z homebridge-tydom ←GET:CurrentDoorState value=2 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:22:07.945Z homebridge-tydom →SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:22:07.946Z homebridge-tydom ←SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:22:31.604Z homebridge-tydom →SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:22:31.605Z homebridge-tydom ←SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:23:16.518Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:23:16.518Z homebridge-tydom ←GET:CurrentDoorState value=0 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:23:22.663Z homebridge-tydom →SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:23:22.664Z homebridge-tydom ←SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:24:09.284Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:09.285Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:10.819Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:10.820Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:19.994Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:19.995Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:19.996Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:19.997Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:21.799Z homebridge-tydom →SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:21.800Z homebridge-tydom ←SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:24:22.065Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:22.066Z homebridge-tydom ←GET:CurrentDoorState value=2 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:26.017Z homebridge-tydom →SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:26.017Z homebridge-tydom ←SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:24:57.543Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:24:57.544Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:33.268Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:33.270Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:33.271Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:33.271Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:35.275Z homebridge-tydom →SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:35.276Z homebridge-tydom ←SET:TargetDoorState value=0 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:25:36.315Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:36.316Z homebridge-tydom ←GET:CurrentDoorState value=2 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:51.367Z homebridge-tydom →SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:51.369Z homebridge-tydom ←SET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX'
2024-01-21T14:25:59.912Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:25:59.912Z homebridge-tydom ←GET:CurrentDoorState value=3 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:26:08.729Z homebridge-tydom Unkown message from Tydom client:
{"type":"request","uri":"/info","method":"POST","status":null,"body":{"productName":"TYDOM HOME","mac":"MAC","config":"prod","bddEmpty":false,"bddStatus":0,"apiMode":true,"mainVersionSW":"03.14.28","mainVersionHW":"00.00.01","mainId":"6700116","mainReference":"25170010","keyVersionSW":"01.08.04","zigbeeVersionSW":"01.01.00","keyVersionHW":"00.00.01","keyVersionStack":"04.02.06","keyReference":"25170020","zigbeeReference":"25170030","oryxVersion":"2.1.8-10.02","bootReference":"P25170011","bootVersion":"01.00.10","TYDOM.dat":0,"config.json":0,"mom.json":0,"gateway.dat":0,"bdd.json":3,"collect.json":48,"groups.json":1,"mom_api.json":1,"scenario.json":1,"site.json":42,"bdd_mig.json":0,"info_mig.json":0,"info_col.json":1,"absence.json":0,"anticip.json":1,"trigger.json":1,"bioclim.json":0,"data_config.json":0,"urlMediation":"mediation.tydom.com","pltRegistered":true,"updateAvailable":false,"passwordEmpty":false,"maintenance":{"id":"ffffffffffffffffffffffffffffffff"},"geoloc":{"longitude":2333333,"latitude":48866666},"clock":{"clock":"2024-01-21T15:26:08+01:00","source":"ntp","timezone":60,"summerOffset":"ON"},"moments":{"suspend":{"to":0}},"local_claim":{"status":"CLOSE","lastAccess":"2023-12-26T13:48:20Z"},"weather":{"outTempSrc":{"devId":null,"epId":null},"weatherSrc":{"devId":null,"epId":null}},"protocols":[{"protocol":"X3D","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"},{"protocol":"ZIGBEE","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"},{"protocol":"X3DV","available":false},{"protocol":"PltService","available":false},{"protocol":"HTTP","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"}]},"headers":{},"date":"2024-01-21T14:26:08.727Z"}
2024-01-21T14:26:10.840Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:26:10.841Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:26:46.095Z homebridge-tydom Unkown message from Tydom client:
{"type":"request","uri":"/info","method":"POST","status":null,"body":{"productName":"TYDOM HOME","mac":"MAC","config":"prod","bddEmpty":false,"bddStatus":0,"apiMode":true,"mainVersionSW":"03.14.28","mainVersionHW":"00.00.01","mainId":"6700116","mainReference":"25170010","keyVersionSW":"01.08.04","zigbeeVersionSW":"01.01.00","keyVersionHW":"00.00.01","keyVersionStack":"04.02.06","keyReference":"25170020","zigbeeReference":"25170030","oryxVersion":"2.1.8-10.02","bootReference":"P25170011","bootVersion":"01.00.10","TYDOM.dat":0,"config.json":0,"mom.json":0,"gateway.dat":0,"bdd.json":3,"collect.json":49,"groups.json":1,"mom_api.json":1,"scenario.json":1,"site.json":42,"bdd_mig.json":0,"info_mig.json":0,"info_col.json":1,"absence.json":0,"anticip.json":1,"trigger.json":1,"bioclim.json":0,"data_config.json":0,"urlMediation":"mediation.tydom.com","pltRegistered":true,"updateAvailable":false,"passwordEmpty":false,"maintenance":{"id":"ffffffffffffffffffffffffffffffff"},"geoloc":{"longitude":2333333,"latitude":48866666},"clock":{"clock":"2024-01-21T15:26:46+01:00","source":"ntp","timezone":60,"summerOffset":"ON"},"moments":{"suspend":{"to":0}},"local_claim":{"status":"CLOSE","lastAccess":"2023-12-26T13:48:20Z"},"weather":{"outTempSrc":{"devId":null,"epId":null},"weatherSrc":{"devId":null,"epId":null}},"protocols":[{"protocol":"X3D","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"},{"protocol":"ZIGBEE","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"},{"protocol":"X3DV","available":false},{"protocol":"PltService","available":false},{"protocol":"HTTP","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"}]},"headers":{},"date":"2024-01-21T14:26:46.094Z"}
2024-01-21T14:26:47.634Z homebridge-tydom ←PUT:update for deviceId=IDXXXXXXXXXXX and endpointId=IDXXXXXXXXXXX, updates:
[{"name":"level","validity":"upToDate","value":100}]
2024-01-21T14:26:57.917Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:26:57.918Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:26:57.919Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:26:57.919Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:06.985Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:06.986Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:11.690Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:11.690Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:11.691Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:11.692Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:14.982Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:14.983Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:16.254Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:16.255Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:16.918Z homebridge-tydom ←PUT:update for deviceId=IDXXXXXXXXXXX and endpointId=IDXXXXXXXXXXX, updates:
[{"name":"level","validity":"upToDate","value":0}]
2024-01-21T14:27:21.314Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:21.315Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:21.316Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:21.316Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:23.080Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:23.081Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:53.029Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:53.029Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:55.334Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:55.335Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.434Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.435Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.436Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.436Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.924Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.924Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.925Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.925Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:39.323Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:39.324Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:39.325Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:39.325Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...","config":"prod","bddEmpty":false,"bddStatus":0,"apiMode":true,"mainVersionSW":"03.14.28","mainVersionHW":"00.00.01","mainId":"6700116","mainReference":"25170010","keyVersionSW":"01.08.04","zigbeeVersionSW":"01.01.00","keyVersionHW":"00.00.01","keyVersionStack":"04.02.06","keyReference":"25170020","zigbeeReference":"25170030","oryxVersion":"2.1.8-10.02","bootReference":"P25170011","bootVersion":"01.00.10","TYDOM.dat":0,"config.json":0,"mom.json":0,"gateway.dat":0,"bdd.json":3,"collect.json":49,"groups.json":1,"mom_api.json":1,"scenario.json":1,"site.json":42,"bdd_mig.json":0,"info_mig.json":0,"info_col.json":1,"absence.json":0,"anticip.json":1,"trigger.json":1,"bioclim.json":0,"data_config.json":0,"urlMediation":"mediation.tydom.com","pltRegistered":true,"updateAvailable":false,"passwordEmpty":false,"maintenance":{"id":"ffffffffffffffffffffffffffffffff"},"geoloc":{"longitude":2333333,"latitude":48866666},"clock":{"clock":"2024-01-21T15:26:46+01:00","source":"ntp","timezone":60,"summerOffset":"ON"},"moments":{"suspend":{"to":0}},"local_claim":{"status":"CLOSE","lastAccess":"2023-12-26T13:48:20Z"},"weather":{"outTempSrc":{"devId":null,"epId":null},"weatherSrc":{"devId":null,"epId":null}},"protocols":[{"protocol":"X3D","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"},{"protocol":"ZIGBEE","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"},{"protocol":"X3DV","available":false},{"protocol":"PltService","available":false},{"protocol":"HTTP","available":true,"installed":true,"ready":true,"status":"running","installStatus":"idle"}]},"headers":{},"date":"2024-01-21T14:26:46.094Z"}
2024-01-21T14:26:47.634Z homebridge-tydom ←PUT:update for deviceId=IDXXXXXXXXXXX and endpointId=IDXXXXXXXXXXX, updates:
[{"name":"level","validity":"upToDate","value":100}]
2024-01-21T14:26:57.917Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:26:57.918Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:26:57.919Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:26:57.919Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:06.985Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:06.986Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:11.690Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:11.690Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:11.691Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:11.692Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:14.982Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:14.983Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:16.254Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:16.255Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:16.918Z homebridge-tydom ←PUT:update for deviceId=IDXXXXXXXXXXX and endpointId=IDXXXXXXXXXXX, updates:
[{"name":"level","validity":"upToDate","value":0}]
2024-01-21T14:27:21.314Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:21.315Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:21.316Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:21.316Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:23.080Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:23.081Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:53.029Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:53.029Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:55.334Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:27:55.335Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.434Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.435Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.436Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.436Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.924Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.924Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.925Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:35.925Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:39.323Z homebridge-tydom →GET:CurrentDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:39.324Z homebridge-tydom ←GET:CurrentDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:39.325Z homebridge-tydom →GET:TargetDoorState for accessory named='Garage' with id='ID2XXX' ...
2024-01-21T14:29:39.325Z homebridge-tydom ←GET:TargetDoorState value=1 for accessory named='Garage' with id='ID2XXX' ...

Dumps { "hostname": "mediation.tydom.com", "username": "MAC", "password": "PWD, "debug": true, "platform": "Tydom", "settings": { "IDXXXXXXXXXXX": { "category": 4 } } }

Versions

Merci

aure-olivier commented 5 months ago

Hello,

J'ai le même soucis pour faire fonctionner mes deux portes de garage Novoferm Novomatic ES 423, équipée de sa "carte électronique Delta Dore pour Module Tydom NFF13694" avec mon Tydom 2.0.

Depuis l'application Tydom, aucun soucis, les commandes ouvertures/fermetures fonctionnent bien. Depuis Homebridge, je vois biens les 2 équipements, mais impossible de faire fonctionner ouverture et/ou fermeture.

C'est très étonnant ...

J'ai même supprimé les 2 portes pour les ré-associer de nouveaux, même soucis.

StephanH27 commented 5 months ago

Bonjour, De quel module DeltaDore s'agit-il ? un Tyxia 6410 ? en mode impulsion ? Avez vous essayé des paramètres de délai : https://github.com/mgcrea/homebridge-tydom#garagedooropener

DarthVaderFR commented 5 months ago

bonsoir,

voici le module qui a été pluggé dans ma porte de garage IMG_8410

non je n'ai pas essayé les paramètres de délai

aure-olivier commented 5 months ago

Comme spécifié par @DarthVaderFR , le module n'est pas un TYXIA mais une carte additionnelle officielle de DeltaDore pour domotiser le moteur Novomatic ES 423. La carte se connecte en USB, elle est dispo par exemple ici: https://www.aidegar.fr/telecommandes-novoferm/684-carte-electronique-delta-dore.html

La documentation d'association: https://www.novoferm.fr/fileadmin/novoferm_fr/Dateien/PHOTOS/Habitat/Notices_de_pose/FT751_117A_deltadore.pdf

Je vais regarder demain en ajoutant le delay, mais je pense que c'est l'action qui n'est pas bonne.

J'ai vu sur des forums de HomeAssistant que le client Tydom envoi TOGGLE comme action, et il faudrait plutôt que ce soit du ON/OFF.

Bref je vais investiguer...

StephanH27 commented 5 months ago

Désolé, je ne connais pas du tout …

DarthVaderFR commented 4 months ago

Comme spécifié par @DarthVaderFR , le module n'est pas un TYXIA mais une carte additionnelle officielle de DeltaDore pour domotiser le moteur Novomatic ES 423. La carte se connecte en USB, elle est dispo par exemple ici: https://www.aidegar.fr/telecommandes-novoferm/684-carte-electronique-delta-dore.html

La documentation d'association: https://www.novoferm.fr/fileadmin/novoferm_fr/Dateien/PHOTOS/Habitat/Notices_de_pose/FT751_117A_deltadore.pdf

Je vais regarder demain en ajoutant le delay, mais je pense que c'est l'action qui n'est pas bonne.

J'ai vu sur des forums de HomeAssistant que le client Tydom envoi TOGGLE comme action, et il faudrait plutôt que ce soit du ON/OFF.

Bref je vais investiguer...

Bonsoir,

Vous avez pu trouver quelque chose ? Car de mon côté, rien du tout...

aure-olivier commented 4 months ago

Hello,

J'ai pris le temps de regarder la librairie Node-Tydom-Client, et de jouer avec un petit script simple. Il se trouve que nos portes de Garage Novoferm Novomatic 423 supportent les commandes ON / OFF et non pas TOGGLE (qui est la valeur par défaut utilisé dans homebridge-tydom).

process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';

const {createClient} = require('./lib/client');

const username = 'XXXXXX';
const password = 'XXXXXX';
const hostname = 'mediation.tydom.com';

const client = createClient({username, password, hostname});

/**
 * DeviceId Porte de Garage
 */
const GARAGE_GAUCHE="1706803404";

(async () => {
  console.log(`Connecting to "${hostname}"...`);
  const socket = await client.connect();
  // Get Tydom info
  const info = await client.get('/info');
  console.dir({info});

  setTimeout(async () => {
    console.log("Sending command levelCmd=ON to device...");
    // Open Garage Door Novoferm 423
    await client.put(`/devices/${GARAGE_GAUCHE}/endpoints/${GARAGE_GAUCHE}/data`, [
      {
        name: 'levelCmd',
        value: 'ON'
      }
    ]);
    console.log("Done");
  }, 5000);

  // Listen for external messages
  client.on('message', (message) => {
    console.log(JSON.stringify(message, null, '\t'));
  });
})();

Et pour fermer la porte, de la même façon il faut envoyer

    // Open Garage Door Novoferm 423
    await client.put(`/devices/${GARAGE_GAUCHE}/endpoints/${GARAGE_GAUCHE}/data`, [
      {
        name: 'levelCmd',
        value: 'OFF'
      }
    ]);

La commande TOGGLE ne provoque aucune action quand on l'envoi, elle n'est clairement pas supporté pas ces portes de garage :(

@mgcrea , penses-tu que c'est possible d'intégrer quelque chose de particulier pour ces portes de garage ?

Pour info, j'ai récupéré ma config via https://github.com/mgcrea/node-tydom-client

node ./lib/cli/tydom.js request /configs/file /devices/data /devices/meta /devices/cmeta --file tydom_output.json --username XXXXX --password "XXXXX"

Dont les infos concernant cette porte de garage sont:

  "/configs/file": {
    "version": "1.0.1",
    "areas": [],
    "groups": [...],
    "id_catalog": "XXXX",
    "moments": [],
    "version_application": "4.12.1 (953)",
    "endpoints": [
     ...
      {
        "first_usage": "garage_door",
        "last_usage": "garage_door",
        "widget_behavior": {
          "tutorial_id": "42_novoferm_novoport_novomatic"
        },
        "name": "Porte-Garage-Gauche",
        "id_device": 1706803404,
        "anticipation_start": false,
        "picto": "",
        "id_endpoint": 1706803404
      }
      ...
    ]
"/devices/data": [
...
    {
      "id": 1706803404,
      "endpoints": [
        {
          "id": 1706803404,
          "error": 0,
          "data": [
            {
              "name": "thermicDefect",
              "validity": "upToDate",
              "value": false
            },
            {
              "name": "level",
              "validity": "upToDate",
              "value": 0
            },
            {
              "name": "onFavPos",
              "validity": "upToDate",
              "value": false
            }
          ]
        }
      ]
    }
...
]
  "/devices/meta": [
...
{
      "id": 1706803404,
      "endpoints": [
        {
          "id": 1706803404,
          "error": 0,
          "metadata": [
            {
              "name": "levelCmd",
              "type": "string",
              "permission": "w",
              "validity": "INFINITE",
              "enum_values": [
                "ON",
                "OFF",
                "STOP",
                "FAVORIT1",
                "FAVORIT2",
                "TOGGLE"
              ]
            },
            {
              "name": "thermicDefect",
              "type": "boolean",
              "permission": "r",
              "validity": "STATUS_POLLING",
              "unit": "boolean"
            },
            {
              "name": "level",
              "type": "numeric",
              "permission": "rw",
              "validity": "DATA_POLLING",
              "min": 0,
              "max": 100,
              "step": 100,
              "unit": "%"
            },
            {
              "name": "recFav",
              "type": "string",
              "permission": "w",
              "validity": "INFINITE",
              "enum_values": [
                "FAVORIT1",
                "FAVORIT2"
              ]
            },
            {
              "name": "onFavPos",
              "type": "boolean",
              "permission": "r",
              "validity": "STATUS_POLLING",
              "unit": "boolean"
            },
            {
              "name": "localisation",
              "type": "string",
              "permission": "w",
              "validity": "INFINITE",
              "enum_values": [
                "START"
              ]
            },
            {
              "name": "modeAsso",
              "type": "string",
              "permission": "w",
              "validity": "INFINITE",
              "enum_values": [
                "START"
              ]
            }
          ]
        }
      ]
    }
...
DarthVaderFR commented 4 months ago

Hello,

J'ai pris le temps de regarder la librairie Node-Tydom-Client, et de jouer avec un petit script simple. Il se trouve que nos portes de Garage Novoferm Novomatic 423 supportent les commandes ON / OFF et non pas TOGGLE (qui est la valeur par défaut utilisé dans homebridge-tydom).

process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';

const {createClient} = require('./lib/client');

const username = 'XXXXXX';
const password = 'XXXXXX';
const hostname = 'mediation.tydom.com';

const client = createClient({username, password, hostname});

/**
 * DeviceId Porte de Garage
 */
const GARAGE_GAUCHE="1706803404";

(async () => {
  console.log(`Connecting to "${hostname}"...`);
  const socket = await client.connect();
  // Get Tydom info
  const info = await client.get('/info');
  console.dir({info});

  setTimeout(async () => {
    console.log("Sending command levelCmd=ON to device...");
    // Open Garage Door Novoferm 423
    await client.put(`/devices/${GARAGE_GAUCHE}/endpoints/${GARAGE_GAUCHE}/data`, [
      {
        name: 'levelCmd',
        value: 'ON'
      }
    ]);
    console.log("Done");
  }, 5000);

  // Listen for external messages
  client.on('message', (message) => {
    console.log(JSON.stringify(message, null, '\t'));
  });
})();

Et pour fermer la porte, de la même façon il faut envoyer

    // Open Garage Door Novoferm 423
    await client.put(`/devices/${GARAGE_GAUCHE}/endpoints/${GARAGE_GAUCHE}/data`, [
      {
        name: 'levelCmd',
        value: 'OFF'
      }
    ]);

La commande TOGGLE ne provoque aucune action quand on l'envoi, elle n'est clairement pas supporté pas ces portes de garage :(

@mgcrea , penses-tu que c'est possible d'intégrer quelque chose de particulier pour ces portes de garage ?

Pour info, j'ai récupéré ma config via https://github.com/mgcrea/node-tydom-client

node ./lib/cli/tydom.js request /configs/file /devices/data /devices/meta /devices/cmeta --file tydom_output.json --username XXXXX --password "XXXXX"

Dont les infos concernant cette porte de garage sont:

  "/configs/file": {
    "version": "1.0.1",
    "areas": [],
    "groups": [...],
    "id_catalog": "XXXX",
    "moments": [],
    "version_application": "4.12.1 (953)",
    "endpoints": [
     ...
      {
        "first_usage": "garage_door",
        "last_usage": "garage_door",
        "widget_behavior": {
          "tutorial_id": "42_novoferm_novoport_novomatic"
        },
        "name": "Porte-Garage-Gauche",
        "id_device": 1706803404,
        "anticipation_start": false,
        "picto": "",
        "id_endpoint": 1706803404
      }
      ...
    ]
"/devices/data": [
...
    {
      "id": 1706803404,
      "endpoints": [
        {
          "id": 1706803404,
          "error": 0,
          "data": [
            {
              "name": "thermicDefect",
              "validity": "upToDate",
              "value": false
            },
            {
              "name": "level",
              "validity": "upToDate",
              "value": 0
            },
            {
              "name": "onFavPos",
              "validity": "upToDate",
              "value": false
            }
          ]
        }
      ]
    }
...
]
  "/devices/meta": [
...
{
      "id": 1706803404,
      "endpoints": [
        {
          "id": 1706803404,
          "error": 0,
          "metadata": [
            {
              "name": "levelCmd",
              "type": "string",
              "permission": "w",
              "validity": "INFINITE",
              "enum_values": [
                "ON",
                "OFF",
                "STOP",
                "FAVORIT1",
                "FAVORIT2",
                "TOGGLE"
              ]
            },
            {
              "name": "thermicDefect",
              "type": "boolean",
              "permission": "r",
              "validity": "STATUS_POLLING",
              "unit": "boolean"
            },
            {
              "name": "level",
              "type": "numeric",
              "permission": "rw",
              "validity": "DATA_POLLING",
              "min": 0,
              "max": 100,
              "step": 100,
              "unit": "%"
            },
            {
              "name": "recFav",
              "type": "string",
              "permission": "w",
              "validity": "INFINITE",
              "enum_values": [
                "FAVORIT1",
                "FAVORIT2"
              ]
            },
            {
              "name": "onFavPos",
              "type": "boolean",
              "permission": "r",
              "validity": "STATUS_POLLING",
              "unit": "boolean"
            },
            {
              "name": "localisation",
              "type": "string",
              "permission": "w",
              "validity": "INFINITE",
              "enum_values": [
                "START"
              ]
            },
            {
              "name": "modeAsso",
              "type": "string",
              "permission": "w",
              "validity": "INFINITE",
              "enum_values": [
                "START"
              ]
            }
          ]
        }
      ]
    }
...

Woot, super Job !!! Merci pour le temps passé !!

Et du coup tu as pu modifié manuellement la config (si oui je suis intéressé par le modop) ou ca nécessite obligatoirement que ca reparte en dev ?

aure-olivier commented 4 months ago

Hello,

J'ai récupéré le code source du plugin, j'ai modifié pas mal de choses pour l'accessoire GarageDoorOpener afin que cela fonctionne avec mes portes de garage Novoferm 423. C'est surement loin d'être parfait, et il existe encore des incohérences si quelqu'un utilise la télécomande Novoferm pendant l'ouverture ou la fermeture de la porte suite à une action depuis Apple Home.

Cependant, avec le code que j'ai modifié:

J'ai fais une PullRequest pour le code, ici: https://github.com/mgcrea/homebridge-tydom/pull/146 Le but étant d'en discuter avec @mgcrea , et de voir si cela peut être intégré au plugin homebridge-tydom actuel.

Sinon, la seule solution sera de faire une version custom, de la publier "officiellement", et de la référencer dans Homebridge à la place du plugin actuel.

Affaire à suivre :)

DarthVaderFR commented 3 months ago

Hello,

J'ai récupéré le code source du plugin, j'ai modifié pas mal de choses pour l'accessoire GarageDoorOpener afin que cela fonctionne avec mes portes de garage Novoferm 423. C'est surement loin d'être parfait, et il existe encore des incohérences si quelqu'un utilise la télécomande Novoferm pendant l'ouverture ou la fermeture de la porte suite à une action depuis Apple Home.

Cependant, avec le code que j'ai modifié:

  • Les portes sont reconnues.
  • Les portes peuvent s'ouvrir et se fermer depuis Apple Home.
  • Si quelqu'un utilise la télécommande Novoferm pour ouvrir/fermer une porte, l'état remonte bien dans Apple Home (si cette fermeture n'est pas faite pendant une action en cours côté Apple Home).
  • L'état ouvert/fermé est récupéré à l'initialisation de l'accessoire.

J'ai fais une PullRequest pour le code, ici: #146 Le but étant d'en discuter avec @mgcrea , et de voir si cela peut être intégré au plugin homebridge-tydom actuel.

Sinon, la seule solution sera de faire une version custom, de la publier "officiellement", et de la référencer dans Homebridge à la place du plugin actuel.

Affaire à suivre :)

Bonjour,

J'ai vu arriver une nouvelle version aujourd'hui, mais malheureusement chez moi aucune réaction positive :(

Quelque chose de changé chez vous ?

aure-olivier commented 3 months ago

Bonjour,

Non malheureusement la nouvelle version créée récemment ne concerne pas l'ajout des portes de garages que nous avons. Tu peux voir le contenu des nouvelles versions ici: https://github.com/mgcrea/homebridge-tydom/releases/tag

Plus précisément la dernière version (https://github.com/mgcrea/homebridge-tydom/releases/tag/v0.25.0), ne concerne rien de visible mais simplement des mises à jours de librairies internes.

La Pull Request que j'ai faite (https://github.com/mgcrea/homebridge-tydom/pull/146) est toujours Open. Je pense qu'il faut réajuster pas mal de choses et qu'il faut surtout du temps pour l'intégrer.

Espérons que cela se fasse un jour :)