0 Accessories found
Hello

I have been trying for days to get this working but 0 Accessories are found.

I successfully installed Homebridge and got it to work with the phone.
I then installed Homebridge-Aqara and it started to display two accessories.
I quickly realised that this is a old version and I should be installing  homebridge-mi-aqara
So I uninstalled Homebridge-Aqara and installed homebridge-mi-aqara. Everything loaded fine but no accessories are found. I troubleshooted and and install, reinstall, remove, other steps taken were delete accessiories folder, persists folder, cache file, re do the config file in different formats but nothing worked.
I went to the length or deleting the server and start from fresh

I still have a problem where everything shows as expected such as homebridge but 0 Accessories found

my config file is

{
	"bridge": {
		"name": "Homebridge",
		"username": "CC:22:3D:E3:CE:30",
		"port": 51826,
		"pin": "031-45-154"
	},

	"description": "This is an example configuration file. You can use this as a template for creating your own configuration file containing devices you actually own.",


	"platforms": [{
		"platform": "MiAqaraPlatform",

		"gateways": {
			"a408f57d1355": "05605jzy9k1dmm6p"
		}
	}]

}



and Homebridge -D is

*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.                                                                                                                                                                                                                                    
*** WARNING *** Please fix your application to use the native API of Avahi!                                                                                                                                                                                                                                                
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>                                                                                                                                                                                                                              
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.                                                                                                                                                   
*** WARNING *** Please fix your application to use the native API of Avahi!                                                                                                                                                                                                                                                
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>                                                                                                                                                                                                         
[2018-3-9 14:18:49] Loaded plugin: homebridge-mi-aqara                                                                                                                                                                                                                                                                     
[2018-3-9 14:18:49] Registering platform 'homebridge-mi-aqara.MiAqaraPlatform'                                                                                                                                                                                                                                             
[2018-3-9 14:18:49] ---                                                                                                                                                                                                                                                                                                    
[2018-3-9 14:18:49] Loaded config.json with 0 accessories and 1 platforms.                                                                                                                                                                                                                                                 
[2018-3-9 14:18:49] ---                                                                                                                                                                                                                                                                                                    
[2018-3-9 14:18:49] Loading 1 platforms...                                                                                                                                                                                                                                                                                 
[2018-3-9 14:18:49] [MiAqaraPlatform] Initializing MiAqaraPlatform platform...                                                                                                                                                                                                                                             
[2018-3-9 14:18:49] [MiAqaraPlatform] [INFO]**************************************************************                                                                                                                                                                                                                 
[2018-3-9 14:18:49] [MiAqaraPlatform] [INFO]           MiAqaraPlatform v0.6.8 By YinHang                                                                                                                                                                                                                                   
[2018-3-9 14:18:49] [MiAqaraPlatform] [INFO]  GitHub: https://github.com/YinHangCode/homebridge-mi-aqara                                                                                                                                                                                                                   
[2018-3-9 14:18:49] [MiAqaraPlatform] [INFO]                                         QQ Group: 107927710                                                                                                                                                                                                                   
[2018-3-9 14:18:49] [MiAqaraPlatform] [INFO]**************************************************************                                                                                                                                                                                                                 
[2018-3-9 14:18:49] [MiAqaraPlatform] [INFO]start success...                                                                                                                                                                                                                                                               
[2018-3-9 14:18:49] [MiAqaraPlatform] [INFO]config gateways: a408f57d1355                                                                                                                                                                                                                                                  
[2018-3-9 14:18:49] [MiAqaraPlatform] [INFO]binding to the default interface                                                                                                                                                                                                                                               
Setup Payload:                                                                                                                                                                                                                                                                                                             
X-HM://0023ISYWY74OM                                                                                                                                                                                                                                                                                                       
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:   

Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                           
    ┌────────────┐                                                                                                                                                                                                                                                                                                         
    │ 031-45-154 │                                                                                                                                                                                                                                                                                                         
    └────────────┘                                                                                                                                                                                                                                                                                                         
                                                                                                                                                                                                                                                                                                                           
[2018-3-9 14:18:49] [MiAqaraPlatform] [DEBUG][Send]{"cmd": "whois"}                                                                                                                                                                                                                                                        
[2018-3-9 14:18:49] [MiAqaraPlatform] [INFO]server is listening on port 9898.                                                                                                                                                                                                                                              
events.js:136                                                                                                                                                                                                                                                                                                              
      throw er; // Unhandled 'error' event                                                                                                                                                                                                                                                                                 
      ^                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                           
Error: listen EADDRINUSE 0.0.0.0:51826                                                                                                                                                                                                                                                                                     
    at Object._errnoException (util.js:1031:13)                                                                                                                                                                                                                                                                            
    at _exceptionWithHostPort (util.js:1052:20)                                                                                                                                                                                                                                                                            
    at Server.setupListenHandle [as _listen2] (net.js:1367:14)                                                                                                                                                                                                                                                             
    at listenInCluster (net.js:1408:12)                                                                                                                                                                                                                                                                                    
    at Server.listen (net.js:1496:7)                                                                                                                                                                                                                                                                                       
    at EventedHTTPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:60:19)                                                                                                                                                                                             
    at HAPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:158:20)                                                                                                                                                                                                           
    at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:601:16)                                                                                                                                                                                                   
    at Server._publish (/usr/local/lib/node_modules/homebridge/lib/server.js:126:16)                                                                                                                                                                                                                                       
    at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:96:10)            


Please can you help me!                 
