-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hub connection #584
Comments
The first question would be if you are able to connect to the hub using a local connection and read properties from it? You could try doing that with the propertyMonitor. That would confirm at least that the connection to the hub is working. |
Yes, the hub's own connection seems to work directly. It beeps when I change some of the toggles (that lack translations). |
Then I guess maybe how you entered the devices in the config might be wrong? |
I've tried debugging it further. The tokens seem to be correct? It never gets as far if either the IP, device ID or the token is different. The gateway is also visible and usable in the Mi Home app.
This behaviour seems to be consistent with BLE devices that are constantly connected and smoke detectors that only seem to periodically push updates to the gateway. The device also seems to work if I force cloud connection. I read #202 but I think I've tried it all. |
Yeah i guess that you would need to use the cloud as some devices require it, so i think that we have the case here. |
Describe the bug
I can't get Bluetooth device readings directly from the gateway itself. I've configured the device ID of the BT devices to match the original ones, I'm using the gateway's IP and token and I've specified the BT device's own model.
Expected behavior
I'd really like for direct fetch of readings to work.
Debug log
Similar errors happen with both
lumi.sensor_smoke.mcn02
andcgllc.clock.dove
. The token and IP seem to work for the gateway connection itself.I've enabled detailed debug log for the
cgllc.clock.dove
and "user ack timeout" seems to be the bane of all BT devices.Additional context
I've tried adding the hub (
lumi.gateway.mgl03
) to both DE and CN location alongside the Bluetooth devices, but all I end up with are still ACK errors if the hub is used. Forced connection through Mi Cloud does work, but that has been too unreliable (I'd really like to get rid of those pesky zero readings) so I'd really like to use a local direct connection.The text was updated successfully, but these errors were encountered: