joe-ng / homebridge-dyson-link

MIT License
206 stars 40 forks source link

TP04: Unable to control, no errors in log #101

Open kylestarr opened 4 years ago

kylestarr commented 4 years ago

I think I've successfully installed Homebridge and the Dyson Link plug-in, but I'm still unable to control my TP04.

7 accessories appear in Home.app, but toggling anything (fan off/on, auto, etc) yields no results.

Below are my config.json and launch log.


config.json

{
  "bridge": {
    "name": "Homebridge",
    "username": "CC:22:3D:E3:CE:30",
    "port": 49251,
    "pin": "031-45-154"
  },
  "description": "",
  "ports": {
    "start": 49251,
    "end": 49251,
    "comment": ""
  },
  "platforms": [
    {
      "platform": "DysonPlatform",
      "name": "DysonPlatform",
      "email": "xxxxxxxx@xxxxxx.com",
      "password": "xxxxxxxxxx",
      "country": "US",
      "accessories": [
        {
          "ip": "XXX.XXX.X.XXX",
          "displayName": "Dyson Fan",
          "serialNumber": "XXX-XXX-XXXXXXXX"
        }
      ]
    }
  ]
}

Launch log

[11/9/2019, 4:57:46 PM] Loaded config.json with 0 accessories and 1 platforms.
[11/9/2019, 4:57:46 PM] ---
[11/9/2019, 4:57:46 PM] Loaded plugin: homebridge-dyson-link
homebridge API version: 2.4
[11/9/2019, 4:57:46 PM] Registering platform 'homebridge-dyson-link.DysonPlatform'
[11/9/2019, 4:57:46 PM] ---
[11/9/2019, 4:57:46 PM] Loading 1 platforms...
[11/9/2019, 4:57:46 PM] [DysonPlatform] Initializing DysonPlatform platform...
[11/9/2019, 4:57:46 PM] [DysonPlatform] Dyson Fan Configure Accessory          
[11/9/2019, 4:57:46 PM] [DysonPlatform] Finished launching. Start to create accessory from config
[11/9/2019, 4:57:47 PM] [DysonPlatform] Use device password from account
[11/9/2019, 4:57:47 PM] [DysonPlatform] Dyson Fan IP:XXX.XXX.X.XX Serial Number:DYSON-XXX-XX-XXXXXXXX-XXX
[11/9/2019, 4:57:47 PM] [DysonPlatform] Device serial number format valids
[11/9/2019, 4:57:47 PM] [DysonPlatform] Device cached. Try to update this
[11/9/2019, 4:57:47 PM] [DysonPlatform] Init Sensor for Dyson Fan
[11/9/2019, 4:57:47 PM] [DysonPlatform] Init Fan State for Dyson Fan
[11/9/2019, 4:57:47 PM] [DysonPlatform] Auto switch found. Remove this now
[11/9/2019, 4:57:47 PM] [DysonPlatform] Night mode button is added
HAP Warning: Characteristic 000000BF-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 000000B7-0000-1000-8000-0026BB765291. Adding anyway.
[11/9/2019, 4:57:47 PM] [DysonPlatform] Jet Focus mode button is added
arkku commented 4 years ago

FWIW, it looks like it is not connecting to the device, I have an additional line after what your log shows: [DysonPlatform] Connected to …

I would check IP address, firewalls, etc.