No devices show up and no errors in the logs 
I am sure this is a noob mistake I'm making. Ive rechecked every parameter, updated the RPi, Updated npm, updated homebridge, ive deleted myhome from the home app, deleted cachedaccesories, persist folder, changed the homebridge id and pairing code (more than once), but still the gateway does not appear in the home app, neither do the mijia accessories ive added. All the other accessories (apart from the mijia gateway, etc) are all pairing fine and working fine.

I appreciate the help I can get. Here is my config:

{
			"platform": "MiAqaraPlatform",
			"sid": ["34CE00909B47"],
			"password": ["kkbvzr54n28rqktr"],
			"defaultValue": {
				"158d00011c94ea": {
					"DuplexSwitch_1": {
						"name": "Lobby Switch 1",
						"serviceType": "Switch"
					},
					"DuplexSwitch_2": {
						"name": "Lobby Switch 2",
						"serviceType": "Switch"
					}
				},
				"158d0001870f24": {
					"Button2": {
						"name": "living room button"
					}
				}
			}
		}


and here is part of the log:

Aug 30 18:55:00 pi homebridge[1206]: [2017-8-30 18:55:00] Initializing MiAqaraPlatform platform...
Aug 30 18:55:00 pi homebridge[1206]: [2017-8-30 18:55:00] [MiAqaraPlatform][INFO]**************************************************************
Aug 30 18:55:00 pi homebridge[1206]: [2017-8-30 18:55:00] [MiAqaraPlatform][INFO]           MiAqaraPlatform v0.5.3 By YinHang
Aug 30 18:55:00 pi homebridge[1206]: [2017-8-30 18:55:00] [MiAqaraPlatform][INFO]  GitHub: https://github.com/YinHangCode/homebridge-mi-aqara
Aug 30 18:55:00 pi homebridge[1206]: [2017-8-30 18:55:00] [MiAqaraPlatform][INFO]                                         QQ Group: 107927710
Aug 30 18:55:00 pi homebridge[1206]: [2017-8-30 18:55:00] [MiAqaraPlatform][INFO]**************************************************************
Aug 30 18:55:00 pi homebridge[1206]: [2017-8-30 18:55:00] [MiAqaraPlatform][INFO]start success...
Aug 30 18:55:00 pi homebridge[1206]: [2017-8-30 18:55:00] Loading 5 accessories...


Thanks!