homebridge-mi-aqara
homebridge-mi-aqara copied to clipboard
[ERROR]TypeError: Cannot read property 'gatewaySid' of null
Hello! I receive this error in console when I'm trying to switch a pug from Xioami and it doesn't work unless I restart homebridge.
`"platforms": [{ "platform": "MiAqaraPlatform", "gateways": { "7811dcfd5298": "6F88352054144AAB" }, "defaultValue": { "7811dcfd5298": { "Gateway_Lightbulb": { "name": "Luz Gateway", "disable": false, "ignoreWriteResult": true }, "Gateway_Switch_JoinPermission": { "name": "gateway join permission switch", "disable": true } }, "158d0001bd1980": { "Global": { "disable": true }, "Button_StatelessProgrammableSwitch": { "name": "Botón pasillo", "disable": false }, "Button_Switch_VirtualSinglePress": { "name": "button virtual single press", "disable": true }, "Button_Switch_VirtualDoublePress": { "name": "button virtual double press", "disable": true } }, "158d00024668d8": { "Global": { "disable": true }, "Button_StatelessProgrammableSwitch": { "name": "Botón comedor", "disable": false }, "Button_Switch_VirtualSinglePress": { "name": "button virtual single press", "disable": true }, "Button_Switch_VirtualDoublePress": { "name": "button virtual double press", "disable": true } }, "158d00023ff16c": { "PlugBase_Outlet": { "name": "luz de la mama", "ignoreWriteResult": true } } }
}`
I also have this issue. anyone know of a solution?
try updating the node
Did you find a solution?
No I did not find any solution.
I've been getting this error constantly for about a week now. Have upgraded the gateway with no change. Everything was working fine previously. It seems like the gateway is dropping off the wifi network randomly. I don't believe it's related to Homebridge as the gateway isn't even usable via the Mi Home app. Any ideas how to debug this?
I've noticed this since upgrading to homebridge-mi-aqara v0.8.0 a few days ago, although this may be a coincidence. It seems to happen when I've restarted Homebridge to change my configuration. The error occurs when I try to control a switch from Homekit. Controlling the switch from the Mi Home app still works and switch state is updated in Homekit correctly (as with manual switching). However, controlling the switch from Homekit fails with 'No response' and MiAquaraPlatform logs:
Jan 18 09:05:07 homebridge homebridge[20361]: [2019-1-18 09:05:07] [MiAqaraPlatform] [ERROR]TypeError: Cannot read property 'gatewaySid' of null
I've been able to fix it temporarily by restarting the Xiaomi gateway, but it is currently very frustrating. Any help/suggestions on how I can track down what's causing it would be greatly appreciated.
Any solution to this problem? It started to happen to me yesterday as I added more Aqara switches to the hub.
Some of the new switches shows no response from the "Home" App while they work from the "Mi" app.
this is the message I get on those non responsive switches.
Error setting Characteristic "On" to value 0: Cannot read property 'gatewaySid' of null HTTP Response is finished