joe-ng / homebridge-dyson-link

MIT License
206 stars 40 forks source link

Find out IP of Dyson fan (TP04) #62

Closed Camijo closed 6 years ago

Camijo commented 6 years ago

Hello everybody, I was able to setup everything so far. The only thing I'm missing is my Dyson's IP address. My router tells me that for the Dyson 'no IP address is required'.

So, now a Dyson button is showing up in my HomeKit, but understandingly it doesn't do anything as I haven't specified any IP address. Is there a way to find out my Dyson's IP? Thanks in advance for pointing me in the right direction.

EDIT: I eventually found my IP address by using Wireshark. But I still have a non-functioning single Dyson button in HomeKit. So, something doesn't seem to be quite right yet. I attached you my config.json file.

Could somebody be so kind to take a look at it and figure out any obvious mistake? Thank you. Your help is greatly appreciated. :) I used Homebridge to set everything up. As an accessory type I picked 'NetworkDevice' but I'm not too sure whether that's correct.

{ "accessories" : [ { "serialNumber" : "XXX-EU-XXXXXXXX", "accessory" : "NetworkDevice", "displayName" : "Dyson", "ip" : "xxx.xxx.x.xxx", "pingInterval" : "15", "wakeGraceTime" : "20", "name" : "Dyson", "shutdownGraceTime" : "45" }, { "name" : "Pi Temp", "accessory" : "RaspberryPiTemperature" } ], "bridge" : { "username" : "XX:XX:XX:XX:XX:XX", "name" : "Homebridge", "pin" : "XXX-XX-XXX", "port" : 51826 }, "platforms" : [ { "email" : "XXX@gmail.com", "password" : "XXXXXXXXX", "country" : "DE", "name" : "DysonPlatform", "platform" : "DysonPlatform" } ] }

Camijo commented 6 years ago

Finally, I was able to get everything set up. Please find my working config.json file below. Maye it will help out somebody else. :)

{ "bridge" : { "username" : "XX:XX:XX:XX:XX:XX", "name" : "Homebridge", "pin" : "XXX-XX-XXX", "port" : 51826 }, "platforms" : [ { "email" : "xxxxxxxxxx@gmail.com", "password" : "passwprd", "country" : "DE", "name" : "DysonPlatform", "accessories" : [ { "serialNumber" : "XXX-EU-XXXXXXXX", "displayName" : "Dyson", "name" : "Dyson", "ip" : "192.168.1.xxx" } ], "platform" : "DysonPlatform" } ] }